CN112817462A - Data processing method and related device - Google Patents

Data processing method and related device Download PDF

Info

Publication number
CN112817462A
CN112817462A CN201911128183.4A CN201911128183A CN112817462A CN 112817462 A CN112817462 A CN 112817462A CN 201911128183 A CN201911128183 A CN 201911128183A CN 112817462 A CN112817462 A CN 112817462A
Authority
CN
China
Prior art keywords
target input
phrase
user
character string
target
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
CN201911128183.4A
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 CN201911128183.4A priority Critical patent/CN112817462A/en
Publication of CN112817462A publication Critical patent/CN112817462A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application discloses a data processing method and a related device, wherein the method comprises the following steps: firstly, mining data to be mined of a user to obtain a target input phrase on the basis of a preset input phrase condition; then, based on the target input phrase, determining a corresponding target input character string; and finally, establishing and storing a mapping relation from the target input character string to the target input phrase. Therefore, the input phrases are automatically mined by utilizing the preset input phrase conditions, the corresponding input character strings are determined, the mapping from the input character strings to the input phrases is automatically completed, the input phrases can be intelligently mined and defined without manual operation of a user, the cost of manually operating the user-defined phrases by the user is avoided, a large amount of labor, energy and time are saved, and the user experience is greatly improved.

Description

Data processing method and related device
Technical Field
The present application relates to the field of input methods, and in particular, to a method and a related apparatus for obtaining data processing.
Background
The input method software has the function of self-defining phrases, namely, a user can use certain phrases which are input frequently or have long contents as self-defining input phrases based on own input conditions, and set the mapping relation between the abbreviation input character strings and the self-defining input phrases, so that the self-defining input phrases can be obtained by inputting simple abbreviation input character strings, and the input efficiency is greatly improved.
Currently, implementing custom phrases through input method software typically requires manual operation by the user. Specifically, a user manually filters commonly used phrases as custom input phrases, the custom phrase setting in the input method software is opened, the abbreviation input character strings and the corresponding custom input phrases are filled in, and the mapping relation between the abbreviation input character strings and the custom input phrases is stored. However, the above-mentioned way that the user manually operates the user-defined phrase is not intelligent enough, consumes a large amount of manpower, energy and time, and the user manually operates comparatively complicatedly loaded down with trivial details, greatly reduced user experience.
Disclosure of Invention
The technical problem to be solved by the application is to provide a data processing method and a related device, which can realize intelligent mining and definition of input phrases without manual operation of a user, avoid the cost of manually operating custom phrases by the user, save a large amount of manpower, energy and time, and greatly improve the user experience.
In a first aspect, an embodiment of the present application provides a data processing method, where the method includes:
mining phrases which accord with preset input phrase conditions as target input phrases based on data to be mined of a user;
determining a target input character string corresponding to the target input phrase;
and establishing and storing a mapping relation from the target input character string to the target input phrase.
Optionally, the data to be mined includes any one or more of the following data:
and the user-defined mining data, the user browsing data, the historical input data and the user information related data.
Optionally, the preset input phrase condition includes that the phrase frequency is greater than the preset frequency and/or the phrase length is greater than the preset length.
Optionally, the determining the target input character string corresponding to the target input phrase includes:
obtaining spelling habits of the user;
determining a target input string that conforms to the spelling habit based on the target input phrase.
Optionally, the determining, based on the target input phrase, the target input character string conforming to the spelling habit specifically includes:
and determining the input character string of the first N characters in the target input phrase and conforming to the spelling habit as the target input character string, wherein N is a positive integer and is less than the total number of the characters in the target input phrase.
Optionally, the method further includes:
and setting a target candidate arrangement position of the target input phrase corresponding to the target input character string.
Optionally, the method further includes:
and if the target input character string is input by the user, displaying the target input phrase corresponding to the target input character string according to the target candidate arrangement position.
In a second aspect, an embodiment of the present application provides an apparatus for data processing, where the apparatus includes:
the target input phrase mining unit is used for mining phrases which accord with preset input phrase conditions as target input phrases based on the data to be mined of the user;
the target input character string determining unit is used for determining a target input character string corresponding to the target input phrase;
and the mapping relation establishing unit is used for establishing and storing the mapping relation from the target input character string to the target input phrase.
Optionally, the data to be mined includes any one or more of the following data:
and the user-defined mining data, the user browsing data, the historical input data and the user information related data.
Optionally, the preset input phrase condition includes that the phrase frequency is greater than the preset frequency and/or the phrase length is greater than the preset length.
Optionally, the target input character string determining unit includes:
a spelling habit obtaining subunit, configured to obtain a spelling habit of the user;
and the target input character string determining subunit is used for determining a target input character string which accords with the spelling habit based on the target input phrase.
Optionally, the target input character string determining subunit is specifically configured to:
and determining the input character string of the first N characters in the target input phrase and conforming to the spelling habit as the target input character string, wherein N is a positive integer and is less than the total number of the characters in the target input phrase.
Optionally, the apparatus further comprises:
and a target candidate arrangement position setting unit configured to set a target candidate arrangement position of the target input phrase in correspondence with the target input character string.
Optionally, the apparatus further comprises:
and the target input phrase display unit is used for displaying the target input phrase corresponding to the target input character string according to the target candidate arrangement position if the target input character string is input by the user.
In a third aspect, an embodiment of the present application provides an apparatus for data processing, the apparatus 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:
mining phrases which accord with preset input phrase conditions as target input phrases based on data to be mined of a user;
determining a target input character string corresponding to the target input phrase;
and establishing and storing a mapping relation from the target input character string to the target input phrase.
In a fourth aspect, embodiments of the present application provide a machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform the method of data processing according to any one of the first aspect.
Compared with the prior art, the method has the advantages that:
by adopting the technical scheme of the embodiment of the application, firstly, mining the data to be mined of a user to obtain a target input phrase on the basis of a preset input phrase condition; then, based on the target input phrase, determining a corresponding target input character string; and finally, establishing and storing a mapping relation from the target input character string to the target input phrase. Therefore, the input phrases are automatically mined by utilizing the preset input phrase conditions, the corresponding input character strings are determined, the mapping from the input character strings to the input phrases is automatically completed, the input phrases can be intelligently mined and defined without manual operation of a user, the cost of manually operating the user-defined phrases by the user is avoided, a large amount of labor, energy and time are saved, and the user experience is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a system framework related to an application scenario in an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a target input phrase corresponding to a target input character string according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a data processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for data processing according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
At present, the user-defined phrase function of the input method software needs to be manually operated by a user. In practical application, a user is required to manually screen commonly used phrases as custom input phrases, the custom phrase setting in input method software is opened, an abbreviation input character string and the corresponding custom input phrase are filled, and the mapping relation between the abbreviation input character string and the custom input phrase is stored. However, the inventor finds that the mode of manually operating the user-defined phrase by the user is not intelligent enough, a large amount of manpower, energy and time are consumed, the manual operation of the user is complex, and the user experience is greatly reduced.
In order to solve the problem, in the embodiment of the application, firstly, mining data to be mined of a user to obtain a target input phrase on the basis of a preset input phrase condition; then, based on the target input phrase, determining a corresponding target input character string; and finally, establishing and storing a mapping relation from the target input character string to the target input phrase. Therefore, the input phrases are automatically mined by utilizing the preset input phrase conditions, the corresponding input character strings are determined, the mapping from the input character strings to the input phrases is automatically completed, the input phrases can be intelligently mined and defined without manual operation of a user, the cost of manually operating the user-defined phrases by the user is avoided, a large amount of labor, energy and time are saved, and the user experience is greatly improved.
For example, one of the scenarios in the embodiment of the present application may be applied to the scenario shown in fig. 1, where the scenario includes the user terminal 101 and the processor 102, where the user terminal 101 is installed with input method software, and the user terminal 101 may be a personal computer, or may be another mobile terminal, such as a mobile phone or a tablet computer. The processor 102 obtains data to be mined of the user, for example, the data to be mined may be, for example, custom mined data provided by the user through the user terminal 101, historical input data generated by the user through input method software of the user terminal 101, pre-stored user information related data, and the like, and establishes and stores a mapping relationship from a target input character string to a target input phrase in the manner of the embodiment of the present application. After the user inputs the target input character string through the input method software of the user terminal 101, the processor 102 controls the input method software of the user terminal 101 to display the target input phrase corresponding to the target input character string.
It is to be understood that, in the above application scenario, although the actions of the embodiment of the present application are described as being performed by the server 101, the actions may also be performed by the client 102, or may also be performed partially by the client 102 and partially by the server 101. The present application is not limited in terms of the execution subject as long as the actions disclosed in the embodiments of the present application are executed.
It is to be understood that the above scenario is only one example of a scenario provided in the embodiment of the present application, and the embodiment of the present application is not limited to this scenario.
The following describes in detail a specific implementation manner of the data processing method and the related apparatus in the embodiments of the present application by using embodiments with reference to the accompanying drawings.
Exemplary method
Referring to fig. 2, a flow chart of a method for data processing in the embodiment of the present application is shown. In this embodiment, the method may include, for example, the steps of:
step 201: and mining phrases which accord with preset input phrase conditions as target input phrases based on the data to be mined of the user.
It should be noted that the first step of defining the input phrases is to explicitly input phrases from the data, and since it is usually necessary in the prior art for the user to manually filter and input more frequent or longer-content phrases as custom input phrases, a lot of labor, effort and time are consumed. Therefore, in the embodiment of the application, the input phrases are mined by automatically mining the input phrases from the data instead of manually screening by the user. Specifically, conditions for obtaining input phrases by screening data need to be preset based on the characteristics of the input phrases, the conditions are recorded as preset input phrase conditions, and the data needing to be screened to obtain the input phrases are used as data to be mined; and mining the data to be mined of the user by using the preset input phrase condition to obtain a phrase which meets the preset input phrase condition as a target input phrase.
In an optional implementation manner of the embodiment of the present application, the preset input phrase condition includes that the phrase frequency is greater than the preset frequency and/or the phrase length is greater than the preset length.
The common data that needs to be filtered to obtain the input phrase may be some data set by the user, and is recorded as custom mining data, for example, some scene data in some specific scenes, and the like; or some data browsed by the user, which is recorded as user browsing data, for example, webpage data frequently browsed by the user, and the like; some data input by the user through the input method software before the current time can be recorded as historical input data, for example, user input logs recorded by the input method software, user clipboard data recorded by the clipboard, user interaction data recorded by the interactive application program, and the like; furthermore, the data may be information data relating to a user representation or a user representation related to the user, and may be recorded as user information-related data, such as an identification number, a telephone number, and/or a home address. Therefore, in an optional implementation manner of this embodiment of the present application, the data to be mined includes any one or more of the following data: and the user-defined mining data, the user browsing data, the historical input data and the user information related data.
As an example, the data to be mined may be event scene data, and correspondingly, the target input phrases may be individual competitors and event-specific terms, etc.; the data to be mined can be legal scene data, and correspondingly, the target input phrases can be various legal contents and the like; the data to be mined can be an e-commerce seller input log, and correspondingly, the target input phrase can be 'package returning and changing within 7 days of the commodity' and the like; the data to be mined can be user personal information data, and correspondingly, the target input phrase can be a user personal identification number, a telephone number, a home address and the like.
Step 202: and determining a target input character string corresponding to the target input phrase.
It is understood that, on the premise that the target input phrase is known, the complete input character string corresponding to the target input phrase may be obtained, and at this time, a part needs to be selected as the target input character string based on the complete input character string, where the target input character string corresponds to the target input phrase.
It should be noted that different users have different spelling habits, for example, the user is accustomed to using the full spelling, or the user is accustomed to using the simple spelling, or the user is accustomed to using both the full spelling and the simple spelling, that is, the spelling habits include the full spelling and/or the simple spelling. When determining the target input character string corresponding to the target input phrase, the spelling habit of the user needs to be considered, and the obtained target input character string should conform to the spelling habit of the user. In specific implementation, the spelling habit of the user needs to be obtained first, and then the target input character string corresponding to the target input phrase is obtained based on the spelling habit of the user. Therefore, in an alternative implementation manner of this embodiment of the present application, the step 202 may include the following steps:
step A: and obtaining the spelling habit of the user.
And B: determining a target input string that conforms to the spelling habit based on the target input phrase.
It should be noted that the purpose of defining the input phrase is to obtain the input phrase by inputting a simple abbreviated input character string, that is, the target input character string corresponding to the target input phrase should be a simple abbreviated input character string, and an input character string of the first N characters in the target input phrase, which conforms to the spelling habit of the user, is generally selected as the target input character string. Therefore, in an optional implementation manner of the embodiment of the present application, the step B may specifically be, for example: and determining the input character string of the first N characters in the target input phrase and conforming to the spelling habit as the target input character string, wherein N is a positive integer and is less than the total number of the characters in the target input phrase.
As an example of step 202, assuming that the target input phrase is "package removal and package replacement within 7 days of the commodity", the spelling habit of the user is conciliation, and N is 4, the target input string "zgsp" of the first 4 characters "the commodity" in the target input phrase "package removal and package replacement within 7 days of the commodity" is selected, and is determined as the target input string corresponding to the target input phrase "package removal and package replacement within 7 days of the commodity".
As another example of step 202, assuming that the target input phrase is "michael jordan of bull team No. 1", the spelling habit of the user is full spelling, and N is 4, the full spelling input string "gong 'niu' dui 1" of the first 4 words "bull team 1" in the target input phrase "michael jordan of bull team No. 1" is selected and determined as the target input string corresponding to the target input phrase "michael jordan of bull team No. 1".
Step 203: and establishing and storing a mapping relation from the target input character string to the target input phrase.
It will be appreciated that after the target input phrase is obtained in step 201 and the target input string is obtained in step 202, the target input string needs to be mapped to the target input phrase, i.e., a mapping relationship between the target input string and the target input phrase is established and stored. Step 201-step 203 realize intelligent mining and definition of input phrases, avoid the cost of manually operating custom phrases by users, save a large amount of manpower, energy and time, and greatly improve the user experience.
As an example of step 203, based on the above example, a mapping relationship from the target input character string "zgsp" to the target input phrase "package quit and package change within 7 days of this commodity" is established and stored; a mapping relationship of the target input string "gong 'niu' dui 1" to the target input phrase "bull team No. 1 michael jodan" is established and stored.
It should be noted that, the target input phrase needs to be displayed in the candidate area corresponding to the target input character string subsequently, and the candidate areas have different candidate arrangement positions, and then the candidate arrangement position of the target input phrase in the candidate area corresponding to the target input character string needs to be set and recorded as the target candidate arrangement position. Therefore, in an optional implementation manner of the embodiment of the present application, for example, the following steps may be further included: and setting a target candidate arrangement position of the target input phrase corresponding to the target input character string.
As an example, the target input phrase "package-out package change within 7 days of this commodity" is set to the 1 st position in the target candidate arrangement position in the candidate region corresponding to the target input character string "zgsp"; the target input phrase "bull team No. 1 michael jordan" is set to the 3 rd position at the target candidate arrangement position of the target input character string "gong 'niu' dui 1" corresponding to the candidate region.
It should be noted that, after the mapping relationship from the target input character string to the target input phrase is established and stored, and the target candidate arrangement position of the target input phrase is set corresponding to the target input character string, in practical applications, when the phrase that the user wants to input again is the "target input phrase", the user can display the target input phrase at the target candidate arrangement position of the candidate region corresponding to the target input character string only by inputting a simple target input character string based on his spelling habit, thereby greatly improving the input efficiency. Therefore, in an optional implementation manner of the embodiment of the present application, for example, the following steps may be further included: and if the target input character string is input by the user, displaying the target input phrase corresponding to the target input character string according to the target candidate arrangement position.
As an example, based on the above example, the schematic diagram of the target input phrase is shown in fig. 3 corresponding to the target input character string, wherein after the user inputs the target input character string "zgsp" through the input method software, the target input phrase "package unpacking within 7 days of this commodity" is shown at the 1 st position of the candidate area corresponding to the target input character string "zgsp"; after the user inputs the target input character string "zgsp" through the input method software, the target input phrase "bull team No. 1 michael jordan" is shown on the 3 rd position of the candidate region corresponding to the target input character string "gong 'niu' dui 1".
According to various implementation manners provided by the embodiment, firstly, mining data to be mined of a user to obtain a target input phrase on the basis of a preset input phrase condition; then, based on the target input phrase, determining a corresponding target input character string; and finally, establishing and storing a mapping relation from the target input character string to the target input phrase. Therefore, the input phrases are automatically mined by utilizing the preset input phrase conditions, the corresponding input character strings are determined, the mapping from the input character strings to the input phrases is automatically completed, the input phrases can be intelligently mined and defined without manual operation of a user, the cost of manually operating the user-defined phrases by the user is avoided, a large amount of labor, energy and time are saved, and the user experience is greatly improved.
Exemplary devices
Referring to fig. 4, a schematic structural diagram of a data processing apparatus in an embodiment of the present application is shown. In this embodiment, the apparatus may specifically include:
a target input phrase mining unit 401, configured to mine a phrase that meets a preset input phrase condition as a target input phrase based on data to be mined of a user;
a target input character string determining unit 402, configured to determine a target input character string corresponding to the target input phrase;
a mapping relationship establishing unit 403, configured to establish and store a mapping relationship from the target input character string to the target input phrase.
In an optional implementation manner of the embodiment of the present application, the data to be mined includes any one or more of the following data:
and the user-defined mining data, the user browsing data, the historical input data and the user information related data.
In an optional implementation manner of the embodiment of the present application, the preset input phrase condition includes that a phrase frequency is greater than a preset frequency and/or a phrase length is greater than a preset length.
In an optional implementation manner of this embodiment of this application, the target input character string determining unit 402 includes:
a spelling habit obtaining subunit, configured to obtain a spelling habit of the user;
and the target input character string determining subunit is used for determining a target input character string which accords with the spelling habit based on the target input phrase.
In an optional implementation manner of the embodiment of the present application, the target input string determining subunit is specifically configured to:
and determining the input character string of the first N characters in the target input phrase and conforming to the spelling habit as the target input character string, wherein N is a positive integer and is less than the total number of the characters in the target input phrase.
In an optional implementation manner of the embodiment of the present application, the apparatus further includes:
and a target candidate arrangement position setting unit configured to set a target candidate arrangement position of the target input phrase in correspondence with the target input character string.
In an optional implementation manner of the embodiment of the present application, the apparatus further includes:
and the target input phrase display unit is used for displaying the target input phrase corresponding to the target input character string according to the target candidate arrangement position if the target input character string is input by the user.
According to various implementation modes provided by the embodiment, the target input phrase mining unit is used for mining data to be mined of a user to obtain a target input phrase on the basis of a preset input phrase condition; the target input character string determining unit determines a target input character string corresponding to the target input phrase based on the target input phrase; the mapping relation establishing unit establishes and stores a mapping relation from the target input character string to the target input phrase. Therefore, the input phrases are automatically mined by utilizing the preset input phrase conditions, the corresponding input character strings are determined, the mapping from the input character strings to the input phrases is automatically completed, the input phrases can be intelligently mined and defined without manual operation of a user, the cost of manually operating the user-defined phrases by the user is avoided, a large amount of labor, energy and time are saved, and the user experience is greatly improved.
Fig. 5 is a block diagram illustrating an apparatus 500 for data processing in accordance with an example embodiment. For example, the apparatus 500 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. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operation at the device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 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 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the 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 correlated to the touch or slide operation. In some embodiments, the multimedia component 508 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 500 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 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 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 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 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 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the device 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 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 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 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 516 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 516 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 500 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 504 comprising instructions, executable by the processor 520 of the apparatus 500 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.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of data processing, the method comprising:
mining phrases which accord with preset input phrase conditions as target input phrases based on data to be mined of a user;
determining a target input character string corresponding to the target input phrase;
and establishing and storing a mapping relation from the target input character string to the target input phrase.
Fig. 6 is a schematic structural diagram of a server in an embodiment of the present application. The server 600 may vary significantly due to configuration or performance, and may include one or more Central Processing Units (CPUs) 622 (e.g., one or more processors) and memory 632, one or more storage media 630 (e.g., one or more mass storage devices) storing applications 642 or data 644. Memory 632 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 622 may be configured to communicate with the storage medium 630 and execute a series of instruction operations in the storage medium 630 on the server 600.
The server 600 may also include one or more power supplies 626, one or more wired or wireless network interfaces 650, one or more input-output interfaces 658, one or more keyboards 656, and/or one or more operating systems 641, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The embodiments in the present description 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. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a preferred embodiment of the present application and is not intended to limit the present application in any way. Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application. Those skilled in the art can now make numerous possible variations and modifications to the disclosed embodiments, or modify equivalent embodiments, using the methods and techniques disclosed above, without departing from the scope of the claimed embodiments. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application still fall within the protection scope of the technical solution of the present application without departing from the content of the technical solution of the present application.

Claims (10)

1. A method of data processing, comprising:
mining phrases which accord with preset input phrase conditions as target input phrases based on data to be mined of a user;
determining a target input character string corresponding to the target input phrase;
and establishing and storing a mapping relation from the target input character string to the target input phrase.
2. The method of claim 1, wherein the data to be mined comprises any one or more of the following:
and the user-defined mining data, the user browsing data, the historical input data and the user information related data.
3. The method of claim 1, wherein the preset input phrase conditions include a phrase frequency greater than a preset frequency and/or a phrase length greater than a preset length.
4. The method of claim 1, wherein the determining the target input string corresponding to the target input phrase comprises:
obtaining spelling habits of the user;
determining a target input string that conforms to the spelling habit based on the target input phrase.
5. The method according to claim 4, wherein the determining a target input string that conforms to the spelling habit based on the target input phrase is specifically:
and determining the input character string of the first N characters in the target input phrase and conforming to the spelling habit as the target input character string, wherein N is a positive integer and is less than the total number of the characters in the target input phrase.
6. The method of claim 1, further comprising:
and setting a target candidate arrangement position of the target input phrase corresponding to the target input character string.
7. The method of claim 1, further comprising:
and if the target input character string is input by the user, displaying the target input phrase corresponding to the target input character string according to the target candidate arrangement position.
8. An apparatus for data processing, comprising:
the target input phrase mining unit is used for mining phrases which accord with preset input phrase conditions as target input phrases based on the data to be mined of the user;
the target input character string determining unit is used for determining a target input character string corresponding to the target input phrase;
and the mapping relation establishing unit is used for establishing and storing the mapping relation from the target input character string to the target input phrase.
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:
mining phrases which accord with preset input phrase conditions as target input phrases based on data to be mined of a user;
determining a target input character string corresponding to the target input phrase;
and establishing and storing a mapping relation from the target input character string to the target input phrase.
10. A machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform the method of data processing of any of claims 1 to 7.
CN201911128183.4A 2019-11-18 2019-11-18 Data processing method and related device Pending CN112817462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911128183.4A CN112817462A (en) 2019-11-18 2019-11-18 Data processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911128183.4A CN112817462A (en) 2019-11-18 2019-11-18 Data processing method and related device

Publications (1)

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

Family

ID=75852457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911128183.4A Pending CN112817462A (en) 2019-11-18 2019-11-18 Data processing method and related device

Country Status (1)

Country Link
CN (1) CN112817462A (en)

Similar Documents

Publication Publication Date Title
US9667774B2 (en) Methods and devices for sending virtual information card
EP3454192A1 (en) Method and device for displaying page
EP3171270A1 (en) Method and device for information push
KR20160094927A (en) Method, device and system for displaying content of short message, method and device for determining display of short message
CN106528081B (en) Operation execution method and device
EP3147802B1 (en) Method and apparatus for processing information
CN109922098B (en) Content sharing method and device for content sharing
US20160314164A1 (en) Methods and devices for sharing cloud-based business card
CN106354504B (en) Message display method and device
US10831514B2 (en) Display method and device of application interface
CN107239351B (en) Pasting method and device
CN106155703B (en) Emotional state display method and device
CN107463372B (en) Data-driven page updating method and device
CN108984098B (en) Information display control method and device based on social software
CN107295167B (en) Information display method and device
EP2985697A1 (en) Method and device for controlling router plug-in
CN110648657A (en) Language model training method, language model construction method and language model construction device
US20170201479A1 (en) Group message display method, device and medium
EP3185515B1 (en) Method and device for inputting information
CN107241439B (en) Message pushing method and device for H5 page
CN112083841B (en) Information input method, device and storage medium
CN110417987B (en) Operation response method, device, equipment and readable storage medium
CN112817462A (en) Data processing method and related device
CN113946228A (en) Statement recommendation method and device, electronic equipment and readable storage medium
CN106846050B (en) Method, device and system for sending display notification

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