CN110471605A - Virtual formula keyboard setting method, device, readable storage medium storing program for executing and terminal device - Google Patents

Virtual formula keyboard setting method, device, readable storage medium storing program for executing and terminal device Download PDF

Info

Publication number
CN110471605A
CN110471605A CN201910603790.5A CN201910603790A CN110471605A CN 110471605 A CN110471605 A CN 110471605A CN 201910603790 A CN201910603790 A CN 201910603790A CN 110471605 A CN110471605 A CN 110471605A
Authority
CN
China
Prior art keywords
virtual
induction point
symbol
formula keyboard
packet
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
CN201910603790.5A
Other languages
Chinese (zh)
Other versions
CN110471605B (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.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City Technology 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 International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN201910603790.5A priority Critical patent/CN110471605B/en
Publication of CN110471605A publication Critical patent/CN110471605A/en
Application granted granted Critical
Publication of CN110471605B publication Critical patent/CN110471605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

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)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention belongs to field of computer technology more particularly to a kind of virtual formula keyboard setting method, device, computer readable storage medium and terminal devices.The method receives virtual formula keyboard call instruction, and the User Identity of active user is extracted from the virtual formula keyboard call instruction;The target term is inquired in preset term information bank according to the User Identity;Preferred symbol packet is obtained from preset formal notation library according to the target term, it include more than two formal notation packets in the formal notation library, it include more than two formal notations in each formal notation packet, the preferred symbol packet is formal notation packet corresponding with the target term;The separate equations symbol in the preferred symbol packet is distributed on each virtual key at the preset virtual interface formula keyboard head, and the virtual formula keyboard head showing interface is substantially increased into the operating efficiency of user on preset human-computer interaction interface.

Description

Virtual formula keyboard setting method, device, readable storage medium storing program for executing and terminal device
Technical field
The invention belongs to field of computer technology more particularly to a kind of virtual formula keyboard setting methods, device, computer Readable storage medium storing program for executing and terminal device.
Background technique
With the development of science and technology, current terminal device is mostly large screen equipment, such as tablet computer, smart phone, because This often replaces physical keyboard to be inputted when needing to carry out equation editing by terminal device using virtual formula keyboard.
In the prior art, formal notation corresponding to each virtual key of virtual formula keyboard is typically all to fix , but the use habit of different user is different, and the formal notation that some users usually use may be set to one Very background, lookup get up to be inconvenient, and lead to inefficient operation.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of virtual formula keyboard setting method, device, computer-readable depositing Storage media and terminal device are inconvenient with solving the lookup formal notation on existing virtual formula keyboard, and operating efficiency is low Under problem.
The first aspect of the embodiment of the present invention provides a kind of virtual formula keyboard setting method, may include:
Virtual formula keyboard call instruction is received, and extracts active user's from the virtual formula keyboard call instruction User Identity;
The target term is inquired in preset term information bank according to the User Identity, the target term is institute State the term locating for active user;
Preferred symbol packet, the formal notation library Zhong Bao are obtained from preset formal notation library according to the target term More than two formal notation packets are included, include more than two formal notations, the preferred symbol packet in each formal notation packet For formal notation packet corresponding with the target term;
The separate equations symbol in the preferred symbol packet is distributed in each of the preset virtual interface formula keyboard head On virtual key, and by the virtual formula keyboard head showing interface on preset human-computer interaction interface, wherein each virtual Key both corresponds to a formal notation.
The second aspect of the embodiment of the present invention provides a kind of virtual formula keyboard setting device, may include:
Call instruction receiving module, for receiving virtual formula keyboard call instruction, and from the virtual formula keyboard tune With the User Identity for extracting active user in instruction;
Target term enquiry module, for inquiring target in preset term information bank according to the User Identity Term, the target term are the term locating for the active user;
Symbol packet obtains module, for obtaining preferred symbol from preset formal notation library according to the target term It wraps, includes more than two formal notation packets in the formal notation library, include more than two public affairs in each formal notation packet Formula symbol, the preferred symbol packet are formal notation packet corresponding with the target term;
Symbol distribution module, for the separate equations symbol in the preferred symbol packet to be distributed in preset virtual formula On each virtual key at the interface keyboard head, wherein each virtual key both corresponds to a formal notation.
Displayed keyboard module is used for the virtual formula keyboard head showing interface in preset human-computer interaction interface.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer-readable instruction, and the computer-readable instruction realizes following steps when being executed by processor:
Virtual formula keyboard call instruction is received, and extracts active user's from the virtual formula keyboard call instruction User Identity;
The target term is inquired in preset term information bank according to the User Identity, the target term is institute State the term locating for active user;
Preferred symbol packet, the formal notation library Zhong Bao are obtained from preset formal notation library according to the target term More than two formal notation packets are included, include more than two formal notations, the preferred symbol packet in each formal notation packet For formal notation packet corresponding with the target term;
The separate equations symbol in the preferred symbol packet is distributed in each of the preset virtual interface formula keyboard head On virtual key, and by the virtual formula keyboard head showing interface on preset human-computer interaction interface, wherein each virtual Key both corresponds to a formal notation.
The fourth aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer-readable instruction that can run on the processor, the processor executes the computer can Following steps are realized when reading instruction:
Virtual formula keyboard call instruction is received, and extracts active user's from the virtual formula keyboard call instruction User Identity;
The target term is inquired in preset term information bank according to the User Identity, the target term is institute State the term locating for active user;
Preferred symbol packet, the formal notation library Zhong Bao are obtained from preset formal notation library according to the target term More than two formal notation packets are included, include more than two formal notations, the preferred symbol packet in each formal notation packet For formal notation packet corresponding with the target term;
The separate equations symbol in the preferred symbol packet is distributed in each of the preset virtual interface formula keyboard head On virtual key, and by the virtual formula keyboard head showing interface on preset human-computer interaction interface, wherein each virtual Key both corresponds to a formal notation.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention is receiving virtual public affairs After formula keyboard call instruction, first from the User Identity for wherein extracting active user, then according to the user identity Mark is inquired the corresponding target term in preset term information bank, and according to the target term from preset formal notation Corresponding preferred symbol packet is obtained in library, is finally distributed in the separate equations symbol in the preferred symbol packet preset virtual On each virtual key at the interface formula keyboard head, and by the virtual formula keyboard head showing interface in preset human-computer interaction On interface.In this way, the highest formal notation of the current term frequency of use of user can be arranged in virtual formula On the first interface of keyboard, reduces the number that user switches keyboard interface by the modes such as sliding or pulling down, substantially increase The operating efficiency of user.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of one embodiment flow chart of virtual formula keyboard setting method in the embodiment of the present invention;
Fig. 2 is that the separate equations symbol in preferred symbol packet is distributed in each of the preset virtual interface formula keyboard head Schematic flow diagram on virtual key;
Fig. 3 is the schematic flow diagram for determining the priority of each virtual key at the virtual interface formula keyboard head;
Fig. 4 is the schematic diagram of cartesian coordinate system;
Fig. 5 is a kind of one embodiment structure chart of virtual formula keyboard setting device in the embodiment of the present invention;
Fig. 6 is a kind of schematic block diagram of terminal device in the embodiment of the present invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention Range.
Referring to Fig. 1, a kind of one embodiment of virtual formula keyboard setting method may include: in the embodiment of the present invention
Step S101, virtual formula keyboard call instruction is received, and is extracted from the virtual formula keyboard call instruction The User Identity of active user.
It, can be first to the end when user needs to carry out equation editing on the terminal devices such as mobile phone, tablet computer End equipment issues virtual formula keyboard call instruction.It, can will be virtual in a kind of concrete application scene of the embodiment of the present invention Formula keyboard is built in specified application program, and a large amount of maths exercises are provided in the application program and are practiced for user, Generally, it before user is using the application program, needs to be registered in the application program first, fill in including its use Various registration informations including the identity of family.When user needs to input the answer of a certain exercise therein, it can click and refer to Fixed position of answering, that is, having issued virtual formula keyboard call instruction, the virtual formula keyboard tune to terminal device With the User Identity that carry active user in instruction, which includes but is not limited to ID card No., learns Nationality number or other any marks that user identity can be levied with only table, the User Identity of any two different user are equal It is not identical.
Terminal device can therefrom extract active user's after receiving the virtual formula keyboard call instruction of user User Identity.
Step S102, the target term is inquired in preset term information bank according to the User Identity.
The term information bank can be the database of school or other educational management mechanisms, store in the database The term information of each user, for example, Zhang San is in the term of primary school five grades, Li Si is in middle school's sophomoric term etc. Deng.After extracting the User Identity of active user, it can be inquired in the database and the User Identity Corresponding target term, the target term are the term locating for the active user.
Step S103, preferred symbol packet is obtained from preset formal notation library according to the target term.
Include more than two formal notation packets in the formal notation library, includes two or more in each formal notation packet Formal notation, mono- term of each formal notation Bao Junyu is corresponding, the separate equations symbol therein be the term use Several highest formal notations of frequency, as shown in the table:
After inquiring the target term, public affairs corresponding with the target term can be obtained from the formal notation library Formula symbol packet namely the preferred symbol packet, the separate equations symbol in the preferred symbol packet is locating for the active user The highest formal notation of term frequency of use.
Step S104, the separate equations symbol in the preferred symbol packet is distributed in preset virtual formula keyboard head circle On each virtual key in face.
The virtual interface formula keyboard head is the initial interface that the virtual formula keyboard is presented to the user, generally One or more secondary interface can also be arranged in the virtual formula keyboard in ground, need user by sliding or drop-down Mode switches over.
As shown in Fig. 2, step S104 can specifically include following process:
Step S1041, the priority of each virtual key at the virtual interface formula keyboard head is determined.
Wherein, each virtual key both corresponds to a formal notation.
As shown in figure 3, step S1041 can specifically include following process:
Step S10411, when the active user carries out touch control operation to preset Touch Screen, the touch-control is obtained The pressure value that each induction point of screen measures.
The Touch Screen is the Touch Screen of the terminal device, several senses are uniform-distribution on the Touch Screen Ying Dian, wherein each induction point is provided with a pressure sensitive device, with user is applied to the pressure at the induction point into Row measurement, obtains corresponding pressure value.
Step S10412, each actual induction point is selected from each induction point of the Touch Screen.
The actual induction point is that the pressure value measured is greater than the induction point of preset pressure threshold, and the pressure threshold can To be configured according to the actual situation, for example, 0.01 newton, 0.02 newton, 0.05 newton or other can be set to Value.
Step S10413, the operation mode of the active user is determined according to the pressure value that each actual induction point measures.
The control mode touch mode includes left operational mode and right operational mode.
Firstly, obtaining the position coordinates of each actual induction point.
For example, can establish cartesian coordinate system as shown in Figure 4, which is with the Touch Screen most lower left corner Coordinate origin, it is positive by X-axis of the direction of the Touch Screen from left to right, be with the direction of the Touch Screen from top to bottom Y-axis is positive.
Then, each actual induction point is divided into left side induction point set and right side incudes point set.
Wherein, each induction point in the left side induction point set is all satisfied:It is described Each induction point in right side induction point set is all satisfied:P is each actual induction point Serial number, 1≤p≤PN, PN are the sum of actual induction point, PointXpFor the abscissa of p-th of actual induction point, ln is described Left side incudes the serial number of each induction point in point set, and 1≤ln≤LN, LN are the induction point in left side induction point set Sum, LPointXlnThe abscissa of the ln induction point in point set is incuded for the left side, rn is the right side induction point The serial number of each induction point in set, 1≤rn≤RN, RN are that the induction point that the right side incudes in point set is total, RPointXrnThe abscissa of the rn induction point in point set is incuded for the right side.
The pressure mean value of the left side induction point set is calculated according to the following formula:
Wherein, TouchFLlnThe pressure value that the ln induction point in point set measures is incuded for the left side, and AveFL is The pressure mean value of the left side induction point set.
The pressure mean value of the right side induction point set is calculated according to the following formula:
Wherein, TouchFRrnThe pressure value that the rn induction point in point set measures is incuded for the right side, and AveFR is The pressure mean value of the right side induction point set.
If the pressure mean value of the left side induction point set is greater than the pressure mean value of right side induction point set, determine The operation mode of the active user is left operational mode;If the pressure mean value of the left side induction point set is less than the right side Side incudes the pressure mean value of point set, then determines the operation mode of the active user for right operational mode.
Step S10414, each of the virtual interface formula keyboard head is determined according to the operation mode of the active user The priority of virtual key.
If the operation mode of the active user be left operational mode, the active user to more keep left it is virtual by The operation of key more smoothly, therefore can be suitable according to from left to right by each virtual key at the virtual interface formula keyboard head Sequence carries out priority ranking, i.e., the virtual key more to keep left, priority is higher, and the virtual key more kept right, priority is got over It is low.If the operation mode of the active user is right operational mode, the active user is to the virtual key more kept right Operation more smoothly, therefore can by each virtual key at the virtual interface formula keyboard head according to sequence from right to left into The sequence of row major grade, i.e., the virtual key more kept right, priority is higher, the virtual key more to keep left, and priority is lower.
Step S1042, the active user is obtained in preset statistical time range to institute according to the User Identity The history usage record of virtual formula keyboard is stated, and is calculated separately in the preferred symbol packet according to the history usage record The usage frequency of the separate equations symbol.
All users are stored in preset customer data base to the history usage record of the virtual formula keyboard, institute The active user can be obtained preset according to the User Identity from the customer data base by stating terminal device To the history usage record of the virtual formula keyboard in statistical time range.
The statistical time range can be set as according to the actual situation 1 month, and 2 months, 3 months, half a year, 1 year or other Value, since data reference excessively remote has little significance, being generally disposed within 1 year is advisable.
Specifically, the statistical time range can be divided into T sub-period first, T is positive integer, and the value of T can root It is arranged according to actual conditions, for example, 5,10,20 or other values can be set to.It should be noted that T value is bigger, Then calculation amount is also bigger, but computational accuracy is higher;T value is smaller, then calculation amount is also bigger, but computational accuracy is lower, needs root The two is weighed according to actual conditions.
Then, the separate equations symbol in the preferred symbol packet is counted respectively in each sub-period by the current use The number that family uses, and the usage frequency of the separate equations symbol in the preferred symbol packet is calculated separately according to the following formula:
Wherein, n is the serial number of formal notation, and 1≤n≤N, N are the sum of the formal notation in the preferred symbol packet, t For the serial number that sub-period is arranged according to chronological order, 1≤t≤T, the value of more early its t of sub-period on time dimension It is smaller, UsageNumn,tFor n-th of formal notation in the preferred symbol packet by the active user in t-th of sub-period The total degree used, WeighttFor preset weight coefficient, and Weightt< Weightt+1, i.e., more rearward the sub- period power Weight coefficient is bigger, this is because the data closer with current time, reference significance is bigger, and more remote with current time Data, reference significance is smaller, for example, the data of this week record obviously can more reflect that user is current than data a few months ago Use habit, SymPrinFor the usage frequency of n-th of formal notation in the preferred symbol packet.
Step S1043, the separate equations symbol in the preferred symbol packet is distributed in virtual formula keyboard head circle On each virtual key in face.
Wherein, the priority positive of the usage frequency of the separate equations symbol and virtual key corresponding to the separate equations symbol It closes.The usage frequency of even a certain formal notation is higher, then being disposed at the higher virtual key of priority, (i.e. user uses Virtual key more smoothly) on, conversely, it is lower to be disposed at priority if the usage frequency of a certain formal notation is lower Virtual key (i.e. user uses more virtual key not smoothly) on.
Step S105, by the virtual formula keyboard head showing interface on preset human-computer interaction interface.
In this way, the virtual formula keyboard for being best suitable for its use habit, Yong Hutong is provided for active user When crossing virtual formula keyboard progress equation editing, operating efficiency can be greatly improved.
In conclusion the embodiment of the present invention is after receiving virtual formula keyboard call instruction, first from wherein extracting Then the User Identity of active user is inquired in preset term information bank corresponding according to the User Identity The target term, and corresponding preferred symbol packet is obtained from preset formal notation library according to the target term, finally by institute The separate equations symbol in preferred symbol packet is stated to be distributed on each virtual key at the preset virtual interface formula keyboard head, and By the virtual formula keyboard head showing interface on preset human-computer interaction interface.It in this way, can be by user The current term highest formal notation of frequency of use is arranged on the first interface of virtual formula keyboard, reduces user and passes through sliding Or the modes such as drop-down switch the number of keyboard interface, substantially increase the operating efficiency of user.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
The embodiment of the present invention is shown corresponding to a kind of virtual formula keyboard setting method, Fig. 5 described in foregoing embodiments A kind of one embodiment structure chart of the virtual formula keyboard setting device provided.
In the present embodiment, a kind of virtual formula keyboard setting device may include:
Call instruction receiving module 501, for receiving virtual formula keyboard call instruction, and from the virtual formula keyboard The User Identity of active user is extracted in call instruction;
Target term enquiry module 502, for being inquired in preset term information bank according to the User Identity Target term, the target term are the term locating for the active user;
Symbol packet obtains module 503, for obtaining preferred symbol from preset formal notation library according to the target term Number packet, includes more than two formal notation packets in the formal notation library, includes more than two in each formal notation packet Formal notation, the preferred symbol packet are formal notation packet corresponding with the target term;
Symbol distribution module 504, it is preset virtual for the separate equations symbol in the preferred symbol packet to be distributed in On each virtual key at the interface formula keyboard head, wherein each virtual key both corresponds to a formal notation.
Displayed keyboard module 505 is used for the virtual formula keyboard head showing interface in preset human-computer interaction interface On.
Further, the symbol distribution module may include:
Priority determines submodule, for determine the virtual interface formula keyboard head each virtual key it is preferential Grade;
Usage frequency computational submodule, for obtaining the active user in preset system according to the User Identity To the history usage record of the virtual formula keyboard in timing section, and calculated separately according to the history usage record described excellent Select the usage frequency of the separate equations symbol in symbol packet;
Symbol is distributed submodule, for the separate equations symbol in the preferred symbol packet to be distributed in the virtual formula On each virtual key at the interface keyboard head, wherein corresponding to the usage frequency and the separate equations symbol of the separate equations symbol The priority of virtual key is positively correlated.
Further, the priority determines that submodule may include:
Pressure value acquiring unit, for obtaining when the active user carries out touch control operation to preset Touch Screen The pressure value that each induction point of the Touch Screen measures, wherein each induction point is provided with a pressure sensitive device;
Induction point selection unit, for selecting each actual induction point from each induction point of the Touch Screen, The actual induction point is that the pressure value measured is greater than the induction point of preset pressure threshold;
Operational mode determining unit, the pressure value for being measured according to each actual induction point determine the active user's Operation mode, the control mode touch mode include left operational mode and right operational mode;
Priority determining unit, for determining virtual formula keyboard head circle according to the operation mode of the active user The priority of each virtual key in face.
Further, the operational mode determining unit may include:
Set divides subelement, for obtaining the position coordinates of each actual induction point, and by each actual induction click and sweep It is divided into left side induction point set and right side induction point set, wherein each induction point in the left side induction point set is full Foot:Each induction point in the right side induction point set is all satisfied:P is the serial number of each actual induction point, and 1≤p≤PN, PN are the sum of actual induction point, PointXpFor the abscissa of p-th of actual induction point, ln is the serial number for each induction point that the left side incudes in point set, 1 ≤ ln≤LN, LN are that the induction point that the left side incudes in point set is total, LPointXlnIncude in point set for the left side The ln induction point abscissa, rn be the right side incude point set in each induction point serial number, 1≤rn≤RN, RN is that the induction point that the right side incudes in point set is total, RPointXrnThe rn sense in point set is incuded for the right side The abscissa that should be put;
First computation subunit, for calculating the pressure mean value of the left side induction point set according to the following formula:
Wherein, TouchFLlnThe pressure value that the ln induction point in point set measures is incuded for the left side, and AveFL is The pressure mean value of the left side induction point set;
Second computation subunit, for calculating the pressure mean value of the right side induction point set according to the following formula:
Wherein, TouchFRrnThe pressure value that the rn induction point in point set measures is incuded for the right side, and AveFR is The pressure mean value of the right side induction point set;
First determines subelement, if the pressure mean value for left side induction point set is greater than the right side and incudes point set The pressure mean value of conjunction then determines the operation mode of the active user for left operational mode;
Second determines subelement, if the pressure mean value for left side induction point set is less than the right side and incudes point set The pressure mean value of conjunction then determines the operation mode of the active user for right operational mode.
Further, the usage frequency computational submodule may include:
Sub-period division unit, for the statistical time range to be divided into T sub-period, T is positive integer;
Access times statistic unit, for counting the separate equations symbol in the preferred symbol packet respectively in each period of the day from 11 p.m. to 1 a.m The number used in section by the active user;
Usage frequency computing unit, for calculating separately the separate equations symbol in the preferred symbol packet according to the following formula Usage frequency:
Wherein, n is the serial number of formal notation, and 1≤n≤N, N are the sum of the formal notation in the preferred symbol packet, t For the serial number that sub-period is arranged according to chronological order, 1≤t≤T, UsageNumn,tFor n-th in the preferred symbol packet The total degree that a formal notation is used in t-th of sub-period by the active user, WeighttFor preset weight coefficient, And Weightt< Weightt+1, SymPrinFor the usage frequency of n-th of formal notation in the preferred symbol packet.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description, The specific work process of module and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
The schematic block diagram that Fig. 6 shows a kind of terminal device provided in an embodiment of the present invention is only shown for ease of description Part related to the embodiment of the present invention.
In the present embodiment, the terminal device 6 can be mobile phone, tablet computer etc. and calculate equipment.The terminal device 6 can Include: processor 60, memory 61 and is stored in the calculating that can be run in the memory 61 and on the processor 60 Machine readable instruction 62, such as execute the computer-readable instruction of above-mentioned virtual formula keyboard setting method.The processor 60 The step in above-mentioned each virtual formula keyboard setting method embodiment is realized when executing the computer-readable instruction 62, such as Step S101 to S105 shown in FIG. 1.Alternatively, the processor 60 realized when executing the computer-readable instruction 62 it is above-mentioned each The function of each module/unit in Installation practice, such as the function of module 501 to 505 shown in Fig. 5.
Illustratively, the computer-readable instruction 62 can be divided into one or more module/units, one Or multiple module/units are stored in the memory 61, and are executed by the processor 60, to complete the present invention.Institute Stating one or more module/units can be the series of computation machine readable instruction section that can complete specific function, the instruction segment For describing implementation procedure of the computer-readable instruction 62 in the terminal device 6.
The processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 61 can be the internal storage unit of the terminal device 6, such as the hard disk or interior of terminal device 6 It deposits.The memory 61 is also possible to the External memory equipment of the terminal device 6, such as be equipped on the terminal device 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the terminal device 6 Member also includes External memory equipment.The memory 61 is for storing the computer-readable instruction and the terminal device 6 Required other instruction and datas.The memory 61 can be also used for temporarily storing the number that has exported or will export According to.
The functional units in various embodiments of the present invention may be integrated into one processing unit, is also possible to each Unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit both may be used To use formal implementation of hardware, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a storage medium, including several computer-readable instructions are used so that one Platform computer equipment (can be personal computer, server or the network equipment etc.) executes described in each embodiment of the present invention The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with Store the medium of computer-readable instruction.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of virtual formula keyboard setting method characterized by comprising
Virtual formula keyboard call instruction is received, and extracts the user of active user from the virtual formula keyboard call instruction Identity;
It is inquired in preset term information bank the target term according to the User Identity, the target term is described works as Term locating for preceding user;
Preferred symbol packet is obtained from preset formal notation library according to the target term, includes two in the formal notation library A above formal notation packet includes more than two formal notations, the preferred symbol Bao Weiyu in each formal notation packet Target term corresponding formal notation packet;
The separate equations symbol in the preferred symbol packet is distributed in each virtual of the preset virtual interface formula keyboard head On key, and by the virtual formula keyboard head showing interface on preset human-computer interaction interface, wherein each virtual key Both correspond to a formal notation.
2. virtual formula keyboard setting method according to claim 1, which is characterized in that described by the preferred symbol packet In the separate equations symbol be distributed on each virtual key at the preset virtual interface formula keyboard head and include:
Determine the priority of each virtual key at the virtual interface formula keyboard head;
The active user is obtained in preset statistical time range to the virtual formula keyboard according to the User Identity History usage record, and the separate equations symbol in the preferred symbol packet is calculated separately according to the history usage record Usage frequency;
By the separate equations symbol in the preferred symbol packet be distributed in the virtual interface formula keyboard head it is each virtually by On key, wherein the priority of virtual key corresponding to the usage frequency and the separate equations symbol of the separate equations symbol is positively correlated.
3. virtual formula keyboard setting method according to claim 2, which is characterized in that the determination virtual formula The priority of each virtual key of keyboard includes:
When the active user carries out touch control operation to preset Touch Screen, each induction point of the Touch Screen is obtained The pressure value measured, wherein each induction point is provided with a pressure sensitive device;
Each actual induction point is selected from each induction point of the Touch Screen, the actual induction point is the pressure measured Force value is greater than the induction point of preset pressure threshold;
Determine that the operation mode of the active user, the control mode touch mode include according to the pressure value that each actual induction point measures Left operational mode and right operational mode;
The preferential of each virtual key at the virtual interface formula keyboard head is determined according to the operation mode of the active user Grade.
4. virtual formula keyboard setting method according to claim 3, which is characterized in that described according to each actual induction The pressure value that point measures determines that the operation mode of the active user includes:
The position coordinates of each actual induction point are obtained, and each actual induction point is divided into left side induction point set and right side Incude point set, wherein each induction point in the left side induction point set is all satisfied: Each induction point in the right side induction point set is all satisfied:P is each actual induction The serial number of point, 1≤p≤PN, PN are the sum of actual induction point, PointXpFor the abscissa of p-th of actual induction point, ln is The serial number of each induction point in the left side induction point set, 1≤ln≤LN, LN are the sense in left side induction point set Sum, LPointX should be putlnThe abscissa of the ln induction point in point set is incuded for the left side, rn is right side sense The serial number of each induction point in point set is answered, 1≤rn≤RN, RN are that the induction point that the right side incudes in point set is total, RPointXrnThe abscissa of the rn induction point in point set is incuded for the right side;
The pressure mean value of the left side induction point set is calculated according to the following formula:
Wherein, TouchFLlnThe pressure value that the ln induction point in point set measures is incuded for the left side, and AveFL is described The pressure mean value of left side induction point set;
The pressure mean value of the right side induction point set is calculated according to the following formula:
Wherein, TouchFRrnThe pressure value that the rn induction point in point set measures is incuded for the right side, and AveFR is described The pressure mean value of right side induction point set;
If pressure mean value of the pressure mean value of the left side induction point set greater than right side induction point set, described in judgement The operation mode of active user is left operational mode;
If pressure mean value of the pressure mean value of the left side induction point set less than right side induction point set, described in judgement The operation mode of active user is right operational mode.
5. virtual formula keyboard setting method according to claim 2, which is characterized in that described to be used according to the history The usage frequency that record calculates separately the separate equations symbol in the preferred symbol packet includes:
The statistical time range is divided into T sub-period, T is positive integer;
Count what the separate equations symbol in the preferred symbol packet was used in each sub-period by the active user respectively Number;
The usage frequency of the separate equations symbol in the preferred symbol packet is calculated separately according to the following formula:
Wherein, n is the serial number of formal notation, and 1≤n≤N, N are the sum of the formal notation in the preferred symbol packet, and t is son The serial number that period arranges according to chronological order, 1≤t≤T, UsageNumn,tIt is public for n-th in the preferred symbol packet The total degree that formula symbol is used in t-th of sub-period by the active user, WeighttFor preset weight coefficient, and Weightt< Weightt+1, SymPrinFor the usage frequency of n-th of formal notation in the preferred symbol packet.
6. device is arranged in a kind of virtual formula keyboard characterized by comprising
Call instruction receiving module refers to for receiving virtual formula keyboard call instruction, and from the virtual formula keyboard calling The User Identity of active user is extracted in order;
Target term enquiry module, for inquiring target in preset term information bank according to the User Identity Section, the target term are the term locating for the active user;
Symbol packet obtains module, for obtaining preferred symbol packet, institute from preset formal notation library according to the target term Stating includes more than two formal notation packets in formal notation library, includes that more than two formula accord in each formal notation packet Number, the preferred symbol packet is formal notation packet corresponding with the target term;
Symbol distribution module, for the separate equations symbol in the preferred symbol packet to be distributed in preset virtual formula keyboard On each virtual key at first interface, wherein each virtual key both corresponds to a formal notation.
Displayed keyboard module is used for the virtual formula keyboard head showing interface in preset human-computer interaction interface.
7. device is arranged in virtual formula keyboard according to claim 6, which is characterized in that the symbol distribution module packet It includes:
Priority determines submodule, the priority of each virtual key for determining the virtual interface formula keyboard head;
Usage frequency computational submodule, for obtaining the active user in preset statistics according to the User Identity To the history usage record of the virtual formula keyboard in section, and the preferred symbol is calculated separately according to the history usage record Number packet in the separate equations symbol usage frequency;
Symbol is distributed submodule, for the separate equations symbol in the preferred symbol packet to be distributed in the virtual formula keyboard On each virtual key at first interface, wherein the usage frequency of the separate equations symbol with it is virtual corresponding to the separate equations symbol The priority of key is positively correlated.
8. device is arranged in virtual formula keyboard according to claim 7, which is characterized in that the priority determines submodule Include:
Pressure value acquiring unit is used for when the active user carries out touch control operation to preset Touch Screen, described in acquisition The pressure value that each induction point of Touch Screen measures, wherein each induction point is provided with a pressure sensitive device;
Induction point selection unit, it is described for selecting each actual induction point from each induction point of the Touch Screen Actual induction point is that the pressure value measured is greater than the induction point of preset pressure threshold;
Operational mode determining unit, the pressure value for being measured according to each actual induction point determine the operation of the active user Mode, the control mode touch mode include left operational mode and right operational mode;
Priority determining unit, for determining the virtual interface formula keyboard head according to the operation mode of the active user The priority of each virtual key.
9. a kind of computer readable storage medium, the computer-readable recording medium storage has computer-readable instruction, special Sign is, the virtual public affairs as described in any one of claims 1 to 5 are realized when the computer-readable instruction is executed by processor The step of formula keyboard setting method.
10. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer-readable instruction of operation, which is characterized in that the processor realizes such as right when executing the computer-readable instruction It is required that described in any one of 1 to 5 the step of virtual formula keyboard setting method.
CN201910603790.5A 2019-07-05 2019-07-05 Virtual formula keyboard setting method and device, readable storage medium and terminal equipment Active CN110471605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910603790.5A CN110471605B (en) 2019-07-05 2019-07-05 Virtual formula keyboard setting method and device, readable storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910603790.5A CN110471605B (en) 2019-07-05 2019-07-05 Virtual formula keyboard setting method and device, readable storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN110471605A true CN110471605A (en) 2019-11-19
CN110471605B CN110471605B (en) 2020-12-11

Family

ID=68507402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910603790.5A Active CN110471605B (en) 2019-07-05 2019-07-05 Virtual formula keyboard setting method and device, readable storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN110471605B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253454A (en) * 2022-01-27 2022-03-29 华中师范大学 Dynamic keyboard generation method and system based on symbol mining

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853136A (en) * 2010-06-22 2010-10-06 上海合合信息科技发展有限公司 Virtual keyboard and dynamic adjustment method thereof and electronic device
JP2011186177A (en) * 2010-03-09 2011-09-22 Casio Computer Co Ltd Computer emulation device, computer, and program
CN103207758A (en) * 2012-01-13 2013-07-17 洪荣昭 Keyboard key arrangement method and handheld electronic device applying same
CN106021498A (en) * 2016-05-20 2016-10-12 电子科技大学 Method and system for generating dynamic keyboard information based on problem solving process
CN109213554A (en) * 2018-08-14 2019-01-15 深圳壹账通智能科技有限公司 A kind of icon layout method, computer readable storage medium and terminal device
CN109739365A (en) * 2018-12-29 2019-05-10 肖建军 Middle and primary schools' teaching Multi-Function Keyboard and professional input Multi-Function Keyboard

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011186177A (en) * 2010-03-09 2011-09-22 Casio Computer Co Ltd Computer emulation device, computer, and program
CN101853136A (en) * 2010-06-22 2010-10-06 上海合合信息科技发展有限公司 Virtual keyboard and dynamic adjustment method thereof and electronic device
CN103207758A (en) * 2012-01-13 2013-07-17 洪荣昭 Keyboard key arrangement method and handheld electronic device applying same
CN106021498A (en) * 2016-05-20 2016-10-12 电子科技大学 Method and system for generating dynamic keyboard information based on problem solving process
CN109213554A (en) * 2018-08-14 2019-01-15 深圳壹账通智能科技有限公司 A kind of icon layout method, computer readable storage medium and terminal device
CN109739365A (en) * 2018-12-29 2019-05-10 肖建军 Middle and primary schools' teaching Multi-Function Keyboard and professional input Multi-Function Keyboard

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253454A (en) * 2022-01-27 2022-03-29 华中师范大学 Dynamic keyboard generation method and system based on symbol mining
CN114253454B (en) * 2022-01-27 2024-03-19 华中师范大学 Dynamic keyboard generation method and system based on symbol mining

Also Published As

Publication number Publication date
CN110471605B (en) 2020-12-11

Similar Documents

Publication Publication Date Title
CN107515890A (en) A kind of method and terminal for identifying resident point
US20180357891A1 (en) Method of processing passage record and device
CN109474483A (en) A kind of detection method, detection device and the terminal device of unit exception situation
CN107728874A (en) The method, apparatus and equipment of user prompt operation are provided
CN109410032A (en) A kind of information processing method, server and computer storage medium
CN105446988B (en) The method and apparatus for predicting classification
CN108615119A (en) A kind of recognition methods of abnormal user and equipment
CN107371146A (en) A kind of method and terminal for selecting short message channel
CN107992595A (en) A kind of learning Content recommends method, apparatus and smart machine
CN109388674A (en) Data processing method, device, equipment and readable storage medium storing program for executing
US20230176715A1 (en) Graphic selecting methods and apparatuses, electronic devices, storage media and computer programs
CN109635029A (en) Data processing method, device, equipment and medium based on label index system
CN110097170A (en) Information pushes object prediction model acquisition methods, terminal and storage medium
CN103631889B (en) Image recognizing method and device
CN109409559A (en) The determination method and device of Production Decline Prediction of Oilfield rate
CN108985501B (en) Index feature extraction-based stock index prediction method, server and storage medium
CN109359160A (en) Method of data synchronization, device, computer equipment and storage medium
CN109213554A (en) A kind of icon layout method, computer readable storage medium and terminal device
CN109711606A (en) A kind of data predication method and device based on model
CN105740434B (en) Network information methods of marking and device
CN110471605A (en) Virtual formula keyboard setting method, device, readable storage medium storing program for executing and terminal device
CN107357782A (en) One kind identification user&#39;s property method for distinguishing and terminal
CN110853720A (en) Service data processing method, device, equipment and storage medium
CN109165077A (en) A kind of web page processing method, device, electronic equipment and storage medium
CN108388458A (en) Message treatment method and Related product

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