Input information display method and device and electronic equipment

文档序号:1543580 发布日期:2020-01-17 浏览:17次 中文

阅读说明:本技术 输入信息显示方法、装置及电子设备 (Input information display method and device and electronic equipment ) 是由 巫佳明 于 2018-07-09 设计创作,主要内容包括:本发明公开了一种输入信息显示方法、装置及电子设备。该方法包括:提供输入框;每次通过输入框接收输入操作时,根据所获取的输入操作的输入属性以及输入框的显示属性,确定对应的输入显示参数;根据输入显示参数,通过输入框显示与输入操作对应的输入内容。根据本发明,可以实现适配输入操作动态调整输入框中显示的输入内容量,使得显示区域有限的输入框可以显示更多的输入内容,提升用户体验。(The invention discloses an input information display method and device and electronic equipment. The method comprises the following steps: providing an input box; determining corresponding input display parameters according to the acquired input attribute of the input operation and the display attribute of the input box when the input operation is received through the input box each time; and displaying input content corresponding to the input operation through the input frame according to the input display parameters. According to the invention, the input content amount displayed in the input box can be dynamically adjusted by adapting the input operation, so that the input box with the limited display area can display more input contents, and the user experience is improved.)

1. An input information display method comprises the following steps:

providing an input box, wherein the input box is used for receiving input operation and displaying corresponding input content;

determining corresponding input display parameters according to the acquired input attribute of the input operation and the display attribute of the input box each time the input operation is received through the input box;

and displaying input content corresponding to the input operation through the input frame according to the input display parameters.

2. The method of claim 1, wherein,

the method further comprises the step of obtaining the input attribute, comprising:

registering an input interface corresponding to the input box to monitor the input interface;

and when the input interface is monitored to determine that the input box receives the input operation, calling an input attribute acquisition function provided by the input interface to acquire the input attribute.

3. The method of claim 1, further comprising:

configuring display attributes of the input box in response to the received input box configuration request.

4. The method of claim 1, wherein the step of determining input display parameters comprises:

acquiring a corresponding updating index according to the input attribute and the display attribute of the input box;

when the updating index accords with a preset updating condition, updating the input display parameter according to the input attribute and the display attribute of the input frame;

and when the updating index does not meet the updating condition, keeping the input display parameters unchanged.

5. The method of claim 4, wherein,

the input attribute at least comprises the number of fonts of input content corresponding to the input operation;

the display attribute of the input box at least comprises the size of the input box, the minimum font size of the input box for displaying input content and the common font size;

the input display parameters at least comprise the current font size of the input content displayed by the input box;

the update index is a result value of multiplying the number of fonts of the input content corresponding to the input operation by the common size of the fonts;

the update condition is that the update index is larger than the size of the input box.

6. The method of claim 4, wherein the step of updating the input display parameters comprises:

acquiring a corresponding display adjustment value according to the update index, the input attribute and the display attribute;

and determining the updated input display parameters according to the display attributes and the display adjustment values.

7. The method of claim 4, further comprising:

when the update index is greater than the termination update threshold, the input display parameters are not updated.

8. The method of claim 4, wherein,

the input attribute at least comprises the number of fonts of input content corresponding to the input operation and the historical font size of the input content displayed by the input frame before the input operation;

the display attribute of the input box at least comprises the size of the input box;

the update index is a result value of multiplying the number of fonts of the input content corresponding to the input operation by the historical font size;

the update condition is that the update index is larger than the size of the input box;

the input display parameters at least comprise the current font size of the input content displayed by the input box;

the step of updating the input display parameters comprises:

determining the current font size of the input content displayed by the input box according to the size of the input box and the font number of the input content corresponding to the input operation;

and the method further comprises:

and when the current font size of the input content displayed by the input box is smaller than a preset updating termination threshold value, the input display parameters are not updated any more.

9. An input attribute presentation apparatus, comprising:

an input box providing unit for providing an input box for receiving input operation and displaying corresponding input content;

the parameter determining unit is used for determining corresponding input display parameters according to the acquired input attribute of the input operation and the display attribute of the input box each time the input operation is received through the input box;

and the display processing unit is used for displaying input content corresponding to the input operation through the input frame according to the input display parameters.

10. An electronic device, comprising:

a memory for storing executable instructions;

a processor for operating the electronic device to perform the input information display method according to any one of claims 1 to 8 under the control of the executable instructions.

Technical Field

The invention relates to the technical field of computer application, in particular to an input information display method and device and electronic equipment.

Background

With the rapid development of computer technology and electronic device manufacturing technology and the popularization of electronic device intelligence, people have been accustomed to running relevant applications (for example, APP installed in a mobile phone) through electronic devices such as a mobile phone and a tablet computer and performing input operation on an application interface to obtain corresponding application services.

However, the size of the input box for displaying the corresponding input content after receiving the input operation of the user is limited by factors such as the size of the display screen of the electronic device running the application, the design of the application interface, and the like, so that when people perform the input operation on the application interface, the input content that can be presented by the input box is limited, and the user experience is affected.

Disclosure of Invention

An object of the present invention is to provide a new technical solution for presenting input information.

According to a first aspect of the present invention, there is provided an input information presentation method, including:

providing an input box, wherein the input box is used for receiving input operation and displaying corresponding input content;

determining corresponding input display parameters according to the acquired input attribute of the input operation and the display attribute of the input box each time the input operation is received through the input box;

and displaying input content corresponding to the input operation through the input frame according to the input display parameters.

Optionally, the method further includes a step of obtaining the input attribute, including:

registering an input interface corresponding to the input box to monitor the input interface;

and when the input interface is monitored to determine that the input box receives the input operation, calling an input attribute acquisition function provided by the input interface to acquire the input attribute.

Optionally, the method further comprises:

configuring display attributes of the input box in response to the received input box configuration request.

Optionally, the step of determining input display parameters comprises:

acquiring a corresponding updating index according to the input attribute and the display attribute of the input box;

when the updating index accords with a preset updating condition, updating the input display parameter according to the input attribute and the display attribute of the input frame;

and when the updating index does not meet the updating condition, keeping the input display parameters unchanged.

Alternatively,

the input attribute at least comprises the number of fonts of input content corresponding to the input operation;

the display attribute of the input box at least comprises the size of the input box, the minimum font size of the input box for displaying input content and the common font size;

the input display parameters at least comprise the current font size of the input content displayed by the input box;

the update index is a result value of multiplying the number of fonts of the input content corresponding to the input operation by the common size of the fonts;

the update condition is that the update index is larger than the size of the input box.

Optionally, the step of updating the input display parameters includes:

acquiring a corresponding display adjustment value according to the update index, the input attribute and the display attribute;

and determining the updated input display parameters according to the display attributes and the display adjustment values.

Optionally, the method further comprises:

when the update index is greater than the termination update threshold, the input display parameters are not updated.

Alternatively,

the input attribute at least comprises the number of fonts of input content corresponding to the input operation and the historical font size of the input content displayed by the input frame before the input operation;

the display attribute of the input box at least comprises the size of the input box;

the update index is a result value of multiplying the number of fonts of the input content corresponding to the input operation by the historical font size;

the update condition is that the update index is larger than the size of the input box;

the input display parameters at least comprise the current font size of the input content displayed by the input box;

the step of updating the input display parameters comprises:

determining the current font size of the input content displayed by the input box according to the size of the input box and the font number of the input content corresponding to the input operation;

and the method further comprises:

and when the current font size of the input content displayed by the input box is smaller than a preset updating termination threshold value, the input display parameters are not updated any more.

According to a second aspect of the present invention, there is provided an input attribute presentation apparatus, comprising:

an input box providing unit for providing an input box for receiving input operation and displaying corresponding input content;

the parameter determining unit is used for determining corresponding input display parameters according to the acquired input attribute of the input operation and the display attribute of the input box each time the input operation is received through the input box;

and the display processing unit is used for displaying input content corresponding to the input operation through the input frame according to the input display parameters.

According to a third aspect of the present invention, there is provided an electronic apparatus, comprising:

a memory for storing executable instructions;

and the processor is used for operating the electronic equipment according to the control of the executable instruction and executing any one of the input information display methods provided by the first aspect of the invention.

According to one embodiment of the disclosure, the corresponding input display parameters are determined according to the input attributes of each input operation and the display attributes of the input box, so that the input content corresponding to the input operation is displayed through the input box based on the input display parameters, the input content amount displayed in the input box is dynamically adjusted by adapting the input operation, the input box with a limited display area can display more input contents, and the user experience is improved.

Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.

Fig. 1 is a block diagram showing an example of a hardware configuration of an electronic apparatus 1000 that can be used to implement an embodiment of the present invention.

Fig. 2 shows a flowchart of an input information presentation method of an embodiment of the present invention.

FIG. 3 shows a flowchart of the get input Properties step of an embodiment of the present invention.

FIG. 4 shows a flow chart of the step of determining input display parameters according to an embodiment of the present invention.

FIG. 5 shows a flowchart of the update input display parameter step of an embodiment of the present invention.

Fig. 6 shows a block diagram of an input information presentation apparatus 3000 of an embodiment of the present invention.

Fig. 7 shows a block diagram of an electronic device 4000 of an embodiment of the invention.

Detailed Description

Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.

In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.

It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.

< hardware configuration >

Fig. 1 is a block diagram showing a hardware configuration of an electronic apparatus 1000 that can implement an embodiment of the present invention.

The electronic device 1000 may be a laptop, desktop, cell phone, tablet, etc. As shown in fig. 1, the electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1400 is capable of wired or wireless communication, for example, and may specifically include Wifi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. A user can input/output voice information through the speaker 1700 and the microphone 1800.

The electronic device shown in fig. 1 is merely illustrative and is in no way meant to limit the invention, its application, or uses. In an embodiment of the present invention, the memory 1200 of the electronic device 1000 is configured to store instructions for controlling the processor 1100 to operate so as to execute any one of the input information display methods provided by the embodiment of the present invention. It will be appreciated by those skilled in the art that although a plurality of means are shown for the electronic device 1000 in fig. 1, the present invention may relate to only some of the means therein, e.g. the electronic device 1000 relates to only the processor 1100 and the storage means 1200. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.

< example >

< method >

In this embodiment, there is provided an input information display method, as shown in fig. 2, including: steps S2100-S2300.

In step S2100, an input box is provided.

The input box is used for receiving input operation and displaying corresponding input content. The input box is an interface component arranged on any application interface, the application interface is an interface displayed by a corresponding application through a display screen of the electronic equipment running the application, and corresponding application functions can be realized through man-machine interaction with a user.

In this embodiment, the input box under the corresponding operating system may be implemented by interface sets provided by different operating systems or by each component of the system, which is not limited herein.

The input operation is an operation implemented in the input box for inputting content, and may include a text input operation, a voice input operation, or other operations that can input content through human-computer interaction.

Step S2200, determining a corresponding input display parameter according to the acquired input attribute of the input operation and the display attribute of the input box each time the input operation is received through the input box.

The input attribute of the input operation is an attribute for relating to the input operation, and may include an operation type of the input operation, an input method type corresponding to the input operation, an input content attribute corresponding to the input operation, and the like. For example, the input attribute may include at least the number of fonts of the input content corresponding to the input operation, and specifically, the input content corresponding to the input operation may be the content that has been input when the present input operation is performed. Alternatively, the input attribute may further include at least the number of fonts of the input content corresponding to the input operation and the historical font size of the input content displayed in the input box before the current input operation.

In an example, the method for displaying input information provided in this embodiment further includes a step of acquiring the input attribute, as shown in fig. 3, including: steps S2201-S2202.

In step S2201, the input interface corresponding to the input box is registered to monitor the input interface.

In this example, the input interface corresponding to the input box may be provided by an operating system on which the electronic device implementing the embodiment is based, and by registering in the input interface, occurrence or end of an event or task of the input interface may be listened to.

For example, in an android system, the interface corresponding to the input box may be implemented by textwatch in the interface set of the android system, and registration in textwatch to listen to textwatch may be implemented by edittext.

Step S2202, when the input interface is monitored to determine that the input box receives the input operation, calls an input attribute obtaining function provided by the input interface to obtain the input attribute.

By monitoring the input interface, when an input event occurs on the input interface, it can be determined that the input box receives an input operation, and at this time, an input attribute acquisition function provided by the input interface is called, so that a corresponding input attribute can be acquired. For example, the input interface is textwatch, the input attribute includes the number of fonts of input content corresponding to an input operation, and textwatch.

The display attribute of the input box is an attribute related to the input content displayed by the input box. The display properties of the input box may include the size of the input box (width of the input box and/or height of the input box), the font type of the input content displayed by the input box, the minimum size of the font of the input content displayed by the input box, the normal size of the font, and the like. For example, the display properties of the input box may include at least the size of the input box, or the display properties of the input box may further include a font minimum size, a font normal size, at which the input box displays the input content.

In this embodiment, the display attribute of the input box may be preset according to a specific application scenario or application requirements.

In one example, the method for displaying input information in the present embodiment further includes:

in response to the received input box configuration request, display attributes of the input box are configured.

In this example, the input box configuration request may be triggered and generated according to a specific display requirement of the user, and the display attribute of the input box is configured according to the input box configuration request, so that the display of the input box can dynamically adapt to the display requirement of the user, and the user experience is improved.

In this embodiment, the corresponding input display parameters are determined according to the input attribute corresponding to the input operation and the display attribute of the input box, and the subsequent steps may be combined to display the input content corresponding to the input operation according to the input display parameters, to implement the display attribute of the input box to be adapted, and according to the change of the input attribute of the input operation, to dynamically adjust the display of the input content by the input display parameters through the input display box, to implement the input operation to be adapted to dynamically adjust the amount of the input content displayed in the input box, so that the input box with a limited display area may display more input content, and user experience may be improved.

In one example, the step of determining input display parameters may be as shown in FIG. 4, including: steps S2210-S2230.

Step S2210, obtaining a corresponding update index according to the input attribute and the display attribute of the input box.

The update index is an index for judging whether the input display parameter needs to be updated or not, so that the amount of the input content displayed in the input box is dynamically adjusted by adapting to the input operation in combination with the subsequent display effect of the input display parameter adjustment input box on the input content.

In one example, the input attribute at least includes the number of fonts of input content corresponding to the input operation; the display attribute of the input box at least comprises the size of the input box, the minimum size of a font of input content displayed by the input box and the common size of the font; the update index is a result value of multiplying the number of fonts of the input content corresponding to the input operation by the common size of the fonts.

Assume that the font number Text _ Count of input content corresponding to an input operation, the Size of an input box is View _ Width, the minimum Size of a font is Min _ Size, the Normal Size of a font is Normal _ Size, and the corresponding update index is Text _ Count × Normal _ Size.

Step S2220, when the update index meets the preset update condition, updates the input display parameter according to the input attribute and the display attribute of the input box.

The update condition is a condition for judging whether the update index meets the trigger of updating the input display parameter, and may be set according to a specific application scenario or an application requirement.

In step S2210, taking the example that the update index is the result of multiplying the number of fonts of the input content corresponding to the input operation by the Normal Size of the fonts, the update condition is that the update index is larger than the Size of the input box, i.e., Text _ Count × Normal _ Size > View _ Width, and the update of the input display parameter is triggered.

In this example, the step of updating the input display parameters may be as shown in fig. 5, including: steps S2221-S2222.

Step S2221, according to the update index, the input attribute and the display attribute, a corresponding display adjustment value is obtained.

For example, the update index is Text _ Count × Normal _ Size, the input attribute includes the number of fonts Text _ Count of the input content corresponding to the input operation, the display attribute of the input box includes the Size of the input box is View _ Width, the minimum Size of the font is Min _ Size, the Normal Size of the font is Normal _ Size, and correspondingly, the display adjustment value C is: c ═ C (Text _ Count × Normal _ Size-View _ Width)

×(Normal_Size-Min_Size)/View_Width

Step S2222, determine the updated input display parameter according to the display attribute and the display adjustment value.

For example, the input display parameters include at least a Current font Size of the input box display input content Current _ Size:

Current_Size=Normal_Size-C

=Normal_Size-

(Text_Count×Normal_Size-View_Width)

×(Normal_Size-Min_Size)/View_Width

after step S2220, the flow proceeds to:

in step S2230, when the update index does not meet the update condition, the input display parameter is kept unchanged.

The step of determining the input display parameter shown in fig. 4 has been described above, and the update index is obtained according to the input attribute of the input operation and the display attribute of the input box, and based on whether the update index meets the update condition, the update of the input display parameter is triggered, so that the display of the input content by the input box is dynamically adjusted in combination with the subsequent steps, the amount of the input content displayed in the input box is dynamically adjusted by adapting the input operation, so that the input box with a limited display area can display more input content, and the user experience is improved.

In practical applications, the display of the input content in the input box is dynamically adjusted based on the input operation, so that more input content can be displayed in the input box with a limited display area, but the display area of the input box is limited, and the amount of the displayed input content cannot be increased without limitation in the limited display area, which may affect the user experience, and therefore, the method shown in fig. 4 further includes:

when the update index is greater than the termination update threshold, the input display parameters are not updated.

In the present embodiment, the update termination threshold is a threshold for determining termination of updating of the input display parameter. By setting the update termination threshold, the input display parameters can be stopped at an appropriate time, and the dynamic adjustment of the display of the input content in the input box based on the input operation can be stopped in response, so that the display effect of the input content of the input box does not affect the user experience.

The update termination threshold may be set according to a specific application scenario or application requirements, for example, the update index is a result value of multiplication of a font number Text _ Count of input content corresponding to the input operation and a font common Size Normal _ Size, Text _ Count × Normal _ Size, the update termination threshold may be set according to the Size of the input frame, n × View _ Width, and when Text _ Count × Normal _ Size > n × View _ Width, the input display parameter is not updated; where n is any positive integer greater than 1, and may be set according to engineering experience values or historical simulation values, for example, to 2.

In another example, the input attribute at least includes the number of fonts of the input content corresponding to the input operation and the historical font size of the input content displayed by the input box before the current input operation, and the display attribute of the input box at least includes the size of the input box;

correspondingly, in the step of determining the input display parameter shown in fig. 4, the update index may be a result of multiplying the number of fonts of the input content corresponding to the input operation by the historical font Size, specifically, the number of fonts of the input content corresponding to the input operation is Text _ Count, the historical font Size is Before _ Size, and the update index is Text _ Count × Before _ Size;

the corresponding updating condition is that the updating index is larger than the Size of the input frame, namely when Text _ Count × Before _ Size > n × View _ Width, the updating of the input display parameters is triggered, the input display parameters at least comprise the Current font Size of the input frame for displaying the input content, and correspondingly, the step of updating the input display parameters by the input display parameters comprises the following steps:

determining the current font size of the input content displayed by the input frame according to the size of the input frame and the font number of the input content corresponding to the input operation;

specifically, Current _ Size ═ View _ Width/Text _ Count;

the method in this example further comprises:

and when the current font size of the input content displayed by the input box is smaller than the preset updating termination threshold value, the input display parameters are not updated any more.

The termination update threshold may be set according to a specific application scenario or application requirements, for example, to a minimum font Size Min _ Size, and the input display parameters are not updated when Current _ Size < Min _ Size.

Step S2200 has been described above in connection with compliance and examples, and after the input display parameters are acquired in step S2200, the process proceeds to:

step S2300, displaying input contents corresponding to the input operation through the input box according to the input display parameters.

The input display parameters are obtained by adapting the display attributes of the input box according to the input attribute change of the input operation, the input content corresponding to the input operation is displayed in the input box according to the input display parameters, the display of the input content by the input box can be dynamically adjusted, the amount of the input content displayed in the input box can be dynamically adjusted by adapting the input operation, the input box with a limited display area can display more input content, and the user experience is improved.

For example, the input display parameters include a current font size of the input box for displaying the input content, the current font size is determined by dynamically updating display attributes (the size of the input box, the minimum font size and the common font size) of the input box according to input attribute changes (the number of fonts of the input content) of the input operation, and the input content is displayed through the input box according to the current font size, so that the input box with a limited display area can display more input content, and user experience is improved.

< input information display device >

In the present embodiment, there is also provided an input information display device 3000, as shown in fig. 6, including: the input frame providing unit 3100, the parameter determining unit 3200, and the display processing unit 3300 are used to implement the input information display method in this embodiment, and are not described herein again.

The input information presentation apparatus 3000 includes:

an input box providing unit 3100 for providing an input box for receiving an input operation and displaying corresponding input contents.

The parameter determining unit 3200 is configured to determine, each time an input operation is received through the input box, a corresponding input display parameter according to the acquired input attribute of the input operation and the display attribute of the input box.

And a display processing unit 3300 configured to display input content corresponding to the input operation through the input frame according to the input display parameter.

Optionally, the input information display device 3000 is further configured to obtain the input attribute, including:

registering an input interface corresponding to the input box to monitor the input interface;

and when the input interface is monitored to determine that the input box receives the input operation, calling an input attribute acquisition function provided by the input interface to acquire the input attribute.

Optionally, the input information display device 3000 is further configured to:

configuring display attributes of the input box in response to the received input box configuration request.

Optionally, the parameter determination unit 3200 is further configured to:

acquiring a corresponding updating index according to the input attribute and the display attribute of the input box;

when the updating index accords with a preset updating condition, updating the input display parameter according to the input attribute and the display attribute of the input frame;

and when the updating index does not meet the updating condition, keeping the input display parameters unchanged.

Alternatively,

the input attribute at least comprises the number of fonts of input content corresponding to the input operation;

the display attribute of the input box at least comprises the size of the input box, the minimum font size of the input box for displaying input content and the common font size;

the input display parameters at least comprise the current font size of the input content displayed by the input box;

the update index is a result value of multiplying the number of fonts of the input content corresponding to the input operation by the common size of the fonts;

the update condition is that the update index is larger than the size of the input box.

Optionally, the parameter determination unit 3200 is further configured to:

acquiring a corresponding display adjustment value according to the update index, the input attribute and the display attribute;

and determining the updated input display parameters according to the display attributes and the display adjustment values.

Optionally, the input information display device 3000 is further configured to:

when the update index is greater than the termination update threshold, the input display parameters are not updated.

Alternatively,

the input attribute at least comprises the number of fonts of input content corresponding to the input operation and the historical font size of the input content displayed by the input frame before the input operation;

the display attribute of the input box at least comprises the size of the input box;

the update index is a result value of multiplying the number of fonts of the input content corresponding to the input operation by the historical font size;

the update condition is that the update index is larger than the size of the input box;

the input display parameters at least comprise the current font size of the input content displayed by the input box;

the parameter determination unit 3200 is further adapted to:

determining the current font size of the input content displayed by the input box according to the size of the input box and the font number of the input content corresponding to the input operation;

and the input information display device 3000 is also configured to:

and when the current font size of the input content displayed by the input box is smaller than a preset updating termination threshold value, the input display parameters are not updated any more.

It will be appreciated by those skilled in the art that the input information display device 3000 may be implemented in various ways. For example, the input information display device 3000 may be implemented by an instruction configuration processor. For example, the input information display apparatus 3000 may be implemented by storing instructions in a ROM and reading the instructions from the ROM into a programmable device when starting up the device. For example, the input information display device 3000 may be cured into a dedicated device (e.g., ASIC). The input information display device 3000 may be divided into units independent of each other, or may be implemented by combining them together. The input information display device 3000 may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.

In this embodiment, the input information display device 3000 may have any implementation form, for example, may be any application that realizes an input information display function, may be an application plug-in or an application patch that can be loaded or embedded into a certain application, or may be an electronic device that realizes an input information display function, such as a mobile phone.

< electronic apparatus >

In the present embodiment, there is provided an electronic apparatus 4000, as shown in fig. 7, including:

a memory 4100 for storing executable instructions;

a processor 4200, configured to operate the electronic device according to the control of the executable instruction, to execute any one of the input information display methods provided in this embodiment.

In this embodiment, the electronic device 4000 may be any electronic device that provides or realizes an input information display function, such as a mobile phone, a computer, a tablet computer, and a palm computer. For example, a mobile phone in which an application providing an input information display function is installed or a mobile phone having an operating system supporting display of input information.

The electronic device 4000 may also comprise other apparatus, for example, the electronic device 1000 as shown in fig. 1.

The embodiments of the present invention have been described above with reference to the accompanying drawings, and according to the embodiments, an input information display method, an input information display apparatus, and an electronic device are provided, in which corresponding input display parameters are determined according to input attributes of each input operation and display attributes of an input box, so that input content corresponding to the input operation is displayed on the basis of the input display parameters through the input box, and an amount of input content displayed in the input box is dynamically adjusted by adapting the input operation, so that the input box with a limited display area can display more input content, and user experience is improved.

The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.

The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.

The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.

The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.

Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.

These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.

The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.

Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:蒙层显示方法、装置、电子设备和存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类