CN102546797A - Screen shooting method for mobile equipment based on browser end/server end structure - Google Patents

Screen shooting method for mobile equipment based on browser end/server end structure Download PDF

Info

Publication number
CN102546797A
CN102546797A CN2011104601333A CN201110460133A CN102546797A CN 102546797 A CN102546797 A CN 102546797A CN 2011104601333 A CN2011104601333 A CN 2011104601333A CN 201110460133 A CN201110460133 A CN 201110460133A CN 102546797 A CN102546797 A CN 102546797A
Authority
CN
China
Prior art keywords
screenshotss
mobile device
server end
browser
mobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104601333A
Other languages
Chinese (zh)
Other versions
CN102546797B (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.)
Beijing Interactive Encyclopedia Network Technology Co.,Ltd.
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Interactive Online (beijing) 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 Interactive Online (beijing) Technology Co Ltd filed Critical Interactive Online (beijing) Technology Co Ltd
Priority to CN201110460133.3A priority Critical patent/CN102546797B/en
Publication of CN102546797A publication Critical patent/CN102546797A/en
Application granted granted Critical
Publication of CN102546797B publication Critical patent/CN102546797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a screen shooting method for mobile equipment based on a browser end/server end structure. The screen shooting method comprises the following steps: a browser end responds to an instruction of a user and transmits a screen shooting generation command comprising a mobile application program packet required by shooting the screen to a server end; the server end responds to the screen shooting generation command and transmits data comprising the mobile application program packet required by shooting the screen to the mobile equipment; and the mobile equipment is installed with the mobile application program packet required by shooting the screen to generate a screen shooting image file. The screen shooting method has the advantages of simpleness in operation, high automatic degree, short consumed time and high efficiency.

Description

A kind of mobile device screenshotss method based on browser end/server end structure
Technical field
The present invention relates to Internet technical field, particularly a kind of mobile device screenshotss method based on browser end/server end structure.
Background technology
The screenshotss method that is used for mobile device in the prior art, needing user's manual compiling code on mobile device perhaps screenshotss application program (APP) to be installed usually could accomplish.
For example; Utilize the tall and erect SDK Android of existing peace SDK (software development kit); The user can use DDMS (Dalvik Debug Monitor Server) instrument; Earlier PC is connected with the mobile device end through data wire, then the mobile device end is carried out screenshotss and generates the screenshotss image file at the mobile device end, the snapshot that again the mobile device end is generated arrives PC as document copying.But above-mentioned each step operation all needs the user manually to write corresponding command code, and needs debugging repeatedly, and complicated operation is loaded down with trivial details, length consuming time, and efficient is low.In addition, this method can only be accomplished on the mobile device that JDK (Java Development Kit) and Android SDK have been installed, and uses to have limitation.
Utilize existing screenshotss application program, also can realize the screenshotss of mobile device end.But; Need the user earlier PC to be connected with the mobile device end through data wire; Then in mobile device end manual installation screenshotss application program; Again the mobile device end according to the option of screenshotss application program with point out manual operation step by step to accomplish screenshotss, the screenshotss image file that at last the mobile device end is generated manually copies PC to.The shortcoming of this kind method is that complicated operation is loaded down with trivial details equally, length consuming time, and efficient is low.
At present, be starved of a kind of screenshotss method that automaticity is high, simple and efficient to handle, efficient is high that is used for mobile device.
Summary of the invention
The purpose of this invention is to provide a kind of mobile device screenshotss method based on browser end/server end structure.
Mobile device screenshotss method based on browser end/server end structure provided by the invention comprises the steps:
Browser end response user's instruction is sent the screenshotss generation of the mobile applications bag that comprises the screenshotss needs and is ordered to server end;
Said server end responds said screenshotss and generates the mobile applications bag that comprises said screenshotss needs is sent in data from order to mobile device;
The mobile applications bag that the said screenshotss of said mobile device installation and operation need generates the screenshotss image file.
Preferably, said method further comprises the steps:
Said server end is set up the screenshotss catalogue;
Said server end is saved in the screenshotss image file that said mobile device generates in the said screenshotss catalogue;
Said server end provides the download path of the screenshotss image file of said screenshotss application program to said browser end.
Preferably, said method further comprises the steps:
Said server end responds said screenshotss generation order and checks whether the mobile applications bag of said screenshotss needs is effective; If invalid, then feed back the invalid information of mobile device application package that said screenshotss need to said browser end.
Preferably, said mobile device comprises mobile phone, panel computer or mobile phone simulator.
Preferably, said screenshotss generate to order and further comprise the screenshotss parameter.
Preferably, said screenshotss parameter comprises screenshotss path, screenshotss number of times and resolution.
Preferably, said screenshotss are the whole screen pictures that obtain said mobile device end.
The present invention has following beneficial effect:
(1) said method can based on B/S (browser end/server end) structure, generate the mobile device sectional drawing with complicacy, repetition, loaded down with trivial details working set together fast automaticly, has avoided writing in a large number the time of code and debugging fully;
(2) resolution that said method can self-defined mobile device sectional drawing is to satisfy different clients' demand;
(3) mobile device sectional drawing of the every generation of said method all can be stored in server end, and shows at the download path of browser end with this mobile device sectional drawing, thereby the user can gone to download through the http agreement easily;
(4) said method is simple to operate, and automaticity is high, weak point consuming time, and efficient is high.
Description of drawings
The flow chart that Fig. 1 provides for the embodiment of the invention based on the mobile device screenshotss method of browser end/server end structure.
Embodiment
Below in conjunction with accompanying drawing and embodiment summary of the invention of the present invention is done further to describe.
Present embodiment is an example with the web engineering of B/S (browser end/server end) structure, based on for example J2EE technology, disposes for example Python script at server end.
As shown in Figure 1, the mobile device screenshotss method based on browser end/server end structure that present embodiment provides comprises the steps:
S1: browser end response user's instruction is sent the screenshotss generation of the mobile applications bag that comprises the screenshotss needs and is ordered to server end;
S2: said server end responds said screenshotss and generates order to moving the data of sending the mobile device application package that comprises said screenshotss needs;
S3: the mobile device application package that the said screenshotss of said mobile device installation and operation need generates the screenshotss image file.
Said method further comprises the steps (not shown):
S4: said server end is set up the screenshotss catalogue;
S5: said server end is saved in the screenshotss image file that said mobile device generates in the said screenshotss catalogue;
S6: said server end provides the download path of the screenshotss image file of said screenshotss application program to said browser end.
Said method further comprises the steps:
Said server end responds said screenshotss generation order and checks whether the mobile applications bag of said screenshotss needs is effective; If invalid, then feed back the invalid information of mobile applications bag that said screenshotss need to said browser end; If then said server end is carried out said step S2 effectively.
Said screenshotss are meant the whole screen picture that obtains said mobile device.Said screenshotss generate order and further comprise the screenshotss parameter.Before step S1, the user need obtain the mobile applications bag of screenshotss needs and edit the screenshotss parameter.The mobile applications bag that the user can select screenshotss to need as required.Particularly; The user can directly send mobile applications bag that local screenshotss need to said server end from browser end; The download link that also can send the mobile applications bag that screenshotss need is downloaded the mobile applications bag that screenshotss need by said server end through for example http agreement again to server end.Said screenshotss parameter comprises screenshotss path, screenshotss number of times and resolution.Said screenshotss path is used for the mobile device that will carry out screenshotss that directed towards user is selected; Said screenshotss path also is used to make mobile device can discern one or more screens that will carry out screenshotss that the user selects.In the present embodiment, a screen picture that obtains said mobile device is defined as screenshotss one time.In said step S3, said mobile device can carry out repeatedly screenshotss.The user can set the screenshotss number of times of said step S3 as required.The user can set the resolution of screenshotss each time as required.Particularly, the user can set the resolution of screenshotss in the mobile applications bag that obtains the screenshotss needs.Said mobile device comprises mobile phone, panel computer or mobile phone simulator.In the present embodiment, said mobile device adopts for example Android mobile phone simulator.In the present embodiment, the definition of panel computer is: a kind of small-sized, PC of being convenient for carrying, with touch-screen as basic input equipment.The touch-screen that said panel computer has allows the user to carry out operation rather than traditional keyboard or mouse through touch-control or digital pen.
In the present embodiment, said server end receives the mobile applications bag that after the said screenshotss generation order said screenshotss is needed and is saved in the local particular file folder, and said screenshotss parameter is write in the local ineffective law, rule, etc. presents.Particularly, can send list through ajax writes in the said ineffective law, rule, etc. presents in said particular file folder or with the screenshotss parameter.
In said step S2; Said server end can send to said mobile device with the data of mobile applications bag that comprises said screenshotss needs and said screenshotss parameter are disposable, also can with the data of the mobile applications bag that comprises said screenshotss needs with comprise that the data of said screenshotss parameter send to said mobile device step by step.
In the present embodiment, said server end responds said screenshotss and generates the mobile applications bag that comprises said screenshotss needs is sent in order earlier to said mobile device data; Said screenshotss application program is installed when said mobile device receives the data of the mobile applications bag that comprises said screenshotss needs and sends the information of the mobile applications bag installation of said screenshotss needs to said server end; , said server end sends the data that comprise said screenshotss parameter to said mobile device again when receiving the information of the mobile applications bag installation that said screenshotss need; The mobile applications bag of the said screenshotss needs after utilization is installed when said mobile device receives the data that comprise said screenshotss parameter is opened the screen of wanting screenshotss and is carried out screenshotss and generate corresponding screenshotss image file.
In the present embodiment, said server end is realized the screenshotss of said mobile device end through calling said Python script.For all kinds of screenshotss application programs such as every kind of operating systems such as android, ios and windows phone7, said server end has the framework with particular category structure, and the image file that screenshotss generate is stored in the respective directories of said framework.In the present embodiment, the io interface through for example java generates said screenshotss catalogue.
In the present embodiment, said server end is stored in the image file that screenshotss generate in the respective directories of said framework according to the resolution difference.For example, in Android mobile phone simulator, be that the image file of 800*480,480*320 and 320*240 is placed on name successively respectively and is called under the file of " 800480 ", " 480320 " and " 320240 " with resolution.Through this step, make the screenshotss application program to show screenshotss automatically according to the resolution of mobile device with corresponding resolution.
In the present embodiment, the screenshotss image file of generation can be kept on the hard disk of said server end, and each screenshotss image file of generation all can generate corresponding catalogue according to title and date, and this catalogue can be used as the foundation of index search.Said server end only need provide the relative path of a screenshotss image file directory on hard disk at said browser end, and the user just can download the screenshotss image file at said browser end.
Said method can based on the B/S structure, generate the mobile device sectional drawing with complicacy, repetition, loaded down with trivial details working set together fast automaticly, has avoided writing in a large number the time of code and debugging fully.Said method can self-defined mobile device sectional drawing resolution to satisfy different clients' demand.Mobile device sectional drawing of the every generation of said method all can be stored in server end, and show at the download path of browser end with this mobile device sectional drawing, thereby the user can gone to download through the http agreement easily.Said method is simple to operate, and automaticity is high, weak point consuming time, and efficient is high.
Should be appreciated that the above detailed description of technical scheme of the present invention being carried out by preferred embodiment is schematic and nonrestrictive.Those of ordinary skill in the art is reading on the basis of specification of the present invention and can make amendment to the technical scheme that each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (7)

1. based on the mobile device screenshotss method of browser end/server end structure, it is characterized in that this method comprises the steps:
Browser end response user's instruction is sent the screenshotss generation of the mobile applications bag that comprises the screenshotss needs and is ordered to server end;
Said server end responds said screenshotss and generates the mobile applications bag that comprises said screenshotss needs is sent in data from order to mobile device;
The mobile applications bag that the said screenshotss of said mobile device installation and operation need generates the screenshotss image file.
2. the mobile device screenshotss method based on browser end/server end structure according to claim 1 is characterized in that said method further comprises the steps:
Said server end is set up the screenshotss catalogue;
Said server end is saved in the screenshotss image file that said mobile device generates in the said screenshotss catalogue;
Said server end provides the download path of the screenshotss image file of said screenshotss application program to said browser end.
3. the mobile device screenshotss method based on browser end/server end structure according to claim 1 is characterized in that said method further comprises the steps:
Said server end responds said screenshotss generation order and checks whether the mobile applications bag of said screenshotss needs is effective; If invalid, then feed back the invalid information of mobile device application package that said screenshotss need to said browser end.
4. the mobile device screenshotss method based on browser end/server end structure according to claim 1 is characterized in that said mobile device comprises mobile phone, panel computer or mobile phone simulator.
5. the mobile device screenshotss method based on browser end/server end structure according to claim 1 is characterized in that, said screenshotss generate order and further comprise the screenshotss parameter.
6. the mobile device screenshotss method based on browser end/server end structure according to claim 5 is characterized in that said screenshotss parameter comprises screenshotss path, screenshotss number of times and resolution.
7. the mobile device screenshotss method based on browser end/server end structure according to claim 1 is characterized in that said screenshotss are the whole screen pictures that obtain said mobile device end.
CN201110460133.3A 2011-12-31 2011-12-31 Screen shooting method for mobile equipment based on browser end/server end structure Active CN102546797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110460133.3A CN102546797B (en) 2011-12-31 2011-12-31 Screen shooting method for mobile equipment based on browser end/server end structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110460133.3A CN102546797B (en) 2011-12-31 2011-12-31 Screen shooting method for mobile equipment based on browser end/server end structure

Publications (2)

Publication Number Publication Date
CN102546797A true CN102546797A (en) 2012-07-04
CN102546797B CN102546797B (en) 2014-08-13

Family

ID=46352743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110460133.3A Active CN102546797B (en) 2011-12-31 2011-12-31 Screen shooting method for mobile equipment based on browser end/server end structure

Country Status (1)

Country Link
CN (1) CN102546797B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338405A (en) * 2013-06-03 2013-10-02 四川长虹电器股份有限公司 Screen capture application method, equipment and system
CN103365840A (en) * 2012-03-26 2013-10-23 腾讯科技(深圳)有限公司 Web-based screenshot taking method and device
CN103777855A (en) * 2012-10-23 2014-05-07 腾讯科技(深圳)有限公司 Method and device for capturing mobile terminal screen
CN104079717A (en) * 2014-06-12 2014-10-01 深圳市金立通信设备有限公司 Method for displaying device interface and server
CN104834753A (en) * 2015-05-28 2015-08-12 百度在线网络技术(北京)有限公司 Webpage screenshot generating method and device
CN105072461A (en) * 2015-07-03 2015-11-18 北京奇虎科技有限公司 Data processing method and device
CN106647441A (en) * 2016-10-23 2017-05-10 杭州老板电器股份有限公司 Fire power control method and device, and terminal
CN116016472A (en) * 2023-02-20 2023-04-25 北京格如灵科技有限公司 Client interaction method, device, computer equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079061A (en) * 2007-04-09 2007-11-28 腾讯科技(深圳)有限公司 Web page screen-cutting system and implementation method
CN101291488A (en) * 2008-03-24 2008-10-22 中兴通讯股份有限公司 Screen printing method on mobile terminal
US20090003704A1 (en) * 2007-06-29 2009-01-01 Nhn Corporation Method and system for controlling browser by using image
WO2010045282A2 (en) * 2008-10-16 2010-04-22 Intuit Inc. System and method for time tracking on a mobile computing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079061A (en) * 2007-04-09 2007-11-28 腾讯科技(深圳)有限公司 Web page screen-cutting system and implementation method
US20090003704A1 (en) * 2007-06-29 2009-01-01 Nhn Corporation Method and system for controlling browser by using image
CN101291488A (en) * 2008-03-24 2008-10-22 中兴通讯股份有限公司 Screen printing method on mobile terminal
WO2010045282A2 (en) * 2008-10-16 2010-04-22 Intuit Inc. System and method for time tracking on a mobile computing device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365840A (en) * 2012-03-26 2013-10-23 腾讯科技(深圳)有限公司 Web-based screenshot taking method and device
CN103365840B (en) * 2012-03-26 2016-08-03 腾讯科技(深圳)有限公司 A kind of screenshot method based on web and device
CN103777855A (en) * 2012-10-23 2014-05-07 腾讯科技(深圳)有限公司 Method and device for capturing mobile terminal screen
CN103777855B (en) * 2012-10-23 2018-09-21 腾讯科技(深圳)有限公司 The method and apparatus for intercepting mobile terminal screen
CN103338405A (en) * 2013-06-03 2013-10-02 四川长虹电器股份有限公司 Screen capture application method, equipment and system
CN104079717A (en) * 2014-06-12 2014-10-01 深圳市金立通信设备有限公司 Method for displaying device interface and server
CN104079717B (en) * 2014-06-12 2016-08-24 深圳市金立通信设备有限公司 A kind of method at display device interface and server
CN104834753A (en) * 2015-05-28 2015-08-12 百度在线网络技术(北京)有限公司 Webpage screenshot generating method and device
CN105072461A (en) * 2015-07-03 2015-11-18 北京奇虎科技有限公司 Data processing method and device
CN105072461B (en) * 2015-07-03 2019-03-08 北京奇虎科技有限公司 A kind of data processing method and device
CN106647441A (en) * 2016-10-23 2017-05-10 杭州老板电器股份有限公司 Fire power control method and device, and terminal
CN116016472A (en) * 2023-02-20 2023-04-25 北京格如灵科技有限公司 Client interaction method, device, computer equipment and medium

Also Published As

Publication number Publication date
CN102546797B (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN102546797B (en) Screen shooting method for mobile equipment based on browser end/server end structure
US9342237B2 (en) Automated testing of gesture-based applications
CN102063316B (en) Information-processing device, communication system, and information-processing method
US20100281475A1 (en) System and method for mobile smartphone application development and delivery
US10303445B2 (en) Network service providing method and network service station using same
CN107688529B (en) Component debugging method and device
CN103838573A (en) Application program generation method and device
Ridene et al. A model-driven approach for automating mobile applications testing
CN102289378A (en) Method for automatically generating APP (Application)
CN104484216A (en) Method and device for generating service interface document and on-line test tool
US9307010B2 (en) Data upload method using shortcut
CN105224456A (en) A kind of test script generates methods, devices and systems
CN101957756A (en) System and method for rapidly generating intelligent mobile terminal program
JP6501893B2 (en) Desktop sharing method and mobile terminal
JP7280388B2 (en) Apparatus and method, equipment and medium for implementing a customized artificial intelligence production line
EP3196783A1 (en) Open collaboration board with multiple integrated services
CN109145236A (en) Page file processing method, apparatus and system
CN107426588B (en) Method, system and storage device for acquiring television set configuration information
CN105117339B (en) A kind of method and apparatus that native command debugging routine is debugged using plug-in unit
CN101876998B (en) Method and system for editing data
JP4626675B2 (en) Firmware providing method, communication system and service server using communication network
US8805893B2 (en) Dynamic generation of a configuration file
Conway et al. iPhone programming: The big nerd ranch guide
CN104539697B (en) A kind of client, server and the method for making Android mobile application
CN113407078A (en) Method and device for editing character icon, storage medium and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
DD01 Delivery of document by public notice

Addressee: Beijing Interactive Encyclopedia network technology Limited by Share Ltd. patent Manager (collect)

Document name: Notification that Application Deemed not to be Proposed

C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: 100085 Haidian District on the road to information on the ground floor, building A7F, No. 28, Beijing

Patentee after: BEIJING HUDONG BAIKE NETWORK TECHNOLOGY CO.,LTD.

Address before: 100029, miracle Fortune Plaza, 1 Li an yuan, Anding, Beijing, Chaoyang District

Patentee before: Hudong Online (Beijing) Technology Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100085 Haidian District on the road to information on the ground floor, building A7F, No. 28, Beijing

Patentee after: Beijing Interactive Encyclopedia Network Technology Co.,Ltd.

Address before: 100085 Haidian District on the road to information on the ground floor, building A7F, No. 28, Beijing

Patentee before: BEIJING HUDONG BAIKE NETWORK TECHNOLOGY CO.,LTD.

TR01 Transfer of patent right

Effective date of registration: 20190924

Address after: 100041, room 2, building 3, building 30, Xing Xing street, Shijingshan District, Beijing,

Patentee after: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address before: 100085 Haidian District on the road to information on the ground floor, building A7F, No. 28, Beijing

Patentee before: Beijing Interactive Encyclopedia Network Technology Co.,Ltd.

TR01 Transfer of patent right