CN105278958A - Instruction processing method and apparatus - Google Patents

Instruction processing method and apparatus Download PDF

Info

Publication number
CN105278958A
CN105278958A CN201510660881.4A CN201510660881A CN105278958A CN 105278958 A CN105278958 A CN 105278958A CN 201510660881 A CN201510660881 A CN 201510660881A CN 105278958 A CN105278958 A CN 105278958A
Authority
CN
China
Prior art keywords
working lining
treatment state
frame working
current treatment
operational order
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
CN201510660881.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.)
TVM Beijing Education Technology Co Ltd
Original Assignee
TVM Beijing Education Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVM Beijing Education Technology Co Ltd filed Critical TVM Beijing Education Technology Co Ltd
Priority to CN201510660881.4A priority Critical patent/CN105278958A/en
Publication of CN105278958A publication Critical patent/CN105278958A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an instruction processing method and apparatus used for a first terminal. The method comprises the steps that: a hardware interface layer receives an operation instruction for a hardware button, and transmits the operation instruction to a frame working layer; the frame working layer checks whether a current processing state is a control enable state or not; and when the current processing state is the control enable state, the operation instruction is masked. According to the technical scheme provided by embodiments of the invention, when the processing state is the control enable state, even if a user clicks the hardware button, the corresponding operation instruction is also masked, so that a current page can be always kept; and when the method is applied to teaching, students can listen to teachers carefully and the learning effect can be improved.

Description

A kind of command processing method and device
Technical field
The present invention relates to Internet technical field, particularly a kind of command processing method and device.
Background technology
Along with the development of Internet technology, the advantage of being undertaken imparting knowledge to students by internet is more and more obvious, and it has broken the informationalized border of traditional education, can integrate interactive teaching, classroom recorded broadcast, online education.And teacher can be handled official business, prepare lessons, explain, writing on the blackboard, interactive five large common functions are all integrated in a hardware device with demand and realize, without the need to the multiple equipment of operation switching, motivate students' interest in learning, deepen knowledge understanding.
Teacher at school time, each student holds a terminal, such as IPAD, student opens tutorial application and listens to the teacher, but IPAD is electronic product, sometimes student does not want to listen to the teacher and wants to play some game, because student's quantity is more, so cannot ensure that each student opens tutorial application all the time and listens to the teacher.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of command processing method solved the problem at least in part and device, in order to improve the learning efficiency of student.
The invention provides a kind of command processing method, for first terminal, comprising:
Hardware interface layer receives the operational order to hardware button, and this operational order is transferred to frame working lining;
Frame working lining checks whether current treatment state is control opening;
When being control opening, shield described operational order.
In one embodiment, described method also can comprise:
When current treatment state is that when controlling closed condition, described operational order sends to processing layer to process by frame working lining.
In one embodiment, described method also can comprise:
Communication interface layer receives the first steering order that opposite end sends, and this first steering order is sent to frame working lining;
When current treatment state is not control opening, current treatment state is updated to control opening according to described first steering order by frame working lining.
In one embodiment, described method also can comprise:
Communication interface layer receives the second steering order that opposite end sends, and this second steering order is sent to frame working lining;
When current treatment state is control opening, current treatment state is updated to control closed condition according to described second steering order by frame working lining.
In one embodiment, be the operational order exiting application to the operational order of hardware button.
The present invention also provides a kind of instruction processing unit, for first terminal, comprising:
Receiver module, receives the operational order to hardware button for hardware interface layer, and this operational order is transferred to frame working lining;
For frame working lining, enquiry module, checks whether current treatment state is control opening;
Shroud module, for when being control opening, shields described operational order.
In one embodiment, described device also can comprise:
First sending module, during for being control closed condition when current treatment state, described operational order sends to processing layer to process by frame working lining.
In one embodiment, described device also can comprise:
Second sending module, receives the first steering order of opposite end transmission, and this first steering order is sent to frame working lining for communication interface layer;
First update module, during for not being control opening at current treatment state, current treatment state is updated to control opening according to described first steering order by frame working lining.
In one embodiment, described device also can comprise:
3rd sending module, receives the second steering order of opposite end transmission, and this second steering order is sent to frame working lining for communication interface layer;
Second update module, during for being control opening at current treatment state, current treatment state is updated to control closed condition according to described second steering order by frame working lining.
In one embodiment, be the operational order exiting application to the operational order of hardware button.
Some beneficial effects of the embodiment of the present invention can comprise: receive the operational order to hardware button by hardware interface layer, and this operational order is transferred to frame working lining; Frame working lining checks whether current treatment state is control opening; When being control opening, masking operation instruction.Thus when treatment state is for controlling opening, even if user clicks hardware button, the operational order of its correspondence also can conductively-closed, thus can remain current page, and when the method is applied to teaching, being conducive to student conscientiously listens to the teacher, and improves results of learning.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write instructions, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for instructions, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of a kind of command processing method in the embodiment of the present invention;
Fig. 2 is the process flow diagram of another kind of command processing method in the embodiment of the present invention;
Fig. 3 is the process flow diagram of another kind of command processing method in the embodiment of the present invention;
Fig. 4 is the process flow diagram of another kind of command processing method in the embodiment of the present invention;
Fig. 5 is the process flow diagram of a kind of command processing method in the embodiment of the present invention one;
Fig. 6 is the block diagram of a kind of instruction processing unit in the embodiment of the present invention;
Fig. 7 is the block diagram of another kind of instruction processing unit in the embodiment of the present invention;
Fig. 8 is the block diagram of another kind of instruction processing unit in the embodiment of the present invention;
Fig. 9 is the block diagram of another kind of instruction processing unit in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
Figure 1 shows that the process flow diagram of a kind of command processing method in the embodiment of the present invention, as shown in Figure 1, comprise the following steps S11-S13:
Step S11, hardware interface layer receives the operational order to hardware button, and this operational order is transferred to frame working lining.
In one embodiment, be the operational order exiting application to the operational order of hardware button.
Step S12, frame working lining checks whether current treatment state is control opening.
Step S13, when being control opening, masking operation instruction.
Hardware interface layer has the interface for hardware button, responds the operational order of hardware button, and such as, user clicks home (returning) key, and hardware interface layer response user clicks the operational order of home key, shows main interface.After hardware interface layer receives the operational order for hardware button, this operational order is passed to frame working lining, when specifically implementing, can hardware interface layer outside encapsulate a layer interface, the high-level interface of this encapsulation has two states, true (very) and false (vacation).The corresponding current treatment state of True for controlling opening, treatment state corresponding to false for controlling closed condition, being, when controlling opening, shield this operational order.The operational order of this hardware button was lost efficacy, like this, when the method is applied to teaching, time just at school, even if student side button click, also cannot exit tutorial application, thus be conducive to student and conscientiously listen to the teacher, improve results of learning.
The present invention can shield the operational order of hardware button, it is envisioned that virtual push button also can adopt said method conductively-closed.
The said method of the embodiment of the present invention, receives the operational order to hardware button by the hardware interface layer of terminal, and this operational order is transferred to frame working lining; Frame working lining checks whether current treatment state is control opening; When being control opening, masking operation instruction.Thus when treatment state is for controlling opening, even if user clicks hardware button, the operational order of its correspondence also can conductively-closed, thus can remain current page, and when the method is applied to teaching, being conducive to student conscientiously listens to the teacher, and improves results of learning.
In one embodiment, as shown in Figure 2, method also can comprise step S14:
Step S14, when current treatment state is that when controlling closed condition, operational order sends to processing layer to process by frame working lining.
When treatment state is control closed condition, operational order is directly transmitted to processing layer and processes by frame working lining, realizes the general utility functions of existing hardware button.
Illustrate, user clicks the home button of mobile phone, the operational order of this click home button is transferred to frame working lining, frame working lining checks whether current treatment state is control closed condition, when current treatment state is that when controlling closed condition, the operational order of this click home button sends to processing layer to process by frame working lining.After processing layer receives this operational order, perform this operational order, namely show the main interface of mobile phone.
The present embodiment is when controlling opening at current treatment state, masking operation instruction, and is when controlling closed condition at current treatment state, the normal function performing hardware button.Thus current treatment state can be adjusted as required, meet the different demands of user.
Illustrate, when student at school time, treatment state is opening, then student is to the conductively-closeds of the certain operations of hardware button, ensures to show all the time the interface of tutorial application.When student after class, treatment state can be adjusted to closed condition, if student clicks hardware button, then can not conductively-closed, but the normal function performing hardware button.
In one embodiment, as shown in Figure 3, method also can comprise step S15-S16:
Step S15, communication interface layer receives the first steering order that opposite end sends, and this first steering order is sent to frame working lining;
Step S16 is not that when controlling opening, current treatment state is updated to control opening according to the first steering order by frame working lining at current treatment state.
When the method is applied to teaching, opposite end can be teacher side, and time at school, teacher wants to allow student conscientiously pay attention to the class, then can to student side sending controling instruction.Teacher side sends the first steering order, after receiving this first steering order, if current processing status is not control opening, then current treatment state is updated to control opening, if current processing status controls opening, then directly return, do not process.Like this, which button no matter student side click, and all can conductively-closed fall inoperative, thus student can be made conscientiously to pay attention to the class.
Illustrate, teacher at school time, teacher side and student side all open tutorial application, and teacher side have sent a steering order, after student side receives steering order, current processing status is adjusted to control opening, if a student clicks home key, want to exit tutorial application, owing to inquiring current treatment state for controlling opening, then shield this operational order, student cannot exit this tutorial application.
In the present embodiment, by opposite end sending controling instruction, steering order is used for current treatment state to be updated to control opening, under control opening, the operation of user all can conductively-closed, thus can remain current page, reaches the object that opposite end is undertaken by local terminal controlling.
In one embodiment, as shown in Figure 4, method also can comprise step S17-S18:
Step S17, communication interface layer receives the second steering order that opposite end sends, and this second steering order is sent to frame working lining;
Step S18 is that when controlling opening, current treatment state is updated to control closed condition according to the second steering order by frame working lining at current treatment state.
When the method is applied to teaching, opposite end can be teacher side, after class, teacher side sends the second steering order to student side, after receiving this second steering order, if current processing status is not control closed condition, then current treatment state is updated to control closed condition, if current processing status controls closed condition, then directly return, do not process.Like this, if student is wanting to exit tutorial application after class, clicking the corresponding button.The operational order that each button is corresponding all recovers normal, can not conductively-closed fall.Thus student normally can use student side.
The present embodiment, by opposite end sending controling instruction, steering order is used for current treatment state to be updated to control closed condition, under control closed condition, the operation of user can not conductively-closed, all can directly be given to processing layer and process, thus the control to local terminal is removed in opposite end.
With specific embodiment, the technique scheme that disclosure embodiment provides is described below.
Embodiment one
The command processing method that embodiment one utilizes disclosure embodiment to provide, this method may be used for student side, and student side is when imparting knowledge to students, the client that student uses.As shown in Figure 5, next student side proceeds as follows:
Step S51, the communication interface layer of student side receives the steering order of teacher side transmission, and this steering order is sent to frame working lining.
Step S52 is not that when controlling opening, current treatment state is updated to control opening according to steering order by frame working lining at current treatment state.
Step S53, student side hardware interface layer receives the operational order to home button, and this operational order is transferred to frame working lining.
Step S54, frame working lining views current treatment state for controlling opening.
Step S55, shields this operational order to home button.
The present embodiment, teacher side is to student side sending controling instruction, steering order is used for current processing status to be updated to control opening, under control opening, the operational order of shielding home button, thus make student exit tutorial application, thus student can be made conscientiously to listen to the teacher, improve the efficiency of listening to the teacher of student.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of instruction processing unit, the principle of dealing with problems due to this device is similar to said instruction disposal route, and therefore the enforcement of this device see the enforcement of preceding method, can repeat part and repeat no more.
Figure 6 shows that the block diagram of a kind of instruction processing unit in the embodiment of the present invention, for first terminal, as shown in Figure 6, this device comprises:
Receiver module 61, receives the operational order to hardware button for hardware interface layer, and this operational order is transferred to frame working lining;
For frame working lining, enquiry module 62, checks whether current treatment state is control opening;
Shroud module 63, for when being control opening, masking operation instruction.
The said apparatus of the embodiment of the present invention, receives the operational order to hardware button by the hardware interface layer of terminal, and this operational order is transferred to frame working lining; Frame working lining checks whether current treatment state is control opening; When being control opening, masking operation instruction.Thus when treatment state is for controlling opening, even if user clicks hardware button, the operational order of its correspondence also can conductively-closed, thus can remain current page, and when the method is applied to teaching, being conducive to student conscientiously listens to the teacher, and improves results of learning.
In one embodiment, as shown in Figure 7, said apparatus also can comprise:
First sending module 64, during for being control closed condition when current treatment state, operational order sends to processing layer to process by frame working lining.
The present embodiment is when controlling opening at current treatment state, masking operation instruction, and is when controlling closed condition at current treatment state, the normal function performing hardware button.Thus current treatment state can be adjusted as required, meet the different demands of user.
In one embodiment, as shown in Figure 8, said apparatus also can comprise:
Second sending module 65, receives the first steering order of opposite end transmission, and this first steering order is sent to frame working lining for communication interface layer;
First update module 66, during for not being control opening at current treatment state, current treatment state is updated to control opening according to the first steering order by frame working lining.
In the present embodiment, by opposite end sending controling instruction, steering order is used for current treatment state to be updated to control opening, under control opening, the operation of user all can conductively-closed, thus can remain current page, reaches the object that opposite end is undertaken by local terminal controlling.
In one embodiment, as shown in Figure 9, said apparatus also can comprise:
3rd sending module 67, receives the second steering order of opposite end transmission, and this second steering order is sent to frame working lining for communication interface layer;
Second update module 68, during for being control opening at current treatment state, current treatment state is updated to control closed condition according to the second steering order by frame working lining.
The present embodiment, by opposite end sending controling instruction, steering order is used for current treatment state to be updated to control closed condition, under control closed condition, the operation of user can not conductively-closed, all can directly be given to processing layer and process, thus the control to local terminal is removed in opposite end.
In one embodiment, be the operational order exiting application to the operational order of hardware button.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a command processing method, for first terminal, is characterized in that, comprising:
Hardware interface layer receives the operational order to hardware button, and this operational order is transferred to frame working lining;
Frame working lining checks whether current treatment state is control opening;
When being control opening, shield described operational order.
2. the method for claim 1, is characterized in that, described method also comprises:
When current treatment state is that when controlling closed condition, described operational order sends to processing layer to process by frame working lining.
3. the method for claim 1, is characterized in that, described method also comprises:
Communication interface layer receives the first steering order that opposite end sends, and this first steering order is sent to frame working lining;
When current treatment state is not control opening, current treatment state is updated to control opening according to described first steering order by frame working lining.
4. method as claimed in claim 3, it is characterized in that, described method also comprises:
Communication interface layer receives the second steering order that opposite end sends, and this second steering order is sent to frame working lining;
When current treatment state is control opening, current treatment state is updated to control closed condition according to described second steering order by frame working lining.
5. the method for claim 1, is characterized in that, is the operational order exiting application to the operational order of hardware button.
6. an instruction processing unit, for first terminal, is characterized in that, comprising:
Receiver module, receives the operational order to hardware button for hardware interface layer, and this operational order is transferred to frame working lining;
For frame working lining, enquiry module, checks whether current treatment state is control opening;
Shroud module, for when being control opening, shields described operational order.
7. device as claimed in claim 6, it is characterized in that, described device also comprises:
First sending module, during for being control closed condition when current treatment state, described operational order sends to processing layer to process by frame working lining.
8. device as claimed in claim 6, it is characterized in that, described device also comprises:
Second sending module, receives the first steering order of opposite end transmission, and this first steering order is sent to frame working lining for communication interface layer;
First update module, during for not being control opening at current treatment state, current treatment state is updated to control opening according to described first steering order by frame working lining.
9. device as claimed in claim 8, it is characterized in that, described device also comprises:
3rd sending module, receives the second steering order of opposite end transmission, and this second steering order is sent to frame working lining for communication interface layer;
Second update module, during for being control opening at current treatment state, current treatment state is updated to control closed condition according to described second steering order by frame working lining.
10. device as claimed in claim 6, it is characterized in that, be the operational order exiting application to the operational order of hardware button.
CN201510660881.4A 2015-10-12 2015-10-12 Instruction processing method and apparatus Pending CN105278958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510660881.4A CN105278958A (en) 2015-10-12 2015-10-12 Instruction processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510660881.4A CN105278958A (en) 2015-10-12 2015-10-12 Instruction processing method and apparatus

Publications (1)

Publication Number Publication Date
CN105278958A true CN105278958A (en) 2016-01-27

Family

ID=55148016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510660881.4A Pending CN105278958A (en) 2015-10-12 2015-10-12 Instruction processing method and apparatus

Country Status (1)

Country Link
CN (1) CN105278958A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629100A (en) * 2019-02-27 2020-09-04 华为技术有限公司 Instruction processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2383027A2 (en) * 2010-04-28 2011-11-02 Kabushiki Kaisha Square Enix (also trading as Square Enix Co., Ltd.) User interface processing apparatus, method of processing user interface, and non-transitory computer-readable medium embodying computer program for processing user interface
CN103699318A (en) * 2014-01-06 2014-04-02 联想(北京)有限公司 Touch response method and touch response device of electronic device
CN103699298A (en) * 2013-12-16 2014-04-02 联想(北京)有限公司 Information processing method and electronic equipment
CN103905633A (en) * 2012-12-30 2014-07-02 比亚迪股份有限公司 Mobile terminal and use method thereof
CN104156171A (en) * 2014-08-29 2014-11-19 广东欧珀移动通信有限公司 Method and device for preventing touch key misoperations in landscape screen state of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2383027A2 (en) * 2010-04-28 2011-11-02 Kabushiki Kaisha Square Enix (also trading as Square Enix Co., Ltd.) User interface processing apparatus, method of processing user interface, and non-transitory computer-readable medium embodying computer program for processing user interface
CN103905633A (en) * 2012-12-30 2014-07-02 比亚迪股份有限公司 Mobile terminal and use method thereof
CN103699298A (en) * 2013-12-16 2014-04-02 联想(北京)有限公司 Information processing method and electronic equipment
CN103699318A (en) * 2014-01-06 2014-04-02 联想(北京)有限公司 Touch response method and touch response device of electronic device
CN104156171A (en) * 2014-08-29 2014-11-19 广东欧珀移动通信有限公司 Method and device for preventing touch key misoperations in landscape screen state of mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629100A (en) * 2019-02-27 2020-09-04 华为技术有限公司 Instruction processing method and device

Similar Documents

Publication Publication Date Title
CN103956081A (en) Distance teaching method and device based on cloud platform
CN104408984A (en) Intelligent teaching system comprising multiple teaching terminals
CN102646344A (en) All-teacher-controlled fast-interactive classroom teaching system and using method thereof
CN106910382A (en) The autonomous on-line study method of course based on VR videos
CN104485031A (en) Intelligent teaching system
CN103607457A (en) Note processing method, apparatus, terminal, server and system
CN104077101A (en) Projection method and electronic devices
CN104484420A (en) Method and device for making intelligent teaching system courseware
CN106297444A (en) A kind of mobile learning system
CN102404402A (en) Controllable intelligent mobile tablet terminal implementation method and system
CN104731482A (en) Screen capturing method and device
CN108447323A (en) A kind of Multimedia Teaching Terminal
CN108009955A (en) A kind of cloud classroom resource management system based on VR virtual reality technologies
CN105278958A (en) Instruction processing method and apparatus
Al-Zoubi et al. Mobile learning in engineering education: The Jordan example
CN104484840A (en) Courseware generation device and method for intelligent teaching system
CN105635272A (en) Server, student end, teacher end, and coursework processing method and system
CN105224275A (en) A kind of information processing method and device
CN104504948A (en) Method and device for displaying pushed course for intelligent teaching system
CN107705645A (en) Teaching auxiliary system based on augmented reality
CN107527306A (en) Briefing method, apparatus, server and the storage medium of on-line teaching system
CN210072615U (en) Immersive training system and wearable equipment
CN106802920A (en) For online education and the method and system of synthesis teaching multimedia object
Pritchard et al. Executing Practices
CN105243880A (en) Electronic teaching system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160127

RJ01 Rejection of invention patent application after publication