CN112114728A - Input method and device and electronic equipment - Google Patents

Input method and device and electronic equipment Download PDF

Info

Publication number
CN112114728A
CN112114728A CN202010990402.6A CN202010990402A CN112114728A CN 112114728 A CN112114728 A CN 112114728A CN 202010990402 A CN202010990402 A CN 202010990402A CN 112114728 A CN112114728 A CN 112114728A
Authority
CN
China
Prior art keywords
corpus
target
language
display interface
package
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010990402.6A
Other languages
Chinese (zh)
Other versions
CN112114728B (en
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 CN202010990402.6A priority Critical patent/CN112114728B/en
Publication of CN112114728A publication Critical patent/CN112114728A/en
Application granted granted Critical
Publication of CN112114728B publication Critical patent/CN112114728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the invention provides an input method, an input device and electronic equipment, wherein the method comprises the following steps: receiving a starting instruction aiming at a corpus display interface, entering the corpus display interface, displaying the corpus display interface according to a corpus structure corresponding to a corpus, wherein the corpus structure is as follows: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials; determining a target language package selected by a user in the language material display interface and a target directory selected under the target language package; determining a target corpus to be screened in the target directory, and screening the target corpus; and then show the corpus through a plurality of levels, increase the orderliness to the corpus that the user shows, the user of being convenient for seeks the corpus fast.

Description

Input method and device and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an input method, an input device, and an electronic device.
Background
With the development of computer technology, electronic devices such as mobile phones and tablet computers are more and more popular, and great convenience is brought to life, study and work of people. These electronic devices are typically installed with an input method application (abbreviated as input method) so that a user can input information using the input method.
In order to improve the input efficiency of a user, the input method provides a plurality of functions, such as a shortcut phrase function, namely, after the user enters a shortcut phrase interface, the user directly selects a needed shortcut phrase from the shortcut phrase interface and then the shortcut phrase is displayed on a screen, and manual word-by-word input is not needed; and so on.
At present, the corpus structure of shortcut phrases in the input method is: the directory is taken as the highest level, and each directory comprises a plurality of linguistic data (namely shortcut phrases). The shortcut phrase interface is displayed according to the corpus structure of the shortcut phrase, namely a plurality of catalogues are displayed; and when a certain directory is selected, displaying a plurality of linguistic data under the selected directory. According to the corpus structure, the shortcut phrases displayed to the user are scattered; when the number of the catalogs is large, the user needs to slide back and forth to search the required catalogs, and the operation is complicated; resulting in input inefficiency.
Disclosure of Invention
The embodiment of the invention provides an input method for improving input efficiency.
Correspondingly, the embodiment of the invention also provides an input device and electronic equipment, which are used for ensuring the realization and application of the method.
In order to solve the above problem, an embodiment of the present invention discloses an input method, which specifically includes: receiving a starting instruction aiming at a corpus display interface, entering the corpus display interface, displaying the corpus display interface according to a corpus structure corresponding to a corpus, wherein the corpus structure is as follows: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials; determining a target language package selected by a user in the language material display interface and a target directory selected under the target language package; and determining a target corpus to be subjected to screen loading in the target directory, and loading the target corpus to the screen.
Optionally, the entering the corpus display interface includes: and when the language material display interface is entered for the first time, displaying the catalog in the first language material packet on the language material display interface.
Optionally, the corpus package includes a task corpus package and other corpus packages, and the other corpus packages include corpus packages other than the task corpus package; the entering the corpus display interface includes: when the corpus display interface is not entered for the first time: if the task language pack exists, displaying the catalog under the first task language pack on the language pack display interface; and if the task language packet does not exist, displaying the directories under other language packets opened when the language material display interface is exited for the last time on the language material display interface.
Optionally, the method further comprises: and automatically sending the target corpus.
Optionally, the method further comprises: receiving a sending instruction for the target corpus after being displayed on a screen; and sending the target language material after being displayed on the screen.
Optionally, the method further comprises: when the target linguistic data comprise N pieces, randomly sending M pieces of target linguistic data; wherein M is less than N.
Optionally, the method further comprises: and when the target corpus comprises N pieces, sending N pieces of markup language packs at the same time.
Optionally, the method further comprises: and when the target corpus comprises N pieces, sequentially sending N item markup language packs.
Optionally, the determining the target corpus to be displayed on the screen under the target directory includes: receiving a corpus selection instruction aiming at the corpus under the target directory; and determining the corpus corresponding to the corpus selection instruction as the target corpus to be displayed on the screen under the target directory.
Optionally, the determining the target corpus to be displayed on the screen under the target directory includes: and selecting the corpus from the corpus in the target directory according to a preset rule to serve as the target corpus to be displayed on the screen in the target directory.
Optionally, the method further comprises: and receiving a corpus adding instruction, and entering a corpus adding interface so that a user can add the corpus on the corpus adding interface.
Optionally, the corpus adding manner includes: user-defined creation and/or downloading from a language material packet which can support downloading of other users; the language material packet which can support downloading of other users comprises the following steps: the other users submit the published corpus package, and/or the corpus package shared by the other users, and/or the corpus package associated with the tasks published by the other users.
Optionally, a plurality of corpus bags are displayed in the corpus display interface, and corpus bags corresponding to corpuses added in different ways have different corpus identifications.
Optionally, the method further comprises: receiving an adding instruction aiming at the shortcut phrase; and adding the shortcut phrases corresponding to the adding instruction to the directory under the language packet corresponding to the shortcut phrases.
Optionally, the corpus comprises at least one of: text, symbols, and expressions.
Optionally, the method further comprises: judging whether an expired voice packet exists or not; and deleting the expired voice packet when the expired voice packet is determined to exist.
Optionally, the method further comprises: judging whether an expired voice packet exists or not; and when the expired voice packet is determined to exist, setting the expired voice packet to be in an unavailable state.
Optionally, the method further comprises: and generating task prompt information of the preset voice packet to prompt a user to issue a task of the preset voice packet.
The embodiment of the invention also discloses an input device, which specifically comprises: the display method comprises a first display module and a second display module, wherein the first display module is used for receiving a starting instruction for a corpus display interface, entering the corpus display interface, displaying the corpus display interface according to a corpus structure corresponding to a corpus, and the corpus structure is as follows: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials; the determining module is used for determining a target language package selected by a user in the language material display interface and a target directory selected under the target language package; and the screen-loading module is used for determining the target language material to be subjected to screen loading in the target directory and loading the target language material to the screen.
Optionally, the first display module includes: and the first corpus display submodule is used for displaying the catalog under the first corpus package on the corpus display interface when the corpus display interface is entered for the first time.
Optionally, the corpus package includes a task corpus package and other corpus packages, and the other corpus packages include corpus packages other than the task corpus package; the first display module, comprising: a second corpus display submodule, configured to, when the corpus display interface is not entered for the first time: if the task language pack exists, displaying the catalog under the first task language pack on the language pack display interface; and if the task language packet does not exist, displaying the directories under other language packets opened when the language material display interface is exited for the last time on the language material display interface.
Optionally, the apparatus further comprises: and the first sending module is used for automatically sending the target corpus.
Optionally, the apparatus further comprises: the second sending module is used for receiving a sending instruction for the target corpus after being displayed on a screen; and sending the target language material after being displayed on the screen.
Optionally, the apparatus further comprises: a third sending module, configured to send M target corpora at random when the target corpora include N target corpora; wherein M is less than N.
Optionally, the apparatus further comprises: and the fourth sending module is used for sending the N item markup language packets simultaneously when the target corpus comprises N items.
Optionally, the apparatus further comprises: and the fifth sending module is used for sequentially sending the N item markup language packets when the target corpus comprises N items.
Optionally, the screen-up module includes: the first corpus determining submodule is used for receiving a corpus selecting instruction aiming at the corpus under the target directory; and determining the corpus corresponding to the corpus selection instruction as the target corpus to be displayed on the screen under the target directory.
Optionally, the screen-up module includes: and the second corpus determining submodule is used for selecting a corpus from the corpus in the target directory according to a preset rule to serve as a target corpus to be displayed on a screen in the target directory.
Optionally, the apparatus further comprises: and the second display module is used for receiving the instruction of adding the linguistic data and entering a linguistic data adding interface so that a user can add the linguistic data on the linguistic data adding interface.
Optionally, the corpus adding manner includes: user-defined creation and/or downloading from a language material packet which can support downloading of other users; the language material packet which can support downloading of other users comprises the following steps: the other users submit the published corpus package, and/or the corpus package shared by the other users, and/or the corpus package associated with the tasks published by the other users.
Optionally, a plurality of corpus bags are displayed in the corpus display interface, and corpus bags corresponding to corpuses added in different ways have different corpus identifications.
Optionally, the apparatus further comprises: the corpus adding module is used for receiving an adding instruction aiming at the shortcut phrase; and adding the shortcut phrases corresponding to the adding instruction to the directory under the language packet corresponding to the shortcut phrases.
Optionally, the corpus comprises at least one of: text, symbols, and expressions.
Optionally, the apparatus further comprises: the corpus deleting module is used for judging whether an overdue corpus packet exists or not; and deleting the expired voice packet when the expired voice packet is determined to exist.
Optionally, the apparatus further comprises: the corpus state setting module is used for judging whether an overdue corpus exists or not; and when the expired voice packet is determined to exist, setting the expired voice packet to be in an unavailable state.
Optionally, the apparatus further comprises: and the prompting module is used for generating task prompting information of the preset voice packet so as to prompt a user to issue a task of the preset voice packet.
The embodiment of the invention also discloses a readable storage medium, and when the instructions in the storage medium are executed by a processor of the electronic equipment, the electronic equipment can execute the input method according to any one of the embodiments of the invention.
An embodiment of the present invention also discloses an electronic device, 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 one or more processors, and the one or more programs include instructions for: receiving a starting instruction aiming at a corpus display interface, entering the corpus display interface, displaying the corpus display interface according to a corpus structure corresponding to a corpus, wherein the corpus structure is as follows: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials; determining a target language package selected by a user in the language material display interface and a target directory selected under the target language package; and determining a target corpus to be subjected to screen loading in the target directory, and loading the target corpus to the screen.
Optionally, the entering the corpus display interface includes: and when the language material display interface is entered for the first time, displaying the catalog in the first language material packet on the language material display interface.
Optionally, the corpus package includes a task corpus package and other corpus packages, and the other corpus packages include corpus packages other than the task corpus package; the entering the corpus display interface includes: when the corpus display interface is not entered for the first time: if the task language pack exists, displaying the catalog under the first task language pack on the language pack display interface; and if the task language packet does not exist, displaying the directories under other language packets opened when the language material display interface is exited for the last time on the language material display interface.
Optionally, further comprising instructions for: and automatically sending the target corpus.
Optionally, further comprising instructions for: receiving a sending instruction for the target corpus after being displayed on a screen; and sending the target language material after being displayed on the screen.
Optionally, further comprising instructions for: when the target linguistic data comprise N pieces, randomly sending M pieces of target linguistic data; wherein M is less than N.
Optionally, further comprising instructions for: and when the target corpus comprises N pieces, sending N pieces of markup language packs at the same time.
Optionally, further comprising instructions for: and when the target corpus comprises N pieces, sequentially sending N item markup language packs.
Optionally, the determining the target corpus to be displayed on the screen under the target directory includes: receiving a corpus selection instruction aiming at the corpus under the target directory; and determining the corpus corresponding to the corpus selection instruction as the target corpus to be displayed on the screen under the target directory.
Optionally, the determining the target corpus to be displayed on the screen under the target directory includes: and selecting the corpus from the corpus in the target directory according to a preset rule to serve as the target corpus to be displayed on the screen in the target directory.
Optionally, further comprising instructions for: and receiving a corpus adding instruction, and entering a corpus adding interface so that a user can add the corpus on the corpus adding interface.
Optionally, the corpus adding manner includes: user-defined creation and/or downloading from a language material packet which can support downloading of other users; the language material packet which can support downloading of other users comprises the following steps: the other users submit the published corpus package, and/or the corpus package shared by the other users, and/or the corpus package associated with the tasks published by the other users.
Optionally, a plurality of corpus bags are displayed in the corpus display interface, and corpus bags corresponding to corpuses added in different ways have different corpus identifications.
Optionally, further comprising instructions for: receiving an adding instruction aiming at the shortcut phrase; and adding the shortcut phrases corresponding to the adding instruction to the directory under the language packet corresponding to the shortcut phrases.
Optionally, the corpus comprises at least one of: text, symbols, and expressions.
Optionally, further comprising instructions for: judging whether an expired voice packet exists or not; and deleting the expired voice packet when the expired voice packet is determined to exist.
Optionally, further comprising instructions for: judging whether an expired voice packet exists or not; and when the expired voice packet is determined to exist, setting the expired voice packet to be in an unavailable state.
Optionally, further comprising instructions for: and generating task prompt information of the preset voice packet to prompt a user to issue a task of the preset voice packet.
The embodiment of the invention has the following advantages:
in the embodiment of the present invention, after receiving a start instruction for a corpus display interface, a corpus can be displayed in the corpus display interface according to a corpus structure corresponding to a corpus, where the corpus structure is: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials; the corpus is displayed through a plurality of levels, the orderliness of the corpus displayed to a user is increased, and the user can conveniently and quickly search the corpus; in the process that a user searches for the corpus, a target corpus package selected by the user in the corpus display interface and a target directory selected under the target corpus package can be determined; determining a target corpus to be screened in the target directory, and screening the target corpus; thereby improving the input efficiency of the user.
Drawings
FIG. 1A is a flow chart of the steps of an input method embodiment of the present invention;
FIG. 1B is a schematic interface diagram of an input method keyboard according to an embodiment of the present invention;
FIG. 1C is a schematic interface diagram of another input method keyboard according to an embodiment of the present invention;
FIG. 1D is a diagram of a corpus presentation interface according to an embodiment of the present invention;
FIG. 2 is a diagram of a corpus addition interface according to an embodiment of the present invention;
FIG. 3A is a flow chart of the steps of an alternative embodiment of an input method of the present invention;
FIG. 3B is a diagram of another corpus presentation interface according to an embodiment of the present invention;
FIG. 3C is a diagram illustrating another alternative corpus presentation interface according to an embodiment of the present invention;
FIG. 4A is a flow chart of steps of yet another alternative embodiment of an input method of the present invention;
FIG. 4B is a diagram of another corpus presentation interface according to an embodiment of the present invention;
FIG. 5 is a block diagram of an input device according to an embodiment of the present invention;
FIG. 6 is a block diagram of an alternative embodiment of an input device of the present invention;
FIG. 7 illustrates a block diagram of an electronic device for input, in accordance with an exemplary embodiment;
fig. 8 is a schematic structural diagram of an electronic device for input according to another exemplary embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
In the embodiment of the invention, a fast corpus input function can be newly added in the input method, namely, when a user needs to input a certain corpus quickly, the fast corpus input function can be started and a corresponding corpus display interface is entered; then, selecting the required language material from the language material display interface and inputting the selected language material; the user does not need to manually input word by word, and the input efficiency of the user can be improved.
One of the core ideas of the invention is that the corpus structure corresponding to the corpus provided by the corpus fast input function can be set into a plurality of levels; and displaying the corpus to the user according to the hierarchy of the corpus structure; compared with the prior art, the embodiment of the invention has the advantages that the language materials displayed to the user are more orderly, so that the input of the language materials required by the user to be searched can be improved, and the input efficiency of the user is improved.
The corpus structure corresponding to the corpus provided by the corpus fast input function may include at least three levels, which are in turn: the language pack → the catalog → the corpus, wherein the language pack is the highest level, the corpus pack comprises a plurality of catalogs, and the catalog comprises a plurality of corpora. That is to say, the corpus provided by the corpus fast input function can be divided into a plurality of corpus packets, each corpus packet can include a plurality of directories, and each directory can include a plurality of corpuses.
In one example, the shortcut phrases in the shortcut phrase function currently provided by the input method are also a type of corpus; in order to facilitate searching of a user, the corpus corresponding to the shortcut phrase can be integrated into the corpus corresponding to the newly added corpus rapid input function. One way to integrate the corpus corresponding to the shortcut phrase into the corpus corresponding to the newly added corpus rapid input function may be to create a corpus package as a corpus package of the shortcut phrase; then, the list of the shortcut phrases is used as the list under the corpus.
Referring to fig. 1A, a flowchart illustrating steps of an embodiment of an input method of the present invention is shown, which may specifically include the following steps:
102, receiving a starting instruction for a corpus display interface, entering the corpus display interface, wherein the corpus display interface displays according to a corpus structure corresponding to a corpus, and the corpus structure is as follows: the language pack is taken as the highest level, the language pack comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials.
In the embodiment of the present invention, a function entry of the fast corpus input function may be displayed in an input method keyboard, for example, the function entry is displayed in a toolbar of the input method keyboard as shown in E1 in fig. 1B, or the function entry may be displayed in a function panel of the input method keyboard; as shown at E2 in fig. 1C.
When a user needs to input a certain corpus quickly, the function entrance can be triggered; correspondingly, the input method can receive a starting instruction of a corpus display interface corresponding to the corpus fast input function; the corpus presentation interface may then be entered.
In an optional embodiment of the present invention, the corpus display interface may display according to a corpus structure of a corresponding corpus; correspondingly, a plurality of language packs located at the highest level may be displayed in the corpus display interface, as shown in fig. 1D. When a certain corpus package in the corpus display interface is selected, the catalog under the corpus package can be displayed; when a certain directory is selected, the corpus under the directory can be displayed. In fig. 1D, "pack 1" is selected, "directory 1" under "pack 1" is selected, and the corpus under "directory 1" is shown. Wherein, the "shortcut phrase" in fig. 1D is a corpus corresponding to the existing shortcut phrase of the input method.
And 104, determining a target language package selected by the user in the language material interface and a target directory selected under the target language package.
When a user selects a certain language pack, the language pack can be determined as a target language pack; and when the user selects a certain directory under the target language packet, the directory selected by the user can be determined as the target directory. Of course, in this process, the user may select the speech packet and the corresponding directory many times to find the required speech packet and directory; therefore, the embodiment of the invention can update the target speech packet according to the speech packet newly selected by the user; and updating the target directory according to the latest selected directory of the user in the target language packet.
And 106, determining a target corpus to be displayed on the screen under the target directory, and displaying the target corpus on the screen.
After the user selects the target directory, the corpus under the target directory can be displayed in the corpus display interface; at this time, the user can select the target language material to be displayed on the screen, or the input method can automatically select the target language material to be displayed on the screen; and then the target language material can be displayed on the screen, so that the rapid input of the language material is realized. Referring to fig. 1D, if the target language package is "package 1", the target directory is "directory 1", and the target language material is "zhao x future available date", then "zhao x future available date" may be displayed on the screen.
In the embodiment of the present invention, the corpus corresponding to the newly added corpus fast input function may include at least one of the following: text, symbols, and expressions. The embodiment of the invention does not limit the language, format, quantity and the like of the text in the material; the expression may include an emoji (emoji) expression, may also include a static image, and may also include a dynamic image, a text, and the like, which is not limited in this embodiment of the present invention.
In summary, in the embodiment of the present invention, after receiving the start instruction for the corpus display interface, the corpus can be displayed in the corpus display interface according to the corpus structure of the corresponding corpus, where the corpus structure is: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials; the corpus is displayed through a plurality of levels, the orderliness of the corpus displayed to a user is increased, and the user can conveniently and quickly search the corpus; in the process that a user searches for the corpus, a target corpus package selected by the user in the corpus display interface and a target directory selected under the target corpus package can be determined; determining a target corpus to be screened in the target directory, and screening the target corpus; thereby improving the input efficiency of the user.
In an optional embodiment of the present invention, the corpus may be added by an input method or by a user, which is not limited in this embodiment of the present invention. When the linguistic data are added by a user, the user can enter a linguistic data adding interface to add the linguistic data through an input method application program; and the language material adding interface can be accessed to add the language material through the language material adding inlet in the language material display interface. Wherein, the corpus display interface displays the corpus adding entry as shown in FIG. 1D "
Figure BDA0002690679800000101
And adding, after the user triggers the corpus adding inlet, the input method can receive a corpus adding instruction and enter a corpus adding interface. Wherein, the mode that the corpus was added includes: user-defined creation and/or downloading from a language material packet which can support downloading of other users; the language material packet which can support downloading of other users comprises the following steps: the other users submit the published corpus package, and/or the corpus package shared by the other users, and/or the corpus package associated with the tasks published by the other users.
Referring to fig. 2, a schematic diagram of a corpus addition interface according to an embodiment of the present invention is shown. The following describes each corpus addition method by taking the corpus addition interface shown in fig. 2 as an example.
User-defined creation:
in one implementation, the user can add the corpus in a way of creating the corpus package by self-definition.
When the user wants to create the language pack in a self-defined manner, the user can click on the 'my language pack' in fig. 2 and then show two options of 'self-creation language pack' and 'go to square and add'; and the corpus packet corresponding to all the added corpora of the user at present. The user can select the option of "self-creating a speech packet" to custom create the speech packet. After the user selects the option of 'self-creating the language material package', a naming window of the language material package can be popped up, and after the user can edit the name of the language material package and execute the determination operation, the user can enter a language material editing interface corresponding to the created language material package. The user can create a catalog under the corpus package and edit the catalog name in the corpus editing interface, and create the corpus under the catalog. In addition, the user can edit the description information of the speech packet, the corresponding user information and the like. A plurality of catalogues can be correspondingly added under one language material package, and a plurality of language materials can be correspondingly added under each catalog. The number of directories under each corpus package, the number of corpus items under each directory, the naming rule of each corpus package name, the naming rule of the directory name, the editing rule of the corpus, the naming rule of the description information of the corpus package, and the like can be set according to requirements, and the embodiment of the invention is not limited to this. In one example, the number of directories under each corpus package and the number of corpus strips under each directory can be determined according to the user level; if the user grade is higher, the number of the catalogues in each corpus package and the number of the corpus strips in each catalog are all higher.
In one example, after the user creates a plurality of directories under the corpus package, the user may adjust the display order of the directories under the corpus package, and may delete the added directories. After the user creates a plurality of corpora in the directory, the user can adjust the display sequence of the corpora in the directory and delete the added corpora.
After the user finishes editing the catalog under the corpus package and the corpus under the catalog, the creation of the corpus package can be finished. After the input method keyboard is called up and the corpus display interface is opened, the corpus display interface can display the created corpus package for the user to use.
In the embodiment of the invention, after the corpus package is created, sharing operation can be executed; at this time, the input method may receive a sharing instruction, and then share the corpus package to a user corresponding to the sharing instruction. After the input method receives the sharing instruction, the corpus package corresponding to the sharing instruction can be checked first; and after the audit is passed, sharing the corpus package to the user corresponding to the sharing instruction. Wherein, when the illegal violation content does not exist in the speech packet, the audit can be determined to be passed.
In the embodiment of the invention, after the corpus package is created, contribution operation can be executed; at this time, the input method may receive a contribution instruction, and may then issue a corpus package corresponding to the contribution instruction; all users using the input method can view the speech pack. After receiving the contribution instruction, the input method can firstly examine the corpus packet corresponding to the sharing instruction; and after the audit is passed, distributing the corpus package again.
In another implementation manner, the user may add the corpus by editing the corpus package corresponding to the added corpus.
The user can execute editing operation for the corpus package to which the corpus is to be added, and correspondingly, can enter the corpus editing interface of the corpus package. Then, the user can create a catalog under the corpus package and then create the corpus under the catalog; or creating the corpus in the existing directory under the corpus package. This is similar to the process of creating the catalog and corpus in the process of creating the custom-defined corpus package by the user, and is not described herein again.
In addition, for the unused corpus packet, the user can delete the corpus packet in the corpus addition interface.
Downloading from the language material packet which can support downloading of other users:
each language material packet can comprise at least one language material, and then the user can add the language materials in the downloaded language material packet into the language materials of the user by downloading the language material packets which can support the downloading of other users.
Downloading from a shared speech package of other users:
after the user receives the corpus package shared by other users, if the user needs to use the corpus package, the corpus package can be downloaded.
Downloading from the speech packets posted by other users:
in an example of the present invention, the input method may publish the corpus packages posted by all users to the shared platform, so that users using the input method can see the corpus packages posted by other users.
Wherein, the user can select the option of "go to square and add" (wherein, square can refer to a shared platform for displaying all the language packages posted and published by the users) to download the language packages posted and published by other users. After the user selects the option of 'go to square and add', the user can enter a corpus package downloading interface; the language material package downloading interface displays the language material package preset by the input method and/or the language material package submitted and published by all users. The user can select the required corpus package from the corpus packages and execute downloading operation; correspondingly, the input method can receive the downloading instruction. In one example, the language pack corresponding to the downloading instruction may be downloaded, so as to add the language material in the downloaded language material pack to the user's own language material. In another example, the identifier information of the language pack corresponding to the downloading instruction may be saved, and when the language pack needs to be used, the language pack is downloaded according to the identifier information corresponding to the language pack.
When the other users delete the corpus package submitted and published by the other users, the corpus package submitted and published by the other users deleted by the other users in the users can be deleted.
Downloaded from a voice package associated with tasks published by other users.
In many scenarios, many users may need to share the same corpus, for example, when company employees perform company publicity, the same documents need to be used; therefore, in the embodiment of the present invention, a user meeting a preset condition may be allowed to issue a task, and determine a speech packet associated with the task while issuing the task (for convenience of subsequent description, the speech packet associated with the task may be referred to as a task speech packet). Wherein, the user who pays attention to the user meeting the preset condition can download the task speech packet from the linguistic data associated with the task issued by the user meeting the preset condition; and then the user who needs to satisfy the preset condition sends the corpus in the task speech packet to other users respectively, also need not other users and duplicates the corpus in this task speech packet, improves user's input efficiency. The preset conditions can be set according to requirements, for example, the number of other users paying attention to the user is larger than a certain value, and the user grade is higher than a certain grade. For each user, after the concerned other users issue tasks, a task speech packet associated with the task can be automatically downloaded by an input method; or the user may actively download a task language package associated with the task.
The tasks issued by the users can have timeliness, and for each user, when the tasks issued by other users concerned by the user start, the voice packets associated with the tasks can be downloaded for the user; and deleting the voice packet associated with the task in the user when the task issued by the other user concerned by the user is finished. In addition, when other users delete the tasks issued by the other users, the voice packets associated with the tasks in the users can also be deleted.
In an example of the present invention, after the user adds the corpus, the corresponding arrangement manner of the corpus adding interface corresponding to the added corpus package may include multiple types; such as in order of addition time, such as in order of ascending duration from the current time. If the language data packets are sorted according to the adding mode of the language data packets, if the task language data packets are arranged in front of the language data packets downloaded from the square, the language data packets downloaded from the square are arranged in front of the language data packets created by the user in a user-defined mode, and the language data packets created by the user in a user-defined mode are arranged in front of the language data packets corresponding to the shortcut phrases; and the speech packets added in the same adding mode can be sorted according to the ascending order of time from the current time, and the like. Of course, other arrangements may be included, and the embodiment of the present invention is not limited thereto.
Referring to fig. 3A, a flowchart illustrating steps of an alternative embodiment of the input method of the present invention is shown, which may specifically include the following steps:
step 302, receiving a starting instruction for a corpus display interface, and entering the corpus display interface.
In the embodiment of the invention, after entering the corpus display interface, a plurality of corpus packages can be displayed on the corpus display interface, and a catalog under a default corpus package can be displayed.
Wherein, under different circumstances, default speech package is different:
when entering the corpus presentation interface for the first time, the corresponding default corpus may be the corpus that is arranged at the top among all the corpora. Furthermore, in the embodiment of the present invention, the entering the corpus display interface includes: and when the language material display interface is entered for the first time, displaying the catalog in the first language material packet on the language material display interface.
When the language material display interface is not entered for the first time, if a task language material packet exists, the corresponding default language material packet can be the first task language material packet; if no task corpus packet exists, the default corpus includes other corpus packets that may be opened when the corpus display interface is last exited. The entering the corpus display interface includes: when the corpus display interface is not entered for the first time: if the task language pack exists, displaying the catalog under the first task language pack on the language pack display interface; and if the task language packet does not exist, displaying the directories under other language packets opened when the language material display interface is exited for the last time on the language material display interface.
In an optional embodiment of the present invention, the corpus display interface displays a plurality of corpus packets, and the corpus packets corresponding to the corpuses added in different manners have different corpus identifiers.
And step 304, determining a target language package selected by the user in the language material display interface and a target directory selected under the target language package.
In the embodiment of the invention, when a user selects a certain language pack, the language pack selected by the user is determined as the target language pack. When the user does not select the voice packet, the default voice packet can be used as the target voice packet.
Step 306, receiving a corpus selection instruction for the corpus in the target directory.
And 308, determining the corpus corresponding to the corpus selection instruction as the target corpus to be displayed on the screen in the target directory.
In the embodiment of the invention, a user can determine the required linguistic data in the target directory and then execute the linguistic data selection operation such as clicking the required linguistic data; correspondingly, the input method may receive a corpus selection instruction for the corpus in the target directory. And then determining the corpus corresponding to the corpus selecting instruction, and determining the corpus corresponding to the corpus selecting instruction as the target corpus to be displayed on the screen in the target directory.
And 310, uploading the target corpus.
And then the directory corpus is displayed on the screen.
In an example of the present invention, the corpus selection instruction may be used to trigger the target corpus to be displayed and sent; furthermore, the method further comprises: and automatically sending the target corpus. That is, after receiving the corpus selection instruction, the input method determines the corresponding target corpus; and then, the target corpus is displayed on a screen and is sent to an opposite terminal.
In an example of the present invention, the corpus selection instruction may be only used to trigger a target corpus to be displayed on a screen; furthermore, the method further comprises: receiving a sending instruction for the target corpus after being displayed on a screen; and sending the target language material after being displayed on the screen. That is, when the user needs to send the target language material after being displayed to the opposite terminal, the sending operation can be executed; correspondingly, the input method can receive a sending instruction and then can send the target language material after being displayed on the screen to the opposite terminal.
In the embodiment of the present invention, whether the corpus selection instruction is used to trigger the target corpus to be displayed and sent or only used to trigger the target corpus to be displayed may be determined according to a user-defined setting or according to an input method, which is not limited in this embodiment of the present invention.
Referring to fig. 3B, if the corpus selection instruction is set correspondingly, the corpus selection instruction is only used to trigger the target corpus to be displayed; then, after clicking the target corpus such as 'Zhao xi zhi tai chi' by the user, firstly, the target corpus is displayed on the screen; and after the user clicks the sending button, sending the target corpus to the opposite terminal.
Referring to fig. 3C, if the corpus selection instruction is set correspondingly, the corpus selection instruction is used to trigger the target corpus to be displayed and sent; and after the user clicks the target corpus, such as 'Zhao x future available period', the input method directly screens the target corpus and sends the target corpus to the opposite terminal.
In summary, in the embodiment of the present invention, a corpus selection instruction for the corpus in the target directory may be received, and then the corpus corresponding to the corpus selection instruction is determined as the target corpus to be displayed in the target directory, and the target corpus is displayed in the screen; and then can be with the target corpus screen loading that the user selected, better satisfy user's input demand.
Referring to fig. 4A, a flowchart illustrating steps of another alternative embodiment of the input method of the present invention is shown, which may specifically include the following steps:
step 402, receiving a starting instruction aiming at a corpus display interface, and entering the corpus display interface.
Step 404, determining a target language package selected by the user in the language material display interface and a target directory selected under the target language package.
Step 402-step 404 are similar to step 302-step 304, and are not described herein again.
And 406, selecting a corpus from the corpus in the target directory according to a preset rule to serve as the target corpus to be displayed on the screen in the target directory.
In the embodiment of the invention, after the target directory selected by the user is determined, the input method can automatically select the corpus from the corpus under the target directory according to the preset rule to be used as the target corpus to be displayed on the screen under the target directory; and further, the user does not need to select the corpus from the target directory for inputting. The preset rule may be set as required, for example, a random selection rule, a rule for calculating corpus identifier/sequence number selection according to a preset algorithm, and the like; the embodiments of the present invention are not limited in this regard.
And step 408, displaying the target corpus on a screen.
Referring to fig. 4B, after the user clicks the "send" button, the input method determines the target corpus according to the preset rule, such as "enter into the enclosure is approval, and make a continuous effort in the next year"; then, the target corpus can be displayed on a screen; the target corpus may also be sent while being displayed on the screen, which is not limited in the embodiment of the present invention.
In summary, in the embodiment of the present invention, the corpus may be selected from the corpus in the target directory by an input method according to a preset rule, and the selected corpus is used as the target corpus to be displayed on the screen in the target directory; furthermore, the user does not need to manually select the corpus, the efficiency of selecting the corpus by the user is improved, and the input efficiency of the user is further improved.
In the embodiment of the invention, whether the target corpus is selected by a user or the input method according to a preset rule can be set according to requirements.
In an optional embodiment of the invention, an adding instruction for the shortcut phrase is received; and adding the shortcut phrases corresponding to the adding instruction to the directory under the language packet corresponding to the shortcut phrases. The shortcut phrases may be added to the default directory of the corresponding voice packet of the shortcut phrases, and the default directory may be set by an input method or may be set by a user through a user-defined manner, for example, the directory of "commonly used" is used, which is not limited in this embodiment of the present invention.
In an optional embodiment of the present invention, no matter the user selects the target corpus, or the input method selects the target corpus according to the preset rule; after the target corpus is screened, if the target corpus comprises N pieces, the target corpus is automatically sent by an input method or manually sent by a user; the corresponding sending target corpus may include multiple ways, which may be as follows:
in an example of the present invention, when the target corpus includes N pieces, M pieces of target corpus are randomly transmitted; wherein M is less than N. M target linguistic data can be randomly selected from the N target linguistic data, and then the M target linguistic data are sent; wherein M and N are both positive integers.
In one example of the present invention, when the target corpus includes N pieces, N pieces of markup language packets are transmitted simultaneously. Namely, the N item banner packets are sent as a whole at one time.
In an example of the present invention, when the target corpus includes N pieces, N pieces of markup language packets are sequentially sent; namely, dividing the N items of the markup language materials into N times of continuous sending.
Of course, the target corpus may also be sent in other manners, which is not limited in this embodiment of the present invention.
In an optional embodiment of the present invention, the corpus package may have a validity period, and the user may use the corpus package within the validity period of the corpus package; after the corpus package is over, the user cannot use the corpus package.
In the embodiment of the present invention, the method may further include: judging whether an expired voice packet exists or not; and deleting the expired voice packet when the expired voice packet is determined to exist.
In the embodiment of the present invention, the method may further include: judging whether an expired voice packet exists or not; and when the expired voice packet is determined to exist, setting the expired voice packet to be in an unavailable state.
Wherein, whether expired voice packets exist can be periodically judged; when the expired corpus package exists, the expired corpus package can be deleted, and the expired corpus package can also be set to be in an unavailable state. And aiming at each voice packet, judging whether the voice packet is overdue or not according to the downloading time, the effective duration and the current time of the voice packet. The period for judging whether the expired voice packet exists may be set according to a requirement, and the embodiment of the present invention is not limited to this.
In an optional embodiment of the present invention, a user meeting a preset condition may issue a task; therefore, task prompt information of the preset voice packet can be generated to prompt a user to issue a task of the preset voice packet. The preset speech packet may be a user-defined speech packet or a speech packet set by an input method, which is not limited in this embodiment of the present invention.
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.
Referring to fig. 5, a block diagram of an embodiment of an input device according to the present invention is shown, which may specifically include the following modules:
the first display module 502 is configured to receive a start instruction for a corpus display interface, enter the corpus display interface, where the corpus display interface displays a corpus structure corresponding to a corpus, where the corpus structure is: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials;
a determining module 504, configured to determine a target corpus package selected by a user in the corpus display interface and a target directory selected under the target corpus package;
and a screen-loading module 506, configured to determine a target corpus to be screened in the target directory, and load the target corpus onto a screen.
Referring to fig. 6, a block diagram of an alternative embodiment of an input device of the present invention is shown.
In an alternative embodiment of the present invention, the first display module 502 includes:
the first corpus displaying submodule 5022 is used for displaying the catalog of the first corpus package on the corpus displaying interface when the corpus displaying interface is entered for the first time.
In an optional embodiment of the present invention, the corpus packet includes a task corpus packet and other corpus packets, and the other corpus packets include corpus packets other than the task corpus packet; the first display module 502, comprising:
the second corpus displaying submodule 5024 is configured to, when the corpus displaying interface is not entered for the first time: if the task language pack exists, displaying the catalog under the first task language pack on the language pack display interface; and if the task language packet does not exist, displaying the directories under other language packets opened when the language material display interface is exited for the last time on the language material display interface.
In an optional embodiment of the present invention, the apparatus further comprises:
a first sending module 508, configured to send the target corpus automatically.
In an optional embodiment of the present invention, the apparatus further comprises:
a second sending module 510, configured to receive a sending instruction for the target corpus after being displayed on a screen; and sending the target language material after being displayed on the screen.
In an optional embodiment of the present invention, the apparatus further comprises:
a third sending module 512, configured to send M target corpora randomly when the target corpora include N target corpora; wherein M is less than N.
In an optional embodiment of the present invention, the apparatus further comprises:
a fourth sending module 514, configured to send the N entry markup language packets simultaneously when the target corpus includes N entries.
In an optional embodiment of the present invention, the apparatus further comprises:
a fifth sending module 516, configured to send the N entry markup language packets in sequence when the target corpus includes N entries.
In an optional embodiment of the present invention, the screen-up module 506 includes:
a first corpus determining submodule 5062, configured to receive a corpus selecting instruction for the corpus in the target directory; and determining the corpus corresponding to the corpus selection instruction as the target corpus to be displayed on the screen under the target directory.
In an optional embodiment of the present invention, the screen-up module 506 includes:
and the second corpus determining submodule 5064 is configured to select a corpus from the corpus in the target directory according to a preset rule, and use the selected corpus as a target corpus to be displayed on a screen in the target directory.
In an optional embodiment of the present invention, the apparatus further comprises:
the second display module 518 is configured to receive a corpus adding instruction, and enter a corpus adding interface, so that a user adds a corpus in the corpus adding interface.
In an optional embodiment of the present invention, the corpus adding manner includes: user-defined creation and/or downloading from a language material packet which can support downloading of other users; the language material packet which can support downloading of other users comprises the following steps: the other users submit the published corpus package, and/or the corpus package shared by the other users, and/or the corpus package associated with the tasks published by the other users.
In an optional embodiment of the present invention, the corpus display interface displays a plurality of corpus packets, and the corpus packets corresponding to the corpuses added in different manners have different corpus identifiers.
In an optional embodiment of the present invention, the apparatus further comprises:
a corpus adding module 520, configured to receive an adding instruction for a shortcut phrase; and adding the shortcut phrases corresponding to the adding instruction to the directory under the language packet corresponding to the shortcut phrases.
In an optional embodiment of the present invention, the corpus includes at least one of: text, symbols, and expressions.
In an optional embodiment of the present invention, the apparatus further comprises:
a corpus deleting module 522, configured to determine whether an expired corpus exists; and deleting the expired voice packet when the expired voice packet is determined to exist.
In an optional embodiment of the present invention, the apparatus further comprises:
a corpus state setting module 524, configured to determine whether an expired corpus exists; and when the expired voice packet is determined to exist, setting the expired voice packet to be in an unavailable state.
In an optional embodiment of the present invention, the apparatus further comprises:
the prompt module 526 is configured to generate task prompt information of the preset voice packet, so as to prompt a user to issue a task of the preset voice packet.
In summary, in the embodiment of the present invention, after receiving the start instruction for the corpus display interface, the corpus can be displayed in the corpus display interface according to the corpus structure of the corresponding corpus, where the corpus structure is: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials; the corpus is displayed through a plurality of levels, the orderliness of the corpus displayed to a user is increased, and the user can conveniently and quickly search the corpus; in the process that a user searches for the corpus, a target corpus package selected by the user in the corpus display interface and a target directory selected under the target corpus package can be determined; determining a target corpus to be screened in the target directory, and screening the target corpus; thereby improving the input efficiency of the user.
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.
FIG. 7 is a block diagram illustrating a structure of an electronic device 700 for input, according to an example embodiment. For example, the electronic device 700 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, electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 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 component 706 provides power to the various components of the electronic device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 700.
The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 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 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 700 is in an operation mode, such as a photographing 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 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 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 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 may detect an open/closed state of the electronic device 700, the relative positioning of components, such as a display and keypad of the electronic device 700, the sensor assembly 714 may also detect a change in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, orientation or acceleration/deceleration of the electronic device 700, and a change in the temperature of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 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 714 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 714 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 electronic device 700 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 704 comprising instructions, executable by the processor 720 of the electronic device 700 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 in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform an input method, the method comprising: receiving a starting instruction aiming at a corpus display interface, entering the corpus display interface, displaying the corpus display interface according to a corpus structure corresponding to a corpus, wherein the corpus structure is as follows: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials; determining a target language package selected by a user in the language material display interface and a target directory selected under the target language package; and determining a target corpus to be subjected to screen loading in the target directory, and loading the target corpus to the screen.
Optionally, the entering the corpus display interface includes: and when the language material display interface is entered for the first time, displaying the catalog in the first language material packet on the language material display interface.
Optionally, the corpus package includes a task corpus package and other corpus packages, and the other corpus packages include corpus packages other than the task corpus package; the entering the corpus display interface includes: when the corpus display interface is not entered for the first time: if the task language pack exists, displaying the catalog under the first task language pack on the language pack display interface; and if the task language packet does not exist, displaying the directories under other language packets opened when the language material display interface is exited for the last time on the language material display interface.
Optionally, the method further comprises: and automatically sending the target corpus.
Optionally, the method further comprises: receiving a sending instruction for the target corpus after being displayed on a screen; and sending the target language material after being displayed on the screen.
Optionally, the method further comprises: when the target linguistic data comprise N pieces, randomly sending M pieces of target linguistic data; wherein M is less than N.
Optionally, the method further comprises: and when the target corpus comprises N pieces, sending N pieces of markup language packs at the same time.
Optionally, the method further comprises: and when the target corpus comprises N pieces, sequentially sending N item markup language packs.
Optionally, the determining the target corpus to be displayed on the screen under the target directory includes: receiving a corpus selection instruction aiming at the corpus under the target directory; and determining the corpus corresponding to the corpus selection instruction as the target corpus to be displayed on the screen under the target directory.
Optionally, the determining the target corpus to be displayed on the screen under the target directory includes: and selecting the corpus from the corpus in the target directory according to a preset rule to serve as the target corpus to be displayed on the screen in the target directory.
Optionally, the method further comprises: and receiving a corpus adding instruction, and entering a corpus adding interface so that a user can add the corpus on the corpus adding interface.
Optionally, the corpus adding manner includes: user-defined creation and/or downloading from a language material packet which can support downloading of other users; the language material packet which can support downloading of other users comprises the following steps: the other users submit the published corpus package, and/or the corpus package shared by the other users, and/or the corpus package associated with the tasks published by the other users.
Optionally, a plurality of corpus bags are displayed in the corpus display interface, and corpus bags corresponding to corpuses added in different ways have different corpus identifications.
Optionally, the method further comprises: receiving an adding instruction aiming at the shortcut phrase; and adding the shortcut phrases corresponding to the adding instruction to the directory under the language packet corresponding to the shortcut phrases.
Optionally, the corpus comprises at least one of: text, symbols, and expressions.
Optionally, the method further comprises: judging whether an expired voice packet exists or not; and deleting the expired voice packet when the expired voice packet is determined to exist.
Optionally, the method further comprises: judging whether an expired voice packet exists or not; and when the expired voice packet is determined to exist, setting the expired voice packet to be in an unavailable state.
Optionally, the method further comprises: and generating task prompt information of the preset voice packet to prompt a user to issue a task of the preset voice packet.
Fig. 8 is a schematic structural diagram of an electronic device 800 for input according to another exemplary embodiment of the present invention. The electronic device 800 may be a server, which may vary widely due to configuration or performance, and may include one or more Central Processing Units (CPUs) 822 (e.g., one or more processors) and memory 832, one or more storage media 830 (e.g., one or more mass storage devices) storing applications 842 or data 844. Memory 832 and storage medium 830 may be, among other things, transient or persistent storage. The program stored in the storage medium 830 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 822 may be configured to communicate with the storage medium 830 to execute a series of instruction operations in the storage medium 830 on the server.
The server may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input-output interfaces 858, one or more keyboards 856, and/or one or more operating systems 841, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
In an exemplary embodiment, the server is configured to execute one or more programs by the one or more central processors 822 including instructions for: receiving a starting instruction aiming at a corpus display interface, entering the corpus display interface, displaying the corpus display interface according to a corpus structure corresponding to a corpus, wherein the corpus structure is as follows: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials; determining a target language package selected by a user in the language material display interface and a target directory selected under the target language package; and determining a target corpus to be subjected to screen loading in the target directory, and loading the target corpus to the screen.
Optionally, the entering the corpus display interface includes: and when the language material display interface is entered for the first time, displaying the catalog in the first language material packet on the language material display interface.
Optionally, the corpus package includes a task corpus package and other corpus packages, and the other corpus packages include corpus packages other than the task corpus package; the entering the corpus display interface includes: when the corpus display interface is not entered for the first time: if the task language pack exists, displaying the catalog under the first task language pack on the language pack display interface; and if the task language packet does not exist, displaying the directories under other language packets opened when the language material display interface is exited for the last time on the language material display interface.
Optionally, further comprising instructions for: and automatically sending the target corpus.
Optionally, further comprising instructions for: receiving a sending instruction for the target corpus after being displayed on a screen; and sending the target language material after being displayed on the screen.
Optionally, further comprising instructions for: when the target linguistic data comprise N pieces, randomly sending M pieces of target linguistic data; wherein M is less than N.
Optionally, further comprising instructions for: and when the target corpus comprises N pieces, sending N pieces of markup language packs at the same time.
Optionally, further comprising instructions for: and when the target corpus comprises N pieces, sequentially sending N item markup language packs.
Optionally, the determining the target corpus to be displayed on the screen under the target directory includes: receiving a corpus selection instruction aiming at the corpus under the target directory; and determining the corpus corresponding to the corpus selection instruction as the target corpus to be displayed on the screen under the target directory.
Optionally, the determining the target corpus to be displayed on the screen under the target directory includes: and selecting the corpus from the corpus in the target directory according to a preset rule to serve as the target corpus to be displayed on the screen in the target directory.
Optionally, further comprising instructions for: and receiving a corpus adding instruction, and entering a corpus adding interface so that a user can add the corpus on the corpus adding interface.
Optionally, the corpus adding manner includes: user-defined creation and/or downloading from a language material packet which can support downloading of other users; the language material packet which can support downloading of other users comprises the following steps: the other users submit the published corpus package, and/or the corpus package shared by the other users, and/or the corpus package associated with the tasks published by the other users.
Optionally, a plurality of corpus bags are displayed in the corpus display interface, and corpus bags corresponding to corpuses added in different ways have different corpus identifications.
Optionally, further comprising instructions for: receiving an adding instruction aiming at the shortcut phrase; and adding the shortcut phrases corresponding to the adding instruction to the directory under the language packet corresponding to the shortcut phrases.
Optionally, the corpus comprises at least one of: text, symbols, and expressions.
Optionally, further comprising instructions for: judging whether an expired voice packet exists or not; and deleting the expired voice packet when the expired voice packet is determined to exist.
Optionally, further comprising instructions for: judging whether an expired voice packet exists or not; and when the expired voice packet is determined to exist, setting the expired voice packet to be in an unavailable state.
Optionally, further comprising instructions for: and generating task prompt information of the preset voice packet to prompt a user to issue a task of the preset voice packet.
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.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be 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. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The input method, the input device and the electronic device provided by the invention are described in detail, and the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the embodiments is only used for helping to understand the method and the core idea of the 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. An input method, comprising:
receiving a starting instruction aiming at a corpus display interface, entering the corpus display interface, displaying the corpus display interface according to a corpus structure corresponding to a corpus, wherein the corpus structure is as follows: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials;
determining a target language package selected by a user in the language material display interface and a target directory selected under the target language package;
and determining a target corpus to be subjected to screen loading in the target directory, and loading the target corpus to the screen.
2. The method according to claim 1, wherein said entering said corpus presentation interface comprises:
and when the language material display interface is entered for the first time, displaying the catalog in the first language material packet on the language material display interface.
3. The method of claim 1, wherein the corpus package comprises a task corpus package and other corpus packages, the other corpus packages comprising corpus packages other than the task corpus package; the entering the corpus display interface includes:
when the corpus display interface is not entered for the first time:
if the task language pack exists, displaying the catalog under the first task language pack on the language pack display interface;
and if the task language packet does not exist, displaying the directories under other language packets opened when the language material display interface is exited for the last time on the language material display interface.
4. The method of claim 1, further comprising:
and automatically sending the target corpus.
5. The method of claim 1, further comprising:
receiving a sending instruction for the target corpus after being displayed on a screen;
and sending the target language material after being displayed on the screen.
6. The method of claim 1, further comprising:
when the target linguistic data comprise N pieces, randomly sending M pieces of target linguistic data; wherein M is less than N.
7. The method of claim 1, further comprising:
and when the target corpus comprises N pieces, sending N pieces of markup language packs at the same time.
8. An input device, comprising:
the display method comprises a first display module and a second display module, wherein the first display module is used for receiving a starting instruction for a corpus display interface, entering the corpus display interface, displaying the corpus display interface according to a corpus structure corresponding to a corpus, and the corpus structure is as follows: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials;
the determining module is used for determining a target language package selected by a user in the language material display interface and a target directory selected under the target language package;
and the screen-loading module is used for determining the target language material to be subjected to screen loading in the target directory and loading the target language material to the screen.
9. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for:
receiving a starting instruction aiming at a corpus display interface, entering the corpus display interface, displaying the corpus display interface according to a corpus structure corresponding to a corpus, wherein the corpus structure is as follows: taking a language packet as the highest level, wherein the language packet comprises a plurality of catalogues, and the catalogues comprise a plurality of language materials;
determining a target language package selected by a user in the language material display interface and a target directory selected under the target language package;
and determining a target corpus to be subjected to screen loading in the target directory, and loading the target corpus to the screen.
10. A readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the input method according to any of method claims 1-7.
CN202010990402.6A 2020-09-18 2020-09-18 Input method and device and electronic equipment Active CN112114728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010990402.6A CN112114728B (en) 2020-09-18 2020-09-18 Input method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010990402.6A CN112114728B (en) 2020-09-18 2020-09-18 Input method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112114728A true CN112114728A (en) 2020-12-22
CN112114728B CN112114728B (en) 2022-02-15

Family

ID=73801140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010990402.6A Active CN112114728B (en) 2020-09-18 2020-09-18 Input method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112114728B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334610A (en) * 2018-02-06 2018-07-27 北京神州泰岳软件股份有限公司 A kind of newsletter archive sorting technique, device and server
CN109271040A (en) * 2018-08-06 2019-01-25 北京三个逗号科技有限公司 Construct method, input method, computer storage medium and the terminal of user thesaurus
CN109947907A (en) * 2017-10-31 2019-06-28 上海挖数互联网科技有限公司 Construction, response method and device, storage medium, the server of chat robots
US20190205372A1 (en) * 2018-01-02 2019-07-04 Facebook, Inc. Text Correction for Dyslexic Users on an Online Social Network
CN110889293A (en) * 2019-12-06 2020-03-17 浙江大搜车软件技术有限公司 Method, device, equipment and storage medium for constructing multi-level theme vector space
CN111031090A (en) * 2019-10-21 2020-04-17 视联动力信息技术股份有限公司 Data processing method and device, electronic equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947907A (en) * 2017-10-31 2019-06-28 上海挖数互联网科技有限公司 Construction, response method and device, storage medium, the server of chat robots
US20190205372A1 (en) * 2018-01-02 2019-07-04 Facebook, Inc. Text Correction for Dyslexic Users on an Online Social Network
CN108334610A (en) * 2018-02-06 2018-07-27 北京神州泰岳软件股份有限公司 A kind of newsletter archive sorting technique, device and server
CN109271040A (en) * 2018-08-06 2019-01-25 北京三个逗号科技有限公司 Construct method, input method, computer storage medium and the terminal of user thesaurus
CN111031090A (en) * 2019-10-21 2020-04-17 视联动力信息技术股份有限公司 Data processing method and device, electronic equipment and readable storage medium
CN110889293A (en) * 2019-12-06 2020-03-17 浙江大搜车软件技术有限公司 Method, device, equipment and storage medium for constructing multi-level theme vector space

Also Published As

Publication number Publication date
CN112114728B (en) 2022-02-15

Similar Documents

Publication Publication Date Title
WO2017084176A1 (en) Information pushing method and device
CN107621886B (en) Input recommendation method and device and electronic equipment
US20160314164A1 (en) Methods and devices for sharing cloud-based business card
CN106815291B (en) Search result item display method and device and search result item display device
CN107229403B (en) Information content selection method and device
CN112508612B (en) Method for training advertisement creative generation model and generating advertisement creative and related device
CN111382339A (en) Search processing method and device and search processing device
CN111046210A (en) Information recommendation method and device and electronic equipment
CN107844494B (en) Entry auditing method and terminal, entry processing method and server
CN106960026B (en) Search method, search engine and electronic equipment
WO2020187141A1 (en) Information providing method, device, and electronic apparatus
CN106776990B (en) Information processing method and device and electronic equipment
CN107436896B (en) Input recommendation method and device and electronic equipment
CN105260088B (en) Information classification display processing method and device
CN112114728B (en) Input method and device and electronic equipment
CN109901726B (en) Candidate word generation method and device and candidate word generation device
CN108108356B (en) Character translation method, device and equipment
CN108205534B (en) Skin resource display method and device and electronic equipment
CN107515853B (en) Cell word bank pushing method and device
CN113946228A (en) Statement recommendation method and device, electronic equipment and readable storage medium
CN113378022A (en) In-station search platform, search method and related device
CN111880697B (en) Encyclopedic data processing method and device
CN111179011A (en) Insurance product recommendation method and device
CN110633391B (en) Information searching method and device
CN111914983B (en) Interaction method and device, sound box, electronic equipment and storage medium

Legal Events

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