CN104268611B - Synchronizing web pages method and device - Google Patents
Synchronizing web pages method and device Download PDFInfo
- Publication number
- CN104268611B CN104268611B CN201410479892.8A CN201410479892A CN104268611B CN 104268611 B CN104268611 B CN 104268611B CN 201410479892 A CN201410479892 A CN 201410479892A CN 104268611 B CN104268611 B CN 104268611B
- Authority
- CN
- China
- Prior art keywords
- quick response
- response code
- header
- webpage
- terminal
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The disclosure is directed to synchronizing web pages method and device.The described method includes:Obtain the header of the current hypertext transfer protocol requests for browsing webpage;At least one Quick Response Code is generated according to the header;Show at least one Quick Response Code.The disclosure is used to completely transmit all information for wanting sharing web page in former terminal.
Description
Technical field
This disclosure relates to wireless communication technique field, more particularly to a kind of synchronizing web pages method and device.
Background technology
User can run into the webpage that will currently browse and synchronously be shown in other terminal when browsing webpage using browser
The demand come is shown, in correlation technique, can use and the synchronizing web pages browsed on present terminal are arrived other by the way of cloud synchronization
Terminal, the web page address that will currently browse webpage are sent to high in the clouds, are forwarded to other-end by high in the clouds, other-end is according to net
Page address opens the webpage.
There are the following problems in correlation technique:, it is necessary to which more station terminals all sign in same cloud clothes by the way of cloud is synchronous
Business account, or multiple cloud service accounts are associated, if the terminal synchronized is not logged on cloud service account, nothing
Method carries out synchronizing web pages.In addition, web page address is simply synchronized to other-end by existing synchronizing web pages, other-end is according to net
After page address opens webpage, operation information of the user on webpage can not also be synchronized.For example, if user uses eventually
Hold U1 to access Taobao, and log in Taobao's account, still, when the web page address of Taobao is synchronized to terminal U2 by user, use
Terminal U2 accesses Taobao, then needs to log in again, and before browse to be recorded on terminal U2 can not also inquire about.In this way, due to
Operation information of the user on webpage can not also be synchronized, can not completely be shown on other-end all in former terminal
Webpage information, user experience are poor.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides a kind of synchronizing web pages method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of synchronizing web pages method, including:
Obtain the header of the current hypertext transfer protocol requests for browsing webpage;
At least one Quick Response Code is generated according to the header;
Show at least one Quick Response Code.
In the present embodiment, Quick Response Code is generated according to the header of http request parts, the Quick Response Code is shown in former terminal,
The webpage for alloing other-end to obtain former terminal by scanning the Quick Response Code and currently browsing, is all stepped on without multiple terminals
Record cloud service account, it is possible between the ues carry out webpage transmission with share.Also, due to being wrapped in the Quick Response Code
Containing on interaction data all between the webpage former terminal and server, i.e. user's operation information all on the webpage,
So that user after other-end opens the webpage, need not re-start login, and can obtain when accessing same website
All relevant informations of the webpage are accessed before, and the letter of the webpage all in former terminal can be completely obtained on other-end
Breath, better user experience.
Optionally, when the header byte number more than Quick Response Code information capacity when, it is described according to the header
At least one Quick Response Code is generated, including:
Byte sequencing in the header generates at least two Quick Response Codes;
Display at least one Quick Response Code, including:
At least two Quick Response Code is shown successively by the sequencing of byte included at least two Quick Response Code.
In alternative, when byte is more in header, it is necessary to generate multiple Quick Response Codes according to byte order, other
Equipment is also required to scan the two-dimensional code in sequence so that after multiple Quick Response Codes can be parsed in other equipment, group in order
Fill as header.In this way, simply and rapidly transmitting the header information of webpage by Quick Response Code, all logged in without multiple terminals
To cloud service account, it is possible between the ues carry out webpage transmission with share;And being accessed before can obtaining should
All relevant informations of webpage, can completely obtain the information of the webpage all in former terminal, user's body on other-end
Test preferably.
Optionally, when the header byte number more than Quick Response Code information capacity when, described in the basis
Header generates at least one Quick Response Code, including:
At least two Quick Response Codes are generated according to the header, is included in the Quick Response Code and is used to identify institute in the Quick Response Code
The sequence identification of sequencing comprising byte.
In alternative, due to adding sequence identification in Quick Response Code, in former terminal to the display of Quick Response Code and its
,, can be according to sequence identification, by two after being parsed to Quick Response Code without considering sequencing problem during the scanning of his terminal-pair Quick Response Code
Information in dimension code is assembled into header.In this way, the transmission of webpage with share more convenient, user's operation is simpler,
Improve user experience.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of synchronizing web pages method, including:
At least one Quick Response Code is scanned by camera, the Quick Response Code is scanned terminal according to currently browsing webpage
Hypertext transfer protocol requests generation;
At least one Quick Response Code is parsed, obtained two-dimentional digital content;
The current hypertext transfer protocol for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing
The header of request;
The webpage that currently to browse webpage identical with the scanned terminal is opened according to the header.
In the present embodiment, the webpage that is currently browsing of former terminal is obtained by scanning the Quick Response Code, without multiple terminals
All sign in cloud service account, it is possible between the ues carry out webpage transmission with share.Also, due to the Quick Response Code
In include on interaction data all between the webpage former terminal and server, i.e. user's operation all on the webpage is believed
Breath so that user need not re-start login, and can obtain after other-end opens the webpage when accessing same website
All relevant informations of the webpage are accessed before obtaining, the webpage all in former terminal can be completely obtained on other-end
Information, better user experience.
Optionally, when recognize show at least two Quick Response Codes in the scanned terminal when, it is described to pass through camera
At least one Quick Response Code is scanned, including:
The order of at least two Quick Response Code, scanning at least two two dimension are shown according to the scanned terminal
Code;
Parsing at least one Quick Response Code, obtained two-dimentional digital content, including:
At least two Quick Response Code is parsed, obtains the two-dimentional digital content of each Quick Response Code;
The current Hyper text transfer for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing
The header of agreement request, including:
According to scanning sequency, described at least two two-dimentional digital contents are assembled into the mark of the hypertext transfer protocol requests
Head.
In alternative, when byte is more in header, former terminal needs to generate multiple two dimensions according to byte order
Code, other equipment are also required to scan the two-dimensional code in sequence so that after multiple Quick Response Codes can be parsed in other equipment, press
Order is assembled into header.In this way, the header information of webpage is simply and rapidly transmitted by Quick Response Code, without multiple terminals
All sign in cloud service account, it is possible between the ues carry out webpage transmission with share;And before can obtaining
All relevant informations of the webpage are accessed, the information of the webpage all in former terminal can be completely obtained on other-end,
Better user experience.
Optionally, when scanning obtains at least two Quick Response Codes, parsing at least one Quick Response Code, including:
At least two Quick Response Code is parsed, is obtained in the sequence identification of each Quick Response Code and the Quick Response Code of each Quick Response Code
Hold;
The current Hyper text transfer for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing
The header of agreement request, including:
According to the sequence identification, described at least two two-dimentional digital contents are assembled into the hypertext transfer protocol requests
Header.
In alternative, due to adding sequence identification in Quick Response Code, in former terminal to the display of Quick Response Code and its
During the scanning of his terminal-pair Quick Response Code, after considering that sequencing problem, other-end parse Quick Response Code, it can be marked according to order
Know, the information in Quick Response Code is assembled into header.In this way, the transmission of webpage with share more convenient, user's operation is more
Add simple, raising user experience.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of synchronizing web pages device, including:
Acquisition module, for obtaining the header of the current hypertext transfer protocol requests for browsing webpage;
Generation module, for generating at least one Quick Response Code according to the header;
Display module, for showing at least one Quick Response Code.
Optionally, the generation module, for when the header byte number more than Quick Response Code information capacity when,
Byte sequencing in the header generates at least two Quick Response Codes;
The display module, for showing institute successively by the sequencing of byte included at least two Quick Response Code
State at least two Quick Response Codes.
Optionally, the generation module, for when the header byte number more than Quick Response Code information capacity when,
At least two Quick Response Codes are generated according to the header, is included in the Quick Response Code and is used to identify byte included in the Quick Response Code
Sequencing sequence identification.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of synchronizing web pages device, including:
Scan module, for scanning at least one Quick Response Code by camera, the Quick Response Code be scanned terminal according to
The current hypertext transfer protocol requests generation for browsing webpage;
Parsing module, for parsing at least one Quick Response Code, obtained two-dimentional digital content;
Generation module, the current of the scanned terminal of two-dimentional digital content generation for being obtained according to parsing browse the super of webpage
The header of text transfer protocol request;
Module is opened, for opening the net that currently to browse webpage identical with the scanned terminal according to the header
Page.
Optionally, the scan module, at least two Quick Response Codes are shown for working as to recognize in the scanned terminal
When, the order of at least two Quick Response Code is shown according to the scanned terminal, scans at least two Quick Response Code;
The parsing module, for parsing at least two Quick Response Code, obtains each Quick Response Code two dimension digital content;
The generation module, for according to scanning sequency, described at least two two-dimentional digital contents to be assembled into the super text
The header of this transport protocol request
Optionally, the parsing module, for parsing at least two Quick Response Code, obtains the order mark of each Quick Response Code
Two-dimentional digital content in knowledge and each Quick Response Code;
The generation module, for according to the sequence identification, described at least two two-dimentional digital contents being assembled into described
The header of hypertext transfer protocol requests.According to a fifth aspect of the embodiments of the present disclosure, there is provided a kind of synchronizing web pages device, bag
Include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Obtain the header of the current hypertext transfer protocol requests for browsing webpage;
At least one Quick Response Code is generated according to the header;
Show at least one Quick Response Code.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of synchronizing web pages device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
At least one Quick Response Code is scanned by camera, the Quick Response Code is scanned terminal according to currently browsing webpage
Hypertext transfer protocol requests generation;
At least one Quick Response Code is parsed, obtained two-dimentional digital content;
The current hypertext transfer protocol for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing
The header of request;
The webpage that currently to browse webpage identical with the scanned terminal is opened according to the header.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of synchronizing web pages method according to an exemplary embodiment;
Fig. 2 is the schematic diagram of two-dimensional code display C1-C3 on terminal U1 screens according to an exemplary embodiment;
Fig. 3 is the schematic diagram of two-dimensional code display C1-C3 on the terminal U1 screens shown according to another exemplary embodiment;
Fig. 4 is a kind of flow chart of synchronizing web pages method according to an exemplary embodiment;
Fig. 5 is a kind of flow chart of the synchronizing web pages method shown according to another exemplary embodiment;
Fig. 6 is a kind of flow chart of the synchronizing web pages method shown according to another exemplary embodiment;
Fig. 7 is a kind of block diagram of synchronizing web pages device according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of synchronizing web pages device according to an exemplary embodiment;
Fig. 9 is a kind of block diagram of device 1000 for synchronizing web pages according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of synchronizing web pages method according to an exemplary embodiment, as shown in Figure 1, webpage
Synchronous method is used in terminal, comprises the following steps.
In step s 11, the header of the current hypertext transfer protocol requests for browsing webpage is obtained;
In step s 12, at least one Quick Response Code is generated according to header;
In step s 13, at least one Quick Response Code is shown.
For example, on terminal U1, webpage A that browser currently browses is then corresponding with webpage A there are one on terminal U1
Main document asks A.request, and the hypertext transfer protocol (http) that webpage A is included in A.request is asked, wherein, http
The header (header) of request can partly include following information:
Accept:The acceptable mime type of browser.
Accept-Charset:The acceptable character set of browser.
Accept-Encoding:Browser can carry out decoded data coding mode, such as gzip.
Accept-Language:The desirable category of language of browser, when server is capable of providing more than one language
To be used during version.
Authorization:Authorization message, typically occurs in answering to the WWW-Authenticate heads of server transmission
In answering.
Connection:Represent whether lasting connection.
Content-Length:Represent the length of request message text.
Cookie:This is one of most important request header information, is website to distinguish user identity, carry out session
The data for tracking and being stored on user local terminal.
From:The email addresses of sender are asked, are used by some special web client programs, browser will not be used
It.
Host:Host and port in initial URL.
If-Modified-Since:Only when requested content on a specified date after again it is modified just return
It, otherwise returns to 304 " Not Modified " responses.
Pragma:" no-cache " value is specified to represent the document that server must return to after a refreshing, even if it is generation
Manage server and have the local copy of the page.
Referer:Comprising a URL, user accesses the page of current request from the URL pages represented.
User-Agent:Browser type, if Servlet return content it is related with browser type if the value very
It is useful.
UA-Pixels, UA-Color, UA-OS, UA-CPU:As off-gauge transmitted by the IE browser of some versions
Request header, represents screen size, color depth, operating system and cpu type.
On terminal U1, according to Quick Response Code encryption algorithm, two dimension is weaved into the header parts of the http request of webpage A
Code, and shown, after terminal U2 scans the Quick Response Code, webpage A can be opened according to the Quick Response Code.
In the present embodiment, Quick Response Code is generated according to the header of http request parts, the Quick Response Code is shown in former terminal,
The webpage for alloing other-end to obtain former terminal by scanning the Quick Response Code and currently browsing, is all stepped on without multiple terminals
Record cloud service account, it is possible between the ues carry out webpage transmission with share.Also, due to being wrapped in the Quick Response Code
Containing on interaction data all between the webpage former terminal and server, i.e. user's operation information all on the webpage,
So that user after other-end opens the webpage, need not re-start login, and can obtain when accessing same website
All relevant informations of the webpage are accessed before, and the letter of the webpage all in former terminal can be completely obtained on other-end
Breath, better user experience.
Optionally, when the header byte number more than Quick Response Code information capacity when, above-mentioned steps S12 includes:
Byte sequencing in header generates at least two Quick Response Codes.
Above-mentioned steps S13 includes:By the sequencing of byte included at least two Quick Response Codes show successively it is described extremely
Few two Quick Response Codes.
For example, the information capacity of General Two-Dimensional code is 1108 bytes, when header is 2680 bytes, more than one
The information capacity of Quick Response Code, according to the byte number of header, it is necessary to generate three Quick Response Codes.
Include the 1st~1108 byte of header in Quick Response Code C1, in Quick Response Code C2 comprising header the 1109th~
2216 bytes, the 2217th~2680 byte of header is included in Quick Response Code C3.
As shown in Fig. 2, can in the same screen of terminal U1 screens two-dimensional code display C1-C3 successively from left to right, or
As shown in figure 3, can also be shown in point three screens, user is by sliding the screen terminal U2 scannings often Quick Response Code on screen.
Terminal U2 needs to scan the two-dimensional code C1-C3 in order.
In alternative, when byte is more in header, it is necessary to generate multiple Quick Response Codes according to byte order, other
Equipment is also required to scan the two-dimensional code in sequence so that after multiple Quick Response Codes can be parsed in other equipment, group in order
Fill as header.In this way, simply and rapidly transmitting the header information of webpage by Quick Response Code, all logged in without multiple terminals
To cloud service account, it is possible between the ues carry out webpage transmission with share;And being accessed before can obtaining should
All relevant informations of webpage, can completely obtain the information of the webpage all in former terminal, user's body on other-end
Test preferably.
Optionally, when the header byte number more than Quick Response Code information capacity when, above-mentioned steps S12 includes:
At least two Quick Response Codes are generated according to the header, is included in the Quick Response Code and is used to identify byte included in the Quick Response Code
Sequencing sequence identification.
For example, when header is 2680 bytes, three Quick Response Codes are generated:The 1st of header is included in Quick Response Code C1
~1106 bytes, and the sequence identification 01 comprising two bytes;The 1107th~2212 of header is included in Quick Response Code C2
A byte, and the sequence identification 02 comprising two bytes;The 2213rd~2680 byte of header is included in Quick Response Code C3,
And the sequence identification 03 comprising two bytes.
In this way, without show these three Quick Response Codes in order on terminal U1, terminal U2 without scan in order this three
A Quick Response Code.After terminal U2 scans the two-dimensional code C1-C3, it will can be included according to the sequence identification in Quick Response Code in Quick Response Code
Byte be assembled into header.
In alternative, due to adding sequence identification in Quick Response Code, in former terminal to the display of Quick Response Code and its
,, can be according to sequence identification, by two after being parsed to Quick Response Code without considering sequencing problem during the scanning of his terminal-pair Quick Response Code
Information in dimension code is assembled into header.In this way, the transmission of webpage with share more convenient, user's operation is simpler,
Improve user experience.
Fig. 4 is a kind of flow chart of synchronizing web pages method according to an exemplary embodiment, as shown in figure 4, webpage
Synchronous method is used in terminal, comprises the following steps.
In step S41, at least one Quick Response Code is scanned by camera, which is scanned terminal according to current
Browse the hypertext transfer protocol requests generation of webpage;
In step S42, at least one Quick Response Code is parsed, obtained two-dimentional digital content;
In step S43, the current of the scanned terminal of two-dimentional digital content generation obtained according to parsing browses the super of webpage
The header of text transfer protocol request;
In step S44, the webpage that currently to browse webpage identical with being scanned terminal is opened according to header.
In the present embodiment, the webpage that is currently browsing of former terminal is obtained by scanning the Quick Response Code, without multiple terminals
All sign in cloud service account, it is possible between the ues carry out webpage transmission with share.Also, due to the Quick Response Code
In include on interaction data all between the webpage former terminal and server, i.e. user's operation all on the webpage is believed
Breath so that user need not re-start login, and can obtain after other-end opens the webpage when accessing same website
All relevant informations of the webpage are accessed before obtaining, the webpage all in former terminal can be completely obtained on other-end
Information, better user experience.
Fig. 5 is a kind of flow chart of the synchronizing web pages method shown according to another exemplary embodiment, as shown in figure 5, can
Choosing, when recognize show at least two Quick Response Codes in the scanned terminal when, above-mentioned steps S41 includes:
In step s 51, the order of at least two Quick Response Codes, the two dimension of scanning at least two are shown according to scanned terminal
Code;
Above-mentioned steps S42 includes:
In step S52, at least two Quick Response Code is parsed, obtains the two-dimentional digital content of each Quick Response Code;
Above-mentioned steps S43 includes:
In step S53, according to scanning sequency, described at least two two-dimentional digital contents are assembled into the Hyper text transfer
The header of agreement request.
In alternative, when byte is more in header, former terminal needs to generate multiple two dimensions according to byte order
Code, other equipment are also required to scan the two-dimensional code in sequence so that after multiple Quick Response Codes can be parsed in other equipment, press
Order is assembled into header.In this way, the header information of webpage is simply and rapidly transmitted by Quick Response Code, without multiple terminals
All sign in cloud service account, it is possible between the ues carry out webpage transmission with share;And before can obtaining
All relevant informations of the webpage are accessed, the information of the webpage all in former terminal can be completely obtained on other-end,
Better user experience.
Fig. 6 is a kind of flow chart of the synchronizing web pages method shown according to another exemplary embodiment, as shown in fig. 6, can
Choosing, when scanning obtains at least two Quick Response Codes, above-mentioned steps S42 includes:
In step S61, at least two Quick Response Codes are parsed, are obtained in sequence identification and each Quick Response Code of each Quick Response Code
Two-dimentional digital content;
Above-mentioned steps S43 includes:In step S62, identify, at least two two-dimentional digital contents are assembled into super in sequence
The header of text transfer protocol request.
In alternative, due to adding sequence identification in Quick Response Code, in former terminal to the display of Quick Response Code and its
During the scanning of his terminal-pair Quick Response Code, after considering that sequencing problem, other-end parse Quick Response Code, it can be marked according to order
Know, the information in Quick Response Code is assembled into header.In this way, the transmission of webpage with share more convenient, user's operation is more
Add simple, raising user experience.
Fig. 7 is a kind of block diagram of synchronizing web pages device according to an exemplary embodiment.As shown in fig. 7, the device
Including acquisition module 71, generation module 72 and display module 73.
Acquisition module 71 is configured as obtaining the header of the current hypertext transfer protocol requests for browsing webpage;
Generation module 72 is configured as generating at least one Quick Response Code according to the header;
Display module 73 is configured as showing at least one Quick Response Code.
Optionally, generation module 72 is configured as information capacity of the byte number more than a Quick Response Code of the header
When, the byte sequencing in the header generates at least two Quick Response Codes;Display module 73 be configured as by it is described extremely
The sequencing of byte shows at least two Quick Response Code successively included in few two Quick Response Codes.
Optionally, generation module 72 is configured as information capacity of the byte number more than a Quick Response Code of the header
When, at least two Quick Response Codes are generated according to the header, is included in the Quick Response Code and is used to identify included in the Quick Response Code
The sequence identification of the sequencing of byte.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the present embodiment, Quick Response Code is generated according to the header of http request parts, the Quick Response Code is shown in former terminal,
The webpage for alloing other-end to obtain former terminal by scanning the Quick Response Code and currently browsing, is all stepped on without multiple terminals
Record cloud service account, it is possible between the ues carry out webpage transmission with share.Also, due to being wrapped in the Quick Response Code
Containing on interaction data all between the webpage former terminal and server, i.e. user's operation information all on the webpage,
So that user after other-end opens the webpage, need not re-start login, and can obtain when accessing same website
All relevant informations of the webpage are accessed before, and the letter of the webpage all in former terminal can be completely obtained on other-end
Breath, better user experience.
Fig. 8 is a kind of block diagram of synchronizing web pages device according to an exemplary embodiment.As shown in figure 8, the device
Including scan module 81, parsing module 82 and opening module 83.
Scan module 81 is configured as scanning at least one Quick Response Code by camera, and the Quick Response Code is scanned terminal
What the hypertext transfer protocol requests according to webpage is currently browsed generated;
Parsing module 82 is configured as parsing at least one Quick Response Code, obtained two-dimentional digital content;
Generation module 83, the current of the scanned terminal of two-dimentional digital content generation for being obtained according to parsing browse webpage
The header of hypertext transfer protocol requests;
Open module 84 be configured as according to the header open with the scanned terminal currently to browse webpage identical
Webpage.
Optionally, the scan module 81, which is configured as recognizing in the scanned terminal, shows at least two 2
When tieing up code, the order of at least two Quick Response Code is shown according to the scanned terminal, scans at least two Quick Response Code.
Parsing module 82 is configured as parsing at least two Quick Response Code, obtains the two-dimentional digital content of each Quick Response Code;
Generation module 83 is configured as according to scanning sequency, and described at least two two-dimentional digital contents are assembled into the Hyper text transfer assists
Discuss the header of request.
Optionally, parsing module 82 is configured as parsing at least two Quick Response Code, obtains the order of each Quick Response Code
The two-dimentional digital content of mark and each Quick Response Code;Generation module 83 is configured as according to the sequence identification, at least two by described in
A two dimension digital content is assembled into the header of the hypertext transfer protocol requests.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the present embodiment, the webpage that is currently browsing of former terminal is obtained by scanning the Quick Response Code, without multiple terminals
All sign in cloud service account, it is possible between the ues carry out webpage transmission with share.Also, due to the Quick Response Code
In include on interaction data all between the webpage former terminal and server, i.e. user's operation all on the webpage is believed
Breath so that user need not re-start login, and can obtain after other-end opens the webpage when accessing same website
All relevant informations of the webpage are accessed before obtaining, the webpage all in former terminal can be completely obtained on other-end
Information, better user experience.
The disclosure also provides a kind of synchronizing web pages device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Obtain the header of the current hypertext transfer protocol requests for browsing webpage;
At least one Quick Response Code is generated according to the header;
Show at least one Quick Response Code.
The disclosure also provides a kind of synchronizing web pages device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
At least one Quick Response Code is scanned by camera, the Quick Response Code is scanned terminal according to currently browsing webpage
Hypertext transfer protocol requests generation;
At least one Quick Response Code is parsed, obtained two-dimentional digital content;
The current hypertext transfer protocol for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing
The header of request;
The webpage that currently to browse webpage identical with the scanned terminal is opened according to the header.
Fig. 9 is a kind of block diagram of device 1000 for synchronizing web pages according to an exemplary embodiment.For example, dress
It can be mobile phone to put 1000, and computer, digital broadcast terminal, messaging devices, game console, tablet device, is cured
Treat equipment, body-building equipment, personal digital assistant etc..
As shown in figure 9, device 1000 can include following one or more assemblies:Processing component 1002, memory 1004,
Power supply module 1006, multimedia component 1008, audio component 1010, the interface 1012 of input/output (I/O), sensor component
1014, and communication component 1016.
The integrated operation of the usual control device 1000 of processing component 1002, such as with display, call, data communication,
The operation that camera operation and record operation are associated.Processing component 1002 can be performed including one or more processors 1020
Instruction, to complete all or part of step of above-mentioned method.In addition, processing component 1002 can include one or more moulds
Block, easy to the interaction between processing component 1002 and other assemblies.For example, processing component 1002 can include multi-media module,
To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in equipment 1000.These data
Example includes being used for the instruction of any application program or method operated on device 1000, contact data, telephone book data,
Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1006 provides electric power for the various assemblies of device 1000.Power supply module 1006 can include power management
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1000.
Multimedia component 1008 is included in the screen of one output interface of offer between described device 1000 and user.
In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch and passes
Sensor is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or slide dynamic
The border of work, but also detection and the duration and pressure associated with the touch or slide operation.In certain embodiments, it is more
Media component 1008 includes a front camera and/or rear camera.When equipment 1000 is in operator scheme, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive exterior multi-medium data.Each preposition shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat
Gram wind (MIC), when device 1000 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication
Component 1016 is sent.In certain embodiments, audio component 1010 further includes a loudspeaker, for exports audio signal.
I/O interfaces 1012 provide interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor component 1014 includes one or more sensors, and the state for providing various aspects for device 1000 is commented
Estimate.For example, sensor component 1014 can detect opening/closed mode of equipment 1000, the relative positioning of component, such as institute
The display and keypad that component is device 1000 are stated, sensor component 1014 can be with detection device 1000 or device 1,000 1
The position of a component changes, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/deceleration and dress
Put 1000 temperature change.Sensor component 1014 can include proximity sensor, be configured in no any physics
Presence of nearby objects is detected during contact.Sensor component 1014 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In certain embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress
The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1000.It is exemplary at one
In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1016 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1000 can be by one or more application application-specific integrated circuit (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 1004 of instruction, above-metioned instruction can be performed to complete the above method by the processor 1020 of device 1000.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device performs so that mobile terminal is able to carry out a kind of synchronizing web pages method, including:
Obtain the header of the current hypertext transfer protocol requests for browsing webpage;
At least one Quick Response Code is generated according to the header;
Show at least one Quick Response Code.
Optionally, when the header byte number more than Quick Response Code information capacity when, it is described according to the header
At least one Quick Response Code is generated, including:
Byte sequencing in the header generates at least two Quick Response Codes;
Display at least one Quick Response Code, including:
At least two Quick Response Code is shown successively by the sequencing of byte included at least two Quick Response Code.
Optionally, when the header byte number more than Quick Response Code information capacity when, described in the basis
Header generates at least one Quick Response Code, including:
At least two Quick Response Codes are generated according to the header, is included in the Quick Response Code and is used to identify institute in the Quick Response Code
The sequence identification of sequencing comprising byte.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device performs so that mobile terminal is able to carry out a kind of synchronizing web pages method, including:
At least one Quick Response Code is scanned by camera, the Quick Response Code is scanned terminal according to currently browsing webpage
Hypertext transfer protocol requests generation;
At least one Quick Response Code is parsed, obtained two-dimentional digital content;
The current hypertext transfer protocol for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing
The header of request;
The webpage that currently to browse webpage identical with the scanned terminal is opened according to the header.
Optionally,
When recognize show at least two Quick Response Codes in the scanned terminal when, it is described by camera scanning at least
One Quick Response Code, including:
The order of at least two Quick Response Code, scanning at least two two dimension are shown according to the scanned terminal
Code;
Parsing at least one Quick Response Code, including:
At least two Quick Response Code is parsed, obtains the two-dimentional digital content of each Quick Response Code;
The current Hyper text transfer for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing
The header of agreement request, including:
According to scanning sequency, described at least two two-dimentional digital contents are assembled into the mark of the hypertext transfer protocol requests
Head.
Optionally, when scanning obtains at least two Quick Response Codes, parsing at least one Quick Response Code, including:
At least two Quick Response Code is parsed, is obtained in the sequence identification of each Quick Response Code and the Quick Response Code of each Quick Response Code
Hold;
The current Hyper text transfer for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing
The header of agreement request, including:
According to the sequence identification, described at least two two-dimentional digital contents are assembled into the hypertext transfer protocol requests
Header.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.
Claims (14)
- A kind of 1. synchronizing web pages method, it is characterised in that including:Obtain the header of the current hypertext transfer protocol requests for browsing webpage;At least one Quick Response Code is generated according to the header, included in the Quick Response Code on the webpage former terminal and server it Between all interaction data, the interaction data includes user's operation information all on the webpage;Show at least one Quick Response Code.
- 2. according to the method described in claim 1, it is characterized in that, when the header byte number more than a Quick Response Code letter It is described that at least one Quick Response Code is generated according to the header when ceasing capacity, including:Byte sequencing in the header generates at least two Quick Response Codes;Display at least one Quick Response Code, including:At least two Quick Response Code is shown successively by the sequencing of byte included at least two Quick Response Code.
- 3. according to the method described in claim 1, it is characterized in that, when the header byte number more than a Quick Response Code letter It is described that at least one Quick Response Code is generated according to the header when ceasing capacity, including:At least two Quick Response Codes are generated according to the header, is included in the Quick Response Code and is used to identify included in the Quick Response Code The sequence identification of the sequencing of byte.
- A kind of 4. synchronizing web pages method, it is characterised in that including:At least one Quick Response Code is scanned by camera, the Quick Response Code is scanned terminal according to the super text for currently browsing webpage What this transport protocol requested to generate, included in the Quick Response Code and interact number on all between the webpage former terminal and server According to the interaction data includes user's operation information all on the webpage;At least one Quick Response Code is parsed, obtained two-dimentional digital content;The current hypertext transfer protocol requests for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing Header;The webpage that currently to browse webpage identical with the scanned terminal is opened according to the header.
- 5. according to the method described in claim 4, it is characterized in that, at least two are shown in the scanned terminal when recognizing It is described that at least one Quick Response Code is scanned by camera during a Quick Response Code, including:The order of at least two Quick Response Code is shown according to the scanned terminal, scans at least two Quick Response Code;Parsing at least one Quick Response Code, obtained two-dimentional digital content, including:At least two Quick Response Code is parsed, obtains the two-dimentional digital content of each Quick Response Code;The current hypertext transfer protocol for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing The header of request, including:According to scanning sequency, described at least two two-dimentional digital contents are assembled into the header of the hypertext transfer protocol requests.
- 6. according to the method described in claim 4, it is characterized in that, when scanning obtains at least two Quick Response Codes, the parsing At least one Quick Response Code, obtained two-dimentional digital content, including:At least two Quick Response Code is parsed, obtains the sequence identification of each Quick Response Code and the two-dimentional digital content of each Quick Response Code;The current hypertext transfer protocol for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing The header of request, including:According to the sequence identification, described at least two two-dimentional digital contents are assembled into the mark of the hypertext transfer protocol requests Head.
- A kind of 7. synchronizing web pages device, it is characterised in that including:Acquisition module, for obtaining the header of the current hypertext transfer protocol requests for browsing webpage;Generation module, for generating at least one Quick Response Code according to the header, includes former on the webpage in the Quick Response Code All interaction datas between terminal and server, the interaction data include user's operation information all on the webpage;Display module, for showing at least one Quick Response Code.
- 8. device according to claim 7, it is characterised in thatThe generation module, for when the header byte number more than Quick Response Code information capacity when, according to the mark Byte sequencing in head generates at least two Quick Response Codes;The display module, for by the sequencing of byte included at least two Quick Response Code show successively it is described extremely Few two Quick Response Codes.
- 9. device according to claim 7, it is characterised in thatThe generation module, for when the header byte number more than Quick Response Code information capacity when, according to the mark It is first-born that the sequencing for being used for identifying byte included in the Quick Response Code is included at least two Quick Response Codes, in the Quick Response Code Sequence identification.
- A kind of 10. synchronizing web pages device, it is characterised in that including:Scan module, for scanning at least one Quick Response Code by camera, the Quick Response Code is scanned terminal according to current Browse the hypertext transfer protocol requests generation of webpage, included in the Quick Response Code on the webpage former terminal and server it Between all interaction data, the interaction data includes user's operation information all on the webpage;Parsing module, for parsing at least one Quick Response Code, obtained two-dimentional digital content;Generation module, for the current hypertext for browsing webpage of the scanned terminal of two-dimentional digital content generation obtained according to parsing The header of transport protocol request;Module is opened, for opening the webpage that currently to browse webpage identical with the scanned terminal according to the header.
- 11. device according to claim 10, it is characterised in thatThe scan module, for when recognize show at least two Quick Response Codes in the scanned terminal when, according to described Scanned terminal shows the order of at least two Quick Response Code, scans at least two Quick Response Code;The parsing module, for parsing at least two Quick Response Code, obtains the two-dimentional digital content of each Quick Response Code;The generation module, for according to scanning sequency, described at least two two-dimentional digital contents being assembled into the hypertext and are passed The header of defeated agreement request.
- 12. device according to claim 10, it is characterised in thatThe parsing module, for parsing at least two Quick Response Code, obtains the sequence identification and each two of each Quick Response Code Tie up the two-dimentional digital content of code;The generation module, for according to the sequence identification, described at least two two-dimentional digital contents to be assembled into the super text The header of this transport protocol request.
- 13. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of any one of the claims 1-3 the method is realized during execution.
- 14. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of any one of the claims 4-6 the method is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410479892.8A CN104268611B (en) | 2014-09-18 | 2014-09-18 | Synchronizing web pages method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410479892.8A CN104268611B (en) | 2014-09-18 | 2014-09-18 | Synchronizing web pages method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104268611A CN104268611A (en) | 2015-01-07 |
CN104268611B true CN104268611B (en) | 2018-04-27 |
Family
ID=52160131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410479892.8A Active CN104268611B (en) | 2014-09-18 | 2014-09-18 | Synchronizing web pages method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104268611B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104794518B (en) * | 2015-05-06 | 2018-01-12 | 矽图(厦门)科技有限公司 | The generation method of color 2 D code |
CN105159824B (en) * | 2015-08-17 | 2017-10-13 | 上海斐讯数据通信技术有限公司 | test method and system based on two-dimensional code |
CN108021961A (en) * | 2017-12-18 | 2018-05-11 | 深圳市青葡萄科技有限公司 | The offline sharing method of mobile terminal cloud disk Quick Response Code |
CN108200040A (en) * | 2017-12-28 | 2018-06-22 | 北京奇虎科技有限公司 | Mobile client exempts from method, system, browser and the mobile terminal of close login |
WO2021031623A1 (en) * | 2019-08-18 | 2021-02-25 | 海信视像科技股份有限公司 | Display apparatus, file sharing method, and server |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102831163A (en) * | 2012-07-20 | 2012-12-19 | 江苏缨思贝睿物联网科技有限公司 | Data transfer method and data transfer system |
CN102984139A (en) * | 2012-11-16 | 2013-03-20 | 中兴通讯股份有限公司 | Login method, system and user terminal of multi-user access device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130043302A1 (en) * | 2011-08-18 | 2013-02-21 | Mark Stuart Powlen | Social media platforms |
US20130126601A1 (en) * | 2011-11-21 | 2013-05-23 | Rume, Inc. | Method and System for Registering and Scanning an ID Tag Linked to Information about a User |
CN103024063A (en) * | 2012-12-24 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Data sharing method, clients and data sharing system |
CN103944864A (en) * | 2013-01-22 | 2014-07-23 | 腾讯科技(深圳)有限公司 | Information transmission method, information sending device, receiving device and system |
CN103095852A (en) * | 2013-02-27 | 2013-05-08 | 上海够快网络科技有限公司 | Cloud storage file sharing method based on two-dimensional code |
CN103347258A (en) * | 2013-06-07 | 2013-10-09 | 北京车音网科技有限公司 | Downloading method, system and server of application program and terminal equipment |
-
2014
- 2014-09-18 CN CN201410479892.8A patent/CN104268611B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102831163A (en) * | 2012-07-20 | 2012-12-19 | 江苏缨思贝睿物联网科技有限公司 | Data transfer method and data transfer system |
CN102984139A (en) * | 2012-11-16 | 2013-03-20 | 中兴通讯股份有限公司 | Login method, system and user terminal of multi-user access device |
Also Published As
Publication number | Publication date |
---|---|
CN104268611A (en) | 2015-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106603667B (en) | Screen information sharing method and device | |
CN104270404B (en) | A kind of login method and device based on terminal iidentification | |
CN104268611B (en) | Synchronizing web pages method and device | |
EP3561691B1 (en) | Method and apparatus for displaying webpage content | |
TWI637279B (en) | Method, system and web server for uploading form attachments | |
KR20120087213A (en) | System and method for delivering informaiton using image code | |
US11004163B2 (en) | Terminal-implemented method, server-implemented method and terminal for acquiring certification document | |
WO2016026270A1 (en) | Method and apparatus for transmitting pictures | |
WO2010087257A1 (en) | Communication system, server device, display device, information processing method, and program | |
CN104636106A (en) | Picture displaying method and device and terminal device | |
CN106131133B (en) | Browsing history record information viewing method, device and system | |
CN105515887B (en) | application testing method, server and system | |
US20150047050A1 (en) | Method and Apparatus for Configuring Privacy Settings for Publishing Electronic Images | |
CN106603815B (en) | Message processing method and device | |
CN105450662A (en) | Encryption method and device | |
CN110619097A (en) | Two-dimensional code generation method and device, electronic equipment and storage medium | |
CN109525652B (en) | Information sharing method, device, equipment and storage medium | |
WO2017166297A1 (en) | Wifi hotpot portal authentication method and device | |
CN105808767A (en) | Data updating method and apparatus | |
CN104683337A (en) | Webpage access method, device and system | |
CN107423324A (en) | Access method, device and the equipment of webpage | |
CN103491125A (en) | Remote multimedia information receiving method and terminals | |
CN107566354B (en) | Webpage content detection method and device and storage medium | |
CN115242779B (en) | File transmission method and system based on applet and electronic equipment | |
CN105630948A (en) | Web page display method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |