CN114675905A - Information display method, vehicle-mounted computer system and readable storage medium - Google Patents

Information display method, vehicle-mounted computer system and readable storage medium Download PDF

Info

Publication number
CN114675905A
CN114675905A CN202210361476.2A CN202210361476A CN114675905A CN 114675905 A CN114675905 A CN 114675905A CN 202210361476 A CN202210361476 A CN 202210361476A CN 114675905 A CN114675905 A CN 114675905A
Authority
CN
China
Prior art keywords
layout
keyboard layout
target keyboard
input box
target
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
CN202210361476.2A
Other languages
Chinese (zh)
Other versions
CN114675905B (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.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Ecarx Hubei Tech 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 Ecarx Hubei Tech Co Ltd filed Critical Ecarx Hubei Tech Co Ltd
Priority to CN202210361476.2A priority Critical patent/CN114675905B/en
Publication of CN114675905A publication Critical patent/CN114675905A/en
Application granted granted Critical
Publication of CN114675905B publication Critical patent/CN114675905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Abstract

The application provides an information display method, a vehicle-mounted computer system and a readable storage medium, after a click event of an input box of a current page is detected, a target keyboard layout and a root layout of the current page are obtained, the target keyboard layout is added into the root layout, the target keyboard layout is displayed on the current page, and a system keyboard is prevented from being called up. And then, after receiving the trigger operation, acquiring the content of the target keyboard layout corresponding to the trigger operation, and displaying the content of the target keyboard layout corresponding to the trigger operation in an input frame. Therefore, after the clicking event of the input box is monitored, the target keyboard layout is added to the root layout so as to display the target keyboard layout on the current page, the system keyboard cannot be started, information can be rapidly displayed in the input box by utilizing the target keyboard layout, and the information display efficiency is improved.

Description

Information display method, vehicle-mounted computer system and readable storage medium
Technical Field
The present application relates to the field of information technologies, and in particular, to an information display method, a vehicle-mounted device system, and a readable storage medium.
Background
The system keyboard provided by the car machine system cannot meet the requirements of people due to the fact that sometimes the popup is too large and sometimes the popup is too high. Thus, the defects of the system keyboard can be solved by utilizing the customized keyboard.
However, the conventional customized keyboard depends on an Android API (application Programming Interface), and when the keyboard is called, the system keyboard is called first, and then the system keyboard needs to be hidden to bounce the customized keyboard, which is inefficient.
Disclosure of Invention
The application provides an information display method, a vehicle-mounted computer system and a readable storage medium, which can avoid bouncing a system keyboard and improve information display efficiency.
In a first aspect, the present application provides an information display method, including:
after a click event of an input box of a current page is detected, acquiring a target keyboard layout and a root layout of the current page;
adding the target keyboard layout to the root layout to display the target keyboard layout on the current page;
and after receiving a trigger operation, displaying the content in the target keyboard layout corresponding to the trigger operation in the input box.
Optionally, the obtaining of the target keyboard layout and the root layout of the current page specifically includes:
acquiring a target keyboard layout and a root layout of the current page, and generating a control from the target keyboard layout;
adding the target keyboard layout to the root layout to display the target keyboard layout on the current page specifically includes:
adding the control to the root layout to display the target keyboard layout on the current page.
Optionally, the triggering operation includes clicking coordinates of the target keyboard layout;
after receiving the trigger operation, displaying the content in the target keyboard layout corresponding to the trigger operation in the input box, specifically including:
and after receiving an operation of clicking the coordinates of the target keyboard layout, acquiring keyboard information corresponding to the coordinates of the target keyboard layout, and displaying content corresponding to the keyboard information in the input box.
Optionally, the obtaining of the target keyboard layout specifically includes:
and acquiring the attribute of the input box, acquiring the identifier of the target keyboard layout according to the attribute of the input box, and loading the target keyboard layout according to the identifier.
Optionally, the obtaining of the root layout of the current page specifically includes:
and acquiring a father control of the input box, and if the father control is a control group and the identification of the control group is an android identification, setting the layout occupied by the father control as the root layout of the current page.
Optionally, the method further includes:
and judging whether the target keyboard layout shields the input frame, if so, increasing the height of the root layout.
Optionally, the determining whether the target keyboard layout blocks the input frame, if yes, increasing the height of the root layout, specifically including:
when the target keyboard layout is located at the bottom of the screen, the distance between the input frame and the bottom of the screen and the height of the target keyboard layout are obtained, whether the height is larger than the distance or not is judged, and if yes, the root layout moves towards the top of the screen so as to increase the height of the root layout.
Optionally, after receiving the trigger operation, before displaying the content in the target keyboard layout corresponding to the trigger operation in the input box, the method further includes:
adding a cursor in an input box to indicate that the input box is in an editable state;
after receiving a trigger operation and displaying the content in the target keyboard layout corresponding to the trigger operation in the input box, the method further includes:
and moving the cursor and keeping the cursor flickering when the content in the input box needs to be changed so as to modify the content in the input box.
In a second aspect, the present application provides an information display apparatus comprising:
the acquisition module is used for acquiring a target keyboard layout and a root layout of a current page after detecting a click event of an input box of the current page;
an adding module, configured to add the target keyboard layout to the root layout, so as to display the target keyboard layout on the current page;
and the display module is used for displaying the content in the target keyboard layout corresponding to the trigger operation in the input box after the trigger operation is received.
In a third aspect, the present application provides a car machine system, including: a memory and a processor;
the memory is used for storing instructions; the processor is used for calling the instructions in the memory to execute the information display method in the first aspect and any one of the possible designs of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when at least one processor of the in-vehicle system executes the computer instructions, the in-vehicle system executes the information display method in any one of the possible designs of the first aspect and the first aspect.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes computer instructions, and when at least one processor of the in-vehicle system executes the computer instructions, the in-vehicle system executes the information display method in any one of the possible designs of the first aspect and the first aspect.
According to the information display method, after the click event of the input box of the current page is detected, the target keyboard layout and the root layout of the current page are obtained, and the target keyboard layout is added into the root layout, so that the target keyboard layout is displayed on the current page, and the system keyboard is prevented from being called up. And then, after receiving the trigger operation, acquiring the content of the target keyboard layout corresponding to the trigger operation, and displaying the content of the target keyboard layout corresponding to the trigger operation in the input frame. Therefore, after the clicking event of the input box is monitored, the target keyboard layout is added to the root layout so as to display the target keyboard layout on the current page, a system keyboard cannot be started, information can be rapidly displayed in the input box by utilizing the target keyboard layout, and the information display efficiency and the experience of a user are improved.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an information display method according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a target keyboard layout according to an embodiment of the present application;
FIG. 3 is a schematic diagram of another target keyboard layout according to an embodiment of the present application;
fig. 4 is a flowchart of an information display method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an information display device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of a car machine system according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The system keyboard provided by the car machine system cannot meet the requirements of people due to the fact that sometimes the popup is too large and sometimes the popup is too high. Therefore, a custom keyboard can be constructed, and the traditional custom keyboard is implemented as follows:
(1) and the custom CustomKeyboard inherits the system Keyboard, and realizes a KeybordView.
(2) And customizing the CustomKeyboardView, inheriting from the KeyboardView, and realizing the custom keyboard receipt.
The KeyboardView carries different keyboards and draws the keyboards, is a drawing board of the keyboard layout, and interacts with the system. The custom key style can be realized by inheriting the custom CustomKeyboardView of the KeyboardView. Finding that the UI style of KeyboardView is a private type according to the source code of KeyboardView, acquiring a specific UI attribute in a reflection mode, and performing assignment again, and meanwhile reloading an onDraw () method to redraw in the onDraw ().
(3) Creating a KeyboardManager for processing the display of the custom keyboard and the interaction with the input UI, mainly processing the following functional logic:
1. binding EditText and Keyboard, monitoring OnFocusChangleListener of EditText, and processing Keyboard pop-up and Keyboard hide;
2. processing the switching relation between the system keyboard and the user-defined keyboard;
3. the display of other customized views in the keyboard area is processed, for example, when the keyboard needs to have an automatic search function, the relevant processing can be performed in the manager.
The traditional custom keyboard combines an application program interface provided by a system with a text box, and the system keyboard needs to be hidden and the custom keyboard needs to be popped up when the keyboard is called up each time. When custom CustomKeyboardView is defined, a specific UI attribute needs to be acquired in a reflection mode, and the efficiency is low.
In order to solve the above problem, the present application provides an information display method, where after a click event of an input box of a current page is detected, a target keyboard layout and a root layout of the current page are obtained, and the target keyboard layout is added to the root layout of the current page, so as to display the target keyboard layout on the current page. The target keyboard layout is added to the root layout after a click event of the input box is detected, so that the system keyboard is not called up on the current page but the target keyboard layout is displayed. And then after receiving the trigger operation, displaying the content in the target keyboard layout corresponding to the trigger operation in the input frame, and improving the information display efficiency.
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 shows a flowchart of an information display method according to an embodiment of the present application. With the car machine system as an execution main body, the method of the embodiment may include the following steps:
s101, after a click event of an input box of the current page is detected, obtaining a target keyboard layout and a root layout of the current page.
The method includes the steps that a vehicle-mounted machine system detects whether a click event occurs to an input frame (TextView) of a current page, for example, whether the input frame of the current page receives click operations such as touch screen click operation or key click operation, and the click operations are used for indicating information input in the input frame and displaying the information.
The purpose of detecting whether the input frame of the current page has the click event is to monitor the click event of the user, and after the click event of the input frame of the current page is detected, the subsequent steps are triggered to avoid starting the system keyboard.
In some embodiments, it is listened to whether the input box has an ACTION _ DOWN event by overwriting the onTouchEvent method of the input box. ontouchvent is a method of an input box, the input box can call back a system keyboard when being clicked, ACTION _ DOWN is an event that a user presses a finger, and the user can call back the system keyboard when pressing the input box. The onTouchent method of the input box is rewritten, and the onTouchent method is not called after the input box is clicked, so that the system keyboard is not called.
After detecting a click event of an input box of a current page, obtaining a target keyboard layout, where the target keyboard layout may be an alphabetic keyboard, as shown in fig. 2, a numeric keyboard, as shown in fig. 3, or other self-defined keyboards.
In some embodiments, the attribute (xmlKeyId) of the input box is read, the identifier of the target keyboard layout to be loaded is obtained according to the attribute of the input box, and the identifier is, for example, Id, and then the target keyboard layout is loaded according to the identifier of the target keyboard layout.
And after the click event of the input box of the current page is detected, acquiring the root layout of the current page. For example, according to the input frame of the current page, a parent control (View) of the input frame is circularly traversed, and when the parent control is a control group (View group) and an identifier (id) of the control group is an android identifier (android.r.id.content), the layout occupied by the parent control is a root layout, that is, a root layout of the current page.
And S102, adding the target keyboard layout to the root layout so as to display the target keyboard layout on the current page.
And after the target keyboard layout and the root layout of the current page are obtained, adding the target keyboard layout to the root layout, so that the target keyboard layout can be displayed on the current page. The target keyboard layout may also be bound to the root layout after the target keyboard layout is added to the root layout, such that only the target keyboard layout is displayed on the current page. In some embodiments, the target keyboard layout may be added to the root layout of the current page by the add control of root layout (addView) method.
And S103, after receiving the trigger operation, displaying the content in the target keyboard layout corresponding to the trigger operation in the input frame.
And after receiving the trigger operation on the target keyboard layout, acquiring the content of the target keyboard layout corresponding to the trigger operation, and displaying the content of the target keyboard layout corresponding to the trigger operation in an input frame.
For example, the triggering operation includes clicking coordinates of the target keyboard layout, each key in the target keyboard layout has corresponding coordinates, and the key has corresponding information, such as letters, numbers, symbols, or the like. After the coordinates of the target keyboard layout are received, the keys corresponding to the coordinates are obtained according to the corresponding relation between the coordinates and the keys, and information corresponding to the keys is displayed in the input frame, so that the content in the target keyboard layout corresponding to the trigger operation is displayed in the input frame.
If the information corresponding to the key is a number, the number can be directly displayed in the input box; if the information corresponding to the key is a symbol, the symbol can be directly displayed in the input box; if the information corresponding to the key is a letter, the letter can be displayed in the input box or the letter can be combined to form a Chinese character, the corresponding Chinese character is displayed in the input box, if the letter can be combined to form a plurality of corresponding Chinese characters, a target Chinese character can be selected from the plurality of corresponding Chinese characters, and the target Chinese character is displayed in the input box.
According to the information display method, after the click event of the input box of the current page is detected, the target keyboard layout and the root layout of the current page are obtained, and the target keyboard layout is added in the root layout of the current page so as to display the target keyboard layout on the current page. The target keyboard layout is added to the root layout after a click event of the input box is detected, so that the system keyboard is not called up on the current page but the target keyboard layout is displayed. And then after receiving the trigger operation, displaying the content in the target keyboard layout corresponding to the trigger operation in the input frame, and improving the information display efficiency.
Fig. 4 shows a flowchart of an information display method according to an embodiment of the present application. As shown in fig. 4, the method of this embodiment may include the following steps with the in-vehicle system as an execution main body:
s201, after a click event of an input box of the current page is detected, obtaining a target keyboard layout and a root layout of the current page, and generating a control from the target keyboard layout.
After detecting a click event of an input box of a current page, the vehicle-mounted system acquires a target keyboard layout and generates a control (View) for the target keyboard layout. In some embodiments, after a click event of an input box of a current page is detected, attributes of the input box are obtained, a target keyboard layout file to be loaded is obtained according to the attributes, the target keyboard layout file comprises a target keyboard layout, and the target keyboard layout file is generated into a control.
And after the vehicle-mounted machine system detects the click event of the input box of the current page, the root layout of the current page is also acquired. In some embodiments, according to the input box of the current page, the parent control is traversed in a loop, the parent control is a control group (ViewGroup), and when the identifier (id) of the control group is an android identifier (android.
S202, adding the control to the root layout so as to display the target keyboard layout on the current page.
The control generated according to the target keyboard layout is added to the root layout, and in some embodiments, the control generated according to the target keyboard layout is added to the root layout by using an add control (addView) method of the root layout, that is, the target keyboard layout is added to the current page, so that the target keyboard layout can be displayed on the current page.
S203, judging whether the target keyboard layout blocks the input frame.
After the target keyboard layout is added to the root layout, whether the input box is shielded by the target keyboard layout is judged, if the input box is shielded by the target keyboard layout, step S204 is executed, and if the input box is not shielded by the target keyboard layout, step S205 is executed.
In some embodiments, the target keyboard layout is located at the bottom of the screen, the distance from the input box to the bottom of the screen and the height of the target keyboard layout are obtained, and whether the height of the target keyboard layout is greater than the distance from the input box to the bottom of the screen is determined, if yes, step S204 is executed, and if not, step S205 is executed. It should be noted that, since the input box has a certain width, the distance between the side of the input box close to the bottom of the screen and the bottom of the screen can be obtained, and the distance is compared with the height of the target keyboard layout. As an implementation manner, the distance from the input box to the bottom of the screen and the height of the target keyboard layout may be obtained through an API (application Programming Interface).
And S204, increasing the height of the root layout.
When the height of the target keyboard layout is larger than the distance between the input frame and the bottom of the screen, the target keyboard layout shields the input frame, the root layout moves the top of the screen, and therefore the height of the root layout is increased, the input frame moves upwards, and the shielding of the input frame is avoided when the target keyboard layout is displayed on the current page. And then step S205 is executed.
And S205, adding a cursor in the input box to indicate that the input box is in an editable state.
Since the cursor is added to the input box so that the input box can be used as an edit box (EditText), that is, content editing or the like can be performed in the input box, the cursor indicates that the input box is in an editable state, and information can be input in the input box after the cursor is added to the input box. As an implementation, a colored vertical line may be drawn in the onDraw () method of the input box.
And S206, after receiving the trigger operation, displaying the content in the target keyboard layout corresponding to the trigger operation in the input frame.
After receiving the trigger operation, the trigger operation is used for indicating the content of the target keyboard layout displayed in the input box. After receiving the trigger operation on the target keyboard layout, acquiring the content of the target keyboard layout corresponding to the trigger operation, and displaying the content of the target keyboard layout corresponding to the trigger operation in the input frame.
For example, the triggering operation includes clicking coordinates of the target keyboard layout, if the target keyboard layout generation control is added to the root layout, after the coordinates of the clicked target keyboard layout are obtained, a corresponding control may be obtained, where the control may include a correspondence between the coordinates of the target keyboard layout and keys of the target keyboard layout, so as to obtain keys corresponding to the coordinates of the target keyboard layout, and display information corresponding to the keys in the input box, so as to display content in the target keyboard layout corresponding to the triggering operation in the input box.
The displayed content in the input box may then also be modified, for example by moving a cursor and keeping the cursor flashing to indicate that the content in front of the cursor can be modified, which may include adding, deleting, etc.
According to the information display method, after the click event of the input box of the current page is detected, the target keyboard layout is added to the root layout of the current page, so that the target keyboard layout is displayed on the current page, and the system keyboard is prevented from being called up. And then, after the triggering operation is received, the content in the target keyboard layout corresponding to the triggering operation is directly displayed in the input frame, so that the information display efficiency is improved.
Fig. 5 shows a schematic structural diagram of an information display device according to an embodiment of the present application, and as shown in fig. 5, an information display device 10 according to this embodiment is used to implement an operation corresponding to a car-mounted device system in any one of the method embodiments described above, where the information display device 10 according to this embodiment includes:
the obtaining module 11 is configured to obtain a target keyboard layout and a root layout of a current page after detecting a click event of an input box of the current page;
an adding module 12, configured to add the target keyboard layout to the root layout, so as to display the target keyboard layout on the current page;
and the display module 13 is configured to display, in the input box, content in the target keyboard layout corresponding to the trigger operation after the trigger operation is received.
The information display device 10 provided in the embodiment of the present application may implement the method embodiment, and for details of the implementation principle and the technical effect, reference may be made to the method embodiment, which is not described herein again.
Fig. 6 shows a schematic diagram of a hardware structure of a vehicle-mounted device system provided in an embodiment of the present application. As shown in fig. 6, the in-vehicle machine system 20 is configured to implement the operation corresponding to the in-vehicle machine system in any one of the method embodiments, where the in-vehicle machine system 20 of this embodiment may include: memory 21, processor 22 and communication interface 23.
A memory 21 for storing computer instructions. The Memory 21 may include a Random Access Memory (RAM), a Non-Volatile Memory (NVM), at least one disk Memory, a usb disk, a removable hard disk, a read-only Memory, a magnetic disk or an optical disk.
And a processor 22 for executing the computer instructions stored in the memory to implement the information display method in the above-mentioned embodiments. Reference may be made in particular to the description relating to the method embodiments described above. The Processor 22 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Alternatively, the memory 21 may be separate or integrated with the processor 22.
A communication interface 23, which may be coupled to the processor 22. Processor 22 may control communication interface 23 to perform the functions of receiving and transmitting signals.
The in-vehicle system provided by this embodiment may be used to execute the information display method, and the implementation manner and the technical effect are similar, which are not described herein again.
The present application also provides a computer readable storage medium, in which computer instructions are stored, and the computer instructions are executed by a processor to implement the methods provided by the above-mentioned various embodiments.
The present application also provides a computer program product comprising computer instructions stored in a computer readable storage medium. The computer instructions can be read by at least one processor of the device from a computer-readable storage medium, and execution of the computer instructions by the at least one processor causes the device to perform the methods provided by the various embodiments described above.
The embodiment of the present application further provides a chip, which includes a memory and a processor, where the memory is used to store computer instructions, and the processor is used to call and execute the computer instructions from the memory, so that a device in which the chip is installed executes the method described in the above various possible embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: it is also possible to modify the solutions described in the previous embodiments or to substitute some or all of them with equivalents. And the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. An information display method, comprising:
after a click event of an input box of a current page is detected, acquiring a target keyboard layout and a root layout of the current page;
adding the target keyboard layout to the root layout to display the target keyboard layout on the current page;
and after receiving a trigger operation, displaying the content in the target keyboard layout corresponding to the trigger operation in the input box.
2. The method of claim 1, wherein the obtaining the target keyboard layout and the root layout of the current page specifically comprises:
acquiring a target keyboard layout and a root layout of the current page, and generating a control from the target keyboard layout;
the adding the target keyboard layout to the root layout to display the target keyboard layout on the current page specifically includes:
adding the control to the root layout to display the target keyboard layout on the current page.
3. The method of claim 2, wherein the triggering operation comprises clicking on coordinates of the target keyboard layout;
after receiving the trigger operation, displaying the content in the target keyboard layout corresponding to the trigger operation in the input box, specifically including:
and after receiving an operation of clicking the coordinates of the target keyboard layout, acquiring keyboard information corresponding to the coordinates of the target keyboard layout, and displaying content corresponding to the keyboard information in the input box.
4. The method of claim 1, wherein the obtaining the target keyboard layout specifically comprises:
and acquiring the attribute of the input box, acquiring the identifier of the target keyboard layout according to the attribute of the input box, and loading the target keyboard layout according to the identifier.
5. The method according to claim 1, wherein obtaining the root layout of the current page specifically comprises:
and acquiring a father control of the input box, and if the father control is a control group and the identification of the control group is an android identification, setting the layout occupied by the father control as the root layout of the current page.
6. The method according to any one of claims 1-5, further comprising:
and judging whether the target keyboard layout shields the input frame, if so, increasing the height of the root layout.
7. The method according to claim 6, wherein the determining whether the input box is occluded by the target keyboard layout, and if so, increasing the height of the root layout specifically includes:
when the target keyboard layout is located at the bottom of the screen, the distance between the input frame and the bottom of the screen and the height of the target keyboard layout are obtained, whether the height is larger than the distance or not is judged, and if yes, the root layout moves towards the top of the screen so as to increase the height of the root layout.
8. The method according to any one of claims 1-5, wherein after receiving a trigger operation, before displaying the content in the target keyboard layout corresponding to the trigger operation in the input box, the method further comprises:
adding a cursor in an input box to indicate that the input box is in an editable state;
after receiving a trigger operation and displaying the content in the target keyboard layout corresponding to the trigger operation in the input box, the method further includes:
and moving the cursor and keeping the cursor flickering when the content in the input box needs to be changed so as to modify the content in the input box.
9. The utility model provides a car machine system which characterized in that includes: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the information display method of any one of claims 1 to 8.
10. A computer-readable storage medium having stored thereon computer instructions for implementing the information display method according to any one of claims 1 to 8 when executed by a processor.
CN202210361476.2A 2022-04-07 2022-04-07 Information display method, vehicle-mounted system and readable storage medium Active CN114675905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210361476.2A CN114675905B (en) 2022-04-07 2022-04-07 Information display method, vehicle-mounted system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210361476.2A CN114675905B (en) 2022-04-07 2022-04-07 Information display method, vehicle-mounted system and readable storage medium

Publications (2)

Publication Number Publication Date
CN114675905A true CN114675905A (en) 2022-06-28
CN114675905B CN114675905B (en) 2024-03-08

Family

ID=82079066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210361476.2A Active CN114675905B (en) 2022-04-07 2022-04-07 Information display method, vehicle-mounted system and readable storage medium

Country Status (1)

Country Link
CN (1) CN114675905B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250116A (en) * 2016-07-21 2016-12-21 武汉精伦电气有限公司 A kind of software generic skeleton code generates method and system
CN106528132A (en) * 2016-10-27 2017-03-22 四川长虹电器股份有限公司 Cross-platform security keyboard realization method for mobile terminal
CN107066377A (en) * 2017-01-18 2017-08-18 青岛海信电器股份有限公司 Page elements acquisition methods and terminal device based on android system
CN107608587A (en) * 2017-10-11 2018-01-19 广州品唯软件有限公司 Display methods, device and the storage medium of customizing keyboard
CN109885241A (en) * 2019-01-16 2019-06-14 平安普惠企业管理有限公司 Dummy keyboard generation method, server and computer readable storage medium
CN111208911A (en) * 2019-12-31 2020-05-29 北京指掌易科技有限公司 Mobile terminal input method, device, equipment and storage medium
CN111857532A (en) * 2020-07-30 2020-10-30 京东方科技集团股份有限公司 Virtual keyboard display method and device and electronic equipment
CN113190267A (en) * 2021-05-27 2021-07-30 上海幻电信息科技有限公司 Dynamic configuration method and system for interface layout
CN113867870A (en) * 2021-09-29 2021-12-31 完美世界(北京)软件科技发展有限公司 Popup management system, popup control method, storage medium, and computer device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250116A (en) * 2016-07-21 2016-12-21 武汉精伦电气有限公司 A kind of software generic skeleton code generates method and system
CN106528132A (en) * 2016-10-27 2017-03-22 四川长虹电器股份有限公司 Cross-platform security keyboard realization method for mobile terminal
CN107066377A (en) * 2017-01-18 2017-08-18 青岛海信电器股份有限公司 Page elements acquisition methods and terminal device based on android system
CN107608587A (en) * 2017-10-11 2018-01-19 广州品唯软件有限公司 Display methods, device and the storage medium of customizing keyboard
CN109885241A (en) * 2019-01-16 2019-06-14 平安普惠企业管理有限公司 Dummy keyboard generation method, server and computer readable storage medium
CN111208911A (en) * 2019-12-31 2020-05-29 北京指掌易科技有限公司 Mobile terminal input method, device, equipment and storage medium
CN111857532A (en) * 2020-07-30 2020-10-30 京东方科技集团股份有限公司 Virtual keyboard display method and device and electronic equipment
CN113190267A (en) * 2021-05-27 2021-07-30 上海幻电信息科技有限公司 Dynamic configuration method and system for interface layout
CN113867870A (en) * 2021-09-29 2021-12-31 完美世界(北京)软件科技发展有限公司 Popup management system, popup control method, storage medium, and computer device

Also Published As

Publication number Publication date
CN114675905B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
US10140014B2 (en) Method and terminal for activating application based on handwriting input
US11561807B2 (en) Desktop launcher
US20150121312A1 (en) Shortcut operation method and device, mobile terminal and storage medium
CN111885258A (en) Unread message display method and device, electronic equipment and storage medium
CN105068726B (en) Information processing method and terminal
US20130268853A1 (en) Mobile terminal comprising a man/machine interface
KR20130093672A (en) Method, apparatus, and computer program product for overlapped handwriting
CN104850319A (en) Method and device for dynamically adjusting icon on touch screen
US20230117213A1 (en) Page display method and electronic device
CN108984089B (en) Touch operation method and device, storage medium and electronic equipment
CN107908679B (en) Script statement conversion method and device and computer readable storage medium
CN110568990B (en) Screen splitting method and device, electronic equipment and storage medium
CN107220377B (en) Search method, electronic device, and computer storage medium
CN110727385B (en) Desktop icon sorting method and device, electronic equipment and storage medium
CN111324398B (en) Method, device, terminal and storage medium for processing latest content
CN113407168A (en) Editing method and device of page elements, storage medium and terminal
CN111158811B (en) Advertisement processing method and device, electronic equipment and storage medium
CN114675905A (en) Information display method, vehicle-mounted computer system and readable storage medium
CN109558203B (en) Recent content display method, device, terminal and storage medium
CN112163432A (en) Translation method, translation device and electronic equipment
CN111338736A (en) Setting item calling method and device and computer readable storage medium
CN112068947A (en) Application program entering method and device, terminal equipment and computer readable medium
CN113553129A (en) Interface display method, device, terminal and medium
CN114860147B (en) Input method, input device, electronic equipment and storage medium
CN109933260A (en) Know screen method, apparatus, terminal and storage medium

Legal Events

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