CN106843643B - Page processing method and mobile terminal - Google Patents

Page processing method and mobile terminal Download PDF

Info

Publication number
CN106843643B
CN106843643B CN201611256594.8A CN201611256594A CN106843643B CN 106843643 B CN106843643 B CN 106843643B CN 201611256594 A CN201611256594 A CN 201611256594A CN 106843643 B CN106843643 B CN 106843643B
Authority
CN
China
Prior art keywords
page
target
area
mobile terminal
page area
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
CN201611256594.8A
Other languages
Chinese (zh)
Other versions
CN106843643A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201611256594.8A priority Critical patent/CN106843643B/en
Priority to PCT/CN2017/079944 priority patent/WO2018120492A1/en
Publication of CN106843643A publication Critical patent/CN106843643A/en
Application granted granted Critical
Publication of CN106843643B publication Critical patent/CN106843643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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
    • 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/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a page processing method and a mobile terminal. The method comprises the following steps: when the mobile terminal displays a page, receiving a designated operation direction of a knob sent by the vehicle-mounted equipment; acquiring a target page area identifier corresponding to the designated operation direction according to the designated operation direction, the currently displayed page area and a preset page partition structure; acquiring default focus controls in target page areas corresponding to the target page area identifications according to the default focus controls of the preset page areas; and displaying the target page area by taking the default focus control as a target focus according to the target page area identification and the corresponding default focus control. According to the technical scheme, the page displayed by the mobile terminal can be operated according to the area according to the specified operation direction of the vehicle-mounted equipment, so that the page operation efficiency of the mobile terminal can be effectively improved.

Description

Page processing method and mobile terminal
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of communications technologies, and in particular, to a page processing method and a mobile terminal.
[ background of the invention ]
With the development of science and technology, the quantity of automobiles kept in various places is rapidly increased, and vehicles become the most basic transportation tools for people to go out.
With the popularization of mobile terminals, users can use the mobile terminals when driving vehicles to go out conveniently. In the prior art, the mobile terminal is connected with the vehicle-mounted equipment, so that partial functions of the mobile terminal can be conveniently used on the vehicle-mounted equipment, and therefore, a user can directly control the mobile terminal through the vehicle-mounted equipment in the driving process, and the driving safety is improved. For example, an interface displayed on a screen of a mobile terminal may be projected in the form of a video on a screen of an in-vehicle device, as driven by technical demands. However, in the prior art, screens of vehicle-mounted devices of vehicle machines of many high-end vehicle models are non-touch screens. A user cannot operate a page displayed on a screen of the vehicle-mounted equipment in a mode of manually touching the screen; but only by a Knob (Knob) below the vehicle machine and other related keys.
However, when a user operates a page displayed on a screen of the car-mounted device through a knob or some other corresponding keys, the displayed page can only be operated as a whole, which results in low operation efficiency.
[ summary of the invention ]
The invention provides a page processing method and a mobile terminal, which are used for improving the operation efficiency.
The invention provides a page processing method, which comprises the following steps:
when the mobile terminal displays a page, receiving a designated operation direction of a knob sent by the vehicle-mounted equipment;
acquiring a target page area identifier corresponding to the designated operation direction according to the designated operation direction, the currently displayed page area and a preset page partition structure;
acquiring default focus controls in target page areas corresponding to the target page area identifications according to preset default focus controls of all the page areas;
and displaying the target page area by taking the default focus control as a target focus according to the target page area identification and the corresponding default focus control.
Further optionally, as in the foregoing method, after the target page area is displayed with the default focus control as the target focus according to the target page area identifier and the corresponding default focus control, the method further includes:
and sending the target page area with the default focus control as a target focus when displaying to the vehicle-mounted equipment, so that the vehicle-mounted equipment can display the target page area with the default focus control as the target focus.
Further optionally, in the method, before obtaining, according to the designated operation orientation, the currently displayed page area, and a preset page partition structure, a target page area identifier corresponding to the designated operation orientation, the method further includes:
when a page is initialized, dividing the page into at least two page areas;
setting page area identification for each page area of the at least two page areas of the page;
and generating the preset page partition structure according to the area identification of each page area of the page and the relative position of each page area in the page.
Further optionally, as in the above method, when the page is initialized, after the page is divided into at least two page areas, before the target page area is displayed with the default focus control as a target focus according to the target page area identifier and the corresponding default focus control, the method further includes:
and setting the default focus control for each page area of the at least two page areas in the page.
Further optionally, as in the method described above, after dividing the page into at least two page areas during initialization of the page, the method further includes:
arranging all controls in each page area of the at least two page areas in the page according to a position sequence to obtain a control sequence of each page area.
Further optionally, as in the method described above, after arranging all the controls in each of the page areas of the at least two page areas in the page according to the position order to obtain a control sequence of each of the page areas, the method further includes:
receiving the rotation direction of the knob sent by the vehicle-mounted equipment;
updating a target focus control according to the currently displayed target page area, the control sequence of the target page area, the currently displayed focus control and the rotation direction;
and updating and displaying the target page area by taking the updated target focus control as a target focus.
Further optionally, in the method, when the page is initialized, dividing the page into at least two page areas specifically includes:
and when the page is initialized, dividing the page into at least two page areas according to the type of each control in the page and the position of each control in the page.
The present invention also provides a mobile terminal, comprising:
the receiving module is used for receiving the appointed operation direction of the knob sent by the vehicle-mounted equipment when the mobile terminal displays a page;
the page area acquisition module is used for acquiring a target page area identifier corresponding to the specified operation direction according to the specified operation direction, the currently displayed page area and a preset page partition structure;
the focus control acquisition module is used for acquiring default focus controls in target page areas corresponding to the target page area identifications according to the default focus controls of the preset page areas;
and the display module is used for displaying the target page area by taking the default focus control as a target focus according to the target page area identification and the corresponding default focus control.
Further optionally, as described above, in the mobile terminal, the method further includes:
and the sending module is used for sending the target page area which takes the default focus control as a target focus when displaying to the vehicle-mounted equipment so that the vehicle-mounted equipment can display the target page area by taking the default focus control as the target focus.
Further optionally, as described above, in the mobile terminal, the method further includes:
the dividing module is used for dividing the page into at least two page areas when the page is initialized;
a setting module, configured to set a page area identifier for each of the at least two page areas of the page;
and the generating module is used for generating the preset page partition structure according to the area identification of each page area of the page and the relative position of each page area in the page.
Further optionally, as in the mobile terminal described above, the setting module is further configured to set the default focus control for each of the at least two page areas in the page.
Further optionally, as described above, in the mobile terminal, the method further includes:
and the arranging module is used for arranging all the controls in each page area of the at least two page areas in the page according to the position sequence to obtain a control sequence of each page area.
Further optionally, as in the above mobile terminal, the receiving module is further configured to receive the rotation direction of the knob sent by the vehicle-mounted device;
the focus control obtaining module is further configured to update a target focus control according to the currently displayed target page area, the control sequence of the target page area, the currently displayed focus control, and the rotation direction;
and the display module is further used for updating and displaying the target page area by taking the updated target focus control as a target focus.
Further optionally, as described above, in the mobile terminal, the dividing module is specifically configured to, when the page is initialized, divide the page into at least two page areas according to the type of each control in the page and the position of each control in the page.
According to the page processing method and the mobile terminal, when the mobile terminal displays the page, the appointed operation direction of the knob sent by the vehicle-mounted equipment is received; acquiring a target page area identifier corresponding to the designated operation direction according to the designated operation direction, the currently displayed page area and a preset page partition structure; acquiring default focus controls in target page areas corresponding to the target page area identifications according to the default focus controls of the preset page areas; and displaying the target page area by taking the default focus control as a target focus according to the target page area identification and the corresponding default focus control. Compared with the prior art, a plurality of different areas of the page can be operated to emphatically display each area of the page; meanwhile, the display focus can be ensured not to be lost, and the display definition is ensured. Therefore, according to the technical scheme of the embodiment, the page displayed by the mobile terminal can be operated according to the area according to the specified operation direction of the vehicle-mounted equipment, so that the page operation efficiency of the mobile terminal can be effectively improved.
[ description of the drawings ]
FIG. 1 is a flowchart of an embodiment of a page processing method of the present invention.
FIG. 2 is a diagram illustrating a page partition structure in the page processing method according to the present invention.
Fig. 3 is a schematic diagram of a knob of an on-vehicle device according to an embodiment of the present invention.
Fig. 4 is a block diagram of a mobile terminal according to a first embodiment of the present invention.
Fig. 5 is a block diagram of a second embodiment of the mobile terminal of the present invention.
Fig. 6 is a block diagram of a third embodiment of the mobile terminal of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The page processing method provided by the embodiment of the invention is applied between the mobile terminal and the vehicle-mounted equipment. The vehicle-mounted equipment of the embodiment can be understood as equipment which is arranged on a vehicle machine and integrated with the vehicle machine. In a scene to which the page processing method of the embodiment of the invention is applied, the mobile terminal and the vehicle-mounted device can be transmitted in a wired manner, for example, communication can be performed in two manners of EA session and EA Native Transport based on iap2 protocol. Or the mobile terminal and the vehicle-mounted device of the embodiment of the invention can also adopt a Universal Serial Bus (USB) for wired connection. The wired connection between the sending end equipment and the receiving end equipment of the embodiment of the invention adopts the vehicle-machine interconnection communication protocol to carry out message transmission. In this embodiment, the sending end device and the receiving end device may also perform message transmission by using a vehicle-mounted device interconnection communication protocol in a wireless connection manner, and a specific wireless connection manner is not limited in this embodiment. In the embodiment of the invention, a name of a vehicle-mounted device interconnection communication protocol may be defined as CarLife, and CarLife may be understood as a communication protocol for message transmission between a mobile terminal and a vehicle-mounted device defined in the application, and the protocol supports that a USB is adopted for communication between the mobile terminal and the vehicle-mounted device. When the technical scheme of the embodiment of the invention is used, CarLife applications can be installed on both sides of the mobile terminal and the vehicle-mounted equipment, so that both sides of the mobile terminal and the vehicle-mounted equipment support vehicle-mounted machine interconnection communication, and when the mobile terminal and the vehicle-mounted equipment are connected, the mobile terminal and the vehicle-mounted equipment perform message transmission through the CarLife, so that the page is transmitted to the vehicle-mounted equipment by the mobile terminal and displayed on the side of the vehicle-mounted equipment.
In the embodiment of the invention, when the message transmission is carried out by adopting the CarLife vehicle-machine interconnection communication protocol, the types of the content of the message which can be transmitted comprise a control message and a multimedia message. In order to further increase the accuracy of message transmission according to the message content, the control messages in the embodiment of the present invention may be further divided into two types, namely control messages and anti-control messages. For example, the control message of the embodiment of the present invention may be a control message for controlling the vehicle-mounted device to open/close an air conditioner of the vehicle or open/close a sunroof of the vehicle; and the vehicle-mounted equipment can also control the mobile terminal to make a call or read information of the mobile terminal and other control messages. The control message of the embodiment of the present invention may further include at least one of vehicle data, a bluetooth auto-pairing message, a video initialization message, and the like. The anti-control message of the embodiment of the invention can comprise an anti-control message such as a touch event or a key event at the vehicle side, which is sent to the mobile terminal by the vehicle-mounted equipment. To further increase the accuracy of transmitting messages according to the message content, the multimedia messages of the embodiments of the present invention may be divided into video messages, audio messages, and voice messages. For example, the video message according to the embodiment of the present invention may be video encoded data transmitted by the mobile terminal to the vehicle-mounted device, and after the mobile terminal and the vehicle-mounted device communicate with each other through the USB, the mobile terminal needs to project information displayed on a screen onto the vehicle-mounted device in real time in the form of a video. I.e. the video message comprises video encoding data of the screen of the mobile terminal. The audio information of the embodiment of the present invention may be Media audio stream such as music data, or may also be audio stream for transmitting Text To Speech (TTS) such as navigation voice broadcast data. For example, Pulse Code Modulation (PCM) streams may be used for mobile terminals to transmit music and navigation voice broadcasts, respectively, to in-vehicle devices. The voice message of the embodiment of the invention can be user voice data recorded by a vehicle microphone (mic) transmitted to the mobile terminal by the vehicle-mounted equipment.
For each type of message content, the corresponding message structure is different, and the data channels adopted in message transmission are different. As described above, the message content in this embodiment may include five types of control messages, video messages, audio messages, voice messages, and anti-control messages, and each type of message has its corresponding data structure and a corresponding data channel during message transmission. Namely, five types of data channels are correspondingly arranged in the car life machine interconnection communication protocol: a control message data channel, a video message data channel, an audio message data channel, a voice message data channel, and an anti-control message data channel.
Based on the above-mentioned car life machine interconnection communication protocol, the mobile terminal can project the page displayed on the screen of the mobile terminal onto the screen of the vehicle-mounted terminal in real time, but the screen of the vehicle-mounted device in the embodiment of the present invention is a non-touch screen, and does not support the operation of a vehicle user by touching the screen; but only manually by means of the Knob or some keys. Thus, the vehicle-mounted device can only operate the pages displayed by the mobile terminal as a whole, such as moving left, moving right, moving up or moving down, and cannot operate the pages, which results in low operation efficiency.
FIG. 1 is a flowchart of an embodiment of a page processing method of the present invention. As shown in fig. 1, the page processing method of this embodiment may specifically include the following steps:
100. when the mobile terminal displays a page, receiving a designated operation direction of a knob sent by the vehicle-mounted equipment;
101. acquiring a target page area identifier corresponding to the designated operation direction according to the designated operation direction, the currently displayed page area and a preset page partition structure;
102. acquiring default focus controls in target page areas corresponding to the target page area identifications according to the default focus controls of the preset page areas;
103. and displaying the target page area by taking the default focus control as a target focus according to the target page area identification and the corresponding default focus control.
The main execution body of the page processing method of the embodiment is the mobile terminal. That is, the page processing method of the present embodiment describes, on the mobile terminal side, how the mobile terminal processes the page according to the operation of the user on the in-vehicle device side. In this embodiment, when the mobile terminal displays a page, the mobile terminal projects the displayed page onto the screen of the vehicle-mounted device through wired connection with the vehicle-mounted device to display the page. When the user specifies the operation orientation by the Knob of the in-vehicle apparatus, for example, the specified operation orientation may be upward, downward, leftward or rightward. That is, the Knob of the present embodiment is similar to a rotatable rocker, and can realize operations of pushing up, pushing down, pushing left, and pushing right in addition to left rotation and right rotation, thereby realizing selection switching of the page area. When the page processing method of this embodiment is used, it is preferable that an operating system on the mobile terminal is an android (android) system. In practical application, the method can be suitable for mobile terminals loaded with other operating systems according to requirements.
The preset page partition structure of this embodiment is a page partition structure obtained by partitioning a page when the page is initialized. FIG. 2 is a diagram illustrating a page partition structure in the page processing method according to the present invention. As shown in fig. 2, the page partition structure of the present embodiment takes the example that the page is divided into five page areas, i.e. upper, lower, left, right and middle; in practical application, the page partition structure may be divided into two, three or more according to practical requirements. In the page partition structure, each page area can be represented by a page area identifier, for example, five page areas, i.e. the upper, lower, left, right and middle page areas shown in fig. 2, can be represented by 1, 2, 3, 4 and 5, respectively; a, B, C, D and E can also be used to represent page areas in practical applications; alternatively, other identifiers may be used to represent the page area, which is not illustrated here. In this embodiment, one, two, or more controls, not shown in fig. 2, may be included in each of the page areas. In the embodiment, the partition structure can be divided according to the currently displayed page area and the preset page; determining the position of the currently displayed page area in a preset page partition structure, and determining other adjacent page areas around the currently displayed page area; and further determining which of the adjacent page areas around the currently displayed page area is a target page area corresponding to the designated operation azimuth according to the designated operation azimuth, thereby determining and acquiring the identification of the target page area corresponding to the designated operation azimuth. For example, if the currently displayed page area is the page area 3 in fig. 2, when the designated operation direction is upward, the corresponding target page area is 1; if the designated operation direction is downward, the corresponding target page area is 2; if the designated operation direction is towards the left, the corresponding target page area is 4; if the designated operation direction is rightward, the corresponding target page area is 5. If the currently displayed page area is the page area 1 in fig. 2, only when the designated operation orientation is downward, the currently displayed page area has a corresponding target page area 3; and when the designated operation direction is other, no corresponding target page area exists. Therefore, when the designated operation orientation is the designated operation orientation in the other direction, the page display area is not adjusted at this time. In addition, in this embodiment, the specified operation direction of the knob sent by the vehicle-mounted device may be specifically represented by a character, or may be represented by a code, for example, 01 may be used to represent the direction upwards; and 02 represents downward; 03 is taken to indicate left; the use of 04 indicates to the right. Alternatively, other identifiers may be used to indicate the designated operational orientation in actual practice.
In practical application, in order to avoid a focus loss during page display, each page area may be assigned to a default focus control, so that when switching to the page area, the page area is displayed with the default focus control as a target focus. Specifically, in this embodiment, when the target page area identifier is obtained, a default focus control in the target page area corresponding to the target page area identifier may be obtained according to a preset default focus control of each page area; and finally, according to the target page area identification and the corresponding default focus control, displaying the target page area by taking the default focus control as a target focus. Therefore, the page processing method of the embodiment can realize the control of the display of the page of the mobile terminal according to the operation of the Knob of the vehicle-mounted device, thereby improving the efficiency of the page operation of the mobile terminal.
According to the page processing method, when the mobile terminal displays the page, the appointed operation direction of the knob sent by the vehicle-mounted equipment is received; acquiring a target page area identifier corresponding to the designated operation direction according to the designated operation direction, the currently displayed page area and a preset page partition structure; acquiring default focus controls in target page areas corresponding to the target page area identifications according to the default focus controls of the preset page areas; and displaying the target page area by taking the default focus control as a target focus according to the target page area identification and the corresponding default focus control. Compared with the prior art, a plurality of different areas of the page can be operated to emphatically display each area of the page; meanwhile, the display focus can be ensured not to be lost, and the display definition is ensured. Therefore, according to the technical scheme of the embodiment, the page displayed by the mobile terminal can be operated according to the area according to the specified operation direction of the vehicle-mounted equipment, so that the page operation efficiency of the mobile terminal can be effectively improved.
Further optionally, on the basis of the technical solution of the embodiment shown in fig. 1, after the step 103 "display the target page area with the default focus control as the target focus according to the target page area identifier and the corresponding default focus control", the method may further include: and sending the target page area which takes the default focus control as the target focus when displaying to the vehicle-mounted equipment, so that the vehicle-mounted equipment can display the target page area by taking the default focus control as the target focus.
In this embodiment, the vehicle-mounted device and the mobile terminal are connected by a wire, and a page displayed on a screen of the mobile terminal can be projected to one side of the vehicle-mounted device in real time in a video mode, so that the vehicle-mounted device can display information on the screen, the information being the same as the content displayed on the screen of the mobile terminal. Therefore, in this embodiment, when the mobile terminal displays the target page area with the default focus control as the target focus according to the specified operation orientation of the vehicle-mounted device, the target page area with the default focus control as the target focus when displaying needs to be sent to the vehicle-mounted device in time, so that the vehicle-mounted device displays the target page area with the default focus control as the target focus.
Further optionally, on the basis of the technical solution of the embodiment shown in fig. 1, before "obtaining the target page area identifier corresponding to the designated operation orientation according to the designated operation orientation, the currently displayed page area and the preset page partition structure" in step 101, the following steps may also be included:
(a1) when the page is initialized, the page is divided into at least two page areas;
in this embodiment, when the page is first opened, the page needs to be initialized, and the page is divided into at least two page areas, so that the multiple controls in the page are also divided according to the page areas and distributed in different page areas. When the page is divided specifically, the page can be divided according to the page display rule. For example, the page may be divided according to the same content or the same type in one region when being displayed. For example, some pages can be divided into five page areas, namely, upper, lower, left, right and middle pages, and some pages can be displayed in time division and can be divided into two page areas, namely, left and right pages or upper and lower pages. Or the page can be divided into a plurality of page areas according to other page display rules. Specifically, when a page is divided, the types of the controls in the page can be referred to, and because the controls with the same type are distributed in the same area under normal conditions, when the page is divided, the page can be divided into at least two page areas according to the types of the controls in the page and the positions of the controls in the page; therefore, the control pieces which belong to the same type at the adjacent positions of the areas are divided into the same area. The types of the control described in this embodiment may include ListView, GridView, ScrollView, or ViewPager. (a2) Setting a page area identifier for each page area of at least two page areas of a page;
and setting page area identifiers for each divided page area to identify each page area.
(a3) And generating a preset page partition structure according to the area identification of each page area of the page and the relative position of each page area in the page.
According to the above steps, the page area identifier of each page area and the relative position of each page area in the page may be obtained, for example, the preset page partition structure may be similar to the structure shown in fig. 2.
Further optionally, on the basis of the technical solution of the foregoing embodiment, after the step (a1) "when the page is initialized, the page is divided into at least two page areas", and before the step 103 "displays the target page area with the default focus control as the target focus according to the target page area identifier and the corresponding default focus control", the method may further include: and setting a default focus control for each page area of at least two page areas in the page.
In order to ensure that the focus can be obtained in time when each page area is displayed separately, in this embodiment, a default focus control needs to be set for each page area of at least two page areas in the page. Therefore, when the mobile terminal displays the target page area according to the designated operation direction sent by the vehicle-mounted equipment, the focus of the target page area can be acquired in time. The default focus control of this embodiment may be a control in the middle of the page area, or may also be the first visible control in the page area. For example, when a user generally browses a page region, the user is accustomed to viewing from left to right and from top to bottom, and the default focus control of this embodiment may also be a control in the upper left corner of the page region. Or the default focus control of the page area may be set in other manners.
Moreover, when the page is initially set, a certain bottom-pocking policy needs to be set to prevent the focus of the page from being lost, for example, when the mobile terminal displays a certain page region, the focus cannot be found, at this time, the bottom-pocking policy may be adopted, and when the mobile terminal cannot acquire the focus, the region to be displayed and a control in the region may be set as the display focus in the bottom-pocking policy to prevent the focus from being lost. The control set by the bottom-pocking policy as the display focus may be set according to actual requirements, for example, a certain control located at the bottommost portion of the page may be used as the control in the bottom-pocking policy as the display focus; or a control with the highest focus or highest access frequency in the page can be used as a control for displaying the focus; or other strategies may also be adopted to set the control for displaying the focus in the bottom-pocketing strategy, which is not described in detail herein.
Therefore, further optionally, in the page processing method of this embodiment, the method may further include: when the mobile terminal acquires the target page area identification according to the designated operation direction of the knob sent by the vehicle-mounted equipment and cannot acquire the default focus control in the target page area corresponding to the target page identification, the bottom-holding strategy is directly adopted, and the control for displaying the focus in the bottom-holding strategy is used as the displayed focus to display the area where the control is located.
Further optionally, on the basis of the technical solution of the foregoing embodiment, after the step (a1) "when the page is initialized, dividing the page into at least two page areas", the method may further include: arranging all controls in each page area of at least two page areas in the page according to the position sequence to obtain a control sequence of each page area.
In this embodiment, the control sequence of each page area may be set according to a default display order of each control in the page area, for example, when a user views a page area, the user is accustomed to viewing from top to bottom and from left to right. Therefore, in this embodiment, the controls of each page area may be arranged in order from top to bottom and from left to right, so as to define the order of the controls in the page area.
Further optionally, on the basis of the technical solution of the above embodiment, after the step of arranging all the controls in each page area of at least two page areas in the page according to the position order to obtain the control sequence of each page area, "the method may further include the following steps:
(b1) receiving the rotation direction of a knob sent by the vehicle-mounted equipment;
(b2) updating a target focus control according to the currently displayed target page area, the control sequence of the target page area, the currently displayed focus control and the rotating direction;
(b3) and updating the display target page area by taking the updated target focus control as the target focus.
In this embodiment, the knob on one side of the vehicle-mounted device can support push-up, push-down, left-push and right-push, so that the mobile terminal can switch different page areas according to different operation orientations on the side of the mobile terminal. And the knob can support left rotation and right rotation. For example, when the rotation direction of the knob is left-handed, the vehicle-mounted device sends the left-handed direction to the mobile terminal in an instruction form, and the mobile terminal updates the target focus control according to the currently displayed target page area, the control sequence of the target page area, the currently displayed focus control, and the rotation direction. Specifically, the mobile terminal first acquires a currently displayed target page area, then acquires a currently displayed focus control, and if the rotation direction is left-handed, acquires the currently displayed focus control from a control sequence of the target page area as an updated target focus control. And finally, updating and displaying the target page area by taking the updated target focus control as the target focus. The same applies to the right-hand rotation, which is not described in detail herein. Therefore, according to the technical scheme of the embodiment, the mobile terminal can be switched among different controls during display according to the rotation of the knob, and the use is very convenient. Optionally, in this embodiment, when the target display area is rotated to the foremost end of the control sequence of the target page area, the target focus control is the first of the spatial sequence of the target page area, and if the left rotation is continued, the target focus control of the target display area cannot be changed any more, and at this time, the right rotation is only possible; or the selection of different operation orientations is performed to switch the page area. Similarly, when the control sequence of the target page area reaches the tail end, the target focus control is the last of the space sequence of the target page area, and if the right rotation is continued, the target focus control of the target display area can not be changed any more, and only the left rotation is allowed at the moment; or the selection of different operation orientations is performed to switch the page area.
Fig. 3 is a schematic diagram of a knob of an on-vehicle device according to an embodiment of the present invention. In this embodiment, the knob shown in fig. 3 is taken as an example to describe the page processing technical solution of the present invention. Knob as shown in fig. 3 may be used on a vehicle machine for a running or other high-end vehicle. In this embodiment, the knob may be used to issue different operation instructions, so that the mobile terminal may issue an operation instruction according to the knob to perform corresponding page processing. The knob may support the following operations:
1) short press: indicating a confirmation operation;
2) long press: for example, a map may be activated and dragged for a map page;
3) push up/down/left/right: the page area switching method is used for switching different page areas, for example, the switching between a function area and a menu area can be realized, or the switching between different function areas and different menu areas can be realized;
4) rotating: the device is used for realizing the movement of the display focus in the same page area and can move in a closed loop mode;
e.g., clockwise (right) rotation: moving to the right; or for moving up in the list;
e.g., counterclockwise (left) rotation: moving to the left; it may also be an in-list move down;
5) returning to the arrow: the system indicates that the system always returns to the upper layer and the menu until the home page, and then the CarLife application can be quitted according to the return;
6) c bond: can be customized.
Compared with the prior art, the technical scheme of the embodiment can operate a plurality of different areas of the page to emphatically display each area of the page; meanwhile, the display focus can be ensured not to be lost, and the display definition is ensured. Therefore, according to the technical scheme of the embodiment, the page displayed by the mobile terminal can be operated according to the area according to the specified operation direction of the vehicle-mounted equipment; meanwhile, according to the technical scheme of the embodiment, the controls of different display focuses in the same page display area can be switched according to the rotation direction of the knob. Therefore, the technical scheme of the embodiment not only can effectively improve the efficiency of page operation of the mobile terminal, but also can effectively enrich the display effect of the page area.
Fig. 4 is a block diagram of a mobile terminal according to a first embodiment of the present invention. As shown in fig. 4, the mobile terminal of this embodiment may specifically include: the device comprises a receiving module 10, a page area acquiring module 11, a focus control acquiring module 12 and a display module 13.
The receiving module 10 is used for receiving the specified operation direction of the knob sent by the vehicle-mounted equipment when the mobile terminal displays a page; the page area obtaining module 11 is configured to obtain a target page area identifier corresponding to the designated operation orientation according to the designated operation orientation received by the receiving module 10, the currently displayed page area and the preset page partition structure; the focus control obtaining module 12 is configured to obtain, according to a preset focus control of each page area, a default focus control in a target page area corresponding to the target page area identifier obtained by the page area obtaining module 11; the display module 13 is configured to display the target page area with the default focus control as the target focus according to the target page area identifier acquired by the page area acquisition module 11 and the corresponding default focus control acquired by the focus control acquisition module 12.
The implementation principle and technical effect of implementing page processing by using the module of the mobile terminal of this embodiment are the same as those of the related method embodiment, and details of the related method embodiment may be referred to, and are not described herein again.
Fig. 5 is a block diagram of a second embodiment of the mobile terminal of the present invention. As shown in fig. 5, the mobile terminal of this embodiment further introduces the technical solution of the present invention in more detail on the basis of the technical solution of the embodiment shown in fig. 4.
As shown in fig. 5, the mobile terminal of this embodiment may further include a sending module 14. The sending module 14 is configured to send, to the vehicle-mounted device, the target page area that takes the default focus control as the target focus when being displayed by the display module 13, so that the vehicle-mounted device displays the target page area with the default focus control as the target focus.
Further optionally, as shown in fig. 5, the mobile terminal of this embodiment may further include:
the dividing module 15 is configured to divide the page into at least two page areas when the page is initialized;
the setting module 16 is configured to set a page area identifier for each page area of at least two page areas of the page obtained by dividing by the dividing module 15;
the generating module 17 is configured to generate a preset page partition structure according to the area identifier of each page area of the page set by the setting module 16 and the relative position of each page area in the page.
Correspondingly, the page area obtaining module 11 is configured to obtain a target page area identifier corresponding to the specified operation orientation according to the specified operation orientation received by the receiving module 10, the currently displayed page area, and the preset page partition structure generated by the generating module 17.
Further optionally, in the mobile terminal of this embodiment, the setting module 16 is further configured to set a default focus control for each page area of at least two page areas in the page.
Further optionally, as shown in fig. 5, the mobile terminal of this embodiment may further include:
the arranging module 18 is configured to arrange all the controls in each page area of at least two page areas in the page obtained by dividing by the dividing module 15 according to the position order, so as to obtain a control sequence of each page area.
Further optionally, in the mobile terminal of this embodiment, the receiving module 10 is further configured to receive a rotation direction of a knob sent by the vehicle-mounted device;
the focus control obtaining module 12 is further configured to update the target focus control according to the currently displayed target page area, the control sequence of the target page areas arranged by the arranging module 18, the currently displayed focus control, and the rotation direction received by the receiving module 10;
the display module 13 is further configured to update the display target page area with the target focus control updated by the focus control obtaining module 12 as the target focus.
Further optionally, in the mobile terminal of this embodiment, the dividing module 15 is specifically configured to, when the page is initialized, divide the page into at least two page areas according to the type of each control in the page and the position of each control in the page.
The implementation principle and technical effect of implementing page processing by using the module of the mobile terminal of this embodiment are the same as those of the related method embodiment, and details of the related method embodiment may be referred to, and are not described herein again.
The method provided by the embodiment of the invention can also be embodied in a computer program arranged and run in the mobile terminal. As shown in fig. 6, the mobile terminal may include one or more processors 800, further include a memory 801 and one or more programs, and the embodiment shown in fig. 6 includes one processor 800 as an example to describe the technical solution of the present invention. Where the one or more programs are stored in memory 801 for execution by the one or more processors 800 to implement the method flows and/or device operations illustrated in the above-described embodiments of the invention. For example, the method flows performed by the one or more processors 800 described above may include:
when the mobile terminal displays a page, receiving a designated operation direction of a knob sent by the vehicle-mounted equipment;
acquiring a target page area identifier corresponding to the designated operation direction according to the designated operation direction, the currently displayed page area and a preset page partition structure;
acquiring default focus controls in target page areas corresponding to the target page area identifications according to preset default focus controls of all the page areas;
and displaying the target page area by taking the default focus control as a target focus according to the target page area identification and the corresponding default focus control.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (14)

1. A page processing method, characterized in that the method comprises:
when the mobile terminal displays a page, receiving a designated operation direction of a knob sent by the vehicle-mounted equipment;
acquiring a target page area identifier corresponding to the designated operation direction according to the designated operation direction, the currently displayed page area and a preset page partition structure;
acquiring default focus controls in target page areas corresponding to the target page area identifications according to preset default focus controls of all the page areas;
and displaying the target page area by taking the default focus control as a target focus according to the target page area identification and the corresponding default focus control.
2. The method of claim 1, wherein after displaying the target page area with the default focus control as a target focus according to the target page area identification and the corresponding default focus control, the method further comprises:
and sending the target page area with the default focus control as a target focus when displaying to the vehicle-mounted equipment, so that the vehicle-mounted equipment can display the target page area with the default focus control as the target focus.
3. The method according to claim 1 or 2, wherein before acquiring the target page area identifier corresponding to the designated operation orientation according to the designated operation orientation, the currently displayed page area and a preset page partition structure, the method further comprises:
when a page is initialized, dividing the page into at least two page areas;
setting page area identification for each page area of the at least two page areas of the page;
and generating the preset page partition structure according to the area identification of each page area of the page and the relative position of each page area in the page.
4. The method according to claim 3, wherein when the page is initialized, after the page is divided into at least two page areas, before the target page area is displayed with the default focus control as a target focus according to the target page area identifier and the corresponding default focus control, the method further comprises:
and setting the default focus control for each page area of the at least two page areas in the page.
5. The method of claim 3, wherein the page initialization is performed after dividing the page into at least two page areas, the method further comprising:
arranging all controls in each page area of the at least two page areas in the page according to a position sequence to obtain a control sequence of each page area.
6. The method according to claim 5, wherein after arranging all the controls in each of the at least two page areas in the page in a positional order to obtain a control sequence of each of the page areas, the method further comprises:
receiving the rotation direction of the knob sent by the vehicle-mounted equipment;
updating a target focus control according to the currently displayed target page area, the control sequence of the target page area, the currently displayed focus control and the rotation direction;
and updating and displaying the target page area by taking the updated target focus control as a target focus.
7. The method according to claim 3, wherein the dividing of the page into at least two page areas during initialization of the page specifically comprises:
and when the page is initialized, dividing the page into at least two page areas according to the type of each control in the page and the position of each control in the page.
8. A mobile terminal, characterized in that the mobile terminal comprises:
the receiving module is used for receiving the appointed operation direction of the knob sent by the vehicle-mounted equipment when the mobile terminal displays a page;
the page area acquisition module is used for acquiring a target page area identifier corresponding to the specified operation direction according to the specified operation direction, the currently displayed page area and a preset page partition structure;
the focus control acquisition module is used for acquiring default focus controls in target page areas corresponding to the target page area identifications according to the default focus controls of the preset page areas;
and the display module is used for displaying the target page area by taking the default focus control as a target focus according to the target page area identification and the corresponding default focus control.
9. The mobile terminal of claim 8, wherein the mobile terminal further comprises:
and the sending module is used for sending the target page area which takes the default focus control as a target focus when displaying to the vehicle-mounted equipment so that the vehicle-mounted equipment can display the target page area by taking the default focus control as the target focus.
10. The mobile terminal according to claim 8 or 9, characterized in that the mobile terminal further comprises:
the dividing module is used for dividing the page into at least two page areas when the page is initialized;
a setting module, configured to set a page area identifier for each of the at least two page areas of the page;
and the generating module is used for generating the preset page partition structure according to the area identification of each page area of the page and the relative position of each page area in the page.
11. The mobile terminal of claim 10, wherein the setting module is further configured to set the default focus control for each of the at least two page areas in the page.
12. The mobile terminal of claim 10, wherein the mobile terminal further comprises:
and the arranging module is used for arranging all the controls in each page area of the at least two page areas in the page according to the position sequence to obtain a control sequence of each page area.
13. The mobile terminal of claim 12, wherein:
the receiving module is further used for receiving the rotation direction of the knob sent by the vehicle-mounted equipment;
the focus control obtaining module is further configured to update a target focus control according to the currently displayed target page area, the control sequence of the target page area, the currently displayed focus control, and the rotation direction;
and the display module is further used for updating and displaying the target page area by taking the updated target focus control as a target focus.
14. The mobile terminal according to claim 13, wherein the dividing module is specifically configured to, when the page is initialized, divide the page into at least two page areas according to a type of each control in the page and a position of each control in the page.
CN201611256594.8A 2016-12-30 2016-12-30 Page processing method and mobile terminal Active CN106843643B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611256594.8A CN106843643B (en) 2016-12-30 2016-12-30 Page processing method and mobile terminal
PCT/CN2017/079944 WO2018120492A1 (en) 2016-12-30 2017-04-10 Page processing method, mobile terminal, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611256594.8A CN106843643B (en) 2016-12-30 2016-12-30 Page processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106843643A CN106843643A (en) 2017-06-13
CN106843643B true CN106843643B (en) 2020-04-28

Family

ID=59113844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611256594.8A Active CN106843643B (en) 2016-12-30 2016-12-30 Page processing method and mobile terminal

Country Status (2)

Country Link
CN (1) CN106843643B (en)
WO (1) WO2018120492A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341016B (en) * 2017-06-30 2020-09-04 百度在线网络技术(北京)有限公司 Focus state implementation method and device under split screen mechanism, terminal and storage medium
CN109660844B (en) * 2017-10-12 2021-07-23 腾讯科技(深圳)有限公司 Page operation control method and device, television, set top box and storage medium
CN109857295B (en) * 2018-12-28 2020-12-08 百度在线网络技术(北京)有限公司 Focus control method and device and storage medium
CN109710368B (en) * 2018-12-29 2021-10-22 联想(北京)有限公司 Processing method, device and system
CN109947382A (en) * 2019-03-06 2019-06-28 百度在线网络技术(北京)有限公司 Data display method and equipment
CN110209327A (en) * 2019-05-14 2019-09-06 百度在线网络技术(北京)有限公司 Display interface focus control method, device, system, mobile terminal and medium
CN110703964B (en) * 2019-09-30 2022-06-03 阿波罗智联(北京)科技有限公司 Page cursor position setting method and device, mobile terminal and server
CN111666011B (en) * 2020-06-05 2023-07-07 阿波罗智联(北京)科技有限公司 Page focus display method and device
CN112394869B (en) * 2020-10-16 2022-07-29 腾讯科技(深圳)有限公司 Vehicle-mounted terminal based applet control method, device, equipment and storage medium
CN113613052B (en) * 2021-06-30 2023-02-28 济南浪潮数据技术有限公司 Method, device and equipment for switching focuses of Web pages
CN114666642A (en) * 2022-02-22 2022-06-24 海信视像科技股份有限公司 Display device, split screen control method, and storage medium
CN114968037A (en) * 2022-06-13 2022-08-30 中国第一汽车股份有限公司 Vehicle-mounted terminal interaction method and device, vehicle-mounted terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060015363A (en) * 2004-08-14 2006-02-17 백정호 A/v head unit system capable of remote starting of vehicle engine and control of head unit using mobile terminal
CN102545965A (en) * 2010-12-31 2012-07-04 上海博泰悦臻电子设备制造有限公司 Bluetooth-based mobile phone as well as cooperation processing method and system of vehicle-mounted device
CN102572152A (en) * 2011-12-22 2012-07-11 科世达(上海)管理有限公司 Vehicle-mounted system and bidirectional communication method
CN103347162A (en) * 2013-06-28 2013-10-09 深圳市掌讯通讯设备有限公司 Vehicle-mounted device and smart mobile phone interaction control system and method thereof
CN105407126A (en) * 2014-09-16 2016-03-16 钛马信息网络技术有限公司 System and method for controlling mobile terminal through Bluetooth controller
CN105827710A (en) * 2016-03-31 2016-08-03 百度在线网络技术(北京)有限公司 Control method for cooperative input between vehicle-mounted terminal and mobile terminal, and mobile terminal
CN105933509A (en) * 2016-04-05 2016-09-07 上海博泰悦臻网络技术服务有限公司 Device bidirectional control method, system, vehicle-mounted terminal, control method of vehicle-mounted terminal, and vehicle

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060015363A (en) * 2004-08-14 2006-02-17 백정호 A/v head unit system capable of remote starting of vehicle engine and control of head unit using mobile terminal
CN102545965A (en) * 2010-12-31 2012-07-04 上海博泰悦臻电子设备制造有限公司 Bluetooth-based mobile phone as well as cooperation processing method and system of vehicle-mounted device
CN102572152A (en) * 2011-12-22 2012-07-11 科世达(上海)管理有限公司 Vehicle-mounted system and bidirectional communication method
CN103347162A (en) * 2013-06-28 2013-10-09 深圳市掌讯通讯设备有限公司 Vehicle-mounted device and smart mobile phone interaction control system and method thereof
CN105407126A (en) * 2014-09-16 2016-03-16 钛马信息网络技术有限公司 System and method for controlling mobile terminal through Bluetooth controller
CN105827710A (en) * 2016-03-31 2016-08-03 百度在线网络技术(北京)有限公司 Control method for cooperative input between vehicle-mounted terminal and mobile terminal, and mobile terminal
CN105933509A (en) * 2016-04-05 2016-09-07 上海博泰悦臻网络技术服务有限公司 Device bidirectional control method, system, vehicle-mounted terminal, control method of vehicle-mounted terminal, and vehicle

Also Published As

Publication number Publication date
CN106843643A (en) 2017-06-13
WO2018120492A1 (en) 2018-07-05

Similar Documents

Publication Publication Date Title
CN106843643B (en) Page processing method and mobile terminal
CN108284840B (en) Autonomous vehicle control system and method incorporating occupant preferences
EP2902241B1 (en) Input device disposed in handle and vehicle including the same
CN103373292B (en) Inter-vehicle information system, information terminal, application executing method
CN104601826B (en) Device customizing based on room and time
CN103765913B (en) Mobile terminal, the image display on vehicle and use its data processing method
US20110225549A1 (en) Content controlapparatus and method thereof
CN104691444A (en) Vehicle-mounted terminal based on electric car and vehicle-mounted terminal system
CN104683401A (en) Vehicle-mounted equipment information display method and system
CN106936981A (en) The apparatus and method of outgoing call in control vehicle
CN114844680B (en) Vehicle control method, apparatus, device, and readable storage medium
CN107643949A (en) Application program switching system and method, storage medium and electronic equipment
CN105711523B (en) Vehicle intelligent terminal, system and information sharing method
CN107077344B (en) Interface for multiple media applications
CN107341158A (en) Information acquisition method, device and the equipment of multimedia file
CN104991788A (en) Application operation method and system
JP2010130552A (en) Remote control system and remote control method
CN106850574B (en) Message transmission method and system, sending end equipment and receiving end equipment
CN113395673A (en) System, in-vehicle device, and information processing method
US20110307835A1 (en) Method for displaying thumbnail group on idle screen and mobile communication terminal
CN102883016A (en) In-vehicle messaging
CN117812099A (en) Data display method, vehicle-mounted system, vehicle and storage medium
CN109584908B (en) Multimedia terminal control method and system
CN114827704A (en) Vehicle-mounted system interaction method with vehicle, storage medium and mobile terminal
CN111309414A (en) User interface integration method and vehicle-mounted device

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