CN109117283B - Method for remotely controlling WPS software in network environment - Google Patents

Method for remotely controlling WPS software in network environment Download PDF

Info

Publication number
CN109117283B
CN109117283B CN201810801192.4A CN201810801192A CN109117283B CN 109117283 B CN109117283 B CN 109117283B CN 201810801192 A CN201810801192 A CN 201810801192A CN 109117283 B CN109117283 B CN 109117283B
Authority
CN
China
Prior art keywords
application program
wps
document
kwpp
remote computer
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.)
Active
Application number
CN201810801192.4A
Other languages
Chinese (zh)
Other versions
CN109117283A (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.)
Jiangsu Zhongyu Youjiao Technology Development Co ltd
Original Assignee
Jiangsu Zhongyu Youjiao Technology Development 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 Jiangsu Zhongyu Youjiao Technology Development Co ltd filed Critical Jiangsu Zhongyu Youjiao Technology Development Co ltd
Priority to CN201810801192.4A priority Critical patent/CN109117283B/en
Publication of CN109117283A publication Critical patent/CN109117283A/en
Application granted granted Critical
Publication of CN109117283B publication Critical patent/CN109117283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Abstract

The invention discloses a method for remotely controlling WPS software in a network environment, which is characterized in that the WPS software and a first application program are installed on a server, and a second application program is installed on a remote computer; the user initiates a document reading request to the server through a second application program of the remote computer; the method can achieve the technical aims of efficiently and stably remotely controlling the WPS software, achieving operation of words, PPT and other files in an instruction mode, automatically converting the files into high-quality pictures, and successfully integrating and applying the method to intelligent education-classroom real-time comment answer system products and intelligent education-interactive classroom system products.

Description

Method for remotely controlling WPS software in network environment
Technical Field
The invention relates to the technical field of computer software, in particular to a method for remotely controlling WPS software in a network environment.
Background
The Jinshan WPS (word Processing System) software is a common office automation software, realizes various functions of common characters, forms and demonstration, but has no clear way to realize the network remote control of free WPS and the instability of WPS software, so that the popularization of WPS in the fields of network teaching and intelligent education is difficult.
Although a chinese application No. CN201610072952.3, entitled WPS document switching method and apparatus discloses that the switching method includes: judging whether more than two WPS documents are opened by the terminal; if yes, when the user is detected to click a document switching key, displaying identification information corresponding to all opened WPS documents on the current page; determining a target WPS document according to the selection of the user on the identification information corresponding to all opened WPS documents; and displaying the target WPS document on a current page. The embodiment of the invention can directly determine the target WPS document according to the selection of the user and display the WPS document without sequentially switching among all opened WPS documents, thereby improving the switching efficiency of the WPS document.
Chinese patent CN201010167182.3, entitled deployment and management method of spatial analysis method package in Web spatial analysis service, discloses that dynamic management of spatial analysis method package in Web spatial analysis service is realized by combining with OSGi service platform, so that spatial analysis method service can be dynamically added, deleted or updated. The invention brings great convenience to the expansion and software maintenance of the WPS service, and improves the expandability and flexibility of the WPS service.
However, at present, no clear way is available for realizing network remote control of free WPS and instability of WPS software, so that popularization of WPS in the fields of network teaching and intelligent education is difficult.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a method for remotely controlling WPS software in a network environment, wherein the WPS software and a first application program are installed on a server, and a second application program is installed on a remote computer; the user initiates a document reading request to the server through a second application program of the remote computer; the first application program of the server finds out a required target document, converts the target document into a picture, sends the picture to the remote computer through the network, and then looks up the picture generated by conversion on the remote computer, so that the technical purposes of realizing remote control of the document, reducing product deployment cost and improving user experience based on free WPS under a network environment are achieved.
Therefore, the technical scheme adopted by the invention is as follows: a method for remotely controlling WPS software in a network environment comprises the following steps:
s1, installing the WPS software and the first application program on the server, installing the second application program on the remote computer, and establishing network connection between the second application program of the remote computer and the first application program of the server;
s2, the user initiates a document reading request to the first application program of the server through the second application program of the remote computer, wherein: the parameters of the document reading request comprise a target document name and a page number;
s3, the first application program of the server finds out the needed target document, converts the target document into a picture, and then sends the picture to the remote computer through the network;
and S4, receiving and viewing the converted picture by the second application program of the remote computer.
Wherein, step S3 includes the following steps:
s301, finding a required target document by a first application program of the server;
s302, a first application program generates a KWPP (KWPP.application object) and associates the KWPP.application object with a required target document;
s303, the first application program receives a user instruction from a second application program of the remote computer, and if the required target document is the WPS Word document, the following step S304 is executed:
s304, the first application program simulates the operation on the KWPP.application object, and then returns the screen capture picture of the current Word document interface to the second application program of the remote computer;
if the desired target document is a WPS ppt document, the following steps S305-S306 are performed:
s305, simulating animation showing, page turning and jumping operations of the KWPP.application object by the first application program according to the received user instruction;
s306, the first application program returns the screen capture picture of the current ppt interface to a second application program of the remote computer;
s307, the first application program judges whether the received user instruction is a document closing instruction, if so, the step S308 is executed, otherwise, the step S303 is switched to;
and S308, destroying the KWPP.
More preferably, the step S5 is further included after S4: the first application program detects the existence of the kwpp.application object and the WPS process, and immediately re-executes step S302 after finding that the kwpp.application object is abnormal or the WPS process is exited, so as to generate the kwpp.application object and associate to the desired target document.
Further, the user instructions of S305 further include page turning, jump, animation control, and document annotation.
Preferably, the following steps are further included after step S303: the first application program judges whether the received user instruction is a WPS restart instruction, if so, the KWPP.
More preferably, step S304 includes the steps of:
s3041, the first application program converts each page content of the target Word document into pictures in sequence by using a KWPP (KWPP application) object, stores the pictures in a local disk, and records the corresponding relation between the pictures and the page number of the document;
s3042, the first application program finds the picture file stored on the local disk corresponding to the required page number according to the received user instruction, and then returns the picture file to the second application program of the remote computer.
Further, the second application program is a Web online webpage.
More preferably, the S2 includes the following steps:
s201, a user requests names, content catalogs and thumbnails of all available WPS documents from a first application program of a server through a second application program of a remote computer;
s202, after receiving the reply information from the server, the second application program presents the names, content catalogues and thumbnails of all available WPS documents to the user;
s203, the user selects a certain WPS document through the second application program, and initiates a document reading request to the first application program of the server, wherein: the parameters of the document reading request comprise a target document name and a page number.
The invention has the following beneficial effects:
the invention firstly makes the first application program of the server simulate the operation irrelevant to the WPS (Word, PPT) version based on the KWPP.application objects of free version and preemptive version WPS, thereby getting rid of the dependence of Microsoft Office in the fields of network teaching and intelligent education, saving the software deployment cost and improving the user experience.
And secondly, the WPS document of the server can be remotely controlled and checked, other application programs do not need to be installed on a remote control computer except a browser, the requirement on computer hardware is reduced, and the product can be more conveniently deployed.
Thirdly, the invention can realize remote restart and automatic detection restart under the condition that the WPS software is unstable and crashes, thereby improving the reliability and stability of the remote control WPS method.
Comprehensively, the method can reach efficient and stable remote control WPS software, realizes operation of word, PPT and other files in an instruction mode, automatically converts the files into high-quality pictures, and is successfully integrated and applied to intelligent education-classroom real-time comment and answer system products and intelligent education-interactive classroom system products.
For the intelligent education-classroom real-time comment and answer system product, messages transmitted by a client are received and analyzed through network communication, the operation of WPS software of a PC on files is operated in real time, and converted high-quality pictures are returned. The server can use the word, PPT and other files without installing office software, so that the user experience of the product is greatly improved.
For intelligent education-interactive classroom system products, users can efficiently and conveniently use word, PPT and other files without depending on office software when using the interactive classroom system products, and requirements on computer hardware are reduced, so that the products can be more conveniently deployed.
Drawings
Figure 1 is a flow chart of a method for remotely controlling WPS software in a network environment,
figure 2 is a flow chart of the sub-steps of step S3,
FIG. 3 is a flowchart of sub-steps of another embodiment of step S3;
FIG. 4 is a control user interface and a comparison of presentation interfaces for a method of presenting the remote WPS software using PADs;
FIG. 5 is a comparison of the control user interface and the presentation interface of the method for displaying the WPS software remotely by the PC;
fig. 6 is a flowchart of sub-steps of another embodiment of step S2.
Detailed Description
For the purpose of enhancing the understanding of the present invention, the present invention will be further explained with reference to the accompanying drawings and examples, which are only for the purpose of explaining the present invention and do not limit the scope of the present invention.
The method for remotely controlling WPS software in a network environment, which is disclosed by the invention, has the flow shown in figure 1 and comprises the following steps:
s1, installing the WPS software and the first application program on the server, installing the second application program on the remote computer, and establishing network connection between the second application program of the remote computer and the first application program of the server;
s2, the user initiates a document reading request to the first application program of the server through the second application program of the remote computer, wherein: the parameters of the document reading request comprise a target document name and a page number;
s3, the first application program of the server finds out the needed target document, converts the target document into a picture, and then sends the picture to the remote computer through the network;
and S4, receiving and viewing the converted picture by the second application program of the remote computer.
Wherein: the second application program is a Web online webpage. Therefore, other application programs do not need to be installed on the remote control computer except for the browser, the requirement on computer hardware is reduced, and products can be more conveniently deployed.
Example 1
The flow of the sub-step of step S3 is shown in fig. 2, and includes the following steps:
s301, finding a required target document by a first application program of the server;
s302, a first application program generates a KWPP (KWPP.application object) and associates the KWPP.application object with a required target document;
s303, the first application program receives a user instruction from a second application program of the remote computer, and if the required target document is the WPS Word document, the following step S304 is executed:
s304, the first application program simulates the operation on the KWPP.application object, and then returns the screen capture picture of the current Word document interface to the second application program of the remote computer;
if the desired target document is a WPS ppt document, the following steps S305-S306 are performed:
s305, simulating animation showing, page turning and jumping operations of the KWPP.application object by the first application program according to the received user instruction;
s306, the first application program returns the screen capture picture of the current ppt interface to a second application program of the remote computer;
s307, the first application program judges whether the received user instruction is a document closing instruction, if so, the step S308 is executed, otherwise, the step S303 is switched to;
and S308, destroying the KWPP.
The first application end is the PAD user end and the PC end as shown in fig. 4 and fig. 5, and the second application end is the display terminal (also a picture display end).
Application code that generates a kwpp.application object is exemplified as follows:
dynamic ppApp = Activator.CreateInstance(Type.GetTypeFromProgID("KWPP.Application"));
ppApp.Visible = true;
dynamic objPres = ppApp.Presentations.Open(pptFilePath, -1, 0, 0);
dynamic objSSS = objPres.SlideShowSettings;
objPres.SlideShowSettings.LoopUntilStopped = -1;
objSSS.Run();
slides = objPres.Slides;
objPres.SlideShowSettings.RangeType = 1;
slidescount = slides.Count;
slide = slides[ppApp.ActiveWindow.Selection.SlideRange.SlideNumber];
slide = ppApp.SlideShowWindows[1].View.Slide;
application object after generating wpwpp.process named wpscoudsvr is started automatically. The method has the advantages that the method is an operation irrelevant to the WPS software version, so that the dependence of Microsoft Office is eliminated in the fields of network teaching and intelligent education, the software deployment cost is saved, the universality is good, and the user experience is improved.
In the flow described in embodiment 1 above, the user instruction in S303 further includes page turning, skip, animation control, and document annotation.
Example 2
In a more preferred embodiment, step S5 is further included after S4: s5, the first application detects the existence of the kwpp.application object and the WPS process, and immediately re-executes the step S302 after finding that the kwpp.application object is abnormal or the WPS process exits, so as to generate the kwpp.application object and associate to the required target document.
The detection and automatic restart mechanism of step S5 may assist in improving the reliability and stability of the remote WPS method.
Example 3
A difference from the above embodiment 1 is that the following step is further included after step S303: the first application program judges whether the received user instruction is a WPS restart instruction, if so, the KWPP.
The remote WPS restarting instruction is helpful to improve the reliability and stability of the remote WPS control method.
Example 4
In another embodiment, which is different from embodiment 1, the process is shown in fig. 3, and includes the following steps:
s3041, the first application program converts each page content of the target Word document into pictures in sequence by using a KWPP (KWPP application) object, stores the pictures in a local disk, and records the corresponding relation between the pictures and the page number of the document;
s3042, the first application program finds the picture file stored on the local disk corresponding to the required page number according to the received user instruction, and then returns the picture file to the second application program of the remote computer.
This embodiment 4 is different from embodiment 1 in that the S3041 server first application converts each page of a document to a picture file of a disk at once, and records a correspondence between the picture file and the page number of the document; then, in step S3042, the corresponding disk image file is called according to the document page number included in the user instruction request. The method can avoid or reduce the problems of network blockage, delay and poor viewing experience caused by repeated conversion, storage and transmission of the picture files.
Example 5
In an embodiment different from any one of the above embodiments 1 to 4, the flowchart of S2 is shown in fig. 6, and includes the following steps:
s201, a user requests names, content catalogs and thumbnails of all available WPS documents from a first application program of a server through a second application program of a remote computer;
s202, after receiving the reply information from the server, the second application program presents the names, content catalogues and thumbnails of all available WPS documents to the user;
s203, the user selects a certain WPS document through the second application program, and initiates a document reading request to the first application program of the server, wherein: the parameters of the document reading request comprise a target document name and a page number.
Embodiment 5 can be favorable to reducing the memory burden of the user, and through traversing all the document name lists, content directories and thumbnails stored by the server, the user can conveniently select the required document, chapter and film directly through mouse click, and then immediately position, turn to, play and display, thereby greatly improving the work efficiency of viewing and controlling the document in a network.
The embodiments of the present invention are disclosed as the preferred embodiments, but not limited thereto, and those skilled in the art can easily understand the spirit of the present invention and make various extensions and changes without departing from the spirit of the present invention.

Claims (6)

1. A method for remotely controlling WPS software in a network environment is characterized by comprising the following steps:
s1, installing the WPS software and the first application program on the server, installing the second application program on the remote computer, and establishing network connection between the second application program of the remote computer and the first application program of the server;
s2, the user initiates a document reading request to the first application program of the server through the second application program of the remote computer, wherein: the parameters of the document reading request comprise a target document name and a page number;
s3, the first application program of the server finds out the needed target document, converts the target document into a picture, and then sends the picture to the remote computer through the network;
s4, receiving and viewing the converted picture by a second application program of the remote computer;
wherein, the step S3 further includes the following steps:
s301, finding a required target document by a first application program of the server;
s302, a first application program generates a KWPP (KWPP.application object) and associates the KWPP.application object with a required target document;
s303, the first application program receives a user instruction from a second application program of the remote computer, and if the required target document is the WPS Word document, the following step S304 is executed:
s304, the first application program simulates the operation on the KWPP.application object, and then returns the screen capture picture of the current Word document interface to the second application program of the remote computer;
step S304 includes the steps of:
s3041, the first application program converts each page content of the target Word document into pictures in sequence by using a KWPP (KWPP application) object, stores the pictures in a local disk, and records the corresponding relation between the pictures and the page number of the document;
s3042, the first application program finds the picture file stored on the local disk corresponding to the needed page number according to the received user instruction, and then returns the picture file to the second application program of the remote computer;
if the desired target document is a WPS ppt document, the following steps S305-S306 are performed:
s305, simulating animation showing, page turning and jumping operations of the KWPP.application object by the first application program according to the received user instruction;
s306, the first application program returns the screen capture picture of the current ppt interface to a second application program of the remote computer;
s307, the first application program judges whether the received user instruction is a document closing instruction, if so, the step S308 is executed, otherwise, the step S303 is switched to;
and S308, destroying the KWPP.
2. The method of claim 1, further comprising step S5 after S4:
s5, the first application detects the existence of the kwpp.application object and the WPS process, and immediately re-executes the step S302 after finding that the kwpp.application object is abnormal or the WPS process exits, so as to generate the kwpp.application object and associate to the required target document.
3. The method for remotely controlling WPS software in network environment as claimed in claim 2, wherein the user command of S305 further includes page turning, jump, animation control and document annotation.
4. The method for remotely controlling WPS software in a network environment as claimed in claim 1, wherein the step S303 is followed by the steps of: the first application program judges whether the received user instruction is a WPS restart instruction, if so, the KWPP.
5. The method of claim 1, wherein the second application is a Web page.
6. A method for remotely controlling WPS software in a network environment according to any one of claims 1 to 5, wherein S2 comprises the steps of:
s201, a user requests names, content catalogs and thumbnails of all available WPS documents from a first application program of a server through a second application program of a remote computer;
s202, after receiving the reply information from the server, the second application program presents the names, content catalogues and thumbnails of all available WPS documents to the user;
s203, the user selects a certain WPS document through the second application program, and initiates a document reading request to the first application program of the server, wherein: the parameters of the document reading request comprise a target document name and a page number.
CN201810801192.4A 2018-07-20 2018-07-20 Method for remotely controlling WPS software in network environment Active CN109117283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810801192.4A CN109117283B (en) 2018-07-20 2018-07-20 Method for remotely controlling WPS software in network environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810801192.4A CN109117283B (en) 2018-07-20 2018-07-20 Method for remotely controlling WPS software in network environment

Publications (2)

Publication Number Publication Date
CN109117283A CN109117283A (en) 2019-01-01
CN109117283B true CN109117283B (en) 2021-07-27

Family

ID=64863191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810801192.4A Active CN109117283B (en) 2018-07-20 2018-07-20 Method for remotely controlling WPS software in network environment

Country Status (1)

Country Link
CN (1) CN109117283B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394857B (en) * 2019-08-19 2023-10-31 珠海金山办公软件有限公司 Method and device for converting format of slide PPT document and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306861B (en) * 2015-10-15 2017-03-01 深圳市鹰硕技术有限公司 A kind of Web-based instruction recorded broadcast method and system
CN107016002B (en) * 2016-01-28 2020-10-30 北京联创众升科技有限公司 Method for remotely controlling multi-format document demonstration
CN107734074B (en) * 2017-11-29 2020-06-12 常州中价之星软件技术有限公司 Method for realizing online reading and editing document

Also Published As

Publication number Publication date
CN109117283A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
KR101507629B1 (en) Browser-based proxy server for customization and distribution of existing applications
US9870346B2 (en) Clickable links within live collaborative web meetings
US6928464B2 (en) Systems and methods for unified remote control access
RU2439670C2 (en) System and method to implement control of remote computers
US7093199B2 (en) Design environment to facilitate accessible software
JP3280330B2 (en) Communication method, client terminal, server, communication system, recording medium storing software product for controlling communication
JP5613978B2 (en) Presentation control system
CN104199723B (en) Camera mapping method based on virtual equipment
US20110022899A1 (en) Producing or executing a script for an operation test of a terminal server
CN104823186B (en) The method of long-range presentation between at least two terminals of network connection
JPH10162030A (en) Method and device for rendering hyperlink information
CN107479957A (en) A kind of switching method of Multiple system, device, equipment and storage medium
CN103678307A (en) Page display method and client-side
US20140045163A1 (en) Interactive response system and question generation method for interactive response system
US9710441B2 (en) Content reproducing apparatus
CN111669447A (en) Page display method, device, equipment and medium
CN112911320A (en) Live broadcast method and device, computer equipment and storage medium
CN109117283B (en) Method for remotely controlling WPS software in network environment
CN113014669B (en) Proxy service method, system, server and storage medium based on RPA
CN110673886B (en) Method and device for generating thermodynamic diagrams
CN112395297B (en) Method, device and server for synchronizing work information
US9734513B1 (en) System and method for advertising applications to users without requiring the applications to be installed
US20130198791A1 (en) E-book-based on-line broadcasting study system and method
CN113138764A (en) Code running method and related product
CN109446352B (en) Model display method, device, client and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant