CN106326019A - Method and system for informing PPT (powerpoint) state - Google Patents
Method and system for informing PPT (powerpoint) state Download PDFInfo
- Publication number
- CN106326019A CN106326019A CN201610695752.3A CN201610695752A CN106326019A CN 106326019 A CN106326019 A CN 106326019A CN 201610695752 A CN201610695752 A CN 201610695752A CN 106326019 A CN106326019 A CN 106326019A
- Authority
- CN
- China
- Prior art keywords
- ppt
- state
- application program
- message
- callback object
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
Abstract
The invention relates to a method and a system for informing a PPT (powerpoint) state. The method for informing the PPT state comprises the following steps of starting a PPT application program through a COM (computer object mode) technique, injecting a preset callback object into the PPT application program by the COM technique, and enabling the PPT application program to call a callback object when the PPT state changes; receiving PPT state change information sent by the callback object; according to the PPT state change information, generating an informing message, and sending to a receiving end. The method has the advantages that by establishing link and communication with the PPT application program through the COM technique, the change of the PPT state will be actively informed, so that the operation of frequently requesting an PPT interface to obtain the state is not needed, program resources are saved, and the interaction efficiency is improved; the change of the PPT state can be known in real time without the limitation from the querying time of the PPT state.
Description
Technical field
The present invention relates to multimedia technology field, particularly relate to a kind of PPT state notice method and system.
Background technology
PPT (Power Point), as a kind of PowerPoint software, is widely used in handling official business, learns, the scene such as education.
Along with the development of science and technology, the collaborative demonstration of PPT, such as, PC (Personal Computer between terminal and terminal, can also be realized
PC) end broadcasting PPT, mobile phone terminal is by communicating with PC end, it is known that the state of PC end PPT, the user of mobile phone terminal can
Control PC end with the status remote according to PPT, or mobile phone terminal realizes Tong Bu broadcasting with PC end.
Traditional mode realizing mobile phone terminal acquisition PC end PPT state is to need constantly request PPT interfaces.Such side
Formula had both wasted program resource, and request failure problems easily occurred so that interactive efficiency is low.
Summary of the invention
Based on this, it is necessary to for the problems referred to above, it is provided that a kind of can with proactive notification PPT state, improve interactive efficiency
PPT state notice method and system.
A kind of PPT state notice method, comprises the steps:
PPT application program is started by COM technology;
By COM technology, default callback object is injected into described PPT application program, so that described PPT application program
Described callback object is called when PPT state changes;
Receive the PPT state change message that described callback object sends;
Generate notification message according to described PPT state change message and send to receiving terminal.
A kind of PPT state notifying system, including:
Functional chain connection module, for starting PPT application program by COM technology;
Object injection module, for default callback object being injected into described PPT application program by COM technology, with
Described PPT application program is made to call described callback object when PPT state changes;
Information receiving module, for receiving the PPT state change message that described callback object sends;
Message transmission module, for generating notification message according to described PPT state change message and sending to receiving terminal.
Above-mentioned PPT state notice method and system, start PPT application program by COM technology, will be pre-by COM technology
If callback object be injected into PPT application program, so that PPT application program calls callback object, then when PPT state changes
Receive the PPT state change message that callback object sends, generate notification message according to PPT state change message and send to receiving
End.So, by using COM technology establish the link with PPT application program and communicate so that can be the most logical after the change of PPT state
Know, it is not necessary to request PPT interface goes acquisition state frequently, saves program resource, also improves interactive efficiency.Meanwhile, may be used
To know the change of PPT state in real time, it is not limited to inquire about the opportunity of PPT state.
Accompanying drawing explanation
Fig. 1 is the flow chart of PPT state notice method in an embodiment;
Fig. 2 is the flow chart of PPT state notice method in another embodiment;
Fig. 3 is the module map of PPT state notifying system in an embodiment;
Fig. 4 is the module map of PPT state notifying system in another embodiment.
Detailed description of the invention
With reference to Fig. 1, the PPT state notice method in an embodiment, can apply to can play the terminal unit of PPT, should
Method comprises the steps.
S110: start PPT application program by COM technology.
By detecting system state or inquiry, software matrix can be installed, it is judged that whether PPT application program is installed, install
During PPT application program, start PPT application program by COM technology.Such as, PPT state notice method is applied to a device A, logical
Cross the detection system mode of device A or the installation software matrix of query facility A, i.e. it is known that device A whether PPT is installed should
Use program.
COM (Component Object Model The Component Object Model) technology, is that Microsoft is in order to make computer soft
A kind of development technique that the production of part more conforms to behavior of men and develops.COM is to set up between various different application software
Bridge, can operate Microsoft Office (office) assembly by COM technology.
Microsoft externally announces class a: Microsoft.Office.Interop.PowerPoint.Application,
Developer creates the example of this class just can start PPT application program.Two kinds are had the when of starting PPT by COM technology
Situation:
One, PPT application program off-duty before starting, now by starting PPT process when creating PPT example on backstage, and
Do not have PPT and demonstrate interface.
Two, before starting, PPT application program runs, now obtains current PPT example, can be obtained by this PPT example
Take the PPT document being currently at state of activation.
S130: default callback object is injected into PPT application program by COM technology, so that PPT application program exists
Callback object is called during the change of PPT state.
To liking data and the packaging body of method.When an object occurs certain event, it generally need to be to other related object
Send " message ", ask them to make some and process, and the object processing event is referred to as " callback object ".
In Office assembly, PPT application program provides a series of linking point (being equivalent to a functional entrance), linking point
After the message event of registration occurs, can actively call the call back function of correspondence.Use COM technology by linking point by default
Callback object injects PPT application program, establishes the link with PPT application program, thus PPT application program is when PPT state changes
Can actively call callback object, the state that can the most accurately be obtained PPT by callback object is changed.
S150: receive the PPT state change message that callback object sends.
After PPT application program actively calls callback object, callback object generates PPT state according to the change of PPT state and changes
Information also returns.
Wherein, PPT state change message includes that page turning, lower page turning, animation broadcasting, slideshow and projection are exited.
Being appreciated that in other embodiments, PPT state change message can also include the information of other states, example the most one by one at this
Lift.
S170: generate notification message according to PPT state change message and send to receiving terminal.
Notification message is used for informing receiving terminal current PPT state in which, and receiving terminal resolves notification message can obtain PPT
State change message, in order to receiving terminal carries out respective handling according to PPT state change message, and such as, return control signal is with control
System changes PPT state, or the PPT state of control break receiving terminal self.
Above-mentioned PPT state notice method, starts PPT application program by COM technology, is returned by default by COM technology
Adjust object to be injected into PPT application program, so that PPT application program calls callback object when PPT state changes, be then received back to
Adjust the PPT state change message that object sends, generate notification message according to PPT state change message and send to receiving terminal.As
This, by using COM technology establish the link with PPT application program and communicate so that meeting proactive notification after the change of PPT state, no
Need to ask PPT interface to go acquisition state frequently, save program resource, also improve interactive efficiency.Meanwhile, can be real-time
Know the change of PPT state, be not limited to inquire about the opportunity of PPT state.
In one embodiment, with reference to Fig. 2, before step S110, step S100 is also included.
S100: set up the callback object being responsible for generating PPT state change message.
Set up callback object and specifically add one section of program, obtain PPT state when being used for being called, and generate PPT state
Change information.By pre-building callback object, facilitate and follow-up directly callback object is injected PPT program.
In one embodiment, with reference to Fig. 2, after step S110, before step S130, step S120 is also included.
S120: judge whether to successfully start up PPT application program.The most then perform step S130.If it is not, can not operate,
Or return step S110 to start PPT application program again.
By before callback object is injected PPT application program, it may be judged whether successfully start up PPT application program, it is to avoid
Useless operation and waste program, improve program space utilization rate.
In one embodiment, also include after step S170 that step (a1) is to step (a2).
Step (a1): receive the feedback message that receiving terminal returns.
Feedback message is sent by receiving terminal.Feedback message is used for indicating whether receiving terminal is successfully received notification message.
Step (a2): judge whether receiving terminal receives notification message according to feedback message.If, then it represents that receiving terminal becomes
Merit receives notification message.Step S170 is performed if it is not, return.
By step (a1) and step (a2), obtain the feedback message that receiving terminal returns after sending the notification message,
When judging that receiving terminal is not received by notification message according to feedback message, return step S170 again to send a notification message,
Can ensure that receiving terminal is successfully received notification message, improve the success rate mutual with receiving terminal.
In one concrete application examples, utilizing the programming of above-mentioned PPT state notice method to obtain a processing routine, processing routine is built-in
Vertical have callback object, and this handler application has communicated PPT in device A, device A with the equipment B as receiving terminal
Collaborative demonstration.The PPT application program of device A performs page turn over operation, can call callback object, sends by calling this callback object
PPT status change message is to processing routine, and processing routine sends a notification message to standby B, equipment according to PPT status change message
After B gets PPT status change message according to notification message, identical state change can be performed, complete collaborative demonstration.
With reference to Fig. 3, the PPT state notifying system in an embodiment, can apply to can play the terminal unit of PPT, should
System includes functional chain connection module 110, object injection module 130, information receiving module 150 and message transmission module 170.
Functional chain connection module 110 is for starting PPT application program by COM technology.
By detecting system state or inquiry, software matrix can be installed, it is judged that whether PPT application program is installed, install
During PPT application program, start PPT application program by COM technology.Such as, PPT state notice method is applied to a device A, logical
Cross the detection system mode of device A or the installation software matrix of query facility A, i.e. it is known that device A whether PPT is installed should
Use program.
Object injection module 130 is used for, by COM technology, default callback object is injected into PPT application program, so that
PPT application program calls callback object when PPT state changes.
In Office assembly, PPT application program provides a series of linking point (being equivalent to a functional entrance), linking point
After the message event of registration occurs, can actively call the call back function of correspondence.Object injection module 130 is by using COM skill
Default callback object is injected PPT application program by linking point by art, establishes the link with PPT application program, thus PPT application
Program can actively call callback object when PPT state changes, and can the most accurately be obtained the shape of PPT by callback object
State changes.
Information receiving module 150 is for receiving the PPT state change message that callback object sends.
After PPT application program actively calls callback object, callback object generates PPT state according to the change of PPT state and changes
Information also returns.
Wherein, PPT state change message includes that page turning, lower page turning, animation broadcasting, slideshow and projection are exited.
Being appreciated that in other embodiments, PPT state change message can also include the information of other states, example the most one by one at this
Lift.
Message transmission module 170 is for generating notification message according to PPT state change message and sending to receiving terminal.
Notification message is used for informing receiving terminal current PPT state in which, and receiving terminal resolves notification message can obtain PPT
State change message, in order to receiving terminal carries out respective handling according to PPT state change message, and such as, return control signal is with control
System changes PPT state, or the PPT state of control break receiving terminal self.
Above-mentioned PPT state notifying system, functional chain connection module 110 starts PPT application program by COM technology, and object is noted
Enter module 130, by COM technology, default callback object is injected into PPT application program, so that PPT application program is at PPT shape
Calling callback object during state change, then information receiving module 150 receives the PPT state change message that callback object sends, and disappears
Breath sending module 170 generates notification message according to PPT state change message and sends to receiving terminal.So, by using COM skill
Art establishes the link with PPT application program and communicates so that meeting proactive notification after the change of PPT state, it is not necessary to ask PPT frequently
Interface goes acquisition state, saves program resource, also improves interactive efficiency.Meanwhile, changing of PPT state can be known in real time
Become, be not limited to inquire about the opportunity of PPT state.
In one embodiment, with reference to Fig. 4, above-mentioned PPT state notifying system also includes that object sets up module 100, is used for building
The vertical callback object being responsible for generating PPT state change message.Set up callback object and specifically add one section of program, be used for being called
Time obtain PPT state, and generate PPT state change message.By pre-building callback object, it is follow-up the most right by readjustment to facilitate
As injecting PPT program.
In one embodiment, with reference to Fig. 4, above-mentioned PPT state notifying system also includes starting analyzing module 120, is used for sentencing
Break and whether successfully start up PPT application program, when successfully starting up PPT application program, control to perform the merit of object injection module 130
Energy.Specifically, when not successfully starting up PPT application program, starting analysis module 120 can not operate, it is also possible to control merit
Link module 110 can start PPT application program again.
By before callback object is injected PPT application program, it may be judged whether successfully start up PPT application program, it is to avoid
Useless operation and waste program, improve program space utilization rate.
In one embodiment, above-mentioned PPT state notifying system also includes feedback processing modules (not shown), connects for reception
According to feedback message, the feedback message that receiving end returns, judges whether receiving terminal receives notification message, send if it is not, control message
Module 170 generates notification message again according to PPT state change message and sends to receiving terminal.
Feedback message is sent by receiving terminal.Feedback message is used for indicating whether receiving terminal is successfully received notification message.Logical
Cross employing feedback processing modules, obtain the feedback message that receiving terminal returns after sending the notification message, according to feedback message
Judge when receiving terminal is not received by notification message, control message transmission module 170 and generate again according to PPT state change message
Notification message also sends to receiving terminal, it can be ensured that receiving terminal is successfully received notification message, improves the success mutual with receiving terminal
Rate.
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, not to above-mentioned reality
The all possible combination of each technical characteristic executed in example is all described, but, as long as the combination of these technical characteristics is not deposited
In contradiction, all it is considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also
Can not therefore be construed as limiting the scope of the patent.It should be pointed out that, come for those of ordinary skill in the art
Saying, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (10)
1. a PPT state notice method, it is characterised in that comprise the steps:
PPT application program is started by COM technology;
By COM technology, default callback object is injected into described PPT application program, so that described PPT application program is at PPT
Described callback object is called during state change;
Receive the PPT state change message that described callback object sends;
Generate notification message according to described PPT state change message and send to receiving terminal.
PPT state notice method the most according to claim 1, it is characterised in that described PPT state change message includes
Page turning, lower page turning, animation broadcasting, slideshow and projection are exited.
PPT state notice method the most according to claim 1, it is characterised in that described by COM technology start PPT should
Before the step of program, further comprise the steps of:
Set up the callback object being responsible for generating described PPT state change message.
PPT state notice method the most according to claim 1, it is characterised in that described by COM technology start PPT should
After the step of program, described by COM technology, default callback object is injected into described PPT application program, so that institute
Before stating the step that PPT application program calls described callback object when PPT state changes, further comprise the steps of:
Judge whether to successfully start up described PPT application program;
The most then execution is described is injected into described PPT application program by COM technology by default callback object, so that described
PPT application program calls the step of described callback object when PPT state changes.
PPT state notice method the most according to claim 1, it is characterised in that described change according to described PPT state is believed
Breath generates notification message and sends after the step of receiving terminal, further comprises the steps of:
Receive the feedback message that described receiving terminal returns;
Judge whether described receiving terminal receives described notification message according to described feedback message;
Described notification message send the step to receiving terminal is generated according to described PPT state change message if it is not, return.
6. a PPT state notifying system, it is characterised in that including:
Functional chain connection module, for starting PPT application program by COM technology;
Object injection module, for default callback object being injected into described PPT application program by COM technology, so that institute
State PPT application program and call described callback object when PPT state changes;
Information receiving module, for receiving the PPT state change message that described callback object sends;
Message transmission module, for generating notification message according to described PPT state change message and sending to receiving terminal.
PPT state notifying system the most according to claim 6, it is characterised in that described PPT state change message includes
Page turning, lower page turning, animation broadcasting, slideshow and projection are exited.
PPT state notifying system the most according to claim 6, it is characterised in that also include that object sets up module, be used for building
The vertical callback object being responsible for generating described PPT state change message.
PPT state notifying system the most according to claim 6, it is characterised in that also include starting analyzing module, be used for sentencing
Break and whether successfully start up described PPT application program, when successfully starting up described PPT application program, control to perform described object note
Enter the function of module.
PPT state notifying system the most according to claim 6, it is characterised in that also include feedback processing modules, be used for
Receive the feedback message that described receiving terminal returns, judge whether described receiving terminal receives described notice according to described feedback message
Message, generates notification message again according to described PPT state change message if it is not, control described message transmission module and sends extremely
Receiving terminal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610695752.3A CN106326019B (en) | 2016-08-19 | 2016-08-19 | PPT state notice method and system |
PCT/CN2016/113166 WO2018032695A1 (en) | 2016-08-19 | 2016-12-29 | Method and system for ppt state notification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610695752.3A CN106326019B (en) | 2016-08-19 | 2016-08-19 | PPT state notice method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106326019A true CN106326019A (en) | 2017-01-11 |
CN106326019B CN106326019B (en) | 2019-09-03 |
Family
ID=57743503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610695752.3A Active CN106326019B (en) | 2016-08-19 | 2016-08-19 | PPT state notice method and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106326019B (en) |
WO (1) | WO2018032695A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168622A (en) * | 2017-05-11 | 2017-09-15 | 北京大生在线科技有限公司 | Multiterminal courseware real-time interactive method and system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377895A (en) * | 2019-07-24 | 2019-10-25 | 上海宝尊电子商务有限公司 | A kind of exchange method for data product shopping vehicle type export PPT file |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6059838A (en) * | 1997-06-06 | 2000-05-09 | Microsoft Corporation | Method and system for licensed design and use of software objects |
CN1284076C (en) * | 2003-10-20 | 2006-11-08 | 广东省电信有限公司科学技术研究院 | Light weight method for co-broadcasting filmslide file under network environment |
CN101291335B (en) * | 2008-06-13 | 2011-05-11 | 中兴通讯股份有限公司 | Method and apparatus for acquiring dynamic data of server based on browser |
CN102722336A (en) * | 2012-06-12 | 2012-10-10 | 桂林电子科技大学 | Office wireless speaking system and synchronous tracking method for synchronous tracking of editing and demonstration operation |
CN104064201A (en) * | 2014-06-13 | 2014-09-24 | 广州视睿电子科技有限公司 | Data synchronization method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110025818A1 (en) * | 2006-11-07 | 2011-02-03 | Jonathan Gallmeier | System and Method for Controlling Presentations and Videoconferences Using Hand Motions |
-
2016
- 2016-08-19 CN CN201610695752.3A patent/CN106326019B/en active Active
- 2016-12-29 WO PCT/CN2016/113166 patent/WO2018032695A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6059838A (en) * | 1997-06-06 | 2000-05-09 | Microsoft Corporation | Method and system for licensed design and use of software objects |
CN1284076C (en) * | 2003-10-20 | 2006-11-08 | 广东省电信有限公司科学技术研究院 | Light weight method for co-broadcasting filmslide file under network environment |
CN101291335B (en) * | 2008-06-13 | 2011-05-11 | 中兴通讯股份有限公司 | Method and apparatus for acquiring dynamic data of server based on browser |
CN102722336A (en) * | 2012-06-12 | 2012-10-10 | 桂林电子科技大学 | Office wireless speaking system and synchronous tracking method for synchronous tracking of editing and demonstration operation |
CN104064201A (en) * | 2014-06-13 | 2014-09-24 | 广州视睿电子科技有限公司 | Data synchronization method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168622A (en) * | 2017-05-11 | 2017-09-15 | 北京大生在线科技有限公司 | Multiterminal courseware real-time interactive method and system |
CN107168622B (en) * | 2017-05-11 | 2021-01-01 | 北京大生在线科技有限公司 | Multi-end courseware real-time interaction method and system |
Also Published As
Publication number | Publication date |
---|---|
WO2018032695A1 (en) | 2018-02-22 |
CN106326019B (en) | 2019-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108881779B (en) | Method, system and server for answering and transferring video calls between intelligent devices | |
CN109246220B (en) | Message pushing system and method | |
CN102880514B (en) | A kind of method and apparatus of invokes application | |
CN104980898A (en) | Information pushing method, system and equipment | |
CN103475792B (en) | A kind of method and system receiving offline network call | |
CN103873342A (en) | Method, terminal and system for joining social group | |
US9258672B2 (en) | Short-range wireless communication device | |
EP2854371A1 (en) | Method and device for achieving remote manipulation | |
CN102917321A (en) | Method and system for prompting instant message of mobile terminal and mobile terminal | |
CN109768920A (en) | A kind of position sharing method, instant communication client and server | |
CN103024691A (en) | Method and device for transmitting information | |
CN102238108A (en) | Off-line message transmission method | |
CN105450731A (en) | Method and apparatus for realizing communication between web layer and native layer | |
CN106326019A (en) | Method and system for informing PPT (powerpoint) state | |
CN101888607A (en) | Method for realizing mobile phone chats based on widget and mobile phone | |
CN108052401B (en) | System attribute monitoring method, terminal device and computer readable storage medium | |
CN103856644A (en) | Voice over internet protocol prompting method and system | |
CN106126232A (en) | A kind of interface starts method and device | |
CN110908881B (en) | Buried point data transmitting method and device, electronic equipment and computer readable storage medium | |
CN112333062A (en) | Control method and control device for household equipment and computer readable storage medium | |
CN105075189A (en) | Receiving a communication event | |
CN106453639A (en) | Message synchronization method and message synchronization device | |
CN103188121A (en) | Network establishing method and electronic terminals | |
CN105306442A (en) | Proxy server and command transmission methods | |
CN105446803A (en) | Application management method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |