CN111722730A - Character input method, device and equipment based on all-in-one machine and readable storage medium - Google Patents

Character input method, device and equipment based on all-in-one machine and readable storage medium Download PDF

Info

Publication number
CN111722730A
CN111722730A CN202010578311.1A CN202010578311A CN111722730A CN 111722730 A CN111722730 A CN 111722730A CN 202010578311 A CN202010578311 A CN 202010578311A CN 111722730 A CN111722730 A CN 111722730A
Authority
CN
China
Prior art keywords
information
candidate
machine
target
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010578311.1A
Other languages
Chinese (zh)
Inventor
朱邦龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ping An Medical Health Technology Service Co Ltd
Original Assignee
Ping An Medical and Healthcare Management 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 Ping An Medical and Healthcare Management Co Ltd filed Critical Ping An Medical and Healthcare Management Co Ltd
Priority to CN202010578311.1A priority Critical patent/CN111722730A/en
Publication of CN111722730A publication Critical patent/CN111722730A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to artificial intelligence, and discloses a character input method, a device, equipment and a readable storage medium based on an all-in-one machine, which relate to the technical field of Internet. The method comprises the following steps: acquiring an input instruction to be executed, wherein the input instruction comprises key-in information; sending the key-in information to a preset target server according to the input instruction so that the target server converts the key-in information into corresponding character information according to a preset input rule; and receiving the text information sent by the target server and displaying the text information.

Description

Character input method, device and equipment based on all-in-one machine and readable storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a character input method, a character input device, character input equipment and a readable storage medium based on an all-in-one machine.
Background
Today, the internet lives are more and more abundant, and many demands in the lives of people can be realized on the basis of terminals, such as medicine purchasing, money taking and the like. The terminal providing the requirements is called an all-in-one machine, generally, all-in-one machines are touch screens, a user using the all-in-one machine inputs own requirements on the all-in-one machine through an input method, and the all-in-one machine provides corresponding entity objects for the user according to the requirements. The input method is a necessary tool for a user to input characters into the all-in-one machine, runs on an operating system carried by the all-in-one machine, and can convert codes input by the user through a touch screen keyboard or other media data into characters to be input into the all-in-one machine.
In the related technology, an input method engine is arranged in the all-in-one machine, a user calls the input method arranged in the all-in-one machine by triggering the input method engine, the characters generated by user keystroke are integrated by the input method, when the integrated characters are detected to be in accordance with the specification, the characters in accordance with the characters are determined, and the characters are returned to the all-in-one machine, so that the all-in-one machine can input the characters into an input frame selected by the user, and the characters can be input on the all-in-one machine.
In the process of implementing the invention, the inventor finds that the related art has at least the following problems:
the input method determines characters which are consistent with the characters, and a large amount of calculation is involved in the process, the calculation is executed in a system of the all-in-one machine, the all-in-one machine is generally low in configuration and poor in performance, a katon phenomenon is likely to occur when a large amount of operation is carried out on the system of the all-in-one machine, the loading and inputting time of the characters is too long, the efficiency of processing user requirements is low, and the intelligence is poor.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a device and a readable storage medium for inputting characters based on an all-in-one machine, and mainly aims to solve the problems that when a large amount of operations are performed in a system of an existing all-in-one machine, a katon phenomenon is likely to occur, so that the loading and inputting time of characters is too long, the efficiency of processing user requirements is low, and the intelligence is poor.
According to a first aspect of the present invention, there is provided a text input method based on an all-in-one machine, the method comprising:
acquiring an input instruction to be executed, wherein the input instruction comprises key-in information;
sending the keying-in information to a preset target server according to the input instruction so that the target server converts the keying-in information into corresponding text information according to a preset input rule;
and receiving the text information sent by the target server and displaying the text information.
In another embodiment, the converting, by the target server, the key-in information into corresponding text information according to a preset input rule includes:
the target server determines an all-in-one machine for sending the keying-in information, and acquires an association word bank corresponding to the all-in-one machine, wherein the association word bank is generated according to a plurality of historical characters which are requested to be input by the all-in-one machine within a specified historical time period;
and the target server inquires at least one target character in the association word stock according to the preset input rule and takes the at least one target character as the character information.
In another embodiment, before the target server determines the all-in-one machine that sends the key-in information and acquires the associated lexicon corresponding to the all-in-one machine, the method further includes:
extracting the plurality of historical characters which are requested to be input by the all-in-one machine in the historical time period;
respectively counting the requested request times of each history character in the plurality of history characters in the history time period;
sorting the plurality of marked historical characters according to the sequence of the request times from large to small to obtain the association word bank;
and correspondingly storing the association word stock and the all-in-one machine identifier.
In another embodiment, the method further comprises:
receiving at least one candidate character transmitted by the target server, wherein the at least one candidate character is obtained by extracting the request times of the history characters requested by the all-in-one machine in the appointed history time period by the target server;
rendering the at least one candidate character based on a preset display mode in the all-in-one machine, and generating a candidate information option for each candidate character in the at least one candidate character to obtain at least one candidate information option;
and displaying the at least one candidate information option.
In another embodiment, before the receiving at least one candidate word transmitted by the target server, the method further includes:
the target server acquires a frequency threshold value, and extracts at least one candidate character from an association word bank based on the frequency threshold value, wherein the request frequency of the at least one candidate character in the specified time period is greater than the frequency threshold value;
and determining the arrangement sequence of the at least one candidate character in the association word stock, and returning the at least one candidate character to the all-in-one machine according to the arrangement sequence.
In another embodiment, the method further comprises:
when triggering of a target candidate information option is detected, determining target candidate characters included in the target candidate information option, wherein the target candidate information option is any one candidate information option in the at least one candidate information option;
and extracting the target candidate characters, and displaying the target candidate characters in a specified area.
In another embodiment, the method further comprises:
comparing the entered information with the at least one candidate information option;
when a target candidate information option matched with the key-in information exists in the at least one candidate information option, amplifying the target candidate information option according to a preset proportion, wherein target candidate characters corresponding to the target candidate information option are consistent with the key-in information;
and displaying the target candidate information option at a specified position.
According to a second aspect of the present invention, there is provided an all-in-one machine-based character input device, comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring an input instruction to be executed, and the input instruction comprises key-in information;
the conversion module is used for sending the keying-in information to a preset target server according to the input instruction so as to enable the target server to convert the keying-in information into corresponding text information according to a preset input rule;
and the display module is used for receiving the text information sent by the target server and displaying the text information.
In another embodiment, the conversion module includes:
an obtaining unit, configured to determine, by the target server, an all-in-one machine that sends the key-in information, and obtain an association lexicon corresponding to the all-in-one machine, where the association lexicon is generated according to a plurality of history characters that the all-in-one machine requests to input within a specified history time period;
and the query unit is used for the target server to query at least one target character in the association word stock according to the preset input rule and taking the at least one target character as the character information.
In another embodiment, the conversion module further comprises:
the extraction unit is used for extracting the plurality of history characters which are requested to be input by the all-in-one machine in the history time period;
the statistical unit is used for respectively carrying out statistics on the requested request times of each history character in the plurality of history characters in the history time period;
the sorting unit is used for sorting the plurality of marked historical characters according to the sequence of the request times from large to small to obtain the association word stock;
and the storage unit is used for correspondingly storing the association word bank and the all-in-one machine identifier.
In another embodiment, the apparatus further comprises:
the receiving module is used for receiving at least one candidate character transmitted by the target server, and the at least one candidate character is extracted by the target server according to the request times of the history characters requested by the all-in-one machine in the appointed history time period;
the rendering module is used for rendering the at least one candidate character based on a preset display mode in the all-in-one machine, generating a candidate information option for each candidate character in the at least one candidate character and obtaining at least one candidate information option;
the display module is further configured to display the at least one candidate information option.
In another embodiment, the apparatus further comprises:
the extraction module is used for the target server to obtain a frequency threshold value, and extracting at least one candidate character from an association word bank based on the frequency threshold value, wherein the request frequency of the at least one candidate character in the specified time period is greater than the frequency threshold value;
and the returning module is used for determining the arrangement sequence of the at least one candidate character in the association word stock and returning the at least one candidate character to the all-in-one machine according to the arrangement sequence.
In another embodiment, the apparatus further comprises:
a determining module, configured to determine, when it is detected that a target candidate information option is triggered, a target candidate word included in the target candidate information option, where the target candidate information option is any candidate information option in the at least one candidate information option;
the display module is further configured to extract the target candidate characters and display the target candidate characters in a designated area.
In another embodiment, the apparatus further comprises:
a comparison module for comparing the entered information with the at least one candidate information option;
the amplifying module is used for amplifying the target candidate information options according to a preset proportion when the target candidate information options matched with the key-in information exist in the at least one candidate information option, and the target candidate characters corresponding to the target candidate information options are consistent with the key-in information;
the display module is further used for displaying the target candidate information option at a specified position.
According to a third aspect of the present invention, there is provided an apparatus comprising a memory storing a computer program and a processor implementing the steps of the method of the first aspect when the processor executes the computer program.
According to a fourth aspect of the present invention, there is provided a readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of the first aspect as set forth above.
By means of the technical scheme, the invention provides a character input method, a device, equipment and a readable storage medium based on an all-in-one machine.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart of a text input method based on an all-in-one machine according to an embodiment of the present invention;
FIG. 2A is an interaction diagram of a text input method based on an all-in-one machine according to an embodiment of the present invention;
FIG. 2B is an interaction diagram of a text input method based on an all-in-one machine according to an embodiment of the present invention;
FIG. 3A is a schematic structural diagram of a text input device based on an all-in-one machine according to an embodiment of the present invention;
FIG. 3B is a schematic structural diagram of a text input device based on an all-in-one machine according to an embodiment of the present invention;
FIG. 3C is a schematic structural diagram of a text input device based on an all-in-one machine according to an embodiment of the present invention;
FIG. 3D is a schematic structural diagram of a text input device based on an all-in-one machine according to an embodiment of the present invention;
FIG. 3E is a schematic structural diagram of a text input device based on an all-in-one machine according to an embodiment of the present invention;
FIG. 3F is a schematic structural diagram of a text input device based on an all-in-one machine according to an embodiment of the present invention;
FIG. 3G is a schematic structural diagram of a text input device based on an all-in-one machine according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an apparatus structure of an apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The embodiment of the invention provides a character input method based on an all-in-one machine, as shown in figure 1, comprising the following steps:
101. acquiring an input instruction to be executed, wherein the input instruction comprises key-in information.
102. And sending the key-in information to a preset target server according to the input instruction so that the target server converts the key-in information into corresponding character information according to a preset input rule.
103. And receiving the text information sent by the target server and displaying the text information.
According to the method provided by the embodiment of the invention, the input instruction to be executed is obtained, the input information is sent to the preset target server according to the input instruction, so that the target server converts the input information into the corresponding text information and returns the text information to the all-in-one machine for display of the all-in-one machine, all the calculation processes can be completed by the target server without calculation of the all-in-one machine, the phenomenon of blocking and pausing of the all-in-one machine is avoided, the speed of loading the text and the efficiency of processing the user requirements are improved, the input time is reduced, and the intelligence is better.
An embodiment of the present invention provides a text input method, as shown in fig. 2A, the method relates to interaction between an all-in-one machine and a target server, and the method includes:
201. when the all-in-one machine detects that a user triggers the input method, the input instruction to be executed is obtained.
The inventor realizes that, at present, in many regions, all-in-one machines for providing functions of purchasing, inquiring and the like are arranged, such as beverage vending machines, medicine vending machines, cash-in-store machines and the like, and the all-in-one machines can generally independently provide corresponding services for users, so that the life of people is more convenient. Currently, all-in-one machines available on the market are generally divided into two types, one type is a button type, each article corresponds to a different button, and corresponding operation can be carried out by triggering the corresponding button. The other is a large-screen type, the all-in-one machine provides a large screen, an input method is provided on the large screen, and a user can input own requirements into the all-in-one machine through the input method so that the all-in-one machine can provide corresponding feedback according to the content input by the user. For the all-in-one machine providing the input method for the user to input characters, if the all-in-one machine identifies and calculates the key information of the user, the all-in-one machine needs to perform a large amount of calculation processing each time the all-in-one machine responds to the user. Moreover, all the all-in-one machines in the market are low in configuration at present, for all the all-in-one machines with low configuration, a large amount of calculation processing is undoubtedly a huge load, and poor experience is easily brought to users due to the situations of blocking, long-time loading and the like. Therefore, in the invention, a target server is arranged, the data connection between the target server and the all-in-one machine such as the all-in-one machine is established, and the input information input by the user through operation on the all-in-one machine is identified and calculated based on the target server, so that the all-in-one machine only executes simple operations such as information sending, information receiving, information displaying and the like, thereby improving the running speed of the all-in-one machine.
It should be noted that, in the embodiment of the present invention, the all-in-one machine is taken as an example for illustration, and in the practical application process, the all-in-one machine may also be a terminal such as a desktop computer, a mobile device, and the like, and the specific type of the all-in-one machine is not limited in the present invention. In addition, before the present invention is implemented, the all-in-one machine needs to establish a long connection with a target server by using a WebSocket (full duplex communication protocol) so as to perform subsequent information transmission with the target server based on the long connection.
In the process of practical application, in order to determine the content that the user wants to input, a unified machine may provide an input box for the user on a screen, when it is detected that the user clicks the input box, provide a virtual keyboard loaded with an input method, pop up the virtual keyboard on the lower half portion of the screen, continuously detect the operation of the user on the virtual keyboard, and collect the content clicked by the user on the virtual keyboard as an input instruction to be executed, where the input instruction may include typing information generated by the user clicking on the virtual keyboard. For example, if the user clicks the keys "H", "a", and "O" on the virtual keyboard, the input instructions to be executed are "H", "a", and "O", and the characters "H", "a", and "O" are combined to be the key input information of the input instructions. For example, if the user clicks the keys "H", "a" and "O", but the sequence of clicking is "a", "H" and "O", the characters need to be combined according to the sequence of "a", "H" and "O" to generate the key-in information, and the sequence of the characters cannot be reversed, so that the subsequent error in identifying the key-in information is avoided.
202. And the all-in-one machine sends the input information to a preset target server according to the input instruction.
In the embodiment of the invention, as the long connection is established between the all-in-one machine and the target server through the Internet, after the all-in-one machine acquires the input instruction to be executed, the all-in-one machine sends the key-in information to the target server according to the input instruction based on the long connection, so that the target server can identify and calculate the key-in information. When the all-in-one machine returns the key-in information to the target server, the all-in-one machine can use the own all-in-one machine identifier to mark the key-in information in order to distinguish the key-in information transmitted by different all-in-one machines according to the fact that the target server can possibly receive a large amount of different key-in information transmitted by different all-in-one machines at the same time, so that the target server can inquire corresponding characters according to the key-in information and return the corresponding characters, and the target server is guaranteed to provide information identification and calculation services for each all-in-one.
203. And the target server receives the keying-in information transmitted by the all-in-one machine and acquires an association lexicon corresponding to the all-in-one machine.
In the embodiment of the present invention, since the functions of the all-in-one machine are generally fixed, and the services that can be provided are also fixed, for example, the medicine vending machine is an all-in-one machine, and the medicine vending machine can only provide a service for purchasing medicines, and therefore, if a user uses the medicine vending machine, only the medicine name is generally input into the medicine bottle vending machine. Therefore, for each all-in-one machine, most of characters which are possibly input in the history process are fixed, most of the characters which are input in the history process are input again in the future operation, and if the characters are combined to provide the character input service subsequently, the calculation workload is greatly reduced, so that the characters which are fed back to the all-in-one machine subsequently according to the input information can be matched with the daily operation data of the all-in-one machine, the target server collects the historical operation data of a plurality of historical characters which are input by the all-in-one machine within the appointed history time period, namely the historical operation data of the all-in-one machine to generate an association word bank for the all-in-one machine, and the association word bank is connected in parallel to provide the subsequent character feedback service.
When generating the association lexicon, firstly, a plurality of history characters requested to be input by the all-in-one machine in a history time period need to be extracted, pronunciation identifiers are generated for the plurality of history characters according to the pronunciation of each history character in the plurality of history characters, and then the plurality of history characters are labeled by adopting the corresponding pronunciation identifiers. Then, the requested times of each history word in the plurality of history words in the history time period are counted respectively. Further, as the more the request times are, the history characters are very common in the all-in-one machine, and the application times of the history characters are probably higher than those of other history characters in the operation of the subsequent all-in-one machine, the marked history characters can be sorted according to the sequence of the request times from large to small, so that an association word bank is obtained, the history characters with higher request times can be preferentially referred to in the subsequent input, and the character input efficiency is improved. And finally, considering that long connection is established between a plurality of all-in-one machines and the target server, configuring an association word bank for each all-in-one machine, and correspondingly storing the association word banks and the all-in-one machine identifications to realize the distinguishing of the association word banks.
It should be noted that, considering that the function of the all-in-one machine may be updated continuously, so that the frequently input characters on the all-in-one machine may also be changed continuously, an update period may be set in the target server, and the historical characters of the all-in-one machine are counted again every other update period, so as to update the association lexicon.
After the association lexicon is generated for the all-in-one machine, the input information transmitted by the all-in-one machine can be identified by referring to the association lexicon. Because the association lexicon is marked with the all-in-one machine identifier, when the target server receives the keying-in information which is transmitted by the all-in-one machine and is carried by the input instruction to be executed, the all-in-one machine identifier of the all-in-one machine which sends the input instruction needs to be determined, and therefore the association lexicon corresponding to the all-in-one machine identifier is obtained to carry out subsequent character extraction operation.
204. And the target server converts the input information into corresponding text information according to a preset input rule and returns the text information to the all-in-one machine.
In the embodiment of the invention, the target server can inquire the text information corresponding to the keying-in information after receiving the keying-in information of the all-in-one machine. The input information is the input information, and the character information with the pronunciation identification completely consistent with the input information is searched in a known character table according to the input information.
The specific process is as follows: firstly, inquiring character information in an association word stock based on key-in information, wherein the character information is also history characters with pronunciation identification consistent with the key-in information in the association word stock. For example, if the character table is based on pronunciation, the character table is divided into two columns, one column is a pronunciation identifier, and one column is a history character, if the key-in information is "shishi", it can be directly determined that the history character corresponding to the pronunciation identifier of "shishi" in the character table is "trial test, real-time history … …", etc., and "trial test, real-time history … …" is used as the character information. Then, after the character information is determined, because the association word bank is arranged and stored by adopting the request times of the historical characters, the target characters with higher request times are more likely to be needed by the user, therefore, the arrangement sequence of each piece of information included in the character information in the association word bank is determined, and the character information is returned to the all-in-one machine according to the arrangement sequence, so that the most frequently used character information is displayed to the user firstly. It should be noted that, considering that the pronunciation of many characters or words in the association lexicon is the same, a plurality of different character information may be determined according to the key information input by the user, and therefore, the number of character information returned by the target server is at least one, and is not limited to the number of character information.
205. The all-in-one machine receives the text information sent by the target server and displays the text information.
In the embodiment of the invention, the all-in-one machine receives the text information returned by the target server after sending the input information, and the all-in-one machine displays the text information on a screen for a user to check. When the text information is displayed, the target server returns according to the request times of the text information on the all-in-one machine, so that the all-in-one machine needs to display according to the order of the text information returned by the target server.
In addition, when the integrated machine displays the text information, the text information can be directly displayed in the input box, or a sub-window of the input box can be provided, and the text information is displayed in the sub-window for a user to select. It should be noted that the area of the all-in-one machine capable of displaying the text is limited, the number of the text messages may be more, and the text messages cannot be displayed in the area, so that a number threshold value can be set, and only the text message which has the highest request frequency and meets the number threshold value is selected for displaying. For example, if there are 10 pieces of text information returned by the target server and the number threshold is 5, then 5 pieces of text information with the highest request times are selected from the text information returned by the target server for display. The value of the number threshold is not particularly limited.
The process described in the above step 201 to step 205 is a process in which the user operates on a virtual keyboard provided by the kiosk, and in the process of practical application, because the kiosk is essentially a kiosk, and generally each kiosk provides fixed services, for example, a kiosk capable of purchasing medicines only provides a medicine purchasing service, and a kiosk capable of purchasing money only provides a money purchasing service, during the daily service of the kiosk, the characters or words that the user may input are substantially fixed, and some words are often input by the user on the kiosk, for example, on a kiosk capable of purchasing medicines, the characters such as "cold medicine", "stomach medicine", etc. are often input by the user, and the characters such as "potato chip", "cola", etc. are not input by the user, so the invention also provides some words commonly used by the user on the kiosk as candidate information options, so that the user can directly click the candidate information option to meet his own requirement without manually inputting characters, the specific process is shown in fig. 2B, and includes the following steps 206 to 209:
206. and the target server acquires a frequency threshold value and extracts at least one candidate character from the association word bank based on the frequency threshold value.
In the embodiment of the invention, in order to select the candidate characters, the target server can set a frequency threshold value, acquire the frequency threshold value and extract at least one candidate character from the association word library based on the frequency threshold value. Only history words whose number of requests in a given time period is greater than the threshold number of requests may be used as candidate words, for example, the threshold number of requests may be set to 50 times, so that only history words whose number of requests is greater than 50 times may be used as candidate words.
207. And the target server determines the arrangement sequence of at least one candidate character in the association word stock and returns the at least one candidate character to the all-in-one machine according to the arrangement sequence.
In the embodiment of the invention, after the target server determines at least one candidate character, the candidate characters are sorted in the association word library from high to low according to the request times, and the candidate character with the high request time has higher priority relative to the candidate character with the low request time, so that the target server determines the arrangement sequence of the at least one candidate character in the association word library and returns the at least one candidate character to the all-in-one machine according to the arrangement sequence.
In the above description, the target server actively provides the candidate characters to the all-in-one machine, and in the actual application process, the all-in-one machine may be provided with a candidate character acquisition button, and when it is detected that the candidate character acquisition button is triggered by a user or a worker, the target server transmits at least one determined candidate character to the all-in-one machine. In this way, in one case, the target server may perform candidate word extraction in real time when the kiosk requests candidate words to be provided. And in the other situation, after the target server generates the association word bank, the target server directly executes the extraction of the candidate characters, labels the extracted candidate characters by the integrated machine identifier which is the same as the association word bank, caches the labeled candidate characters, and queries the corresponding candidate characters in the cache according to the integrated machine identifier of the integrated machine when the subsequent integrated machine requests to provide the candidate characters. The time of candidate character generation and the time of returning to the candidate character are not particularly limited.
208. The all-in-one machine receives at least one candidate character transmitted by the target server, renders the at least one candidate character based on a preset display mode in the all-in-one machine, generates a candidate information option for each candidate character in the at least one candidate character, obtains the at least one candidate information option, and displays the at least one candidate information option.
In the embodiment of the invention, after the all-in-one machine receives at least one candidate character extracted by the target server according to the request times of the history characters requested by the all-in-one machine in the appointed history time period, the at least one candidate character can be displayed. For the all-in-one machine, in order to improve user experience and increase interestingness of displayed content, the content displayed on the all-in-one machine usually has a preset display mode, such as page elements, page animations and the like, and therefore, after the all-in-one machine receives at least one candidate character transmitted by a target server, in order to enable the at least one candidate character to be in accordance with the style of the all-in-one machine in the aspect of displayed content when displayed, the at least one candidate character is rendered based on the preset display mode in the all-in-one machine, a candidate information option is generated for each candidate character in the at least one candidate character, the at least one candidate information option is obtained, and the at least one candidate information option is displayed for the user to refer to.
When the candidate information option is generated, the all-in-one machine may process the candidate information by using JavaScript (java script), extract specific attributes (substantially, candidate characters in the candidate information) in the candidate information, generate an HTML (hypertext Markup Language) fragment and a CSS (Cascading Style Sheets) to be inserted into a DOM (Document Object Model), and thereby generate and display the candidate information option.
209. When the all-in-one machine detects that the target candidate information option is triggered, the target candidate characters included in the target candidate information option are determined, the target candidate characters are extracted, and the target candidate characters are displayed in the designated area of the all-in-one machine.
In the embodiment of the invention, when the all-in-one machine detects that the target candidate information option is triggered, the fact that a user clicks one of at least one candidate information option is shown, and the candidate information option is used by the user in the current operation is shown, so that the candidate information option is used as the target candidate information, the target candidate characters included in the target candidate information option are determined, the target candidate characters are extracted, and the target candidate characters are shown in the specified area of the all-in-one machine.
In addition, in order to adjust the candidate information provided for the all-in-one machine in the following, the all-in-one machine needs to record the behavior of selecting the candidate information option by the user, and inform the target server that the target candidate information option is selected, so that the target server adjusts the candidate information currently provided for the all-in-one machine.
In the process of practical application, it is likely that the keying information generated by the user based on the input instruction is consistent with a certain candidate information option, but the user does not find that the keying information is still completely keyed in, but at the moment, the all-in-one machine does not need to be processed by the target server because the corresponding candidate information option is displayed on the all-in-one machine, so that the all-in-one machine can also compare the keying information with at least one candidate information option when acquiring the keying information. And when at least one candidate information option has a target candidate information option matched with the key-in information, namely when the target candidate characters corresponding to the target candidate information option are consistent with the key-in information, amplifying the target candidate information option according to a preset proportion, and displaying the target candidate information option at a specified position. For example, if the information input by the user on the all-in-one machine is "cold medicine", and the option of "cold medicine" just exists in the candidate information options displayed by the all-in-one machine, the target candidate information option of "cold medicine" can be enlarged and displayed on the upper right corner of the screen of the all-in-one machine. Or, during the display, the target candidate information option can be subjected to processing such as flashing, brightness enhancement and the like, so that the purpose of reminding the user is achieved.
According to the method provided by the embodiment of the invention, the input instruction to be executed is obtained, the input information is sent to the preset target server according to the input instruction, so that the target server converts the input information into the corresponding text information and returns the text information to the all-in-one machine for display of the all-in-one machine, all the calculation processes can be completed by the target server without calculation of the all-in-one machine, the phenomenon of blocking and pausing of the all-in-one machine is avoided, the speed of loading the text and the efficiency of processing the user requirements are improved, the input time is reduced, and the intelligence is better.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present invention provides a text input device, as shown in fig. 3A, where the text input device includes: an acquisition module 301, a transformation module 302 and a presentation module 303.
The obtaining module 301 is configured to obtain an input instruction to be executed, where the input instruction includes key-in information;
the conversion module 302 is configured to send the key-in information to a preset target server according to the input instruction, so that the target server converts the key-in information into corresponding text information according to a preset input rule;
the display module 303 is configured to receive the text information sent by the target server and display the text information.
In a specific application scenario, as shown in fig. 3B, the conversion module 302 includes: an acquisition unit 3021 and a query unit 3022.
The obtaining unit 3021 is configured to determine, by the target server, an all-in-one machine that sends the key-in information, and obtain an association lexicon corresponding to the all-in-one machine, where the association lexicon is generated according to a plurality of history characters that the all-in-one machine requests to input in a specified history time period;
the query unit 3022 is configured to query, by the target server, at least one target word in the association thesaurus according to the preset input rule, and use the at least one target word as the word information.
In a specific application scenario, as shown in fig. 3C, the conversion module further includes: an extraction unit 3023, a statistics unit 3024, a sorting unit 3025, and a storage unit 3026.
The extracting unit 3023 is configured to extract the plurality of history characters requested to be input by the all-in-one machine in the history time period;
the statistical unit 3024 is configured to count the requested number of times of each history word in the history time period;
the sorting unit 3025 is configured to sort the plurality of marked historical texts in the order from large to small according to the number of times of the requests, so as to obtain the association lexicon;
the storage unit 3026 is configured to store the association thesaurus and the all-in-one machine identifier correspondingly.
In a specific application scenario, as shown in fig. 3D, the apparatus further includes: a receiving module 304 and a rendering module 305.
The receiving module 304 is configured to receive at least one candidate character transmitted by the target server, where the at least one candidate character is extracted by the target server according to the request times of the history characters requested by the all-in-one machine in a specified history time period;
the rendering module 305 is configured to render the at least one candidate text based on a preset display manner in the all-in-one machine, and generate a candidate information option for each candidate text in the at least one candidate text to obtain at least one candidate information option;
the presenting module 303 is further configured to present the at least one candidate information option.
In a specific application scenario, as shown in fig. 3E, the apparatus further includes: an extraction module 306 and a return module 307.
The extracting module 306 is configured to obtain a frequency threshold by the target server, and extract at least one candidate word from the association word library based on the frequency threshold, where the request frequency of the at least one candidate word in the specified time period is greater than the frequency threshold;
the returning module 307 is configured to determine an arrangement order of the at least one candidate character in the association word library, and return the at least one candidate character to the all-in-one machine according to the arrangement order.
In a specific application scenario, as shown in fig. 3F, the apparatus further includes: a determination module 308.
The determining module 308 is configured to determine, when it is detected that a target candidate information option is triggered, a target candidate word included in the target candidate information option, where the target candidate information option is any candidate information option in the at least one candidate information option;
the display module 303 is further configured to extract the target candidate characters, and display the target candidate characters in a designated area.
In a specific application scenario, as shown in fig. 3G, the apparatus further includes: an alignment module 309 and an amplification module 310.
The comparing module 309, configured to compare the entered information with the at least one candidate information option;
the amplifying module 310 is configured to, when a target candidate information option matching the entered information exists in the at least one candidate information option, amplify the target candidate information option according to a preset proportion, where a target candidate character corresponding to the target candidate information option is consistent with the entered information;
the presenting module 303 is further configured to present the target candidate information option at a specified location.
The device provided by the embodiment of the invention obtains the input instruction to be executed, and sends the input information to the preset target server according to the input instruction, so that the target server converts the input information into the corresponding text information and returns the text information to the all-in-one machine for display of the all-in-one machine, all the calculation processes can be completed by the target server without calculation of the all-in-one machine, the phenomenon of blocking and pausing of the all-in-one machine is avoided, the speed of loading the text and the efficiency of processing the user requirements are improved, the input time is reduced, and the intelligence is better.
It should be noted that other corresponding descriptions of the functional units related to the text input device based on an all-in-one machine provided in the embodiment of the present invention may refer to the corresponding descriptions in fig. 1 and fig. 2A to fig. 2B, and are not described herein again.
In an exemplary embodiment, referring to fig. 4, there is further provided a device, where the device 400 includes a communication bus, a processor, a memory, and a communication interface, and may further include an input/output interface and a display device, where the functional units may communicate with each other through the bus. The memory stores computer programs, and the processor is used for executing the programs stored in the memory and executing the character input method based on the all-in-one machine in the embodiment.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the all-in-one machine-based text input method.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by hardware, and also by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. A character input method based on an all-in-one machine is characterized by comprising the following steps:
acquiring an input instruction to be executed, wherein the input instruction comprises key-in information;
sending the keying-in information to a preset target server according to the input instruction so that the target server converts the keying-in information into corresponding text information according to a preset input rule;
and receiving the text information sent by the target server and displaying the text information.
2. The method of claim 1, wherein the target server converts the typed information into corresponding text information according to a preset input rule, comprising:
the target server determines an all-in-one machine for sending the keying-in information, and acquires an association word bank corresponding to the all-in-one machine, wherein the association word bank is generated according to a plurality of historical characters which are requested to be input by the all-in-one machine within a specified historical time period;
and the target server inquires at least one target character in the association word stock according to the preset input rule and takes the at least one target character as the character information.
3. The method as claimed in claim 2, wherein before the target server determines the kiosk that sends the entered information and obtains the associated thesaurus corresponding to the kiosk, the method further comprises:
extracting the plurality of historical characters which are requested to be input by the all-in-one machine in the historical time period;
respectively counting the requested request times of each history character in the plurality of history characters in the history time period;
sorting the plurality of marked historical characters according to the sequence of the request times from large to small to obtain the association word bank;
and correspondingly storing the association word stock and the all-in-one machine identifier.
4. The method of claim 1, further comprising:
receiving at least one candidate character transmitted by the target server, wherein the at least one candidate character is obtained by extracting the request times of the history characters requested by the all-in-one machine in the appointed history time period by the target server;
rendering the at least one candidate character based on a preset display mode in the all-in-one machine, and generating a candidate information option for each candidate character in the at least one candidate character to obtain at least one candidate information option;
and displaying the at least one candidate information option.
5. The method of claim 4, wherein before receiving the at least one candidate word transmitted by the target server, the method further comprises:
the target server acquires a frequency threshold value, and extracts at least one candidate character from an association word bank based on the frequency threshold value, wherein the request frequency of the at least one candidate character in the specified time period is greater than the frequency threshold value;
and determining the arrangement sequence of the at least one candidate character in the association word stock, and returning the at least one candidate character to the all-in-one machine according to the arrangement sequence.
6. The method of claim 4, further comprising:
when triggering of a target candidate information option is detected, determining target candidate characters included in the target candidate information option, wherein the target candidate information option is any one candidate information option in the at least one candidate information option;
and extracting the target candidate characters, and displaying the target candidate characters in a specified area.
7. The method of claim 4, further comprising:
comparing the entered information with the at least one candidate information option;
when a target candidate information option matched with the key-in information exists in the at least one candidate information option, amplifying the target candidate information option according to a preset proportion, wherein target candidate characters corresponding to the target candidate information option are consistent with the key-in information;
and displaying the target candidate information option at a specified position.
8. A character input device based on an all-in-one machine is characterized by comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring an input instruction to be executed, and the input instruction comprises key-in information;
the conversion module is used for sending the keying-in information to a preset target server according to the input instruction so as to enable the target server to convert the keying-in information into corresponding text information according to a preset input rule;
and the display module is used for receiving the text information sent by the target server and displaying the text information.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010578311.1A 2020-06-23 2020-06-23 Character input method, device and equipment based on all-in-one machine and readable storage medium Pending CN111722730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010578311.1A CN111722730A (en) 2020-06-23 2020-06-23 Character input method, device and equipment based on all-in-one machine and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010578311.1A CN111722730A (en) 2020-06-23 2020-06-23 Character input method, device and equipment based on all-in-one machine and readable storage medium

Publications (1)

Publication Number Publication Date
CN111722730A true CN111722730A (en) 2020-09-29

Family

ID=72568326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010578311.1A Pending CN111722730A (en) 2020-06-23 2020-06-23 Character input method, device and equipment based on all-in-one machine and readable storage medium

Country Status (1)

Country Link
CN (1) CN111722730A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113570688A (en) * 2021-07-24 2021-10-29 深圳市研色科技有限公司 Automatic character animation generation method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216854A (en) * 2008-01-15 2008-07-09 腾讯科技(深圳)有限公司 Computer words input method and system and its word library maintenance method and device
CN101290632A (en) * 2008-05-30 2008-10-22 北京搜狗科技发展有限公司 Input method for user words participating in intelligent word-making and input method system
CN102063450A (en) * 2010-04-16 2011-05-18 百度在线网络技术(北京)有限公司 Method and equipment for user to input words on basis of network
KR20140008945A (en) * 2012-07-13 2014-01-22 박종현 Method for inputting chinese into electric board using remote control
CN105760521A (en) * 2016-02-29 2016-07-13 百度在线网络技术(北京)有限公司 Information input method and device
CN108037839A (en) * 2017-12-28 2018-05-15 广东欧珀移动通信有限公司 Character input method and related product
CN108227953A (en) * 2017-12-28 2018-06-29 广东欧珀移动通信有限公司 Character input method and related product
CN108958503A (en) * 2017-05-26 2018-12-07 北京搜狗科技发展有限公司 input method and device
CN109144285A (en) * 2017-06-16 2019-01-04 北京搜狗科技发展有限公司 A kind of input method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216854A (en) * 2008-01-15 2008-07-09 腾讯科技(深圳)有限公司 Computer words input method and system and its word library maintenance method and device
CN101290632A (en) * 2008-05-30 2008-10-22 北京搜狗科技发展有限公司 Input method for user words participating in intelligent word-making and input method system
CN102063450A (en) * 2010-04-16 2011-05-18 百度在线网络技术(北京)有限公司 Method and equipment for user to input words on basis of network
KR20140008945A (en) * 2012-07-13 2014-01-22 박종현 Method for inputting chinese into electric board using remote control
CN105760521A (en) * 2016-02-29 2016-07-13 百度在线网络技术(北京)有限公司 Information input method and device
CN108958503A (en) * 2017-05-26 2018-12-07 北京搜狗科技发展有限公司 input method and device
CN109144285A (en) * 2017-06-16 2019-01-04 北京搜狗科技发展有限公司 A kind of input method and device
CN108037839A (en) * 2017-12-28 2018-05-15 广东欧珀移动通信有限公司 Character input method and related product
CN108227953A (en) * 2017-12-28 2018-06-29 广东欧珀移动通信有限公司 Character input method and related product

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
唐仲明: "《农村信息员》", 31 July 2014 *
李志欣: "《计算机录入技术》", 30 September 2018 *
魏燕明: "《大学计算机基础 新编教程》", 31 August 2007 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113570688A (en) * 2021-07-24 2021-10-29 深圳市研色科技有限公司 Automatic character animation generation method and system

Similar Documents

Publication Publication Date Title
US20190251143A1 (en) Web page rendering method and related device
CN111193599B (en) Message processing method and device
CN109873745B (en) Communication control method, communication control device and storage medium
US10628524B2 (en) Information input method and device
US9710440B2 (en) Presenting fixed format documents in reflowed format
CN106682144A (en) Page display method and device
US11055373B2 (en) Method and apparatus for generating information
US9934206B2 (en) Method and apparatus for extracting web page content
CN102349069A (en) Visualizing site structure and enabling site navigation for a search result or linked page
US10175883B2 (en) Techniques for predicting user input on touch screen devices
CN113159807B (en) Floor page processing method, floor page processing device, floor page processing equipment and floor page processing medium
US11003667B1 (en) Contextual information for a displayed resource
CN111130987A (en) Automatic acquisition method and device for AWR report, electronic equipment and storage medium
CN107783977B (en) Resource object information recommendation method, client and system
EP3961426A2 (en) Method and apparatus for recommending document, electronic device and medium
EP3968181A1 (en) Systems and methods for prefetching dynamic urls
CN111722730A (en) Character input method, device and equipment based on all-in-one machine and readable storage medium
CN113626441A (en) Text management method, device and equipment based on scanning equipment and storage medium
CN115760494A (en) Data processing-based service optimization method and device for real estate marketing
US20220198431A1 (en) Text messaging service based commerce system
CN115292462A (en) Character generation method and device, mobile terminal, readable storage medium and chip
CN114077371A (en) Information display method and device, electronic equipment and storage medium
CN113742501A (en) Information extraction method, device, equipment and medium
CN113656731A (en) Advertisement page processing method and device, electronic equipment and storage medium
CN114579528B (en) File quick look-up management system based on pre-caching

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
TA01 Transfer of patent application right

Effective date of registration: 20220526

Address after: 518000 China Aviation Center 2901, No. 1018, Huafu Road, Huahang community, Huaqiang North Street, Futian District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Ping An medical and Health Technology Service Co.,Ltd.

Address before: Room 12G, Area H, 666 Beijing East Road, Huangpu District, Shanghai 200001

Applicant before: PING AN MEDICAL AND HEALTHCARE MANAGEMENT Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200929

RJ01 Rejection of invention patent application after publication