CN102279705A - Method for wirelessly switching slides and terminal thereof - Google Patents

Method for wirelessly switching slides and terminal thereof Download PDF

Info

Publication number
CN102279705A
CN102279705A CN2011102215165A CN201110221516A CN102279705A CN 102279705 A CN102279705 A CN 102279705A CN 2011102215165 A CN2011102215165 A CN 2011102215165A CN 201110221516 A CN201110221516 A CN 201110221516A CN 102279705 A CN102279705 A CN 102279705A
Authority
CN
China
Prior art keywords
page
switching command
bluetooth
acceleration
interface
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
CN2011102215165A
Other languages
Chinese (zh)
Other versions
CN102279705B (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.)
Linyi High Tech Talent Education Development Group Co ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201110221516.5A priority Critical patent/CN102279705B/en
Publication of CN102279705A publication Critical patent/CN102279705A/en
Application granted granted Critical
Publication of CN102279705B publication Critical patent/CN102279705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for wirelessly switching slides and a terminal thereof. The method for wirelessly switching slides comprises the following steps: establishing a Bluetooth connection with the terminal; receiving Bluetooth data of switching slides from the terminal after the Bluetooth connection is established; decoding the Bluetooth data to obtain a previous-page switching instruction or a next-page switching instruction; converting the previous-page switching instruction or the next-page switching instruction corresponding to a previous-page trigger keyboard key value or a next-page trigger keyboard key value; and switching the slides according to the previous-page trigger keyboard key value or the next-page trigger keyboard key value. By the way, the method provided by the invention can realize remote operation, is convenient and fast and furthermore can improve user experience.

Description

The method of the wireless switching of lantern slide and terminal thereof
Technical field
The present invention relates to the method and the terminal thereof of the wireless switching of a kind of lantern slide.
Background technology
Lantern slide (as PPT) is as a kind of powerful presentation tool, be at school, speech, product demonstration, advertising or in the middle of meeting is carried out, all bringing into play enormous function.It to the content that spectators show lantern slide, makes spectators feel more directly perceived and lively to the performance of demo content by display or projector equipment.
But, nowadays the demonstrator is when using lantern slide to demonstrate, before generally can standing in the demonstration giant-screen for convenience of explanation away from the computer of playing lantern slides, when needs change to down one page or page up lantern slide, if unmanned help can only return the computer limit, by knocking keyboard or knocking mouse, realize that lantern slide is to page up or the switching of one page down.When the positive interest of demonstrator is waning, but have to get back to the dais and knock keyboard and mouse, influence demonstrator's rhythm and excitement, and then the effect of whole demonstration.
Certainly, market some have also occurred specially at the task equipment of the demonstration of lantern slide now, but these equipment need cost on the one hand, and on the other hand, the user often can often not carry, and convenience is poor.
Summary of the invention
The technical matters that the present invention mainly solves provides the method and the terminal thereof of the wireless switching of a kind of lantern slide, can leave lantern slide playing equipment and also can switch lantern slide, and is convenient and swift, can strengthen user experience.
For solving the problems of the technologies described above, the technical scheme that the embodiment of the invention adopts is: a kind of method of utilizing terminal to carry out the wireless switching of lantern slide is provided, comprises: set up with lantern slide playing equipment between bluetooth be connected; Setting up the size and Orientation that obtains the terminal acceleration after bluetooth connects; Whether the size of judging acceleration reaches first threshold; If the size of acceleration reaches first threshold, convert switching command to according to the direction of acceleration, if the direction of acceleration is a first direction, convert to the page up switching command, if the direction of acceleration is a second direction, convert downward one page switching command to; To be encoded into blue-teeth data to page up switching command or downward one page switching command; Connect to lantern slide playing equipment transmission blue-teeth data by bluetooth.
Wherein, before the bluetooth step of connecting between foundation and the lantern slide playing equipment, comprising: make terminal enter the slide demonstration pattern.
Wherein, before the step of the size and Orientation that obtains the mobile communication terminal acceleration, comprise: detect bluetooth between whether current and the lantern slide playing equipment and be connected available and whether enter the slide demonstration pattern, as if being steps of then obtaining the size and Orientation of terminal acceleration all; Otherwise do not obtain the step of the size and Orientation of terminal acceleration.
Wherein, after whether the size of judging acceleration reaches the step of first threshold, and convert to before the step of switching command according to the direction of acceleration, comprise: detect bluetooth and whether availablely connect, if then carry out converting to the step of switching command, otherwise do not carry out converting to the step of switching command according to the direction of acceleration according to the direction of acceleration.
Wherein, connecting before lantern slide playing equipment sends the step of blue-teeth data, comprising: adding the sign of indication the wireless switching of lantern slide to blue-teeth data by bluetooth.
For solving the problems of the technologies described above, another technical scheme that the embodiment of the invention adopts is: a kind of method of utilizing terminal to carry out the wireless switching of lantern slide is provided, comprises: set up with terminal between bluetooth be connected; Setting up the blue-teeth data that receives the switching lantern slide of self terminal after bluetooth connects; The decoding blue-teeth data obtains to page up switching command or downward one page switching command; To become to page up to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments to page up switching command or downward one page switching command corresponding conversion; According to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments switching lantern slide to page up.
Wherein, after the step of the blue-teeth data of setting up the switching lantern slide that receives self terminal after bluetooth connects, and decoding blue-teeth data, obtained before the step of page up switching command or downward one page switching command, comprise: judging whether blue-teeth data comprises the sign of indication to the wireless switching of lantern slide, is then to carry out blue-teeth data is decoded into to the page up switching command or the downward step of one page switching command; Otherwise do not carry out blue-teeth data is decoded into to the page up switching command or the downward step of one page switching command.
For solving the problems of the technologies described above, another technical scheme that the embodiment of the invention adopts is: a kind of mobile communication terminal is provided, comprises: first bluetooth module, be used to set up with lantern slide playing equipment between bluetooth be connected; Action sensing module is used for the size and Orientation that obtains the terminal acceleration after bluetooth connects setting up; Judge module is used to judge whether the size of acceleration reaches first threshold; First modular converter is used for if the size of acceleration reaches first threshold, converts switching command to according to the direction of acceleration, if the direction of acceleration is a first direction, convert to the page up switching command,, convert downward one page switching command to if the direction of acceleration is a second direction; Coding module is used for and will be encoded into blue-teeth data to page up switching command or downward one page switching command; First bluetooth module also is used for connecting to lantern slide playing equipment transmission blue-teeth data by bluetooth.
Wherein, terminal comprises baseband chip; Action sensing module comprises the first sequential interface, first data-interface, first interrupt interface and first power interface; Baseband chip comprises the second sequential interface, second data-interface, second interrupt interface, secondary signal transmission interface and secondary signal receiving interface, baseband chip also comprises power management module, and power management module comprises second source interface and the 3rd power interface; First bluetooth module comprises Bluetooth chip and Bluetooth antenna, and Bluetooth chip comprises the 4th power interface, the first signal transmission interface, first signal receiving interface and the antennal interface; The first sequential interface connects the second sequential interface, and first data-interface connects second data-interface, and first interrupt interface connects second interrupt interface, and first power interface connects the second source interface; The 4th power interface connects the 3rd power interface, and the first signal transmission interface connects the secondary signal transmission interface, and the first signal receiving interface connects the secondary signal receiving interface, and antennal interface connects Bluetooth antenna.
For solving the problems of the technologies described above, another technical scheme that the embodiment of the invention adopts is: a kind of lantern slide playing equipment is provided, comprise: second bluetooth module, be used to set up with terminal between bluetooth be connected, and be used for connecting the blue-teeth data that the back receives the switching lantern slide of self terminal setting up bluetooth; Decoder module is used to the blue-teeth data of decoding, and obtains to page up switching command or downward one page switching command; Second modular converter is used for and will becomes to page up to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments to page up switching command or downward one page switching command corresponding conversion; And handover module, be used for according to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments switching lantern slide to page up.
The invention has the beneficial effects as follows: be different from prior art and need buy opertaing device separately and lantern slide playing equipment is carried out lantern slide switches and increase cost, perhaps leave lantern slide playing equipment and unworkable situation, the present invention is on existing terminal hardware structure, the size and Orientation of the acceleration by responding to this terminal, when acceleration magnitude reaches first threshold, according to the direction of acceleration with this action be converted into lantern slide to page up switching command or one page switching command downwards, and by this instruction of Bluetooth transmission, receive this instruction by lantern slide playing equipment at last, realize that lantern slide is to page up or the switching of one page downwards, can utilize existing terminal and need not to buy in addition hardware such as opertaing device, can leave simultaneously lantern slide playing equipment and also can carry out the operation that lantern slide switches, save cost, and improve convenience.
Description of drawings
Fig. 1 is that the present invention utilizes terminal to carry out the process flow diagram of method first embodiment of the wireless switching of lantern slide;
Fig. 2 is that the present invention utilizes terminal to carry out the process flow diagram of method second embodiment of the wireless switching of lantern slide;
Fig. 3 is that the present invention utilizes terminal to carry out the process flow diagram of method the 3rd embodiment of the wireless switching of lantern slide;
Fig. 4 is that the present invention utilizes terminal to carry out the process flow diagram of method the 4th embodiment of the wireless switching of lantern slide;
Fig. 5 is that the present invention utilizes terminal to carry out the process flow diagram of method the 5th embodiment of the wireless switching of lantern slide;
Fig. 6 is the structured flowchart of mobile communication terminal first embodiment of the present invention;
Fig. 7 is the structured flowchart of mobile communication terminal second embodiment of the present invention;
Fig. 8 is the circuit diagram of mobile communication terminal second embodiment of the present invention;
Fig. 9 is the structured flowchart of lantern slide playing equipment first embodiment of the present invention.
Embodiment
The present invention is described in detail below in conjunction with drawings and Examples.
Consult Fig. 1, Fig. 1 is that the present invention utilizes terminal to carry out the process flow diagram of method first embodiment of the wireless switching of lantern slide.The embodiment of the invention comprises the steps:
Step S1, set up with lantern slide playing equipment between bluetooth be connected.
Such as, mobile communication terminal and lantern slide playing equipment all have Bluetooth function, the present invention's mentioned terminal in full is example with the mobile phone, certainly be not limited to mobile phone, can be that any terminal with Bluetooth function comprises panel computer etc., lantern slide playing equipment is example with the computer in addition, also is not limited to computer certainly.
Computer is set up blue teeth wireless with mobile phone and is connected, and mobile phone is as main equipment, and computer is as slave unit.Before needs carried out lantern slide control, the bluetooth module of mobile phone carried out the inquiry of peripheral bluetooth equipment, initiated connection request after finding this computer.The bluetooth module of computer is waited for establishment of connection, and receives connection request, sets up bluetooth with the bluetooth module of mobile phone and is connected.
Before carrying out above-mentioned bluetooth connection, at first, the bluetooth module of computer need be finished the parameter setting in advance, this parameter setting comprises and sweep parameter is set, is provided with whether to need to verify, be provided with paging overtime etc., after setting up above-mentioned each parameter, the bluetooth module of computer such as just enters at state to be connected.Then, the bluetooth module of mobile phone selects to enter slide demonstration pattern (promptly entering in the application of control lantern slide switching).The bluetooth module of mobile phone is inquired about and matching process like this, obtains the address of the bluetooth module of computer, and connection request is initiated in the address of the bluetooth module of the computer that obtains according to inquiry.Bluetooth connects after the foundation, just can carry out the transmitting-receiving of data.
Step S2 is setting up the size and Orientation that obtains the terminal acceleration after bluetooth connects.
Such as, embedded in mobile phone has action sensing module, and action sensing module is an acceleration transducer.This acceleration transducer obtains the acceleration of mobile phone in real time, and acceleration is a vector, promptly needs to obtain the size and Orientation of acceleration.
This step is the seizure to user action, acceleration transducer can the sensing mobile phone in the acceleration change of three-dimensional all directions, three-dimensional comprises: X, Y and Z direction, acceleration has positive and negative branch, same in the coordinate system of acceleration transducer self, the acceleration opposite with these three directions is defined as negative acceleration.
When mobile phone up and down, about or front and back when acceleration is arranged, acceleration transducer will obtain its acceleration, and the three-dimensional of report current phone, be the size of the acceleration of X-axis, Y-axis and these three directions of Z axle, also comprise the negative direction size of the acceleration of the negative direction of X-axis, Y-axis and Z axle just certainly.This acceleration transducer can be when the mobile phone acceleration changes, the size and Orientation of real-time report three-dimensional acceleration, draw the motion state of current phone again according to the size and Orientation data computation of acceleration, thereby catch user's action, i.e. left and right sides whipping mobile phone, whipping mobile phone or stir mobile phone etc. up and down.Certain hour is built in the mobile phone configuration file, also can be defined voluntarily by user's actual demand.
Step S3 judges whether the size of acceleration reaches first threshold.
Such as, this first threshold values can be built in a fixed numeric values of mobile phone configuration file, and at this moment, the user can't change this numerical value; This first threshold also can be to be kept at the value that is provided with voluntarily by the user in the mobile phone file system.If the value that the user is provided with, then according to this numerical value at the pairing position ID of file system, this fixed value is read from file system, assignment is given the variable in the internal memory.
By the variation of calculating the mobile phone acceleration in the certain hour draw mobile phone whether on certain direction by whipping.As, when mobile phone left during whipping, will be in direction left, promptly the positive dirction of X-axis obtains acceleration, reach first threshold values according to the size of the acceleration of the direction left of mobile phone in the certain hour, just can draw mobile phone by left whipping.
Step S4 if the size of acceleration reaches first threshold, converts switching command to according to the direction of acceleration, if the direction of acceleration is a first direction, convert to the page up switching command,, convert downward one page switching command to if the direction of acceleration is a second direction.
Such as, after action sensing module captures user action, and judge that this user action is effective, promptly the size of acceleration reaches first threshold, expresses the switching intention of user to lantern slide.
At this moment, need to convert this action to the lantern slide switching command.Lantern slide mainly contains two kinds of switching modes: switch and one page switching downwards to page up.
General, the machine of will swinging one's arm left, the direction of acceleration is defined as first direction, is converted to the page up switching command, the machine of will swinging one's arm to the right, the direction of acceleration is defined as second direction, is converted to downward one page switching command.Certainly, also the machine of swinging one's arm left can be converted to downward one page switching command, the machine of swinging one's arm is converted to the page up switching command to the right.Definition rule is looked the user and is accustomed to setting, and its principle is not described in detail as mentioned herein.
Owing to have only two kinds of switching modes, therefore, to the page up switching command, represent downward one page switching command with integer data 1 with 0 expression of integer data.Certainly, its expression mode can be various, and this paper is example with 0 and 1.
In this step, action is converted to behind page up or downward one page switching command (0 or 1), this switching command is sent to bluetooth module.
Step S5 will be encoded into blue-teeth data to page up switching command or downward one page switching command.
Receive to the page up switching command or downwards behind one page switching command (0 or 1) such as, bluetooth module, this switching command is encoded to the data layout of Bluetooth transmission, promptly be encoded to blue-teeth data.
Step S6 connects to lantern slide playing equipment transmission blue-teeth data by bluetooth.
Such as, be encoded into blue-teeth data to the page up switching command or downwards one page switching command connect the lantern slide playing equipment that sends to by bluetooth.
Step S7, lantern slide playing equipment receive the blue-teeth data of the switching lantern slide of self terminal.
Such as, lantern slide playing equipment refers generally to computer, after terminal is set up bluetooth and is connected, receive the blue-teeth data of self terminal, this blue-teeth data specially refers to be used to switch the instruction of lantern slide, promptly by the blue-teeth data of encoding and forming to page up switching command or downward one page switching command.Because only the blue-teeth data of this type is effective for purposes of the invention.
Step S8, the decoding blue-teeth data obtains to page up switching command or downward one page switching command.
Such as, will be by to page up switching command or the blue-teeth data decoding that forms of one page switching command coding downwards, be reduced into to page up switching command or one page switching command downwards, promptly be reduced into simple machine code (0 or 1).
Step S9 will become to page up to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments to page up switching command or downward one page switching command corresponding conversion.
Such as, will correspond to actual trigger slides to the page up switching command and trigger the keyboard key assignments to page up, downward one page switching command is corresponded to the downward one page of actual trigger slides trigger the keyboard key assignments.Switch to page up if expression is got rid of on a left side, converting switching command to is 0, and it is P that lantern slide triggers the keyboard key assignments to page up, in the real work, is about to 0 corresponding P, and the effect of triggering 0 is identical with the effect of triggering P.
Step S10 is according to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments switching lantern slide to page up.
Such as, trigger the keyboard key assignments that the control lantern slide switches, and after the application of lantern slide receives the keyboard key assignments, with actual keyboard be pressed the same, thereby the application of controlling lantern slide is switched.
At this, continuously to the left or to the right, can realize continuous page turning, switch lantern slide, identical to other direction whipping mobile phone principle, give unnecessary details no longer one by one herein.
The embodiment of the invention, the size and Orientation of the acceleration by inductive terminations, when acceleration magnitude reaches first threshold, according to the direction of acceleration with this action be converted into lantern slide to page up switching command or one page switching command downwards, and by this instruction of Bluetooth transmission, receive this instruction by lantern slide playing equipment at last, and by receiving end reception and this instruction of decoding, at last this instruction is corresponded to actual keyboard key assignments, realize that lantern slide to page up or the switching of one page downwards, can not increase hardware, save cost, and the raising convenience, strengthen user experience simultaneously.
Consult Fig. 2, Fig. 2 is that the present invention utilizes terminal to carry out the process flow diagram of method second embodiment of the wireless switching of lantern slide.Comprise the steps:
Step S11, set up with lantern slide playing equipment between bluetooth be connected.
Computer is set up blue teeth wireless with mobile phone and is connected.Before needs carried out lantern slide control, the bluetooth module of mobile phone was inquired about current blueteeth network, and initiated connection request.The bluetooth module of computer is waited for establishment of connection, and receives connection request, sets up bluetooth with the bluetooth module of mobile phone and is connected.
As required, the bluetooth module of mobile phone is inquired about and matching process, obtains the address of the bluetooth module of computer, and connection request is initiated in the address of the bluetooth module of the computer that obtains according to inquiry.Bluetooth connects after the foundation, just can carry out the transmitting-receiving of data.
Step S12 is setting up the size and Orientation that obtains the terminal acceleration after bluetooth connects.
Such as, embedded in mobile phone has action sensing module, and action sensing module is an acceleration transducer.This acceleration transducer obtains the acceleration of mobile phone in real time, and acceleration is a vector, promptly needs to obtain the size and Orientation of acceleration.
This acceleration transducer can be when the mobile phone acceleration changes, the size and Orientation of real-time report three-dimensional acceleration, draw the motion state of current phone again according to the size and Orientation data computation of acceleration, thereby catch user's action, i.e. left and right sides whipping mobile phone, whipping mobile phone or stir mobile phone etc. up and down.Certain hour is built in the mobile phone configuration file, also can be defined voluntarily by user's actual demand.
Step S13 judges whether the size of acceleration reaches first threshold.
Such as, by the variation of calculating the mobile phone acceleration in the certain hour draw mobile phone whether on certain direction by whipping.As, when mobile phone left during whipping, will be in direction left, the positive dirction that is X-axis obtains acceleration, (this first threshold values can be built in a fixed numeric values of mobile phone configuration file to reach first threshold values according to the size of the acceleration of the direction left of mobile phone in the certain hour, at this moment, the user can't change this numerical value; This first threshold also can be to be kept at the value that is provided with voluntarily by the user in the mobile phone file system), just can draw mobile phone by left whipping.
Step S14 if the size of acceleration reaches first threshold, converts switching command to according to the direction of acceleration, if the direction of acceleration is a first direction, convert to the page up switching command,, convert downward one page switching command to if the direction of acceleration is a second direction.
Such as, after action sensing module captures user action, and judge that this user action is effective, promptly the size of acceleration reaches first threshold, expresses the switching intention of user to lantern slide.
At this moment, need to convert this action to the lantern slide switching command, promptly to page up switching command or downward one page switching command.
General, the machine of swinging one's arm left, the direction of acceleration is defined as first direction, is converted to the page up switching command, the machine of swinging one's arm to the right, the direction of acceleration is defined as first direction, is converted to downward one page switching command.Certainly, can define also left that the machine of swinging one's arm is converted to downward one page switching command, the machine of swinging one's arm is converted to the page up switching command to the right.Definition rule is looked the user and is accustomed to setting, and its principle is not described in detail as mentioned herein.
Owing to have only two kinds of switching modes, therefore, to the page up switching command, represent downward one page switching command with integer data 1 with 0 expression of integer data.
In this step, action is converted to behind page up or downward one page switching command (0 or 1), this switching command is sent to bluetooth module.
Step S15 will be encoded into blue-teeth data to page up switching command or downward one page switching command.
Receive to the page up switching command or downwards behind one page switching command (0 or 1) such as, bluetooth module, this switching command is encoded to the data layout of Bluetooth transmission, promptly be encoded to blue-teeth data.
Step S16 connects to lantern slide playing equipment transmission blue-teeth data by bluetooth.
Such as, be encoded into blue-teeth data to the page up switching command or downwards one page switching command connect the lantern slide playing equipment that sends to by bluetooth.
The embodiment of the invention, the size and Orientation of the acceleration by responding to this terminal, when acceleration magnitude reaches first threshold, according to the direction of acceleration with this action be converted into lantern slide to page up switching command or one page switching command downwards, and, receive this instruction by lantern slide playing equipment at last by this instruction of Bluetooth transmission, can not increase hardware, save cost, and improve convenience.
Another preferred implementation of the embodiment of the invention, in step S11, mobile phone is as main equipment, and computer when Bluetooth of mobile phone and computer bluetooth are set up bluetooth, need carry out the password coupling as slave unit.When having only password the match is successful, just allow Bluetooth of mobile phone to be connected to the computer bluetooth.Can effectively filter non-designated user bluetooth connection request, can effectively stop equipment such as the own mobile phone of artificial utilization to hinder the operation of speaker lantern slide.
Consult Fig. 3, Fig. 3 is that the present invention utilizes terminal to carry out the process flow diagram of method the 3rd embodiment of the wireless switching of lantern slide.Be with the difference of second embodiment of the invention:
Before step S11, comprising: step S17 makes terminal enter the slide demonstration pattern.
In addition, after step S11, before the step S12, comprising: whether current step S18, detect bluetooth between and the lantern slide playing equipment and be connected available and whether enter the slide demonstration pattern.
Such as, available if terminal is connected with bluetooth between the lantern slide playing equipment, and lantern slide playing equipment enters the slide demonstration pattern, and promptly condition is all set up, and then obtains the step of the size and Orientation of terminal acceleration, promptly enters step S12; Otherwise do not obtain the step of the size and Orientation of mobile communication terminal acceleration, promptly do not enter step S12.Can saves energy, prolong the working time of terminal.
Meanwhile, between step S13 and step S14, also comprise:
Whether step S19 detects bluetooth and connects available.
Such as, if the bluetooth connection is available, then carry out converting to the step of switching command according to the direction of acceleration, promptly enter step S14; If it is unavailable that bluetooth connects, then do not carry out converting to the step of switching command according to the direction of acceleration, promptly do not enter step S14.Here, bluetooth connects available finger, Bluetooth of mobile phone and computer bluetooth connect, and signal intensity (this second threshold value is set as required greater than second threshold value, equally, being built in the fixed numbers in the mobile phone configuration file, also can be to be set in numerical value in the mobile phone file system by the user).Equally can saves energy, prolong the working time of terminal
In the present embodiment, after step S15, before the step S16, also comprise:
Step S20 adds the sign of indication to the wireless switching of lantern slide to blue-teeth data.
Because the blue-teeth data that connects transmission by bluetooth comprises various data and instruction, correctly tell the switching of the realization of the object of the invention to lantern slide, need tell to page up switching command and downward one page switching command.By to the page up switching command with downwards the head end of the blue-teeth data that forms of one page switching command coding or tail end or head end tail end add sign simultaneously, succinct, can identify as this with * ##*, certainly,, whether not can to the sign of page up switching command and downward one page switching command as long as can help to tell this blue-teeth data clear, easily only for therewith.
The embodiment of the invention, by increasing step S17 to S20, can saves energy by detecting whether available bluetooth connect and whether enter the slide demonstration pattern, prolong the working time of terminal, can know that by adding sign distinguishing blue-teeth data easily is to page up switching command or downward one page switching command, or other blue-teeth data.
Consult Fig. 4, Fig. 4 is that the present invention utilizes terminal to carry out the process flow diagram of method the 4th embodiment of the wireless switching of lantern slide.
Step S21, lantern slide playing equipment receive the blue-teeth data of the switching lantern slide of self terminal.
Such as, lantern slide playing equipment refers generally to computer, after terminal is set up bluetooth and is connected, receive the blue-teeth data of self terminal, this blue-teeth data specially refers to be used to switch the instruction of lantern slide, promptly by the blue-teeth data of encoding and forming to page up switching command or downward one page switching command.Because only the blue-teeth data of this type is effective for purposes of the invention.
Step S22, the decoding blue-teeth data obtains to page up switching command or downward one page switching command.
Such as, will be by to page up switching command or the blue-teeth data decoding that forms of one page switching command coding downwards, be reduced into to page up switching command or one page switching command downwards, promptly be reduced into simple machine code (0 or 1).
Step S23 will become to page up to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments to page up switching command or downward one page switching command corresponding conversion.
Such as, will correspond to actual trigger slides to the page up switching command and trigger the keyboard key assignments to page up, downward one page switching command is corresponded to the downward one page of actual trigger slides trigger the keyboard key assignments.Switch to page up if expression is got rid of on a left side, converting switching command to is 0, and lantern slide is P to the keyboard key assignments that page up switches, and in the real work, is about to 0 corresponding P, and the effect of triggering 0 is identical with the effect of triggering P.
Step S24 is according to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments switching lantern slide to page up.
Such as, trigger the keyboard key assignments that the control lantern slide switches, and after the application of lantern slide receives the keyboard value, with actual keyboard be pressed the same, thereby the application of controlling lantern slide is switched.
The embodiment of the invention, blue-teeth data by the receiving terminal transmission, and resolve this blue-teeth data acquisition to page up switching command or downward one page switching command, and it is corresponded to the keyboard key assignments of lantern slide playing equipment correspondence, can realize page turning at last to lantern slide, need not button, can strengthen user experience.
Consult Fig. 5, Fig. 5 is that the present invention utilizes terminal to carry out the process flow diagram of method the 5th embodiment of the wireless switching of lantern slide.Between step S21 and step S22, also comprise:
Step S25 judges whether blue-teeth data comprises the sign of indication to the wireless switching of lantern slide.
If comprise the sign of indication to the wireless switching of lantern slide, remove this sign after, carry out blue-teeth data is decoded into to the page up switching command or the downward step of one page switching command, promptly carry out step S22; Otherwise do not carry out blue-teeth data is decoded into to the page up switching command or the downward step of one page switching command, promptly do not carry out step S22.By judging whether this blue-teeth data is the realization lantern slide page-turning function of the object of the invention, can further save the terminal electricity consumption, prolong the terminal works time.
Consult Fig. 6, Fig. 6 is the structured flowchart of mobile communication terminal first embodiment of the present invention.Present embodiment comprises: first bluetooth module 1, action sensing module 2, judge module 3, first modular converter 4 and coding module 5.
First bluetooth module 1, be used to set up with lantern slide playing equipment between bluetooth be connected;
Action sensing module 2 connects first bluetooth module 1, is used for the size and Orientation that obtains the terminal acceleration after bluetooth connects setting up;
Judge module 3, connecting moves induction module 2 is used to judge whether the size of acceleration reaches first threshold;
First modular converter 4, connection judgment module 3, be used for if the size of acceleration reaches first threshold, direction according to acceleration converts switching command to, if the direction of acceleration is a first direction, convert to the page up switching command,, convert downward one page switching command to if the direction of acceleration is a second direction;
Coding module 5 connects first modular converter 4, is used for being encoded into blue-teeth data to page up switching command or downward one page switching command;
First bluetooth module 1 also connects coding module 5, is used for connecting to lantern slide playing equipment transmission blue-teeth data by bluetooth.
The embodiment of the invention increases by first bluetooth module 1, action sensing module 2, judge module 3, first modular converter 4 and coding module 5.Respond to the size and Orientation of the acceleration of these terminals by action sensing module 2, judge module 3 judges that working as acceleration magnitude reaches first threshold, first modular converter 4 according to the direction of acceleration with this action be converted into lantern slide to page up switching command or one page switching command downwards, coding module 5 is converted into blue-teeth data, and by 1 this instruction of transmission of first bluetooth module, realize that lantern slide is to page up or the switching of one page downwards, can not increase hardware, save cost, and improve convenience.
Consult Fig. 7, Fig. 7 is the structured flowchart of mobile communication terminal second embodiment of the present invention.This enforcement is with the difference of mobile communication terminal second embodiment, comprises: the first detection module 6 and second detection module 7.
First detection module 6, be connected between first bluetooth module 1 and the action sensing module 2, be used to detect bluetooth between whether current and the lantern slide playing equipment and be connected available and whether enter the slide demonstration pattern, if are steps of then obtaining the size and Orientation of terminal acceleration all; Otherwise do not obtain the step of the size and Orientation of terminal acceleration.
Second detection module 7, be connected between the judge module 3 and first modular converter 4, whether available, if then carry out converting to according to the direction of acceleration the step of switching command, otherwise do not carry out converting to according to the direction of acceleration the step of switching command if being used to detect the bluetooth connection.
The embodiment of the invention increases the first detection module 6 and second detection module 7, by detecting bluetooth connection status and slide demonstration mode state, can save the terminal electricity consumption, lengthens working hours.
Consult Fig. 8, Fig. 8 is the circuit diagram of mobile communication terminal second embodiment of the present invention.Terminal comprises first bluetooth module 1, action sensing module 2 and baseband chip 8.
First bluetooth module 1 comprises Bluetooth chip 11 and Bluetooth antenna 12, and this Bluetooth chip 11 comprises the 4th power interface 111, the first signal transmission interface 112, the first signal receiving interface 113 and antennal interface 114.
Action sensing module 2 comprises the first sequential interface 21, first data-interface 22, first interrupt interface 23 and first power interface 24.
Baseband chip 8 comprises the second sequential interface 81, second data-interface 82, second interrupt interface 83, secondary signal transmission interface 84, secondary signal receiving interface 85.Baseband chip 8 also comprises power management module 86, and power management module 86 comprises second source interface 861 and the 3rd power interface 862.
The first sequential interface 21 connects the second sequential interface, 81, the first data-interfaces 22 and connects second data-interface, 82, the first interrupt interfaces, 23 connections, second interrupt interface, 83, the first power interfaces, 24 connection second source interfaces 861.
The 4th power interface 862 connects the 3rd power interface 111, the first signal transmission interfaces 84 and connects secondary signal transmission interface 112, the first signal receiving interfaces 85 connection secondary signal receiving interfaces 113, and antennal interface 114 connects Bluetooth antennas 12.
The principle of work of the embodiment of the invention is:
Action sensing module 2 is connected with baseband chip 8 by serial data interface (I2C), and baseband chip 8 reads the direction and the size data of the acceleration that action sensing module 2 catches by serial data interface, and action sensing module 2 is carried out data initialization.Simultaneously, baseband chip 8 has an interrupt pin (INT) to link to each other with action sensing module 2, and this interrupt pin is used for when having data to produce on the action sensing module 2, by interrupt notification baseband chip 8.Power management module 86 in the baseband chip 8 is responsible for powering to action sensing module 2.First bluetooth module 1 is connected with baseband chip 8 by parallel data grabbing card (UART), baseband chip 8 carries out communication by the parallel data grabbing card and first bluetooth module 1, comprise the blue-teeth data that obtains on first bluetooth module 1, and action sensing module 2 is controlled etc.Power management module in the baseband chip 8 is responsible for to action sensing module 2 power supplies.Action sensing module 2 is connected with antenna 12 through baseband chip 8, receives and the transmission blue-teeth data by antenna 12.
In the foregoing description, action sensing module 2 is acceleration transducers.
Consult Fig. 9, Fig. 9 is the structured flowchart of lantern slide playing equipment first embodiment of the present invention.This mobile communication terminal comprises: second bluetooth module 100, decoder module 200, second modular converter 300 and handover module 400.
Second bluetooth module 100, be used to set up with terminal between bluetooth be connected, and be used for connecting the blue-teeth data that the back receives the switching lantern slide of self terminal setting up bluetooth;
Decoder module 200 connects second bluetooth module 100, is used to the blue-teeth data of decoding, and obtains to page up switching command or downward one page switching command;
Second modular converter 300 connects decoder module 200, is used for becoming to page up triggering keyboard key assignments or downward one page to trigger the keyboard key assignments to page up switching command or downward one page switching command corresponding conversion; And
Handover module 400 connects second modular converter 300, is used for according to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments switching lantern slide to page up.
The embodiment of the invention, increase by second bluetooth module 100, decoder module 200, second modular converter 300 and handover module 400, blue-teeth data by the transmission of second bluetooth module, 100 receiving terminals, decoder module 200 is resolved this blue-teeth data and is obtained to page up switching command or downward one page switching command, by second modular converter 300 it is corresponded to the keyboard key assignments of lantern slide playing equipment correspondence, the switching (page turning) that last handover module 400 is realized lantern slide, need not button, can strengthen user experience.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. a method of utilizing terminal to carry out the wireless switching of lantern slide is characterized in that, comprising:
Set up with lantern slide playing equipment between bluetooth be connected;
Setting up the size and Orientation that obtains described terminal acceleration after bluetooth connects;
Whether the size of judging described acceleration reaches first threshold;
If the size of described acceleration reaches described first threshold, direction according to described acceleration converts switching command to, if the direction of described acceleration is a first direction, converts to the page up switching command, if the direction of described acceleration is a second direction, convert downward one page switching command to;
Be encoded into blue-teeth data with described to page up switching command or described downward one page switching command;
Send described blue-teeth data by described bluetooth connection to described lantern slide playing equipment.
2. method according to claim 1 is characterized in that: before the bluetooth step of connecting between foundation and the lantern slide playing equipment, comprising: make described terminal enter the slide demonstration pattern.
3. method according to claim 2, it is characterized in that: before the step of the size and Orientation that obtains the mobile communication terminal acceleration, comprise: detect bluetooth between whether current and the lantern slide playing equipment and be connected available and whether enter the slide demonstration pattern, as if being steps of then obtaining the size and Orientation of described terminal acceleration all; Otherwise do not obtain the step of the size and Orientation of described terminal acceleration.
4. method according to claim 2, it is characterized in that: after whether the described size of judging acceleration reaches the step of first threshold, and convert to before the step of switching command according to the direction of acceleration, comprise: detect described bluetooth and whether availablely connect, if then carry out converting to the step of switching command, otherwise do not carry out converting to the step of switching command according to the direction of acceleration according to the direction of acceleration.
5. according to each described method of claim 1 to 3, it is characterized in that: connecting before described lantern slide playing equipment sends the step of described blue-teeth data by bluetooth, comprising: add the sign of indication the wireless switching of lantern slide to described blue-teeth data.
6. a method of utilizing terminal to carry out the wireless switching of lantern slide is characterized in that, comprising:
Set up with terminal between bluetooth be connected;
Setting up the blue-teeth data that receives after bluetooth connects from the switching lantern slide of described terminal;
The described blue-teeth data of decoding obtains to page up switching command or one page switching command downwards;
Become to page up to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments to page up switching command or described downward one page switching command corresponding conversion with described;
Trigger keyboard key assignments or described downward one page triggering keyboard key assignments switching lantern slide according to described to page up.
7. method according to claim 6, it is characterized in that: connect after the back receives step from the blue-teeth data of the switching lantern slide of described terminal in the described bluetooth of setting up, and the described blue-teeth data of decoding, obtained before the step of page up switching command or downward one page switching command, comprise: judging whether described blue-teeth data comprises the sign of indication to the wireless switching of lantern slide, is then to carry out blue-teeth data is decoded into to the page up switching command or the downward step of one page switching command; Otherwise do not carry out blue-teeth data is decoded into to the page up switching command or the downward step of one page switching command.
8. a mobile communication terminal is characterized in that, comprising:
First bluetooth module, be used to set up with lantern slide playing equipment between bluetooth be connected;
Action sensing module is used for the size and Orientation that obtains described terminal acceleration after bluetooth connects setting up;
Judge module is used to judge whether the size of described acceleration reaches first threshold;
First modular converter, be used for if the size of described acceleration reaches described first threshold, direction according to described acceleration converts switching command to, if the direction of described acceleration is a first direction, convert to the page up switching command, if the direction of described acceleration is a second direction, convert downward one page switching command to;
Coding module is used for being encoded into blue-teeth data with described to page up switching command or described downward one page switching command;
Described first bluetooth module also is used for sending described blue-teeth data by the bluetooth connection to described lantern slide playing equipment.
9. terminal according to claim 8 is characterized in that:
Described terminal comprises baseband chip;
Described action sensing module comprises the first sequential interface, first data-interface, first interrupt interface and first power interface;
Described baseband chip comprises the second sequential interface, second data-interface, second interrupt interface, secondary signal transmission interface and secondary signal receiving interface, described baseband chip also comprises power management module, and described power management module comprises second source interface and the 3rd power interface;
Described first bluetooth module comprises Bluetooth chip and Bluetooth antenna, and described Bluetooth chip comprises the 4th power interface, the first signal transmission interface, first signal receiving interface and the antennal interface;
The described first sequential interface connects the described second sequential interface, and described first data-interface connects described second data-interface, and described first interrupt interface connects described second interrupt interface, and described first power interface connects described second source interface;
Described the 4th power interface connects described the 3rd power interface, and the described first signal transmission interface connects described secondary signal transmission interface, and the described first signal receiving interface connects described secondary signal receiving interface, and described antennal interface connects described Bluetooth antenna.
10. a lantern slide playing equipment is characterized in that, comprising:
Second bluetooth module, be used to set up with terminal between bluetooth be connected, and be used for connecting the back and receiving blue-teeth data setting up bluetooth from the switching lantern slide of described terminal;
Decoder module, the described blue-teeth data that is used to decode obtains to page up switching command or downward one page switching command;
Second modular converter is used for becoming to page up to trigger keyboard key assignments or the keyboard of one page triggering downwards key assignments to page up switching command or described downward one page switching command corresponding conversion with described; And
Handover module is used for triggering keyboard key assignments or described downward one page triggering keyboard key assignments switching lantern slide according to described to page up.
CN201110221516.5A 2011-08-03 2011-08-03 Method for wirelessly switching slides and terminal thereof Active CN102279705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110221516.5A CN102279705B (en) 2011-08-03 2011-08-03 Method for wirelessly switching slides and terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110221516.5A CN102279705B (en) 2011-08-03 2011-08-03 Method for wirelessly switching slides and terminal thereof

Publications (2)

Publication Number Publication Date
CN102279705A true CN102279705A (en) 2011-12-14
CN102279705B CN102279705B (en) 2015-04-22

Family

ID=45105179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110221516.5A Active CN102279705B (en) 2011-08-03 2011-08-03 Method for wirelessly switching slides and terminal thereof

Country Status (1)

Country Link
CN (1) CN102279705B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984369A (en) * 2012-11-20 2013-03-20 广东欧珀移动通信有限公司 Method and system for viewing photo album in mobile terminal
CN105092891A (en) * 2015-09-01 2015-11-25 深圳Tcl数字技术有限公司 Method and device for recognizing screen shaking behavior of terminal
CN106445193A (en) * 2016-08-30 2017-02-22 朱于芝 Mobile phone control-based laser pen demonstration system
WO2017181522A1 (en) * 2016-04-22 2017-10-26 中兴通讯股份有限公司 Terminal networking method and device
CN111078070A (en) * 2019-11-29 2020-04-28 深圳市咨聊科技有限公司 PPT video barrage play control method, device, terminal and medium
CN112181241A (en) * 2019-07-01 2021-01-05 珠海金山办公软件有限公司 Switching processing method and device, computer storage medium and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010056471A1 (en) * 2000-02-29 2001-12-27 Shinji Negishi User interface system, scene description generating device and method, scene description distributing method, server device, remote terminal device, recording medium, and sending medium
CN101599224A (en) * 2009-07-29 2009-12-09 青岛海信移动通信技术股份有限公司 A kind of demo system and portable terminal and wireless Internet card
CN201426133Y (en) * 2009-04-24 2010-03-17 华旗移动通讯科技(北京)有限公司 Mobile phone capable of interacting with computer game
CN102054341A (en) * 2009-11-06 2011-05-11 康佳集团股份有限公司 Method and device for remotely controlling television by using mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010056471A1 (en) * 2000-02-29 2001-12-27 Shinji Negishi User interface system, scene description generating device and method, scene description distributing method, server device, remote terminal device, recording medium, and sending medium
CN201426133Y (en) * 2009-04-24 2010-03-17 华旗移动通讯科技(北京)有限公司 Mobile phone capable of interacting with computer game
CN101599224A (en) * 2009-07-29 2009-12-09 青岛海信移动通信技术股份有限公司 A kind of demo system and portable terminal and wireless Internet card
CN102054341A (en) * 2009-11-06 2011-05-11 康佳集团股份有限公司 Method and device for remotely controlling television by using mobile phone

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984369A (en) * 2012-11-20 2013-03-20 广东欧珀移动通信有限公司 Method and system for viewing photo album in mobile terminal
CN105092891A (en) * 2015-09-01 2015-11-25 深圳Tcl数字技术有限公司 Method and device for recognizing screen shaking behavior of terminal
WO2017036205A1 (en) * 2015-09-01 2017-03-09 深圳Tcl数字技术有限公司 Terminal screen shaking identification method and apparatus
WO2017181522A1 (en) * 2016-04-22 2017-10-26 中兴通讯股份有限公司 Terminal networking method and device
CN107306457A (en) * 2016-04-22 2017-10-31 中兴通讯股份有限公司 A kind of terminal network-building method and device based on acceleration transducer
CN106445193A (en) * 2016-08-30 2017-02-22 朱于芝 Mobile phone control-based laser pen demonstration system
CN112181241A (en) * 2019-07-01 2021-01-05 珠海金山办公软件有限公司 Switching processing method and device, computer storage medium and terminal
CN111078070A (en) * 2019-11-29 2020-04-28 深圳市咨聊科技有限公司 PPT video barrage play control method, device, terminal and medium
CN111078070B (en) * 2019-11-29 2021-06-15 深圳市镜玩科技有限公司 PPT video barrage play control method, device, terminal and medium

Also Published As

Publication number Publication date
CN102279705B (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN102279705B (en) Method for wirelessly switching slides and terminal thereof
CN203102554U (en) Universal remote controller based on smart phone
CN202310113U (en) Terminal equipment debugger and terminal equipment debugging system
CN103067663A (en) Photographing device
CN201820168U (en) Vehicle-mounted reinforcement type serial port server
CN201698606U (en) Point reading machine
CN102209401A (en) Portable Beidou communication emergency terminal hardware structure with low power consumption
CN102117539A (en) Remote controller and method for realizing remote control
CN100383827C (en) Global universal type radio transmitting-receiving apparatus for welding machine remote control
CN106059866A (en) Voice control system for wireless smart home
CN105138139A (en) Keyboard, terminal equipment and character input method
CN104318753A (en) Intelligent control system for household appliances
CN102254417A (en) Multifunctional universal intelligent infrared remote control learner capable of being in remote wireless control
CN108880878A (en) NB-IOT network switching device
CN202222000U (en) NFC data acquisition device
CN202153331U (en) Keyboard capable of switching ports
CN202206392U (en) Short-distance wireless communication module development board
CN202822737U (en) Gamepad for mobile device
CN202711053U (en) Intelligent terminal controlled electric bed remote control system
CN201716697U (en) Wireless mouse with function of wireless power supply
CN202587021U (en) Home gateway and home electric equipment control system
CN203520629U (en) Startup and shutdown control system
CN217112893U (en) Display device control apparatus and display system
CN102004553A (en) Keyboard
CN102880563A (en) Portable data acquisition equipment with detachable multifunctional expansion interface module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210106

Address after: 510000 No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province

Patentee after: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. 23 District

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

Effective date of registration: 20210106

Address after: 313000 room 1020, science and Technology Pioneer Park, 666 Chaoyang Road, Nanxun Town, Nanxun District, Huzhou, Zhejiang.

Patentee after: Huzhou You Yan Intellectual Property Service Co.,Ltd.

Address before: 510000 No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province

Patentee before: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230103

Address after: 276000 Linyi City, Shandong Province 276000

Patentee after: Linyi high tech talent education development group Co.,Ltd.

Address before: 313000 room 1020, science and Technology Pioneer Park, 666 Chaoyang Road, Nanxun Town, Nanxun District, Huzhou, Zhejiang.

Patentee before: Huzhou You Yan Intellectual Property Service Co.,Ltd.