CN110119222A - Touch-control module switching method, device, equipment and readable medium based on dual system - Google Patents

Touch-control module switching method, device, equipment and readable medium based on dual system Download PDF

Info

Publication number
CN110119222A
CN110119222A CN201910357354.4A CN201910357354A CN110119222A CN 110119222 A CN110119222 A CN 110119222A CN 201910357354 A CN201910357354 A CN 201910357354A CN 110119222 A CN110119222 A CN 110119222A
Authority
CN
China
Prior art keywords
touch
processor
control module
target data
module
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.)
Pending
Application number
CN201910357354.4A
Other languages
Chinese (zh)
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.)
Shenzhen Hui Mao Polytron Technologies Inc
Original Assignee
Shenzhen Hui Mao Polytron Technologies Inc
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 Shenzhen Hui Mao Polytron Technologies Inc filed Critical Shenzhen Hui Mao Polytron Technologies Inc
Priority to CN201910357354.4A priority Critical patent/CN110119222A/en
Publication of CN110119222A publication Critical patent/CN110119222A/en
Pending legal-status Critical Current

Links

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

Method, apparatus, equipment and the readable medium for the touch-control module switching based on dual system that the embodiment of the invention discloses a kind of, wherein, the described method includes: in the first system operation, the switching command of input is received, the switching command, which is used to indicate, is switched to the second system for currently running the first system;The corresponding processing data of the first touch-control module of currently running the first system are obtained as target data, the target data is sent to the analog module;Second touch-control module is loaded, under the second processor based on the target data to switch to second touch-control module.The analog module that the technical solution of the embodiment of the present invention simulates the second touch-control module of second system in the corresponding second processor of second system by adding a carry in the corresponding first processor of the first system of the double touch control devices of dual system, touch-control response delay of the equipment in system switching is eliminated, improve user uses smooth degree.

Description

Touch-control module switching method, device, equipment and readable medium based on dual system
Technical field
The present invention relates to technical field of intelligent equipment more particularly to a kind of touch-control module switching method based on dual system, Device, equipment and readable medium.
Background technique
As business shows the continuous development of equipment Market, above dual system is configured (such as in meeting plate, education blank etc. Android and Windows) it has been operated more generally, but the touching of one touch control type is mostly used in these dual-system devices Control design, and the experience of one touch control type equipment is single, it is difficult to meet wider array of market application demand, therefore, business shows equipment Industry promotes the Experience Degree and cost performance of product with this using double touch technologies are applied in dual-system device.
But in double touch-control dual-system devices, if user needs to be switched to another system from currently used system When, it is necessary first to the relevant driving of touch screen under real-time loading another system, it can be another after drive load completion One system uses corresponding touch function.That is, during loading the relevant driving of the touch screen under another system, Because driving does not load success, corresponding touch function is temporarily disabled, to appear in the double touch control devices of dual system In net system switching process in touch-control response delay the phenomenon that, such case is for user, it is necessary to wait corresponding The touch function that can just carry out next step is completed in control load, is brought and is used upper inconvenience.
Summary of the invention
Based on this, it is necessary in view of the above-mentioned problems, proposing a kind of touch-control module switching method based on dual system, dress It sets, equipment and readable medium.
A kind of touch-control module switching method based on dual system, the method is based on including the first system and second system Terminal device, the terminal device include first processor and second processor, and the first system corresponds to first processor, institute It states second system and corresponds to second processor;The first processor further includes analog module;
In the first system operation, the analog module carry is in the second processor, for simulating the second system Second touch-control module of system;
The described method includes:
In the first system operation, the switching command of input is received, the switching command is used to indicate current fortune Capable the first system is switched to the second system;
The corresponding processing data of the first touch-control module of currently running the first system are obtained as target data, it will be described Target data is sent to the analog module;
Second touch-control module is loaded, under the second processor based on the target data to switch to described Two touch-control modules.
A kind of touch-control module switching device based on dual system, in one embodiment, described device can be a packet Including the terminal device of the first system and second system, the terminal device includes first processor and second processor, and described One system corresponds to first processor, and the second system corresponds to second processor;The first processor further includes analog module;
In the first system operation, the analog module carry is in the second processor, for simulating the second system Second touch-control module of system;
Described device includes:
Receiving unit: for receiving the switching command of input, the switching command is used in the first system operation Currently running the first system is switched to the second system by instruction;
Acquiring unit: the corresponding processing data of the first touch-control module for obtaining currently running the first system are as mesh Data are marked, the target data is sent to the analog module;
Loading unit: for loading second touch-control module under the second processor based on the target data, To switch to second touch-control module.
A kind of computer equipment, it includes the first system and second system by storing that the computer equipment, which can be one, The terminal device of device and central processing unit composition, the terminal device includes first processor and second processor, and described first System corresponds to first processor, and the second system corresponds to second processor;The first processor further includes analog module;
In the first system operation, the analog module carry is in the second processor, for simulating the second system Second touch-control module of system;
The memory is stored with computer program, when the computer program is executed by the central processing unit, so that The central processing unit executes following steps:
In the first system operation, the switching command of input is received, the switching command is used to indicate current fortune Capable the first system is switched to the second system;
The corresponding processing data of the first touch-control module of currently running the first system are obtained as target data, it will be described Target data is sent to the analog module;
Second touch-control module is loaded, under the second processor based on the target data to switch to described Two touch-control modules.
A kind of readable medium is stored with computer program, when the computer program is executed by processor, so that the place It manages device and executes following steps:
In the first system operation, the switching command of input is received, the switching command is used to indicate current fortune Capable the first system is switched to the second system;
The corresponding processing data of the first touch-control module of currently running the first system are obtained as target data, it will be described Target data is sent to the analog module;
Second touch-control module is loaded, under the second processor based on the target data to switch to described Two touch-control modules.
Different from existing dual system touch control device after receiving the instruction of switching system, pass through intermediate touch-control modulus of conversion The processing data of the first touch-control module from the first system are sent to the second processing of second system by block (USB Switch) Device, then real-time loading go out the way of the touch function in switching and second system of second touch-control module to realize touch-control module, The embodiment of the present invention proposes a kind of touch-control module switching method based on dual system, by the of the double touch control devices of dual system In the corresponding first processor of one system add one always carry in second processor, for simulating second system second The analog module of touch-control module, so that currently running the first system is switched to cutting for the second system receiving After changing instruction, can by obtain currently running the first system the corresponding processing data of the first touch-control module and as Target data is sent to the analog module, then based on the target data by loading described second under the second processor Touch-control module, to switch to second touch-control module.Using above-mentioned touch-control module switching method, eliminate double in actual use Touch-control response delay of the system touch-control device when system switches is improving while using smooth degree of user, is passing through The combination of software and hardware improves the performance of the dual system touch control device.
The embodiment of the present invention includes based on the terminal device including a first system and second system, the terminal device First processor and second processor, the first system correspond to first processor, and the second system corresponds to second processor; The first processor further includes analog module;In the first system operation, the analog module carry is in described second Processor, for simulating the second touch-control module of second system.
In the method, when the first system is run, the switching command of input is received, the switching command is for referring to Show and currently running the first system is switched to the second system;Obtain the first touch-control module of currently running the first system Corresponding processing data are sent to the analog module as target data, by the target data;Based on the target data Second touch-control module is loaded, under the second processor to switch to second touch-control module.
It is different from the prior art middle because needing to carry out the first system by intermediate touch-control conversion module (USB Switch) The transmission of the processing data of first touch-control module, then the second touch-control module is gone out to realize touch-control by second processor real-time loading The way of touch function in the switching and second system of module, the technical solution of the embodiment of the present invention is dexterously in the first system One is added on corresponding first processor can be set by receiving the corresponding processing digital simulation of the first touch-control module at touch-control Standby and carry realizes cutting for touch-control module in the corresponding second processor of second system with this on dual system touch control device It changes non-delay, improves the cost performance and attraction of dual system touch control device while promoting the equipment reaction speed fluency Degree.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Wherein:
Fig. 1 is the applied environment figure of the touch-control module switching method based on dual system in one embodiment;
Fig. 2 is the flow chart of the touch-control module switching method based on dual system in one embodiment;
Fig. 3 is to obtain currently running the first system in the touch-control module switching method based on dual system in one embodiment Corresponding flow chart of the processing data as target data of the first touch-control module;
After switching command of the Fig. 4 to receive input in the touch-control module switching method based on dual system in one embodiment The flow chart of step;
Fig. 5 is to be sent to the target data in the touch-control module switching method based on dual system in another embodiment The flow chart of step after the analog module;
Fig. 6 in the touch-control module switching method in another embodiment based on dual system be based on the target data in institute State the flow chart that the second touch modules are loaded under second processor;
Fig. 7 is the flow chart of the touch-control module switching method based on dual system in another embodiment;
Fig. 8 is that the touch-control module switching method based on dual system " is using the double touch-control plates of dual system in one embodiment Specific flow chart under the application scenarios of touch-control module switching when computer ";
Fig. 9 is the structural block diagram of the touch-control module switching device based on dual system in one embodiment;
Figure 10 is the structural block diagram of computer equipment in one embodiment.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The present embodiment proposes a kind of touch-control module switching method based on dual system, is set with realizing in dual system touch The touch-control module using effect that almost undelayed synchronization switches and responded with system while standby carry out system switching, more Touch function can not during having mended touch-control module load of the dual system touch-control device in carry out system switching in the prior art With and caused by operational delay the problem of, to improve equipment operation fluency, improve the user experience of equipment.
Fig. 1 is the applied environment figure of the touch-control module switching method based on dual system in one embodiment.
The realization of the touch-control module switching method based on dual system can be based on a computer equipment shown in FIG. 1 100.The computer equipment 100 can be installation there are two different operating system and the terminal configured with touch control manner equipment is set Standby, the combination of this two different operating systems can be Android system (Android) and Windows system or Android (Android) and IOS system etc., the operation of the dual system of the computer equipment is based on two processing built-in in computer equipment Device is realized respectively.In one embodiment, the dual system in this computer equipment, will using Android system as the first system Windows system is as second system.It should be noted that in other embodiments, it can also be using Windows system as One system, using Android system as second system.Also, in computer equipment 100, the first system passes through first processor 110 realize, second system is realized by second processor 120.
In the present embodiment, as shown in Figure 1, first processor further includes analog module 130;It is run in the first system When, 130 carry of analog module is in the second processor 120, for simulating the second touch-control module of second system.
In one embodiment, the computer equipment is also configured with touch-screen type Trackpad 140, the Trackpad and default Capacitance type sensor be connected with electromagnetic sensor, when aforementioned Trackpad detects preset instructions, such as detect finger Touch or capacitance pen click the instruction of switching system transmitted by screen, that is, preset operation are executed, so that the computer equipment It is switched between the first system and second system, while being switched to the corresponding touch-control mould of the corresponding processor of another system Block.
In a specific embodiment, it is received in this computer equipment by Trackpad 140 and is previously used for indicating inciting somebody to action After currently running the first system is switched to the switching command of second system, that is, the instruction of preset switching system is sent to current The corresponding first processor 110 of the first system of operation obtains the of currently running the first system by first processor 110 The corresponding processing data of one touch-control module are as target data, and first touch-control module is for running and current touch screen formula touch-control The corresponding driver of plate 140 is to realize the touch function of aforementioned the first system.
The target data is sent to aforementioned analog module 130 by first processor 110 again;Wherein, the simulation mould 130 carry of block is loaded under second processor 120 in second processor 120 to be modeled to after receiving preset instructions The second touch-control module out.
After determining target data, the computer equipment is based on the target data under the second processor 120 Second touch-control module is loaded, to switch to second touch-control module.Second touch-control module is to run and currently The corresponding driver of touch-screen type Trackpad 140 is to realize the touch function of the first system.
In the present embodiment, since analog module 130 is contained in first processor 110, aforementioned the can be passed through in real time One processor 110 gets the processing data of the first touch-control module of currently running the first system, at the same time, aforementioned analog The pre-set programs carry that module 130 has further through operation keeps logical with the second processor 120 in second processor 120 Letter state, therefore can accomplish that the processing data of aforementioned first touch-control module are almost sent to second processor 120 without delay, To load out related driver programs by the second processor 120, the real-time implementation touch function on second system.
Fig. 2 is the flow chart of the touch-control module switching method based on dual system in one embodiment.
With reference to Fig. 2, in one embodiment, the touch-control module switching based on dual system that the embodiment of the invention provides a kind of Method.The touch-control module switching method based on dual system includes at least step 201 to step 203, is described in detail as follows:
It should be noted that this method is realized based on a terminal device including the first system and second system, the end End equipment includes first processor and second processor, and aforementioned the first system corresponds to first processor, and aforementioned second system is corresponding Second processor;This first processor further includes analog module.
In step 201, when the first system is run, the switching command of input is received, the switching command is used for Currently running the first system is switched to the second system by instruction.
What the switching command of input here can be that this dual system touch-control device receives is passed through by equipment user It clicks touch-sensitive display screen or inputs that the modes such as text are sent, be intended to make will on this dual system touch-control device by keyboard Currently running the first system is switched to the instruction of second system, specifically, in one embodiment, which can be Display screen by the way that the equipment is arranged in is used to indicate the finger that currently running Android system is switched to Windows system It enables.
Fig. 3 is to obtain currently running the first system in the touch-control module switching method based on dual system in one embodiment Corresponding flow chart of the processing data as target data of the first touch-control module.
The corresponding processing data conduct of the first touch-control module of the currently running the first system of acquisition described in step 201 The process of target data at least further includes step 301 shown in Fig. 3 to step 302, is explained as follows with reference to Fig. 3:
In step 301, after receiving aforementioned switching command, currently running first system is obtained by first processor The corresponding processing data of the first touch-control module of system, which includes that the first touch-control module of the first system is corresponding The descriptor of USB device.
It should be noted that the descriptor of USB device herein includes device descriptor, configures descriptor, equipment description At least one of symbol, endpoint descriptor, character string descriptor.The descriptor of the USB device refers to that USB device is connected to bus The reply data for having regulation data format that the read USB device of usb host makes the command request that host is sent when upper.
Below with regard to two kinds of USB descriptor for the effect of the descriptor of this USB device and in this method implementation Necessity do some explanations: the device descriptor of this USB device describes the general information in relation to USB device, to equipment and Play whole information in device configuration, including such as manufacturer identification number, product ID, corresponding device class-mark, default end The maximum packet length of point and the number of configures descriptor etc..
This USB device configures descriptor description configuration provide interface quantity, aforementioned each interface can with independent operating, This configures descriptor includes ConfigurationValue (Configuration Values) field, and the value of the field is used as SetConfiguration () (configuration function) requested parameter retouches host equipment using the configures descriptor The configuration stated.It can be seen that the descriptor of this USB device is constantly essential in the load for completing first touch-control module.
In step 302, using the processing data as target data.
In one embodiment, using above-mentioned processing data as target data after can also include: by above-mentioned target Data are stored in the preset storage unit on first processor.
After switching command of the Fig. 4 to receive input in the touch-control module switching method based on dual system in one embodiment The flow chart of step.
Optionally, step 401 as shown in Figure 4 can also be performed after executing step 201 to step 402, tie below Fig. 4 is closed to be illustrated.
In step 401, after the instruction for receiving the switching system, the input/output of the analog module is obtained Mouth state and program identification.
Specifically, in the present embodiment, the I/O port state of this analog module refers to the defeated of present day analog module Enter/working method the information of delivery outlet, it is optionally, real below with reference to being carried out in the analog module using ATmega16 single-chip microcontroller Existing situation is illustrated:
ATmega16 single-chip microcontroller is one kind of AVR single chip, and AVR single chip is a kind of using RISC (Reduced Instruction Set Computer, reduced instruction set computer) framework microprocessor, there is its instruction format and length to be Fixed (32) and instruction and addressing system are few and simple, most of instructions are finished in one cycle, only loading The features such as only content of register is operated with the accessible memory of store instruction, data processing instructions.
Specifically, aforementioned ATmega16 single-chip microcontroller shares 32 universaling I/O ports, this 32 universaling I/O ports are by 8 one group of quilts Four 8 binary system port PA, PB, PC, PD included, and the corresponding I/O order of the pin in each port arranges from high to low.Each Port is provided with input (PIN), output three (PORT), direction controlling (DDR) registers, in actual operation, according to each end The input/output state of the i.e. settable ATmega16 single-chip microcontroller of setting of the level height for the I/O mouth that mouth includes.
For example, pin inner portions are configured with when the I/O of this ATmega16 single-chip microcontroller mouth is set as working with input mode Pull-up resistor pull-up can be set as by programming effectively or pull-up is invalid.And when the I/O mouth of this ATmega16 single-chip microcontroller is arranged To work with the way of output, when it exports high level, the electric current of 20mA can be exported, and when it exports low level, it can be with Absorb the electric current of 40mA.And after single-chip microcontroller Reset reset, the default setting of all I/O mouths of this ATmega16 single-chip microcontroller is Input mode, pull-up resistor is invalid, i.e., described all I/O mouths are the tri-state state for inputting high resistant.
Above-mentioned these I/O mouthfuls of working method is after the instruction for receiving the switching system, and need to obtain works as The I/O port state of the preceding analog module.
And described program mark refers to unique identifying number corresponding with the analog module, communicates with the analog module Equipment needs the unique identifying number to be identified and identify the analog module, thus for its area that shares out the work, processing Relative request etc..
In addition, all I/O registers of this ATmega16 single-chip microcontroller can pass through IN (inputting from I/O mouthfuls) and OUT (output To I/O mouthfuls) instruction access, these instructions are that transmission exchanges data between 32 general registers and I/O register space, are referred to Enabling the period is 1 clock cycle.In addition, register (first 32) of the I/O register address range between $ 00- $ 1F can also lead to It crosses instruction and realizes that bit bit manipulation and bit judgements jump.SBI (designated position 1 in I/O register) and CBI are (in I/O register Specific bit is reset) it instructs and bit manipulation directly can be carried out to each in I/O register.For example, using SBIS (I/O register Middle finger is positioned as 1 and slips a line) and SBIC (I/O register middle finger is positioned as 0 and slips a line) instruction can be to every in these I/O registers One value is tested judgement, is realized and is skipped jumping for an instruction execution lower instruction.In one embodiment, in order to The operation of faster procedure, aforementioned ATmega16 single-chip microcontroller should also configured with status register SREG and stack pointer register SP with Complete aforesaid operations.
It can be seen that the simulation and carry of this method can be completed based on characteristic possessed by above-mentioned analog module Function is to realize the non-delay of touch-control module switching.
In step 402, meet preset transmission item in the I/O port state and program identification of the analog module In the case where part, the target data is sent to analog module.
The purpose of this step is that transmission and operating status to this analog module carry out Preliminary detection, to ensure the mould On the one hand quasi- module is by the normal carry of predetermined manner in the second processor, on the other hand the analog module can be held Row is preset to be instructed to complete to be modeled to the operation of target device.Specifically, preset transmission conditions include: the analog module Idle mode is in the I/O port of whether normal, the described analog module of signal intelligence of the second processor.
It is worth noting that, the realization when this analog module is based on for example various types of MCU (Micro Controller Unit) when other hardware such as micro controller unit or MPU (Micro Processor Unit) microprocessor unit, herein pre- If transmission conditions it is different with the construction for implementing hardware and change, but the step of aforementioned progresss state verification is execution subsequent step It is necessary.
In step 202, the corresponding processing data of the first touch-control module of currently running the first system are obtained as mesh Data are marked, the target data is sent to the analog module.
Fig. 5 is to be sent to the target data in the touch-control module switching method based on dual system in another embodiment The flow chart of the step of after the analog module.
Optionally, after the target data is sent to the analog module by step 202, Fig. 5 such as can also be performed and show The analog module including at least step 501 to step 502 out is exchanged with setting up for the second processor of its carry The process of the communications conduit of the relevant information of touch-control module.
In step 501, the analog module stores the target data to default after receiving target data Storage unit, to second processor send the second touch-control module load request.
Preset storage unit herein can be this analog module where the first processor storage list that includes The deposit unit that the first or described analog module includes.
It should be noted that this analog module carry refers in second processor: having in the analog module in advance The program code woven, to execute the instruction and data that send by aforementioned first processor, while by described in execution The code finished in advance is communicated with being modeled to target device with second processor foundation.
It should be noted that in one embodiment, carrying out the dual system termi-nal of touch-control module switching in application this method In the case that equipment is in running order, analog module in the time of this working condition always carry in the second processing On device, and in the state that can send message to the second processor at any time, designs have an advantage that in this way, the simulation Module once receives the corresponding target data of switching touch-control module sent by aforementioned first processor, can run default Program is modeled to the corresponding touch control device of target data and is accessed, is sent to the target data with this and be always maintained at communication Second processor, allow this second processor directly to execute dependent instruction and load out the second touch-control module, to save Previous needs real-time loading in second processor goes out the load time of touching box USB, so that solving switching touches delay Problem.In the method, it is technically characterized in that this increased analog module on first processor.
In step 502, the analog module receives the second touch-control module request of data that second processor returns, and obtains It is stored in the target data of the preset storage unit, and the second processing is sent to by preset I/O port Device.
It should be noted that the realization of this programme is based on encoding in advance in this analog module, to allow to execute The instruction of the carry and simulation;In one embodiment, the analog module can be realized by microprocessors such as single-chip microcontrollers.
In step 203, second touch-control module is loaded under the second processor based on the target data, with Switch to second touch-control module.
Fig. 6 is to be based on the target data in one embodiment in the touch-control module switching method based on dual system described The flow chart of the second touch modules is loaded under second processor.The loading procedure of the step 203 includes at least step 601 to step Rapid 602, it is explained in detail below with reference to Fig. 6:
In step 601, target USB device is determined according to the USB device identifier for including in the target data.
Illustrate in conjunction with done in step 301, the USB device identifier that should include in this target data makes it possible to really USB device set the goal to complete the realization of subsequent touch-control module switching and touch function.
In step 602, configuration data corresponding with the target USB device is configured is transferred from preset storage unit, The configuration data is loaded to complete the load to second touch-control module corresponding with the target USB device.
Load configuration data herein includes the target USB that is simulated to analog module according to acquired target data Equipment is responded, and distributes the instruction etc. that the subsequent transmission of the analog module is executed to areas inside operating in memory.Herein Second touch-control module refers to for running the target device touch-screen type Trackpad as the aforementioned simulated with present day analog module Corresponding driver is to realize the touch function of preassembled second system.
It should be noted that above-mentioned first touch-control module and above-mentioned second touch-control module are actually a series of to locate The hardware of the identification of external touch control device and the load of driver and the consolidation function body of software are completed on reason device.
Fig. 7 is the flow chart of the touch-control module switching method based on dual system in another embodiment.
In another embodiment, the terminal device including the first system and second system, the terminal device include the One processor and second processor, the first system correspond to first processor, and the second system corresponds to second processor;Institute Stating first processor further includes analog module;
Instruction, which is received, in the dual system touch-control device is switched to first system from currently running second system When the instruction of system, the process of the touch-control module switching includes at least step 701 to step 703, is described below with reference to Fig. 7:
In step 701, in second system operation, the switching command of input is received, the switching command is used for Currently running second system is switched to the first system by instruction.
In one embodiment, this second system can be to be pre-installed on terminal device and be based at preset second The Windows operating system that device is realized is managed, optionally, it is different from the first system which is also possible to IOS system etc. Mainstream operation system, it should be noted that the replacement of the first system or second system has no effect on the implementation of this method.
In a step 702, the corresponding processing data of analog module are obtained as target data.
In step 703, first touch-control module is loaded under the first processor based on the target data, with Switch to first touch-control module.
It needs to be described collectively, in the touch-control module switching flow based on dual system out shown in Fig. 7, apply The switching method of touch-control module when from the second system being switched to the first system on this terminal device of this method Be switched to the difference of second system from the first system in method shown in Fig. 2 and have the technical effect that carry here The analog module of two processors is contained in advance on the corresponding first processor of the first system, and substantially, and here the Corresponding second touch-control module of two system is to realize that its analog functuion is served as by the analog module, so preceding aim data are answered For the corresponding processing data of the analog module.
Fig. 8 is that the touch-control module switching method based on dual system " is using the double touch-control plates of dual system in one embodiment Specific flow chart under the application scenarios of touch-control module switching when computer ".
Below with reference to Fig. 8 show according to the present invention an example embodiment for " using the double touch-screen tablet computers of dual system When touch-control module switch " application scenarios under detailed process.
As shown in figure 8, the detailed process under the application scenarios of one embodiment of the invention includes step A to step E.
Be explained as follows: for the method i.e. using the double touch-screen tablet computers of the dual system as terminal is implemented, the plate is electric Brain includes at least: first processor and second processor, wherein includes a carry on the first processor described Analog module on two processors and one are configurable to the Trackpad of touch display screen type.
In step, system switching command is received by first processor.
Specifically, passing through the plate in the case where the tablet computer runs Android system (as the first system) First touch-control module of the first processor built in computer receives the instruction of tablet computer user's switching system.Optionally, The mode that user sends switching command, which can be, advises equipment clicking trigger and institute by conjunctions such as the capacitive touch pens that in addition configures State the capacitance type sensor or trigger and the Trackpad phase by modes such as finger clicks that tablet computer Trackpad is connected The preset electromagnetic sensor of connection.
It should be noted that the selection of the touch control manner of the tablet computer has no effect on the touch-control mould in this method The implementation of block switching selects aforementioned any mode in user.In the operation of aforementioned the first system, the switching for receiving input refers to It enables, which, which is used to indicate, is switched to the second system for currently running the first system.
And in this application scenarios, since the double touch-screen tablet computers of this dual system are equipped with Android system (before i.e. in advance State the first system) and windows system (as second system), therefore the instruction of switching system herein by user be defaulted as from Currently running Android system is switched to the system i.e. Windows system of another prepackage.If method of the invention is expanded to In the equipment of more than two systems, then it should do the conversion based on system and do corresponding adjustment, but this method is in multisystem touch-control The technical detail of expanded application in formula terminal does not repeat not in the desired protection scope of the application.
In stepb, the corresponding processing data of the first touch-control module of the first system are obtained as target data.
In this application scenarios, this first touch-control module can be at the data of the touch-control board communications of this tablet computer Module is managed, for loading out the driver of aforementioned Trackpad on this first processor, to help tablet computer to identify touching Plate is controlled, the touch function for realizing tablet computer with interacting is in communication with.
Optionally, the corresponding identifier of USB device that data corresponding with first touch-control module as currently connect, Aforementioned Trackpad is the corresponding target USB device of the first touch-control module in this application scenarios;
Wherein, after this Trackpad accesses aforementioned tablet computer, by first processor from preset storage unit tune Configuration data corresponding with configuration preceding aim USB device is taken, loads the configuration data to complete to set to described with this target USB The load of standby corresponding first touch-control module.
In step C, the target data is sent to predetermined analog module.
In this application scenarios, which can be mounted in the motherboard hardware of aforementioned first processor One MCU (Micro Controller Unit) micro-control unit (single-chip microcontroller), this single-chip microcontroller are prestored to execute simulation At target USB device and realize that carry in the code command in second processor, is turned on i.e. first in aforementioned tablet device While processor starts operation, this single-chip microcontroller i.e. while being powered and realizes carry in the second processor, that is to say, that While the first system operation, this analog module runs simultaneously and keeps communications status with aforementioned second processor.
In step D, it is based on the target data, the second touch-control mould is loaded out in the second processor of second system Block.
In this application scenarios, second processor corresponding with second system built in aforementioned tablet device receive by It is aforementioned to be responded thereto after the target data as transmitted by the analog module that appropriate model single-chip microcontroller serves as at once, with The analog module is identified according to this target data, which is identified as to the new external equipment of second system.
In step E, second touch-control module is switched to, realizes the touch function on second system.
Optionally, in this application scenarios, the realization of the touch function on the second realization second system can specifically refer to pair Operation on the Trackpad of aforementioned tablet computer carries out real-time response to execute the subsequent instructions of tablet computer user transmission.
Fig. 9 is the structural block diagram of the touch-control module switching device based on dual system in one embodiment.
Refering to what is shown in Fig. 9, the touch-control module switching device 900 according to an embodiment of the invention based on dual system, It include: receiving unit 901, acquiring unit 902, loading unit 903.
Wherein, receiving unit 901 is used to receive the switching command of input, the switching in the first system operation Instruction, which is used to indicate, is switched to the second system for currently running the first system;Acquiring unit 902 is for obtaining current fortune The target data is sent to described by the corresponding processing data of the first touch-control module of capable the first system as target data Analog module;Loading unit 903 is used to load the second touch-control mould under the second processor based on the target data Block, to switch to second touch-control module.
Optionally, in one embodiment, receiving unit 901 is also used to according to the switching command, will be currently running The first system is switched to the second system.
Optionally, in one embodiment, acquiring unit 902 is also used to after receiving the switching command, passes through institute State the corresponding processing data of the first touch-control module that first processor obtains currently running the first system, the processing data packet Include the descriptor of the corresponding USB device of the first touch-control module of the first system;And using the processing data as number of targets According to.
Specific implementation process is as follows:
Optionally, in one embodiment, acquiring unit 902 is also used to after the instruction for receiving the switching system, Obtain the I/O port state and program identification of the analog module;The analog module I/O port state and In the case that program identification meets preset transmission conditions, the target data is sent to analog module.
Optionally, in one embodiment, acquiring unit 902 be also used to the analog module receive target data it The target data is stored to preset storage unit afterwards, sends the second touch-control module load request to second processor;Institute It states analog module and receives the second touch-control module request of data that second processor returns, it is single that acquisition is stored in the preset storage The target data of member, and the second processor is sent to by preset I/O port
Optionally, in one embodiment, judging unit 903 is also used to be set according to the USB for including in the target data Standby identifier determines target USB device;Configuration number corresponding with the target USB device is configured is transferred from preset storage unit According to loading the configuration data to complete the load to second touch-control module corresponding with the target USB device.
Optionally, in another embodiment, receiving unit 901 is also used to receive defeated when the second system is run The switching command entered, the switching command, which is used to indicate, is switched to the first system for currently running second system.
Optionally, in another embodiment, acquiring unit 902 is also used to obtain the corresponding processing data of analog module and makees For target data.
Optionally, in another embodiment, loading unit 903 is also used to based on the target data at described first First touch-control module is loaded under reason device, to switch to first touch-control module.
Figure 10 is the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be terminal, It is also possible to server.As shown in Figure 10, the computer equipment include the processor connected by system bus, it is memory, outer Connect equipment, touch device and network interface.Wherein, memory includes non-volatile memory medium and built-in storage.The computer The non-volatile memory medium of equipment is stored with operating system, can also be stored with computer program, and the computer program is processed When device executes, processor may make to realize age recognition methods.Computer program can also be stored in the built-in storage, the calculating When machine program is executed by processor, processor may make to execute age recognition methods.It will be understood by those skilled in the art that Figure 10 Shown in structure, only the block diagram of part-structure relevant to application scheme, does not constitute and is answered application scheme With the restriction of computer equipment thereon, specific computer equipment may include than more or fewer portions as shown in the figure Part perhaps combines certain components or with different component layouts.
In one embodiment it is proposed that a kind of computer equipment, including memory and processor, the memory storage There is computer program, when the computer program is executed by the processor, so that the processor executes following steps:
In the first system operation, the switching command of input is received, the switching command is used to indicate current fortune Capable the first system is switched to the second system;
The corresponding processing data of the first touch-control module of currently running the first system are obtained as target data, it will be described Target data is sent to the analog module;
Second touch-control module is loaded, under the second processor based on the target data to switch to described Two touch-control modules.
In one embodiment it is proposed that a kind of readable storage medium storing program for executing, is stored with computer program, the computer program When being executed by processor, so that the processor executes following steps:
In the first system operation, the switching command of input is received, the switching command is used to indicate current fortune Capable the first system is switched to the second system;
The corresponding processing data of the first touch-control module of currently running the first system are obtained as target data, it will be described Target data is sent to the analog module;
Second touch-control module is loaded, under the second processor based on the target data to switch to described Two touch-control modules.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile readable and storage is taken to be situated between In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, each reality provided herein Apply any reference used in example to memory, storage, database or other media, may each comprise it is non-volatile and/or Volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM) Or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM (SRAM), It is dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), same Walk link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), direct memory bus Dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the guarantor of the application Protect range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of touch-control module switching method based on dual system, which is characterized in that the method be based on include the first system and The terminal device of second system, the terminal device include first processor and second processor, the first system corresponding the One processor, the second system correspond to second processor;The first processor further includes analog module;
In the first system operation, the analog module carry is in the second processor, for simulating second system Second touch-control module;
The described method includes:
In the first system operation, the switching command of input is received, the switching command is used to indicate will be currently running The first system is switched to the second system;
The corresponding processing data of the first touch-control module of currently running the first system are obtained as target data, by the target Data are sent to the analog module;
Second touch-control module is loaded, under the second processor based on the target data to switch to second touching Control module.
2. the method according to claim 1, wherein being gone back after the step of switching command for receiving input Include:
According to the switching command, currently running the first system is switched to the second system.
3. the method according to claim 1, wherein first touch-control for obtaining currently running the first system The corresponding processing data of module are as target data, comprising:
After receiving the switching command, the first touch-control of currently running the first system is obtained by the first processor The corresponding processing data of module, the processing data include the corresponding USB device of the first touch-control module of the first system Descriptor;
Using the processing data as target data.
4. according to the method described in claim 3, it is characterized in that, after the switching command for receiving input, further includes:
Obtain the I/O port state and program identification of the analog module;
In the case where the I/O port state and program identification of the analog module meet preset transmission conditions, by institute It states target data and is sent to the analog module.
5. the method according to claim 1, wherein described be sent to the analog module for the target data Later, further includes:
The target data is stored to preset storage unit by the analog module, sends the second touching to second processor Control module loading request;
The second touch-control module request of data that second processor returns is received by the analog module, acquisition is stored in described pre- If storage unit target data, and the second processor is sent to by preset I/O port.
6. the method according to claim 1, wherein described be based on the target data in the second processor The second touch-control module of lower load, comprising:
Target USB device is determined according to the USB device identifier for including in the target data;
Configuration data corresponding with the target USB device is configured is obtained from the preset storage unit, loads the configuration Data are to complete the load to second touch-control module corresponding with the target USB device.
7. the method according to claim 1, wherein the method also includes:
In second system operation, the switching command of input is received, the switching command is used to indicate will be currently running Second system is switched to the first system;
The corresponding processing data of the analog module are obtained as target data;
First touch-control module is loaded, under the first processor based on the target data to switch to first touching Control module.
8. a kind of touch-control module switching device based on dual system, which is characterized in that described device includes:
Receiving unit: for receiving the switching command of input, the switching command is used to indicate in the first system operation Currently running the first system is switched to the second system;
Acquiring unit: the corresponding processing data of the first touch-control module for obtaining currently running the first system are as number of targets According to the target data is sent to the analog module;
Loading unit: for loading second touch-control module under the second processor based on the target data, to cut Shift to second touch-control module.
9. a kind of readable storage medium storing program for executing is stored with computer program, when the computer program is executed by processor, so that described Processor is executed such as the step of any one of claims 1 to 7 the method.
10. a kind of computer equipment, including memory and processor, the memory is stored with computer program, the calculating When machine program is executed by the processor, so that the processor executes the step such as any one of claims 1 to 7 the method Suddenly.
CN201910357354.4A 2019-04-29 2019-04-29 Touch-control module switching method, device, equipment and readable medium based on dual system Pending CN110119222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910357354.4A CN110119222A (en) 2019-04-29 2019-04-29 Touch-control module switching method, device, equipment and readable medium based on dual system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910357354.4A CN110119222A (en) 2019-04-29 2019-04-29 Touch-control module switching method, device, equipment and readable medium based on dual system

Publications (1)

Publication Number Publication Date
CN110119222A true CN110119222A (en) 2019-08-13

Family

ID=67521660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910357354.4A Pending CN110119222A (en) 2019-04-29 2019-04-29 Touch-control module switching method, device, equipment and readable medium based on dual system

Country Status (1)

Country Link
CN (1) CN110119222A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112015605A (en) * 2020-07-28 2020-12-01 深圳市金泰克半导体有限公司 Memory test method and device, computer equipment and storage medium
CN112162514A (en) * 2020-09-28 2021-01-01 联合汽车电子有限公司 Synchronization module, auxiliary synchronization module and domain controller
CN112506819A (en) * 2019-08-26 2021-03-16 成都鼎桥通信技术有限公司 Dual-system-based external equipment control method, device, equipment and storage medium
CN114168203A (en) * 2020-09-10 2022-03-11 成都鼎桥通信技术有限公司 Dual-system running state control method and device and electronic equipment
CN114296575A (en) * 2021-12-31 2022-04-08 深圳市华胜软件技术有限公司 Touch interaction method and device, storage medium and computer equipment
CN114816624A (en) * 2022-04-02 2022-07-29 厦门亿联网络技术股份有限公司 Dual-system display interaction method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040162930A1 (en) * 1998-09-09 2004-08-19 Microsoft Corporation Highly componentized system architecture with loadable virtual memory manager
CN202383675U (en) * 2011-12-29 2012-08-15 上海博泰悦臻电子设备制造有限公司 Multiprocessor communication interface system for vehicular terminal
CN104077185A (en) * 2013-03-27 2014-10-01 联想(北京)有限公司 Shared device switching method and electronic equipment
CN104142859A (en) * 2014-07-31 2014-11-12 深圳市中兴移动通信有限公司 Fast switching method and device for double systems and mobile terminal
CN104216777A (en) * 2014-08-29 2014-12-17 宇龙计算机通信科技(深圳)有限公司 Double-system electronic device and terminal
CN104516779A (en) * 2013-09-27 2015-04-15 联想(北京)有限公司 System switching method and chip
JPWO2013132648A1 (en) * 2012-03-09 2015-07-30 パイオニア株式会社 Information processing apparatus, information processing method, recording medium on which information processing program is recorded, and information processing program
WO2015117301A1 (en) * 2014-07-31 2015-08-13 中兴通讯股份有限公司 Method and apparatus for operating touch screen device
CN204633911U (en) * 2015-05-19 2015-09-09 创维光电科技(深圳)有限公司 A kind of full tunnel touches TV integrated machine
TWI563435B (en) * 2015-12-23 2016-12-21 Imagination Broadway Synchronization method and touch signal processing system using the same
CN109542829A (en) * 2018-11-29 2019-03-29 北京元心科技有限公司 The control method of GPU equipment, device and electronic equipment in multisystem

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040162930A1 (en) * 1998-09-09 2004-08-19 Microsoft Corporation Highly componentized system architecture with loadable virtual memory manager
CN202383675U (en) * 2011-12-29 2012-08-15 上海博泰悦臻电子设备制造有限公司 Multiprocessor communication interface system for vehicular terminal
JPWO2013132648A1 (en) * 2012-03-09 2015-07-30 パイオニア株式会社 Information processing apparatus, information processing method, recording medium on which information processing program is recorded, and information processing program
CN104077185A (en) * 2013-03-27 2014-10-01 联想(北京)有限公司 Shared device switching method and electronic equipment
CN104516779A (en) * 2013-09-27 2015-04-15 联想(北京)有限公司 System switching method and chip
CN104142859A (en) * 2014-07-31 2014-11-12 深圳市中兴移动通信有限公司 Fast switching method and device for double systems and mobile terminal
WO2015117301A1 (en) * 2014-07-31 2015-08-13 中兴通讯股份有限公司 Method and apparatus for operating touch screen device
CN104216777A (en) * 2014-08-29 2014-12-17 宇龙计算机通信科技(深圳)有限公司 Double-system electronic device and terminal
CN204633911U (en) * 2015-05-19 2015-09-09 创维光电科技(深圳)有限公司 A kind of full tunnel touches TV integrated machine
TWI563435B (en) * 2015-12-23 2016-12-21 Imagination Broadway Synchronization method and touch signal processing system using the same
CN109542829A (en) * 2018-11-29 2019-03-29 北京元心科技有限公司 The control method of GPU equipment, device and electronic equipment in multisystem

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506819A (en) * 2019-08-26 2021-03-16 成都鼎桥通信技术有限公司 Dual-system-based external equipment control method, device, equipment and storage medium
CN112506819B (en) * 2019-08-26 2022-04-15 成都鼎桥通信技术有限公司 Dual-system-based external equipment control method, device, equipment and storage medium
CN112015605A (en) * 2020-07-28 2020-12-01 深圳市金泰克半导体有限公司 Memory test method and device, computer equipment and storage medium
CN112015605B (en) * 2020-07-28 2024-05-14 深圳市金泰克半导体有限公司 Memory testing method and device, computer equipment and storage medium
CN114168203A (en) * 2020-09-10 2022-03-11 成都鼎桥通信技术有限公司 Dual-system running state control method and device and electronic equipment
CN114168203B (en) * 2020-09-10 2024-02-13 成都鼎桥通信技术有限公司 Dual-system running state control method and device and electronic equipment
CN112162514A (en) * 2020-09-28 2021-01-01 联合汽车电子有限公司 Synchronization module, auxiliary synchronization module and domain controller
CN114296575A (en) * 2021-12-31 2022-04-08 深圳市华胜软件技术有限公司 Touch interaction method and device, storage medium and computer equipment
CN114816624A (en) * 2022-04-02 2022-07-29 厦门亿联网络技术股份有限公司 Dual-system display interaction method and device

Similar Documents

Publication Publication Date Title
CN110119222A (en) Touch-control module switching method, device, equipment and readable medium based on dual system
US4231087A (en) Microprocessor support system
CN102999350B (en) A kind of FPGA program upgrading download online method in digital signal processing platform
CN100530102C (en) Systems and methods for running a legacy 32-bit X86 virtual machine on a 64-bit X86 processor
CN100495479C (en) Single chip computer teaching experimental device based on on-line programmable logic device
CN103034609B (en) A kind of four-way FlexRay bus communication module
CN106802804B (en) Method and system for visualizing variable association component of human-computer interface
CN104155972A (en) Mechanical engineering electronic controller parameter debugging method
CN107608620B (en) Page turning processing method, electronic equipment and computer storage medium based on e-book
CN104598402A (en) Flash memory controller and control method of flash memory controller
CN103605542A (en) Online updater of FPGA configuration files
CN101206614B (en) Simulator for simulating register with specific function
CN103336701B (en) Intelligent guiding upgrade method
CN109074336A (en) For transmitting the system and method being programmed to the data in microcontroller
CN104077166A (en) EPCS and EPCQ storer online upgrading method based on IP core in FPGA
US8170860B2 (en) Method and device for emulating control and/or regulating functions of a control or regulating device
CN101432691A (en) Method and system for controlling timing in a processor
CN113608684B (en) Memory information acquisition method, device and system, electronic equipment and storage medium
JP5160844B2 (en) Method for increasing communication speed of HID device
CN103793263A (en) DMA transaction-level modeling method based on Power PC processor
CN103336666A (en) HID one-touch internet access method and HID using same
US8886512B2 (en) Simulation apparatus, computer-readable recording medium, and method
CN203012708U (en) Four-way Flex Ray bus communication module
CN102193860A (en) Microcontroller online debugging circuit and method as well as microcontroller
CN105117201B (en) method for providing instruction code

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20230721