Insertion method and system based on PowerPoint application object

A technology for applying objects and inserting systems, applied in special data processing applications, program startup/switching, instruments, etc., can solve problems such as poor practicability, irreversibility, poor user experience, etc., to achieve strong practicability, simple use, The effect of improving user experience

Active Publication Date: 2016-12-21
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, if a certain step inserts an error, it cannot be restored to the content before the error by undoing the

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Insertion method and system based on PowerPoint application object
  • Insertion method and system based on PowerPoint application object
  • Insertion method and system based on PowerPoint application object

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] Please refer to figure 2 , Embodiment one of the present invention is: a kind of insertion method based on PowerPoint application object, comprises the steps:

[0088] S1: Create a PowerPoint operation management class, which is the management object of the insert operation.

[0089] S2: Create at least two insertion threads; multiple insertion threads can be created sequentially through the function CreateThread.

[0090] S3: Create a trigger event corresponding to the at least two threads; the trigger event can be created through a function CreateEvent.

[0091] S4: Create an application object corresponding to the at least two insertion threads one by one, and the application objects corresponding to the first and last and adjacent insertion threads are inconsistent; the application object is a class of PowerPoint, including a plurality of PowerPoint related functions Furthermore, the application object is created through the COM interface; the thread corresponds to

Embodiment 2

[0104] Please refer to image 3 , this embodiment is a further expansion of step S8 in Embodiment 1, including the following steps:

[0105] S81: Create an insertion variable that records the total number of insertion operations, and initialize the value of the insertion variable to zero.

[0106] S82: Sort the inserting threads and their corresponding triggering events respectively starting from zero.

[0107] S83: Calculate the remainder of dividing the value of the insertion variable by the total number of insertion threads according to the value of the insertion variable and the total number of insertion threads.

[0108] S84: According to the remainder, wake up one trigger event corresponding to the number from at least two trigger events.

[0109] S85: Add one to the value of the inserted variable.

[0110] For example, if the total number of insertion threads is 3, the numbers of the three insertion threads are 0, 1, and 2 in sequence, and the numbers of the correspondi

Embodiment 3

[0113] Please refer to Figure 5 , the present embodiment is an insertion system based on a PowerPoint application object corresponding to the above-mentioned embodiments, including:

[0114] The first creation module 1 is used to create at least two insertion threads;

[0115] The second creation module 2 is configured to create trigger events corresponding to the at least two threads one-to-one;

[0116] The third creation module 3 is configured to create application objects corresponding to the at least two insertion threads one-to-one, and the application objects corresponding to the first, last, and adjacent insertion threads are inconsistent;

[0117] The first judging module 4 is used to judge whether an insertion operation is detected, and obtain a first judging result;

[0118] The adding module 5 is used to enter the critical section if the first judgment result is yes, and add the insertion instruction corresponding to the insertion operation to the insertion list;

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an insertion method and system based on a PowerPoint application object. The method comprises the following steps of creating at least two insertion threads; creating trigger events corresponding to the at least two threads one by one; creating application objects corresponding to the at least two threads one by one, wherein the application objects corresponding to the head and the tail and adjacent insertion threads are inconsistent; judging whether an insertion operation is detected; if yes, entering a critical zone and adding an insertion instruction corresponding to the insertion operation into an insertion list; awakening one trigger event according to a preset awakening strategy; making the insertion thread corresponding to the insertion operation take one insertion instruction out from the insertion list; making the corresponding insertion thread carry out the corresponding insertion operation and exit the critical zone; and returning to execute the step of judging whether the insertion operation is detected. The insertion operation is carried out by multiple threads, so that the total insertion operation time can be reduced, and all insertion operations can be cancelled and reduced step by step, and the practicability is strong.

Description

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Owner FUJIAN TIANQUAN EDUCATION TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products