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

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

Info

Publication number
CN114675905B
CN114675905B CN202210361476.2A CN202210361476A CN114675905B CN 114675905 B CN114675905 B CN 114675905B CN 202210361476 A CN202210361476 A CN 202210361476A CN 114675905 B CN114675905 B CN 114675905B
Authority
CN
China
Prior art keywords
layout
keyboard layout
target keyboard
target
input box
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.)
Active
Application number
CN202210361476.2A
Other languages
Chinese (zh)
Other versions
CN114675905A (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

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 machine system and a readable storage medium, wherein after a click event of an input frame 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 into the root layout so as to display the target keyboard layout on the current page and avoid calling up a system keyboard. And after receiving the triggering operation, acquiring the content of the target keyboard layout corresponding to the triggering operation, and displaying the content of the target keyboard layout corresponding to the triggering operation in an input frame. Therefore, after the clicking event of the input frame is monitored, the target keyboard layout is added to the root layout, so that the target keyboard layout is displayed on the current page, the system keyboard cannot be called up, information can be rapidly displayed in the input frame by utilizing the target keyboard layout, and the information display efficiency is improved.

Description

Information display method, vehicle-mounted system and readable storage medium
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to an information display method, a vehicle-mounted system, and a readable storage medium.
Background
The system keyboard provided by the vehicle system is sometimes oversized and sometimes oversized, and often cannot meet the needs of people. Thus, the defects of the system keyboard can be overcome by utilizing the custom keyboard.
However, the conventional custom keyboard depends on an Android (Android) system API (APIApplication Programming Interface, application program interface), which calls up the system keyboard first and then requires the hidden system keyboard to pop up the custom keyboard, which is inefficient.
Disclosure of Invention
The application provides an information display method, a vehicle-mounted system and a readable storage medium, which can avoid bouncing up a system keyboard and improve information display efficiency.
In a first aspect, the present application provides an information display method, including:
after detecting a click event of an input box of a current page, 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 the triggering operation, displaying the content in the target keyboard layout corresponding to the triggering operation in the input box.
Optionally, the obtaining 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 by 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:
the control is added to the root layout to display the target keyboard layout on the current page.
Optionally, the triggering operation includes clicking on coordinates of the target keyboard layout;
after receiving the triggering operation, displaying the content in the target keyboard layout corresponding to the triggering operation in the input box, wherein the content specifically comprises:
and after receiving the operation of clicking the coordinates of the target keyboard layout, acquiring keyboard information corresponding to the coordinates of the target keyboard layout, and displaying the content corresponding to the keyboard information in the input box.
Optionally, the obtaining the target keyboard layout specifically includes:
and acquiring the attribute of the input frame, acquiring the identifier of the target keyboard layout according to the attribute of the input frame, and loading the target keyboard layout according to the identifier.
Optionally, the obtaining the root layout of the current page specifically includes:
and acquiring a parent control of the input box, wherein if the parent control is a control group and the identification of the control group is an android identification, the layout occupied by the parent control is the root layout of the current page.
Optionally, the method further comprises:
and judging whether the target keyboard layout shields the input box, if so, increasing the height of the root layout.
Optionally, the determining whether the target keyboard layout blocks the input box or not, if yes, increasing the height of the root layout specifically includes:
when the target keyboard layout is positioned 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 is judged, and if so, the root layout is moved to the top of the screen so as to increase the height of the root layout.
Optionally, after receiving the triggering operation, before displaying the content in the target keyboard layout corresponding to the triggering 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 the triggering operation, displaying the content in the target keyboard layout corresponding to the triggering operation in the input box, wherein the method further comprises the following steps:
and moving the cursor and keeping the cursor flashing 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 including:
the acquisition module is used for acquiring the target keyboard layout and the root layout of the current page after detecting the click event of the input frame of the current page;
an adding module for adding the target keyboard layout to the root layout 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 vehicle-mounted system comprising: a memory and a processor;
the memory is used for storing instructions; the processor is configured to invoke instructions in the memory to perform the information display method of the first aspect and any of the possible designs of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium having stored therein computer instructions which, when executed by at least one processor of a vehicle system, perform the information display method of the first aspect and any one of the possible designs of the first aspect.
In a fifth aspect, the present application provides a computer program product comprising computer instructions which, when executed by at least one processor of a vehicle system, perform the information display method of the first aspect and any one of the possible designs of the first aspect.
According to the information display method, after the click event of the input frame 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 as to display the target keyboard layout on the current page, and the system keyboard is prevented from being lifted. And after receiving the triggering operation, acquiring the content of the target keyboard layout corresponding to the triggering operation, and displaying the content of the target keyboard layout corresponding to the triggering operation in an input frame. Therefore, after the clicking event of the input frame is monitored, the target keyboard layout is added to the root layout, so that the target keyboard layout is displayed on the current page, the system keyboard cannot be called up, information can be rapidly displayed in the input frame by utilizing the target keyboard layout, and the information display efficiency and the experience of a user are improved.
Drawings
For a clearer description of the present application or of the prior art, the drawings that are used in the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description below are some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of an information display method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a target keyboard layout according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another target keyboard layout according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of an information display method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an information display device according to an embodiment of the present disclosure;
fig. 6 is a schematic hardware structure of a vehicle-mounted system according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, 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 apparent that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The system keyboard provided by the vehicle system is sometimes oversized and sometimes oversized, and often cannot meet the needs of people. Therefore, the custom keyboard can be constructed, and the traditional implementation scheme of the custom keyboard is as follows:
(1) The custom Keyboard is inherited from the system Keyboard, and a Keyboard view. Onkeyboard ActionListener related interface is realized to process click callbacks of users.
(2) The custom keyboard view is inherited from the keyboard view, so that the custom keyboard receipt is realized.
Keyboard view carries and renders different keyboards, is a rendering board of a keyboard layout, and interacts with the system. The key style can be customized by inheriting the keycard view custom keycard view. According to the source code of the keyboard view, the UI style is found to be private, the specific UI attribute is required to be acquired in a reflection mode, assignment is carried out again, and meanwhile, the onDraw () method is reloaded, and redrawing is carried out in the onDraw ().
(3) A keyboard manager is created for processing the display of the custom keyboard and the interaction with the input UI, mainly processing the following functional logic:
1. binding the EditText and a keyBoard, monitoring the OnfocusChangeListener of the EditText, and processing Keyboard pop-up and Keyboard hiding;
2. processing a switching relation between a system keyboard and a custom keyboard;
3. processing the display of other custom views of the keyboard region, such as when an automatic keyboard search function is required, the related processing can be performed in the manager.
The traditional custom keyboard utilizes the application program interface provided by the system to be combined with the text box, and the system keyboard needs to be hidden every time the keyboard is called up, and the custom keyboard is sprung up. When custom keyboard view is needed, specific UI attributes are acquired in a reflection mode, and efficiency is low.
Aiming at the problems, the application provides an information display method, after detecting a click event of an input frame of a current page, a target keyboard layout and a 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 detecting a click event of the input box so that the system keyboard is not called up at the current page but the target keyboard layout is displayed. And then after receiving the triggering operation, displaying the content in the target keyboard layout corresponding to the triggering operation in the input box, thereby improving the information display efficiency.
The technical scheme of the present application is described in detail below with specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 1 shows a flowchart of an information display method according to an embodiment of the present application. Taking the vehicle-mounted system as an execution main body, the method of the embodiment can comprise the following steps:
s101, 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.
The car machine system detects whether a clicking event occurs in an input box (TextView) of the current page, for example, whether the input box of the current page receives clicking operations such as a touch screen clicking operation or a key clicking operation, and the clicking operations are used for indicating information to be input in the input box and displaying the information.
The aim of detecting whether the click event occurs in the input box of the current page is to monitor the click event of a user, and after the click event of the input box of the current page is detected, the subsequent steps are triggered, so that the system keyboard is prevented from being lifted.
In some embodiments, the method listens to whether an action_down event has occurred in the input box by rewriting the onTouchEvent method of the input box. The onTouchEvent is a method for inputting a box, when the input box is clicked, the input box is called back to the system keyboard, the action_DOWN is an event pressed by a finger of a user, and when the user presses the input box, the input box is called back to the system keyboard. The onTouchEvent method of the input box is rewritten, and after a click event occurs in the input box, the onTouchEvent method is not called, so that a system keyboard is not called.
After detecting the clicking event of the input box of the current page, the target keyboard layout is acquired, wherein the target keyboard layout can be an alphabetic keyboard as shown in fig. 2, a numeric keyboard as shown in fig. 3, a custom other keyboard and the like.
In some embodiments, the attribute (xmlKeyId) of the input box is read, the identity of the target keyboard layout to be loaded is obtained according to the attribute of the input box, the identity is Id, and then the target keyboard layout is loaded according to the identity of the target keyboard layout.
And after detecting the clicking event of the input box of the current page, acquiring the root layout of the current page. For example, the parent control (View) of the input box is circularly traversed according to the input box of the current page, and when the parent control is a control group (View group) and the identifier (id) of the control group is an android identifier (android.r.id.content), the layout occupied by the parent control is the root layout, that is, the root layout of the current page.
S102, adding the target keyboard layout to the root layout to display the target keyboard layout on the current page.
After the target keyboard layout and the root layout of the current page are acquired, the target keyboard layout is added 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 it is added to the root layout so 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 an add control (addView) method of the root layout.
And S103, after the triggering operation is received, displaying the content in the target keyboard layout corresponding to the triggering operation in the input box.
After receiving the triggering operation on the target keyboard layout, acquiring the content of the target keyboard layout corresponding to the triggering operation, and displaying the content of the target keyboard layout corresponding to the triggering operation in an input frame.
For example, the triggering operation includes clicking on coordinates of a target keyboard layout, each key in the target keyboard layout having corresponding coordinates, the key having corresponding information, such as letters, numbers, symbols, or the like. After the coordinates of the target keyboard layout are received, 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 an input box, so that the content in the target keyboard layout corresponding to the triggering operation is displayed in the input box.
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 keys is letters, letters or combined letters can be displayed in the input frame to form Chinese characters, and corresponding Chinese characters are displayed in the input frame, if the combined letters can 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 frame.
According to the information display method, after the click event of the input frame 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 detecting a click event of the input box so that the system keyboard is not called up at the current page but the target keyboard layout is displayed. And then after receiving the triggering operation, displaying the content in the target keyboard layout corresponding to the triggering operation in the input box, thereby 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, with the vehicle system as the execution body, the method of the embodiment may include the following steps:
s201, after detecting a click event of an input box of a current page, acquiring a target keyboard layout and a root layout of the current page, and generating a control by the target keyboard layout.
After the vehicle-mounted system detects the clicking event of the input box of the current page, the target keyboard layout is obtained, and a control (View) is generated for the target keyboard layout. In some embodiments, after detecting a click event of an input box of a current page, acquiring an attribute of the input box, obtaining a target keyboard layout file to be loaded according to the attribute, wherein the target keyboard layout file comprises a target keyboard layout, and generating a control from the target keyboard layout file.
And after the vehicle-mounted system detects the clicking event of the input frame 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 circularly traversed, and when the parent control is a control group (ViewGroup) and the identifier (id) of the control group is an android identifier (android. R.id.content), the layout corresponding to the parent control is a root layout.
S202, adding the control to the root layout to display the target keyboard layout on the current page.
The controls generated from the target keyboard layout are added to the root layout, and in some embodiments, the controls generated from the target keyboard layout are added to the root layout by an add control (addView) method of the root layout, i.e., 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 shields the input box.
After adding the target keyboard layout to the root layout, determining whether the target keyboard layout blocks the input frame, if the target keyboard layout blocks the input frame, executing step S204, and if the target keyboard layout does not block the input frame, executing step S205.
In some embodiments, 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, and it is determined whether the height of the target keyboard layout is greater than the distance between the input frame and the bottom of the screen, 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 near the bottom of the screen and the bottom of the screen can be obtained, and the distance can be compared with the height of the target keyboard layout. As one implementation, the distance of the input box from the bottom of the screen and the height of the target keyboard layout may be obtained through an API (APIApplication Programming Interface, application program interface).
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, and the root layout moves the top of the screen, so that 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 face page. And then step S205 is performed.
S205, adding a cursor in the input box to indicate that the input box is in an editable state.
The input box is added with a cursor so that the input box can be used as an edit box (edit text), i.e., content editing and the like can be performed in the input box, so that the cursor indicates that the input box is in an editable state, and when the cursor is added in the input box, information can be input in the input box. As an implementation, a colored vertical line may be drawn in the onDraw () method of the input box.
S206, after the triggering operation is received, displaying the content in the target keyboard layout corresponding to the triggering operation in the input box.
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 triggering operation on the target keyboard layout, acquiring the content of the target keyboard layout corresponding to the triggering operation, and displaying the content of the target keyboard layout corresponding to the triggering operation in an input frame.
For example, the triggering operation includes clicking coordinates of the target keyboard layout, if the target keyboard layout generating control is added to the root layout, after the coordinates of the 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 that content in the target keyboard layout corresponding to the triggering operation is displayed in the input box.
The displayed content in the input box may then also be modified, for example by moving the cursor and maintaining the cursor blinking, to indicate that modifications can be made to the content in front of the cursor, which may include additions, deletions, etc.
According to the information display method, after the click event of the input frame of the current page is detected, the target keyboard layout is added into 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 receiving the triggering operation, directly displaying the content in the target keyboard layout corresponding to the triggering operation in the input box, thereby improving the information display efficiency.
Fig. 5 is a schematic structural diagram of an information display device according to an embodiment of the present application, and as shown in fig. 5, the information display device 10 according to the present embodiment is used to implement operations corresponding to a vehicle system in any of the above method embodiments, where the information display device 10 according to the present 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 for adding the target keyboard layout to the root layout to display the target keyboard layout on the current page;
and the display module 13 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.
The information display device 10 provided in the embodiment of the present application may execute the above-mentioned method embodiment, and the specific implementation principle and technical effects of the method embodiment may be referred to the above-mentioned method embodiment, which is not described herein again.
Fig. 6 shows a schematic hardware structure of a vehicle-mounted system according to an embodiment of the present application. As shown in fig. 6, the vehicle system 20, configured to implement operations corresponding to the vehicle system in any of the above method embodiments, the vehicle system 20 of this embodiment may include: a memory 21, a processor 22 and a communication interface 23.
A memory 21 for storing computer instructions. The Memory 21 may include a high-speed random access Memory (Random Access Memory, RAM), and may further include a Non-Volatile Memory (NVM), such as at least one magnetic disk Memory, and may also be a U-disk, a removable hard disk, a read-only Memory, a magnetic disk, or an optical disk.
The processor 22 is configured to execute computer instructions stored in the memory to implement the information display method in the above embodiment. Reference may be made in particular to the relevant description of the embodiments of the method described above. The processor 22 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), etc. 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 for execution, or in a combination of hardware and software modules in a processor for execution.
Alternatively, the memory 21 may be separate or integrated with the processor 22.
The communication interface 23 may be connected to the processor 22. The processor 22 may control the communication interface 23 to perform the functions of receiving and transmitting signals.
The vehicle-mounted system provided in this embodiment may be used to execute the above information display method, and its implementation manner and technical effects are similar, and this embodiment is not repeated here.
The present application also provides a computer readable storage medium having stored therein computer instructions which, when executed by a processor, are adapted to carry out the methods provided by the various embodiments described above.
The present application also provides a computer program product comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read from a computer-readable storage medium by at least one processor of the device, and executed by the at least one processor, cause the device to implement the methods provided by the various embodiments described above.
The embodiment of the application also provides a chip, which comprises a memory and a processor, wherein the memory is used for storing computer instructions, and the processor is used for calling and running the computer instructions from the memory, so that a device provided with the chip executes the method in various possible implementation manners.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limited thereto. 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: the technical scheme described in the foregoing embodiments may be modified or some or all of the technical features may be replaced with equivalents. Such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. An information display method, comprising:
after detecting a click event of an input frame of a current page, acquiring a target keyboard layout and a root layout of the current page, and generating a control by the target keyboard layout;
adding the control to the root layout by a control adding method of the root layout so as to display the target keyboard layout on the current page;
after receiving a trigger operation, displaying content in the target keyboard layout corresponding to the trigger operation in the input box;
the obtaining the root layout of the current page specifically comprises the following steps:
and acquiring a parent control of the input box, wherein if the parent control is a control group and the identification of the control group is an android identification, the layout occupied by the parent control is the root layout of the current page.
2. The method of claim 1, wherein the triggering operation comprises clicking on coordinates of the target keyboard layout;
after receiving the triggering operation, displaying the content in the target keyboard layout corresponding to the triggering operation in the input box, wherein the content specifically comprises:
and after receiving the operation of clicking the coordinates of the target keyboard layout, acquiring keyboard information corresponding to the coordinates of the target keyboard layout, and displaying the content corresponding to the keyboard information in the input box.
3. The method according to claim 1, wherein the obtaining the target keyboard layout specifically comprises:
and acquiring the attribute of the input frame, acquiring the identifier of the target keyboard layout according to the attribute of the input frame, and loading the target keyboard layout according to the identifier.
4. A method according to any one of claims 1-3, characterized in that the method further comprises:
and judging whether the target keyboard layout shields the input box, if so, increasing the height of the root layout.
5. The method of claim 4, wherein the determining whether the target keyboard layout obscures the input box, if so, increasing the height of the root layout, specifically comprises:
when the target keyboard layout is positioned 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 is judged, and if so, the root layout is moved to the top of the screen so as to increase the height of the root layout.
6. A method according to any one of claims 1-3, wherein after receiving a triggering operation, before displaying content in the target keyboard layout corresponding to the triggering 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 the triggering operation, displaying the content in the target keyboard layout corresponding to the triggering operation in the input box, wherein the method further comprises the following steps:
and moving the cursor and keeping the cursor flashing when the content in the input box needs to be changed so as to modify the content in the input box.
7. A vehicle-mounted system, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the information display method according to any one of claims 1 to 6.
8. A computer-readable storage medium, in which computer instructions are stored which, when executed by a processor, are adapted to carry out the information display method according to any one of claims 1 to 6.
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 CN114675905A (en) 2022-06-28
CN114675905B true 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
CN114675905A (en) 2022-06-28

Similar Documents

Publication Publication Date Title
US10140014B2 (en) Method and terminal for activating application based on handwriting input
US9317201B2 (en) Predictive virtual keyboard
US20150121312A1 (en) Shortcut operation method and device, mobile terminal and storage medium
US20110320978A1 (en) Method and apparatus for touchscreen gesture recognition overlay
US11157165B2 (en) Permanent synchronization system for handwriting input
CN106527818A (en) Control method and device for touch operation on mobile terminal, and mobile terminal
CN105068726B (en) Information processing method and terminal
US20130268853A1 (en) Mobile terminal comprising a man/machine interface
CA2874394C (en) Methods, controllers and devices for assembling a word
CN103577079A (en) Method for achieving interaction between user and application in electronic device and electronic device
CN104850319A (en) Method and device for dynamically adjusting icon on touch screen
CN112631591B (en) Method, apparatus, device and computer readable storage medium for table element linkage
CN107765966A (en) Event triggering method, device, intelligent terminal and storage medium based on picture
CN108984089B (en) Touch operation method and device, storage medium and electronic equipment
CN110568990B (en) Screen splitting method and device, electronic equipment and storage medium
CN107220377B (en) Search method, electronic device, and computer storage medium
CN109542569A (en) Method, apparatus, terminal and the storage medium of display language are set
JP2005520228A (en) System and method for providing prominent image elements in a graphical user interface display
CN111881703A (en) Graphic code identification method and device and electronic equipment
CN105022583A (en) Locking method and apparatus for touch screen
CN114675905B (en) Information display method, vehicle-mounted system and readable storage medium
CN107391021A (en) Recognition methods, device, storage medium and the mobile terminal of blank screen gesture
CN106775738A (en) The upgrade tip method and mobile terminal of application program
CN107168549B (en) Input method, display device and computer-readable storage medium
CN106293386B (en) A kind of method and mobile terminal of hide application program

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