CN107341016A - Focus state implementation method, device, terminal and storage medium under split screen mechanism - Google Patents

Focus state implementation method, device, terminal and storage medium under split screen mechanism Download PDF

Info

Publication number
CN107341016A
CN107341016A CN201710525424.3A CN201710525424A CN107341016A CN 107341016 A CN107341016 A CN 107341016A CN 201710525424 A CN201710525424 A CN 201710525424A CN 107341016 A CN107341016 A CN 107341016A
Authority
CN
China
Prior art keywords
control
focus
monitored
focus state
management device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710525424.3A
Other languages
Chinese (zh)
Other versions
CN107341016B (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.)
Baidu Online Network Technology Beijing Co Ltd
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 CN201710525424.3A priority Critical patent/CN107341016B/en
Publication of CN107341016A publication Critical patent/CN107341016A/en
Application granted granted Critical
Publication of CN107341016B publication Critical patent/CN107341016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3013Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Mathematical Physics (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses the focus state implementation method under a kind of split screen mechanism, device, terminal and storage medium, this method to include:If application program launching to be monitored, the monitor associated with focus state is registered for the application program to be monitored, if the application program to be monitored enters an operation pages, control in the operation pages is added in the focus management device pre-set, and Action Events are monitored by the monitor, if Action Events are triggered, the control in the operation pages is operated by the focus management device, the control being switched to after operation is arranged to focus state.This programme causes more smooth to the operation applied in terminal, while focus state will not lose.

Description

Focus state implementation method, device, terminal and storage medium under split screen mechanism
Technical field
The present embodiments relate to the focus state implementation method under computer technology, more particularly to a kind of split screen mechanism, dress Put, terminal and storage medium.
Background technology
With the development of science and technology, car networking product is increasingly popularized.Terminal device is realized (as used by car networking technology The mobile phone at family) and vehicle device interconnection so that engine end realize more horn of plenty function, mobile phone work(is used such as on vehicle device screen Energy.
In the prior art, when engine end screen uses non-touch screen, it is necessary to use the knob on vehicle, rocking bar and hard Matter button operates to the application content of mobile phone terminal, and the selection of focus is based on the realization of screenshotss method, such a control in operating process The selection existing defects of part focus state are, it is necessary to improve.
The content of the invention
The invention provides focus state implementation method, device, terminal and the storage medium under a kind of split screen mechanism so that right The operation applied in terminal is more smooth, while focus state will not lose.
In a first aspect, the embodiments of the invention provide the focus state implementation method under a kind of split screen mechanism, including:
If application program launching to be monitored, the monitoring associated with focus state is registered for the application program to be monitored Device;
If the application program to be monitored enters an operation pages, the control in the operation pages is added to pre- In the focus management device first set, and Action Events are monitored by the monitor;
If Action Events are triggered, the control in the operation pages is grasped by the focus management device Make, the control being switched to after operation is arranged to focus state.
Second aspect, the embodiment of the present invention additionally provide the focus state realization device under a kind of split screen mechanism, including:
Monitor creation module, if for application program launching to be monitored, for the application program registration to be monitored and The associated monitor of focus state;
Module is monitored in control, if entering an operation pages for the application program to be monitored, by the operation page Control in face is added in the focus management device pre-set, and Action Events is monitored by the monitor;
Focus handover module, for being triggered if Action Events, by the focus management device to the operation page Control in face is operated, and the control being switched to after operation is arranged into focus state.
The third aspect, the embodiment of the present invention additionally provide a kind of terminal, and the terminal includes:One or more processors; Storage device, for storing one or more programs, when one or more of programs are held by one or more of processors OK so that one or more of processors realize the focus state implementation method under foregoing split screen mechanism.
Fourth aspect, the embodiment of the present invention additionally provides a kind of storage medium for including computer executable instructions, described Computer executable instructions when being performed by computer processor for performing the focus state implementation method under a kind of split screen mechanism, This method includes:
If application program launching to be monitored, the monitoring associated with focus state is registered for the application program to be monitored Device;
If the application program to be monitored enters an operation pages, the control in the operation pages is added to pre- In the focus management device first set, and Action Events are monitored by the monitor;
If Action Events are triggered, the control in the operation pages is grasped by the focus management device Make, the control being switched to after operation is arranged to focus state.
Technical scheme provided in an embodiment of the present invention, if application program launching to be monitored, treat that journey is applied in monitoring to be described Sequence registers the monitor associated with focus state, if the application program to be monitored enters an operation pages, by the behaviour Make the control in the page to be added in the focus management device pre-set, and Action Events are supervised by the monitor Listen, if Action Events are triggered, the control in the operation pages is operated by the focus management device, will be grasped The control being switched to after work is arranged to focus state so that and it is more smooth to the operation applied in terminal, while focus state will not lose Lose.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 a are the flow charts of the focus state implementation method under a kind of split screen mechanism provided in an embodiment of the present invention;
Fig. 1 b are the schematic diagrames that focus state is presented after a kind of control provided in an embodiment of the present invention is selected;
Fig. 2 is the flow chart of the focus state implementation method under another split screen mechanism provided in an embodiment of the present invention;
Fig. 3 a are the flow charts of the focus state implementation method under another split screen mechanism provided in an embodiment of the present invention;
Fig. 3 b are a kind of interface schematic diagrams provided in an embodiment of the present invention;
Fig. 4 is the flow chart of the focus state implementation method under another split screen mechanism provided in an embodiment of the present invention;
The structured flowchart of focus state realization device under Fig. 5 split screen mechanism provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is only used for explaining the present invention, rather than limitation of the invention.It also should be noted that for the ease of Describe, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
Fig. 1 a are the flow charts of the focus state implementation method under a kind of split screen mechanism provided in an embodiment of the present invention, this implementation Example realizes control realizes focus state in engine end screen under vehicle device interconnection state method, this method can by terminal device as and car The intelligent terminals such as the connected mobile phone of generator terminal, tablet personal computer perform, and as shown in Figure 1a, the concrete scheme that the present embodiment provides is such as Under:
It is associated with focus state for the application program registration to be monitored if S101, application program launching to be monitored Monitor.
In one embodiment, the mobile terminal device that engine end and user use realizes the network interconnection, wherein, engine end Screen can in real time, synchronously show the image content of mobile terminal, thus achieve and performed by engine end, realize mobile terminal Function, such as GPS navigation, complicated software application, concrete implementation mode uses to be carried out to mobile terminal screen display picture Real-time screenshotss and transmitting to engine end screen are shown, i.e., realize mobile terminal screen and vehicle device by the way of screenshotss mapping End screen is consistent in real time.When user realizes the operation to mobile terminal content using engine end control unit, in vehicle device End screen and mobile terminal screen are needed to be shown the focus chosen, and the control chosen generally is carried out into focus state exhibition Show, be such as highlighted control, equal proportion amplifies focal controls or the control surrounding chosen occurs to surround frame.Such as Fig. 1 b Shown, Fig. 1 b are the schematic diagrames that focus state is presented after a kind of control provided in an embodiment of the present invention is selected, wherein, " follow one's inclinations and listen " After part is selected mutually should control be rendered as focus state.As it was previously stated, the side of screenshotss is used in existing vehicle device mutual contact mode Formula realizes the uniformity mapping of mobile terminal and engine end screen, when realizing control focus state, also uses and is based on mobile terminal Screen-picture mode carries out clicking for focus, can not realize the globality of focus state control, management of overall importance, when user is to movement After terminal carries out other operations, the focus state control previously chosen by engine end will also disappear, it is necessary to user puts selection operation repeatedly, Efficiency is low.
In one embodiment, after interconnection is completed with mobile terminal and engine end, mobile terminal receives the touch-control of user After the transmission instruction unlatching application program for operating or receiving engine end, the monitor being associated with focus state is registered.Specifically, and The associated monitor of focus state includes touch mode change monitor and global focus change monitor, can be in Root View (rootView) registered in.Exemplary:
If S102, the application program to be monitored enter an operation pages, the control in the operation pages is added It is added in the focus management device pre-set, and Action Events are monitored by the monitor.
In one embodiment, when entering an operation pages, it will need to realize the control of focus state in the operation pages Part is added in focus management device, wherein it is desired to realize that the control of focus state is understood automatic identification after program starts compiling and (can had Programming personnel sets in programming process, can also be and is arranged to need to realize focus state by the control that can be selected in control Control, such as button control, Input).Specifically, the implementation that deposit focus management device is set in control can be with It is:
S103, if Action Events are triggered, the control in the operation pages is entered by the focus management device Row operation, focus state is arranged to by the control being switched to after operation.
In one embodiment, the monitoring of monitor progress focal variation is changed by the global focus registered in S101, The producing method of the focal variation can be the manual control that user is carried out to engine end, such as pass through the rotation near vehicle centre console Button, rocking bar or handwriting pad are controlled.By monitoring Action Events, when there are Action Events, according to the operation Event carries out corresponding control switching.Specifically, implementation can be:
@Override
public void onGlobalFocusChanged(View oldFocus,View newFocus){
// monitor the change of application interior global focus }
Due to the control for needing to realize focus state in the page is added into Jiao successively when the page initializes in this programme It is managed in point manager to realize the focus state of control so that user's control in terminal applies is clicked, operated more Add smooth, conveniently, while focus state will not lose because of user to the operation of terminal.
Fig. 2 is the flow chart of the focus state implementation method under another split screen mechanism provided in an embodiment of the present invention, upper On the basis of stating embodiment, optionally, after the control being switched to is arranged into focus state, in addition to:
If when changing monitor by touch mode and listening to touch mode and change, judging the focus state of control is No loss, if lost, touch mode is switched into focus morphotype formula, and the control for being finally at focus state is once again set up For focus state.
Thus, avoid user to mobile terminal carry out split screen operation after, cause focus state control lose the problem of.
Based on above-mentioned optimization, as shown in Fig. 2 the technical scheme that the present embodiment provides is specific as follows:
It is associated with focus state for the application program registration to be monitored if S201, application program launching to be monitored Monitor.
If S202, the application program to be monitored enter an operation pages, the control in the operation pages is added It is added in the focus management device pre-set, and Action Events are monitored by the monitor.
S203, if Action Events are triggered, the control in the operation pages is entered by the focus management device Row operation, focus state is arranged to by the control being switched to after operation.
If S204, when changing monitor by touch mode and listening to touch mode and change, judge Jiao of control Whether point condition is lost, if lost, touch mode is switched into focus morphotype formula, and will be finally at the control of focus state again It is secondary to be arranged to focus state.
In one embodiment, change change of the monitor to touch mode by the touch mode of registration to monitor. In S202, it is managed as a result of focus management device focusing point condition control, it enters to the control for being chosen to be focus state Row record, when mobile terminal due to a variety of causes is switched to touch mode when touch mode can be switched into focus morphotype automatically Formula, and the focal controls being in before last pattern switching under focus morphotype formula are continued to choose and realize its focus state.It is optional , before touch mode automatically switches to focus morphotype formula, the judgement whether vehicle device is in interconnection state can be carried out, i.e., it is mobile whole End and engine end are under interconnection state, perform the switching of focus morphotype formula.Specifically, implementation is as follows:
Present embodiments provide the focus state implementation method under a kind of split screen mechanism so that mobile terminal is being carried out at split screen During reason, when changing monitor by touch mode and listening to touch mode and change, judge whether the focus state of control loses, If lost, touch mode is switched into focus morphotype formula, and the control for being finally at focus state is again set at focus State, avoid user and the problem of operation causes focus state control to be lost is carried out to mobile terminal, improve Jiao in the space of realization The stability of point condition.
Fig. 3 a are the flow charts of the focus state implementation method under another split screen mechanism provided in an embodiment of the present invention, upper On the basis of stating embodiment, the control in the operation pages is added to the focus management device pre-set to be included:By institute The control stated in operation pages is added in focus management device according to preset order;Accordingly, it is described to pass through the focus management Device carries out operation to the control in the operation pages to be included:The shaking direction of direction of rotation, rocking bar according to the knob or The glide direction of handwriting pad, the order being added to according to control in focus management device switch successively.
Hereby it is achieved that under vehicle device interconnection state, the global administration of focus state.
Based on above-mentioned optimization, as shown in Figure 3 a, the technical scheme that the present embodiment provides is specific as follows:
It is associated with focus state for the application program registration to be monitored if S301, application program launching to be monitored Monitor.
If S302, the application program to be monitored enter an operation pages, the control in the operation pages is pressed It is added to according to preset order in focus management device, and Action Events is monitored by the monitor.
In one embodiment, the preset order can be operation pages view layout in putting in order from left to right (horizontally-arranged control) or from top to bottom (vertical setting of types control).As shown in Figure 3 b, Fig. 3 b are that a kind of interface provided in an embodiment of the present invention shows It is intended to, application is GPS navigation application shown in Fig. 3 b, and the optional frame page as shown in the figure is ejected after menu option is clicked on, and successively will The control such as column " conventional address ", " collection ", " searching periphery ", " real-time road " and " offline map bag " is according to from top to bottom Order is added in focus management device, while engine end Action Events are monitored.
S303, it is triggered if Action Events, the shaking direction or hand-written of direction of rotation, rocking bar according to the knob The glide direction of plate, the order being added to according to control in focus management device switch successively, and the control being switched to after operation is set It is set to focus state.
In one embodiment, when user is rotated to the left or to the right by the knob near being controlled in vehicle, control in Fig. 3 b " conventional address ", " collection ", " searching periphery ", " real-time road " and " offline map bag " etc. are selected place downward or upward successively In focus state.
The focus state implementation method under a kind of split screen mechanism is present embodiments provided, by the control in operation pages according to pre- If order is added in focus management device, after Action Events are triggered, direction of rotation, the shaking direction of rocking bar according to knob Or the glide direction of handwriting pad, the order being added to according to control in focus management device switch successively, vehicle device interconnection shape is realized Under state, the global administration of focus state.
Fig. 4 is the flow chart of the focus state implementation method under another split screen mechanism provided in an embodiment of the present invention, upper On the basis of stating embodiment, optionally, the control in the operation pages is added in the focus management device pre-set also Including:Number-mark is added to the control in the operation pages, the control with number-mark is added to focus management device In;Accordingly, the control in the operation pages operate also by the focus management device according to the Action Events Including:The control identified according to reference numeral in the numbering selection focus management device of typing in handwriting pad switches over.
Hereby it is achieved that by handwriting pad etc. can typing sequence number hardware device directly invoke control present focus state, nothing Upgrading improvement need to be carried out to original application.
Based on above-mentioned optimization, as shown in figure 4, the technical scheme that the present embodiment provides is specific as follows:
It is associated with focus state for the application program registration to be monitored if S401, application program launching to be monitored Monitor.
If S402, the application program to be monitored enter an operation pages, the control in the operation pages is added Add number-mark, the control with number-mark is added in focus management device, and by the monitor to Action Events Monitored.
S403, it is triggered if Action Events, according to corresponding in the numbering selection focus management device of typing in handwriting pad The control of number-mark is switched over, and the control being switched to after operation is arranged into focus state.
In one embodiment, during starting to initialize the page after entering an operation pages, to need reality The control distribution number-mark of existing focus state, " conventional address ", " collection ", " searching periphery ", " real-time road " by taking Fig. 3 b as an example " offline map bag " etc. is allocated numbering " 1 ", " 2 ", " 3 ", " 4 " and " 5 " successively, when detecting that user passes through handwriting pad typing When " 4 ", the lookup of mark is numbered by focus management device accordingly, determines control " the real-time road of reference numeral mark " 4 " Condition " is in focus state.
The focus state implementation method under a kind of split screen mechanism is present embodiments provided, it is right when entering an operation pages Control addition number-mark in operation pages, the control with number-mark is added in focus management device, and pass through prison Device is listened to monitor Action Events, after Action Events are triggered, the numbering selection focus management according to typing in handwriting pad The control that reference numeral identifies in device is switched over, and the control being switched to is arranged into focus state, without applying journey to original On the basis of sequence change, the purpose of fast positioning focus state is realized.
Fig. 5 is the structured flowchart of the focus state realization device under split screen mechanism provided in an embodiment of the present invention, described device The focus state implementation method under split screen mechanism for performing above-described embodiment offer, possesses the corresponding functional module of execution method And beneficial effect.As shown in figure 5, described device includes event sniffer creation module 501, module 502 and focus are monitored in control Handover module 503.
Wherein, monitor creation module 501, if for application program launching to be monitored, treat that journey is applied in monitoring to be described Sequence registers the monitor associated with focus state;
Module 502 is monitored in control, if entering an operation pages for the application program to be monitored, by the operation Control in the page is added in the focus management device pre-set, and Action Events is monitored by the monitor;
Focus handover module 503, for being triggered if Action Events, by the focus management device to the operation Control in the page is operated, and the control being switched to after operation is arranged into focus state.
Technical scheme provided in an embodiment of the present invention, after detecting application program launching, registration is associated with focus state Monitor, when entering an operation pages, the control in the operation pages is added in the focus management device, and leads to Cross the monitor to monitor Action Events, after Action Events are triggered, pass through Jiao according to the Action Events Point manager switches over to the control in the operation pages, the control being switched to is arranged into focus state so as to terminal The operation of middle application is more smooth, while focus state will not lose.
On the basis of above-mentioned technical proposal, the monitor creation module 501 is specifically used for:
The Root View of application program to be monitored described in acquisition, in the Root View register touch mode change monitor with And global focus change monitor.
On the basis of above-mentioned technical proposal, the control is monitored module 502 and is additionally operable to:
The control being switched to after by operation is arranged to after focus state, is monitored if changing monitor by touch mode Changed to touch mode, judge whether the focus state of control loses, if lost, touch mode is switched into focus state Pattern, and the control for being finally at focus state is again set at focus state.
On the basis of above-mentioned technical proposal, the control is monitored module 502 and is specifically used for:
Control in the operation pages is added in focus management device according to preset order;
The focus handover module 503 is specifically used for:
The shaking direction of direction of rotation, rocking bar or the glide direction of handwriting pad according to the knob, are added according to control Switch successively to the order in focus management device.
On the basis of above-mentioned technical proposal, the control is monitored module 502 and is additionally operable to:
Number-mark is added to the control in the operation pages, the control with number-mark is added to focus management In device;
The focus handover module 503 is additionally operable to:
The control identified according to reference numeral in the numbering selection focus management device of typing in handwriting pad switches over.
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention.Fig. 6 is shown suitable for being used for realizing this hair The block diagram of the exemplary terminal 12 of bright embodiment.The terminal 12 that Fig. 6 is shown is only an example, and the present invention should not be implemented The function and use range of example bring any restrictions.
As shown in fig. 6, terminal 12 is showed in the form of universal computing device.The component of terminal 12 can include but unlimited In:One or more processor or processing unit 16, system storage 28, connection different system component (including system is deposited Reservoir 28 and processing unit 16) bus 18.
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Terminal 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by terminal 12 The usable medium of access, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Terminal 12 may further include it is other it is removable/nonremovable, Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable , non-volatile magnetic media (commonly referred to as " hard disk drive ").It can be provided for may move non-volatile magnetic disk (example Such as " floppy disk ") disc driver of read-write, and to removable anonvolatile optical disk (such as CD-ROM, DVD-ROM or other Optical medium) read-write CD drive.In these cases, each driver can be connect by one or more data medium Mouth is connected with bus 18.Memory 28 can include at least one program product, and the program product has one group (for example, at least one It is individual) program module, these program modules are configured to perform the function of various embodiments of the present invention.
Program/utility 40 with one group of (at least one) program module 42, such as memory 28 can be stored in In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and Routine data, the realization of network environment may be included in each or certain combination in these examples.Program module 42 is usual Perform the function and/or method in embodiment described in the invention.
Terminal 12 can also communicate with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.), Can also enable a user to the equipment communication interacted with the terminal 12 with one or more, and/or with enable the terminal 12 with Any equipment (such as network interface card, modem etc.) communication that one or more of the other computing device is communicated.It is this logical Letter can be carried out by input/output (I/O) interface 22.Also, terminal 12 can also by network adapter 20 and one or The multiple networks of person (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communication.As illustrated, Network adapter 20 is communicated by bus 18 with other modules of terminal 12.It should be understood that although not shown in the drawings, it can combine Terminal 12 uses other hardware and/or software module, includes but is not limited to:Microcode, device driver, redundant processing unit, External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, so as to perform various function application and Data processing, such as realize the focus state implementation method under the split screen mechanism that the embodiment of the present invention is provided.
The embodiment of the present invention additionally provides a kind of storage medium for including computer executable instructions, and the computer can be held Row instruction by computer processor when being performed for performing the focus state implementation method under a kind of split screen mechanism, this method bag Include:
If application program launching to be monitored, the monitoring associated with focus state is registered for the application program to be monitored Device;
If the application program to be monitored enters an operation pages, the control in the operation pages is added to pre- In the focus management device first set, and Action Events are monitored by the monitor;
If Action Events are triggered, the control in the operation pages is grasped by the focus management device Make, the control being switched to after operation is arranged to focus state.
Optionally, registering the monitor associated with focus state for the application program to be monitored includes:
The Root View of application program to be monitored described in acquisition, in the Root View register touch mode change monitor with And global focus change monitor.
Optionally, the control being switched to after by operation is arranged to after focus state, in addition to:
Listen to touch mode if changing monitor by touch mode and change, judge control focus state whether Lose, if lost, touch mode is switched into focus morphotype formula, and the control for being finally at focus state is again set at Focus state.
Optionally, the control in the operation pages is added to the focus management device pre-set to be included:
Control in the operation pages is added in focus management device according to preset order;
Accordingly, it is described operation is carried out to the control in the operation pages by the focus management device to include:
The shaking direction of direction of rotation, rocking bar or the glide direction of handwriting pad according to the knob, are added according to control Switch successively to the order in focus management device.
Optionally, the control in the operation pages is added in the focus management device pre-set also includes:
Number-mark is added to the control in the operation pages, the control with number-mark is added to focus management In device;
Accordingly, the control in the operation pages is grasped by the focus management device according to the Action Events Also include:
The control identified according to reference numeral in the numbering selection focus management device of typing in handwriting pad switches over.
The computer-readable storage medium of the embodiment of the present invention, any of one or more computer-readable media can be used Combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.It is computer-readable Storage medium can for example be but not limited to system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or Combination more than any.The more specifically example (non exhaustive list) of computer-readable recording medium includes:With one or The electrical connections of multiple wires, portable computer diskette, hard disk, random access memory (RAM), read-only storage (ROM), can Erasing programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light are deposited Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document path, computer-readable recording medium Can be it is any include or the tangible medium of storage program, the program can be commanded execution system, device or device and use It is or in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can use any appropriate medium to transmit, including but not limited to without Line, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion Divide and partly perform or performed completely on remote computer or terminal on the remote computer on the user computer.Relating to And in the situation of remote computer, remote computer can include LAN (LAN) or wide area network by the network of any kind (WAN) subscriber computer is connected to, or, it may be connected to outer computer (such as led to using ISP Cross Internet connection).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (12)

  1. A kind of 1. focus state implementation method under split screen mechanism, it is characterised in that including:
    If application program launching to be monitored, the monitor associated with focus state is registered for the application program to be monitored;
    If the application program to be monitored enters an operation pages, the control in the operation pages is added to and set in advance In the focus management device put, and Action Events are monitored by the monitor;
    If Action Events are triggered, the control in the operation pages is operated by the focus management device, will The control being switched to after operation is arranged to focus state.
  2. 2. according to the method for claim 1, it is characterised in that related to focus state for the application program registration to be monitored The monitor of connection includes:
    The Root View of application program to be monitored described in acquisition, touch mode change monitor and complete is registered in the Root View Office's focal variation monitor.
  3. 3. according to the method for claim 2, be characterised by, the control being switched to after by operation be arranged to focus state it Afterwards, in addition to:
    Changed if changing monitor by touch mode and listening to touch mode, judge whether the focus state of control loses Lose, if lost, touch mode is switched into focus morphotype formula, and the control for being finally at focus state is again set at Jiao Point condition.
  4. 4. according to the method any one of claim 1-3, it is characterised in that the control in the operation pages is added Include to the focus management device pre-set:
    Control in the operation pages is added in focus management device according to preset order;
    Accordingly, it is described operation is carried out to the control in the operation pages by the focus management device to include:
    The shaking direction of direction of rotation, rocking bar or the glide direction of handwriting pad according to the knob, are added to Jiao according to control Order in point manager switches successively.
  5. 5. according to the method for claim 4, it is characterised in that the control in the operation pages is added to and pre-set Focus management device in also include:
    Number-mark is added to the control in the operation pages, the control with number-mark is added to focus management device In;
    Accordingly, the control in the operation pages operate also by the focus management device according to the Action Events Including:
    The control identified according to reference numeral in the numbering selection focus management device of typing in handwriting pad switches over.
  6. A kind of 6. focus state realization device under split screen mechanism, it is characterised in that including:
    Monitor creation module, if for application program launching to be monitored, for the application program registration to be monitored and focus The associated monitor of state;
    Module is monitored in control, if entering an operation pages for the application program to be monitored, by the operation pages Control be added in the focus management device pre-set, and Action Events are monitored by the monitor;
    Focus handover module, for being triggered if Action Events, by the focus management device in the operation pages Control operated, the control being switched to after operation is arranged to focus state.
  7. 7. device according to claim 6, it is characterised in that the monitor creation module is specifically used for:
    The Root View of application program to be monitored described in acquisition, touch mode change monitor and complete is registered in the Root View Office's focal variation monitor.
  8. 8. device according to claim 7, it is characterised in that the control is monitored module and is additionally operable to:
    The control being switched to after by operation is arranged to after focus state, if listened to by touch mode change monitor tactile The pattern of touching is changed, and judges whether the focus state of control loses, if lost, touch mode is switched into focus morphotype Formula, and the control for being finally at focus state is again set at focus state.
  9. 9. according to the device any one of claim 6-8, it is characterised in that the control is monitored module and is specifically used for:
    Control in the operation pages is added in focus management device according to preset order;
    The focus handover module is specifically used for:
    The shaking direction of direction of rotation, rocking bar or the glide direction of handwriting pad according to the knob, are added to Jiao according to control Order in point manager switches successively.
  10. 10. device according to claim 9, it is characterised in that the control is monitored module and is additionally operable to:
    Number-mark is added to the control in the operation pages, the control with number-mark is added to focus management device In;
    The focus handover module is additionally operable to:
    The control identified according to reference numeral in the numbering selection focus management device of typing in handwriting pad switches over.
  11. 11. a kind of terminal, it is characterised in that the terminal includes:One or more processors;Storage device, for storing one Individual or multiple programs, when one or more of programs are by one or more of computing devices so that one or more Individual processor realizes the focus state implementation method under the split screen mechanism as described in any in claim 1-5.
  12. 12. a kind of storage medium for including computer executable instructions, the computer executable instructions are by computer disposal For performing the focus state implementation method under a kind of split screen mechanism when device performs, it is characterised in that this method includes:
    If application program launching to be monitored, the monitor associated with focus state is registered for the application program to be monitored;
    If the application program to be monitored enters an operation pages, the control in the operation pages is added to and set in advance In the focus management device put, and Action Events are monitored by the monitor;
    If Action Events are triggered, the control in the operation pages is operated by the focus management device, will The control being switched to after operation is arranged to focus state.
CN201710525424.3A 2017-06-30 2017-06-30 Focus state implementation method and device under split screen mechanism, terminal and storage medium Active CN107341016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710525424.3A CN107341016B (en) 2017-06-30 2017-06-30 Focus state implementation method and device under split screen mechanism, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710525424.3A CN107341016B (en) 2017-06-30 2017-06-30 Focus state implementation method and device under split screen mechanism, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107341016A true CN107341016A (en) 2017-11-10
CN107341016B CN107341016B (en) 2020-09-04

Family

ID=60219401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710525424.3A Active CN107341016B (en) 2017-06-30 2017-06-30 Focus state implementation method and device under split screen mechanism, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107341016B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561202A (en) * 2018-09-29 2019-04-02 百度在线网络技术(北京)有限公司 Control processing method, device, terminal device, vehicle device and system
CN109918012A (en) * 2019-03-11 2019-06-21 百度在线网络技术(北京)有限公司 A kind of control method of mobile terminal, device, equipment and storage medium
CN111123758A (en) * 2019-11-06 2020-05-08 思特沃克软件技术(北京)有限公司 Vehicle-mounted item selection method and device and steering wheel
CN111666029A (en) * 2020-05-28 2020-09-15 北京百度网讯科技有限公司 Vehicle-mounted machine map operation method, device, equipment and readable storage medium
CN112351347A (en) * 2020-10-26 2021-02-09 深圳Tcl新技术有限公司 Screen focus moving display method, display device and storage medium
CN112738582A (en) * 2020-12-15 2021-04-30 广州迈聆信息科技有限公司 Control method of interface control based on remote controller and intelligent equipment
CN112929717A (en) * 2019-12-06 2021-06-08 青岛海信传媒网络技术有限公司 Focus management method and display device
CN113032055A (en) * 2019-12-09 2021-06-25 深圳顺丰快运科技有限公司 Terminal display interface control method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1160887A (en) * 1996-03-29 1997-10-01 国际商业机器公司 Method, memory and apparatus for postponing transference of focus to newly opened window
US20060090169A1 (en) * 2004-09-29 2006-04-27 International Business Machines Corporation Process to not disturb a user when performing critical activities
CN1963755A (en) * 2006-11-26 2007-05-16 华为技术有限公司 Control apparatus and method of GUI interface of key-control-type apparatus
CN101042628A (en) * 2003-09-25 2007-09-26 索尼株式会社 On-vehicle device and content providing method
CN104602092A (en) * 2015-02-12 2015-05-06 江苏银河电子股份有限公司 Method for adaption of intelligent set top box to mobile phone applications under Android system
CN105808032A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Focus control method and device based on android control
CN106843643A (en) * 2016-12-30 2017-06-13 百度在线网络技术(北京)有限公司 Page processing method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1160887A (en) * 1996-03-29 1997-10-01 国际商业机器公司 Method, memory and apparatus for postponing transference of focus to newly opened window
CN101042628A (en) * 2003-09-25 2007-09-26 索尼株式会社 On-vehicle device and content providing method
US20060090169A1 (en) * 2004-09-29 2006-04-27 International Business Machines Corporation Process to not disturb a user when performing critical activities
CN1963755A (en) * 2006-11-26 2007-05-16 华为技术有限公司 Control apparatus and method of GUI interface of key-control-type apparatus
CN105808032A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Focus control method and device based on android control
CN104602092A (en) * 2015-02-12 2015-05-06 江苏银河电子股份有限公司 Method for adaption of intelligent set top box to mobile phone applications under Android system
CN106843643A (en) * 2016-12-30 2017-06-13 百度在线网络技术(北京)有限公司 Page processing method and mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561202A (en) * 2018-09-29 2019-04-02 百度在线网络技术(北京)有限公司 Control processing method, device, terminal device, vehicle device and system
CN109918012A (en) * 2019-03-11 2019-06-21 百度在线网络技术(北京)有限公司 A kind of control method of mobile terminal, device, equipment and storage medium
CN111123758A (en) * 2019-11-06 2020-05-08 思特沃克软件技术(北京)有限公司 Vehicle-mounted item selection method and device and steering wheel
CN112929717A (en) * 2019-12-06 2021-06-08 青岛海信传媒网络技术有限公司 Focus management method and display device
CN113032055A (en) * 2019-12-09 2021-06-25 深圳顺丰快运科技有限公司 Terminal display interface control method and device, computer equipment and storage medium
CN111666029A (en) * 2020-05-28 2020-09-15 北京百度网讯科技有限公司 Vehicle-mounted machine map operation method, device, equipment and readable storage medium
KR20210072737A (en) * 2020-05-28 2021-06-17 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Operation method and device of vehicle machine map, equipment and readable storage medium
KR102571332B1 (en) * 2020-05-28 2023-08-25 아폴로 인텔리전트 커넥티비티 (베이징) 테크놀로지 씨오., 엘티디. Operation method and device of vehicle machine map, equipment and readable storage medium
CN112351347A (en) * 2020-10-26 2021-02-09 深圳Tcl新技术有限公司 Screen focus moving display method, display device and storage medium
CN112351347B (en) * 2020-10-26 2024-02-09 深圳Tcl新技术有限公司 Screen focus moving display method, display device and storage medium
CN112738582A (en) * 2020-12-15 2021-04-30 广州迈聆信息科技有限公司 Control method of interface control based on remote controller and intelligent equipment

Also Published As

Publication number Publication date
CN107341016B (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN107341016A (en) Focus state implementation method, device, terminal and storage medium under split screen mechanism
CN104969163B (en) Methods of exhibiting, device and the electronic equipment of application interface
EP2624119B1 (en) Electronic device and method of controlling the same
CN102301317B (en) Information processing device and information processing method
CN103677561B (en) System for providing the user interface used by mancarried device
US20140365923A1 (en) Home screen sharing apparatus and method thereof
CN106605234B (en) Content is shared using near-field communication and admissions control
US20140164990A1 (en) Display device and method of controlling the same
CN109101616A (en) Monitor video taking turn method, apparatus, equipment and medium based on electronic map
US20140176600A1 (en) Text-enlargement display method
CN105580024B (en) A kind of screenshotss method and device
CN105378634A (en) Remoting or localizing touch gestures at a virtualization client agent
CN105723323A (en) Remote control for displaying application data on dissimilar screens
CN103279302A (en) Method and device for displaying stratified data
CN106310659A (en) Game display control method and game display control device
US20170185422A1 (en) Method and system for generating and controlling composite user interface control
CN115352375A (en) Key setting method and control method of electronic equipment, simulation equipment and vehicle
CN109614622A (en) Valid data extracting method, device, storage medium and terminal
CN107992242A (en) A kind of switching method of suspension windows, device, equipment and storage medium
CN109857298B (en) Application starting method, device, equipment and storage medium
CN108829595B (en) Test method, test device, storage medium and electronic equipment
CN110413504A (en) A kind of method for testing software, device, equipment and storage medium
US20130249810A1 (en) Text entry mode selection
CN107548494A (en) context-sensitive phrase identification
CN107481316A (en) Indoor and outdoor panorama switching method, device and the computer-readable recording medium of D Urban model

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