CN101702120A - Mobile equipment and human input processing method thereof - Google Patents

Mobile equipment and human input processing method thereof Download PDF

Info

Publication number
CN101702120A
CN101702120A CN200910192090A CN200910192090A CN101702120A CN 101702120 A CN101702120 A CN 101702120A CN 200910192090 A CN200910192090 A CN 200910192090A CN 200910192090 A CN200910192090 A CN 200910192090A CN 101702120 A CN101702120 A CN 101702120A
Authority
CN
China
Prior art keywords
input
input frame
parameter
unified
former
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
CN200910192090A
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.)
Xiamen Stelcom Information & Technology Co Ltd
Original Assignee
Xiamen Stelcom Information & 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 Xiamen Stelcom Information & Technology Co Ltd filed Critical Xiamen Stelcom Information & Technology Co Ltd
Priority to CN200910192090A priority Critical patent/CN101702120A/en
Publication of CN101702120A publication Critical patent/CN101702120A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses mobile equipment and a human input processing method thereof. The mobile equipment human input processing method comprises the following steps: when a human input mode is used for inputting contents, a predefined unified input box distributes memory according to the basic architecture type of the original predefined input box, and the basic and common data content of the unified input box is used for parameter initialization; according to the parameter transmitted into the unified input box, an original input box interface which is provided by the original platform and corresponds to the input content is called; according to the original input box type, the edit box parameter of the unified input box corresponding to the original input box is processed; the unified input box obtains the input content in the edit box and converts the input content according to the transmitted parameter type of the original input box; the converted input content is transmitted back to a callback function for processing. The invention can only use one input interface to realize all types of input functions, thus greatly improving development efficiency.

Description

Mobile device and human input processing method thereof
Technical field
The present invention relates to electronic technology field, particularly relate to mobile device and human input processing method thereof.
Background technology
At present general cell phone platform all can use a plurality of input functions, and the input state of different input functions needs different input frames, as text, number, password, IP, date, time input frame or the like.The cell phone software developer will call different input frames respectively when using these input functions, make to develop to become complicated and reduced development efficiency.And these input frame functions are also too single.
Though each cell phone platform all is packaged into corresponding interface with the input frame of various input states, but still there is following point:
1) interface is too many
Different input states needs different input frames, as text, number, password, IP address, date, time input frame or the like, each interface all needs the developer to be familiar with one by one using, (every kind of input frame all has the parameter of own particular type to influence development efficiency and debug time, the developer uses or must understand in depth during debugging each parameter of each input frame, and inlet is too many, parameter influences exploitation too much and debugging);
2) data layout has qualification
Every kind of input frame all has the parameter of own particular type, the developer must become to meet the parameter of this input frame to the Parameters Transformation that oneself will use when using certain interface, because parameter type is more, frequent transitions is as easy as rolling off a log makes mistakes, and has reduced development efficiency, has strengthened risk of errors;
3) function singleness
Asynchronous event needs the special planning of developer to handle and is easy to revise former interface, and the stability and the reliability of program all are affected, and make the code structure disorder simultaneously, have strengthened risk of errors and have influenced development efficiency and debug time;
4) initialization default data is loaded down with trivial details
Various input frames all have a lot of attributes, general exploitation only needs to use wherein several attributes to get final product, but each attribute all needs to be provided with, the developer also will pay close attention to other attribute in use except the attribute that will note oneself will using like this, simultaneously also owing to use input frames in the exploitation in a large number, influence development efficiency greatly, will not bring risk to development if some attribute sets;
The mobile phone that disclosed Chinese invention patent application disclosed mobile phone input device and used this input media for No. 200510025746.9 on November 23rd, 2005, described input media comprises: input module, described input module is used to receive user's input; Key assignments is determined assembly, and described key assignments determines that assembly is used for determining the key assignments of input module; The key assignments display module is used to show the key assignments of the current input of described input module.This patented claim has reconfigured the input media of mobile phone, attempts to eliminate " symbol is multi-hit " phenomenon to improve input speed, to increase the character that can import or the quantity of symbol, avoids user's inputting interface obstacle.
But above-mentioned input technology also only provides the improvement project under a kind of input state, still can't overcome technical matterss such as above-mentioned input frame interface is too many.
Summary of the invention
The technical matters that the present invention mainly solves provides a kind of mobile device and human input processing method thereof, can only use a minority or an input interface and realizes all types input function, improves development efficiency greatly.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of mobile device human input processing method is provided, comprise: when importing content with man-machine input mode, predefined unified input frame is according to predefined former input frame basic structure body type storage allocation, and utilizes the basic and frequently-used data content of described unified input frame to carry out parameter initialization; The former input frame interface that provides according to original platform of the corresponding described input content of the parameter call of importing described unified input frame into, and according to the edit box parameter of the unified input frame of described former its correspondence of input frame type of process, basic structure body type that the described parameter of importing into is described former input frame and corresponding structure pointer; Described unified input frame obtains the input content in the described edit box, according to the parameter type of the described former input frame that imports into described input content is changed; Input content after the conversion is passed to call back function to be handled.
Wherein, call former input frame interface or pass to the step that call back function handles after, further comprise: in input process, need be to described edit box operation the time, reconfigure described unified input frame by refresh signal if any asynchronous event.
Wherein, call former input frame interface or pass to the step that call back function handles after, further comprise: the time by left and right sides software, judge whether that according to described input content needs withdraw from or reconfigure current former input frame, judge the step carry out the former input frame interface of parameter call that described basis imports into when needing again.
Wherein, before the step of storage allocation, further comprise: the data type of parameter of importing unified input frame as described into is converted to the parameter type that described unified input frame is supported not in the data type that described unified input frame is supported.
Wherein, the step of described storage allocation comprises: according to the coded format and the maximum length storage allocation of described basic structure body type.
Wherein, after the step of storage allocation, further comprise: described unified input frame is carried out STK (STK) style handle.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of mobile device is provided, comprise: initialization unit, be used for when importing content with man-machine input mode, adopt predefined unified input frame according to predefined former input frame basic structure body type storage allocation, and utilize the basic and frequently-used data content of described unified input frame to carry out parameter initialization; The interface interchange unit, be used for basis and import the former input frame interface that original platform of the corresponding described input content of parameter call of described unified input frame provides into, and according to the edit box parameter of the unified input frame of described former its correspondence of input frame type of process, basic structure body type that the described parameter of importing into is described former input frame and corresponding structure pointer; The input operation unit is used for obtaining the input content at the edit box of described unified input frame, according to the parameter type of the described former input frame that imports into described input content is changed, and the input content after will changing is passed to call back function and handled.
Wherein, further comprise: refresh unit is used for reconfiguring described unified input frame by sending refresh signal to described interface interchange unit when input process need be operated described edit box if any asynchronous event.
Wherein, further comprise: switch unit, be used for the time, judge whether that according to described input content needs withdraw from or reconfigure current former input frame, judge and notify described interface interchange unit when needing again according to the former input frame interface of parameter call that imports into by left and right sides software.
Wherein, further comprise: converting unit, be used for data type in the described parameter of importing unified input frame into not in the data type that described unified input frame is supported, be converted to the parameter type of described unified input frame support and notify described initialization unit to carry out initialization.
The invention has the beneficial effects as follows: the interface that is different from the man-machine input of prior art mobile phone causes development efficiency low too much, the data parameters conversion easily makes mistakes, the situation that function singleness and initialization are loaded down with trivial details, the present invention is by providing predefined unified input frame design, the basic structure body type and the corresponding structure pointer that only need import the original platform input frame into arrive unified input frame, and call the edit box parameter of these former input frame interfaces with the unified input frame of handling its correspondence, to import content when input changes and passes to call back function and handle, replace independently each input interface of the corresponding platform of prior art by above means, make the developer can only use minority or an interface just can realize all types of input functions, do not need each interface all to need the developer to be familiar with one by one using, and owing to avoiding the developer when using certain interface, must become to meet the parameter of this input frame in each former input frame unification to unified input frame to the Parameters Transformation that oneself will use, when handling, special planning do not need to change former input frame interface yet, each former input frame interface unification is arrived together, adopt the form of unified input frame also to be beneficial to the simplification initialization, improve development efficiency greatly.
Description of drawings
Fig. 1 is the process flow diagram of mobile device human input processing method embodiment one of the present invention;
Fig. 2 is the process flow diagram of other embodiment of mobile device human input processing method of the present invention;
Fig. 3 is the theory diagram of mobile device people embodiment one of the present invention;
Fig. 4 is the theory diagram of mobile device people embodiment two of the present invention;
Fig. 5 is the theory diagram of mobile device people embodiment three of the present invention;
Fig. 6 is the theory diagram of mobile device people embodiment four of the present invention.
Embodiment
Consult Fig. 1, mobile device human input processing method embodiment one of the present invention mainly may further comprise the steps:
Step 101: step is with man-machine input mode input content the time, and predefined unified input frame is according to predefined former input frame basic structure body type storage allocation, and utilizes the basic and frequently-used data content of described unified input frame to carry out parameter initialization;
Step 102: the former input frame interface that provides according to original platform of the corresponding described input content of the parameter call of importing described unified input frame into, and according to the edit box parameter of the unified input frame of described former its correspondence of input frame type of process, basic structure body type that the described parameter of importing into is described former input frame and corresponding structure pointer;
Step 103: described unified input frame obtains the input content in the described edit box, according to the parameter type of the described former input frame that imports into described input content is changed;
Step 104: the input content after will changing is passed to call back function and is handled.
The interface that is different from the man-machine input of prior art mobile phone causes development efficiency low too much, the data parameters conversion easily makes mistakes, the situation that function singleness and initialization are loaded down with trivial details, the present invention is by providing predefined unified input frame design, the basic structure body type and the corresponding structure pointer that only need import the original platform input frame into arrive unified input frame, and call the edit box parameter of these former input frame interfaces with the unified input frame of handling its correspondence, to import content when input changes and passes to call back function and handle, replace independently each input interface of the corresponding platform of prior art by above means, make the developer can only use minority or an interface just can realize all types of input functions, do not need each interface all to need the developer to be familiar with one by one using, and owing to avoiding the developer when using certain interface, must become to meet the parameter of this input frame in each former input frame unification to unified input frame to the Parameters Transformation that oneself will use, when handling, special planning do not need to change former input frame interface yet, each former input frame interface unification is arrived together, adopt the form of unified input frame also to be beneficial to the simplification initialization, improve development efficiency greatly.
In addition, because unified input frame is used content initialization default data always according to the most basic reaching, the data division that the developer self needing only need pay attention to gets final product.
Consult Fig. 2 together, in other embodiments, call former input frame interface or pass to the step that call back function handles after, may further include:
In input process, need be to the operation of described edit box the time, reconfigure described unified input frame by refresh signal if any asynchronous event.
As use the scanner reading of data in edit box, thereby realize the User Defined function.
In other embodiments, call former input frame interface or pass to the step that call back function handles after, may further include:
By the left and right sides software time, judge whether that according to described input content needs withdraw from or reconfigure current former input frame, judge the step of carrying out the former input frame interface of parameter call that described basis imports into when needing again.
Like this, the developer just can insert common-use words etc. as note according to current input frame is handled and determined whether to withdraw from or reconfigure to the data of input, do not need to change former input interface, and these action needs is changed former input interface in the prior art.
In other embodiments, before the step of storage allocation, may further include:
The data type of parameter of importing unified input frame as described into is converted to the parameter type that described unified input frame is supported not in the data type that described unified input frame is supported.
The input data type that various input frame is supported is fixed, prior art when importing parameter into just according to the data type that it limited, each like this problem that all will relate to data-switching.The embodiment of the invention is then handled by unified, can import the data of any form of platform support, needn't consider whether the edit box that will call is supported, does not need each developer all to go to change.Such as data input frame it only support the ascii data string, and what import into is the data of BCD type.
In other embodiments, the step of described storage allocation comprises:
Coded format and maximum length storage allocation according to described basic structure body type.
In order to distribute optimal internal memory, can define the basic structure body type that is fit to various inputs, as text, number, password, IP, date, time input frame etc.; And distribute only internal memory according to these types.
In other embodiments, after the step of storage allocation, can further include:
Described unified input frame is carried out the STK style to be handled.
Adopt the foregoing description, if common input frame button just enters inputting interface, then being into of styles such as STK has a prompting interface earlier, just enter inputting interface then, all to divide two situations of handling separately and causing bothering compared to existing technology, the embodiment of the invention can be selected on demand, is user-friendly to.
Consult Fig. 3, the present invention also provides a kind of mobile device embodiment, comprising:
Initialization unit, be used for when importing content with man-machine input mode, adopt predefined unified input frame according to predefined former input frame basic structure body type storage allocation, and utilize the basic and frequently-used data content of described unified input frame to carry out parameter initialization;
The interface interchange unit, be used for basis and import the former input frame interface that original platform of the corresponding described input content of parameter call of described unified input frame provides into, and according to the edit box parameter of the unified input frame of described former its correspondence of input frame type of process, basic structure body type that the described parameter of importing into is described former input frame and corresponding structure pointer;
The input operation unit is used for obtaining the input content at the edit box of described unified input frame, according to the parameter type of the described former input frame that imports into described input content is changed, and the input content after will changing is passed to call back function and handled.
Because the embodiment of the invention provides unified input frame, therefore only need to replace the input interface of corresponding platform, just can only use a minority or an input interface and realize all types input function, improve development efficiency greatly.
Consult Fig. 4, in other embodiments, can further include:
Refresh unit is used for reconfiguring described unified input frame by sending refresh signal to described interface interchange unit when input process need be operated described edit box if any asynchronous event.
As use the scanner reading of data in edit box, thereby realize the User Defined function.
Consult Fig. 5, in other embodiments, can further include:
Switch unit is used for by the left and right sides software time, judges whether that according to described input content needs withdraw from or reconfigure current former input frame, judges and notifies described interface interchange unit again according to the former input frame interface of parameter call that imports into when needing.
Like this, the developer just can insert common-use words etc. as note according to current input frame is handled and determined whether to withdraw from or reconfigure to the data of input, do not need to change former input interface, and these action needs is changed former input interface in the prior art.
Consult Fig. 6, in other embodiments, can further include:
Converting unit is used for data type in the described parameter of importing unified input frame into not in the data type that described unified input frame is supported, is converted to the parameter type of described unified input frame support and notifies described initialization unit to carry out initialization.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. mobile device human input processing method is characterized in that:
With man-machine input mode input content the time, predefined unified input frame is according to predefined former input frame basic structure body type storage allocation, and utilizes the basic and frequently-used data content of described unified input frame to carry out parameter initialization;
The former input frame interface that provides according to original platform of the corresponding described input content of the parameter call of importing described unified input frame into, and according to the edit box parameter of the unified input frame of described former its correspondence of input frame type of process,
Basic structure body type that the described parameter of importing into is described former input frame and corresponding structure pointer;
Described unified input frame obtains the input content in the described edit box, according to the parameter type of the described former input frame that imports into described input content is changed;
Input content after the conversion is passed to call back function to be handled.
2. mobile device human input processing method according to claim 1 is characterized in that, call former input frame interface or pass to the step that call back function handles after, further comprise:
In input process, need be to the operation of described edit box the time, reconfigure described unified input frame by refresh signal if any asynchronous event.
3. mobile device human input processing method according to claim 2 is characterized in that, call former input frame interface or pass to the step that call back function handles after, further comprise:
By the left and right sides software time, judge whether that according to described input content needs withdraw from or reconfigure current former input frame, judge the step of carrying out the former input frame interface of parameter call that described basis imports into when needing again.
4. mobile device human input processing method according to claim 2 is characterized in that, before the step of storage allocation, further comprises:
The data type of parameter of importing unified input frame as described into is converted to the parameter type that described unified input frame is supported not in the data type that described unified input frame is supported.
5. according to each described mobile device human input processing method of claim 1 to 4, it is characterized in that the step of described storage allocation comprises:
Coded format and maximum length storage allocation according to described basic structure body type.
6. according to each described mobile device human input processing method of claim 1 to 4, it is characterized in that, after the step of storage allocation, further comprise:
Described unified input frame is carried out STK STK style to be handled.
7. a mobile device is characterized in that, comprising:
Initialization unit, be used for when importing content with man-machine input mode, adopt predefined unified input frame according to predefined former input frame basic structure body type storage allocation, and utilize the basic and frequently-used data content of described unified input frame to carry out parameter initialization;
The interface interchange unit, be used for basis and import the former input frame interface that original platform of the corresponding described input content of parameter call of described unified input frame provides into, and according to the edit box parameter of the unified input frame of described former its correspondence of input frame type of process, basic structure body type that the described parameter of importing into is described former input frame and corresponding structure pointer;
The input operation unit is used for obtaining the input content at the edit box of described unified input frame, according to the parameter type of the described former input frame that imports into described input content is changed, and the input content after will changing is passed to call back function and handled.
8. mobile device according to claim 7 is characterized in that, further comprises:
Refresh unit is used for reconfiguring described unified input frame by sending refresh signal to described interface interchange unit when input process need be operated described edit box if any asynchronous event.
9. mobile device according to claim 8 is characterized in that, further comprises:
Switch unit is used for by the left and right sides software time, judges whether that according to described input content needs withdraw from or reconfigure current former input frame, judges and notifies described interface interchange unit again according to the former input frame interface of parameter call that imports into when needing.
10. according to each described mobile device of claim 7 to 9, it is characterized in that, further comprise: converting unit, be used for data type in the described parameter of importing unified input frame into not in the data type that described unified input frame is supported, be converted to the parameter type of described unified input frame support and notify described initialization unit to carry out initialization.
CN200910192090A 2009-09-01 2009-09-01 Mobile equipment and human input processing method thereof Pending CN101702120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910192090A CN101702120A (en) 2009-09-01 2009-09-01 Mobile equipment and human input processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910192090A CN101702120A (en) 2009-09-01 2009-09-01 Mobile equipment and human input processing method thereof

Publications (1)

Publication Number Publication Date
CN101702120A true CN101702120A (en) 2010-05-05

Family

ID=42157037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910192090A Pending CN101702120A (en) 2009-09-01 2009-09-01 Mobile equipment and human input processing method thereof

Country Status (1)

Country Link
CN (1) CN101702120A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360271A (en) * 2011-10-10 2012-02-22 深圳中兴网信科技有限公司 Input box detection method based on Web test
CN115499402A (en) * 2022-08-23 2022-12-20 北京天空卫士网络安全技术有限公司 Instant messaging information processing method, terminal and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360271A (en) * 2011-10-10 2012-02-22 深圳中兴网信科技有限公司 Input box detection method based on Web test
CN115499402A (en) * 2022-08-23 2022-12-20 北京天空卫士网络安全技术有限公司 Instant messaging information processing method, terminal and system

Similar Documents

Publication Publication Date Title
WO2019095424A1 (en) Data acquisition method and device, storage medium and terminal
CN110825488A (en) Business processing method and device, electronic equipment and storage medium
CN101446971B (en) Method for building content management system and device thereof
WO2018210096A1 (en) Rule engine-based rule configuration method, terminal and device, and storage medium
CN109445886A (en) A kind of interface display method, system and terminal device
CN102810057A (en) Log recording method
CN104067289A (en) Obscuring an accelerometer signal
CN104750472B (en) The resource package management method and device of a kind of terminal applies
CN103970736A (en) Method for converting Excel sheet to database table
MX2014009068A (en) Electronic book file processing method, terminal, and electronic device.
CN107678740A (en) A kind of method for packing and computer equipment of UI Service Component
CN108664665A (en) Data format method for transformation, device, equipment and readable storage medium storing program for executing
CN101135966A (en) Graphical interfaces development method and system based on command lines
CN104375814A (en) Generation method and device of an interface document
CN101702218A (en) Information sending method applied to enterprise resource planning ERP and device
CN103810292A (en) Method and device for configuring graphical interface
CN108170425A (en) A kind of amending method of program code, modification device and terminal device
CN105930166B (en) A method of based on WEB interface ejection layer
CN107943455A (en) A kind of list rendering system based on JSON data formats
CN104834715A (en) Website generating method and system based on components and container
CN109241510A (en) A kind of autochart generation system and its implementation based on wechat small routine
CN101702120A (en) Mobile equipment and human input processing method thereof
CN105786529B (en) One type Managed Code calls the Parameters design of the labyrinth of C/C++ style function
CN106896956B (en) The implementation method of multi-point touch under one kind " road " system
CN105556504A (en) Generating a logical representation from a physical flow

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100505