CN104268611A - Webpage synchronizing method and device - Google Patents

Webpage synchronizing method and device Download PDF

Info

Publication number
CN104268611A
CN104268611A CN201410479892.8A CN201410479892A CN104268611A CN 104268611 A CN104268611 A CN 104268611A CN 201410479892 A CN201410479892 A CN 201410479892A CN 104268611 A CN104268611 A CN 104268611A
Authority
CN
China
Prior art keywords
quick response
response code
header
webpage
scan
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
CN201410479892.8A
Other languages
Chinese (zh)
Other versions
CN104268611B (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 Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410479892.8A priority Critical patent/CN104268611B/en
Publication of CN104268611A publication Critical patent/CN104268611A/en
Application granted granted Critical
Publication of CN104268611B publication Critical patent/CN104268611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a webpage synchronizing method and device. The webpage synchronizing method comprises the steps that a header required by the hypertext transfer protocol of a webpage which is browsed currently is obtained, at least one two-dimension code is generated according to the header, and the at least one two-dimension code is displayed. The webpage synchronizing method and device are used for completely transmitting all information, to be shared, of the webpage on an original terminal.

Description

Synchronizing web pages method and device
Technical field
The disclosure relates to wireless communication technique field, particularly relates to a kind of synchronizing web pages method and device.
Background technology
User is when using browser to browse webpage, can run into the current webpage browsed simultaneous display demand out in other terminal, in correlation technique, the synchronous mode of cloud can be adopted by synchronizing web pages that present terminal is browsed to other-end, high in the clouds is sent to by the current web page address browsing webpage, be forwarded to other-end by high in the clouds, other-end opens this webpage according to web page address.
In correlation technique, there are the following problems: adopt the mode that cloud is synchronous, multiple stage terminal is needed all to sign in same cloud service account, or multiple cloud service account is associated, if carry out synchronous terminal do not log in cloud service account, then cannot carry out synchronizing web pages.In addition, web page address is just synchronized to other-end by existing synchronizing web pages, after other-end opens webpage according to web page address, the operation information of user on webpage also can not be carried out synchronous.Such as, if user uses terminal U1 to access Taobao, and Taobao's account is logged in, but, when the web page address of Taobao is synchronized to terminal U2 by user, use terminal U2 to access Taobao, then need again to log in, before browse to be recorded on terminal U2 also cannot be inquired about.Like this, owing to also carrying out synchronously to the operation information of user on webpage, info web that cannot be all in the former terminal of complete display on other-end, Consumer's Experience is poor.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides a kind of synchronizing web pages method and device.
According to the first aspect of disclosure embodiment, a kind of synchronizing web pages method is provided, comprises:
Obtain the current header browsing the hypertext transfer protocol requests of webpage;
At least one Quick Response Code is generated according to described header;
Display at least one Quick Response Code described.
In the present embodiment, header part according to http request generates Quick Response Code, former terminal shows this Quick Response Code, make other-end can obtain the current webpage browsed of former terminal by this Quick Response Code of scanning, all sign in cloud service account without the need to multiple terminal, the transmission just can carrying out webpage between the ues with share.And, owing to comprising about interaction datas all between the former terminal of this webpage and server in this Quick Response Code, namely the operation information that user is all on this webpage, make user after other-end opens this webpage, when accessing same website without the need to re-starting login, and access all relevant informations of this webpage before can obtaining, the information of this webpage that can be all in the former terminal of complete acquisition on other-end, better user experience.
Optionally, when information capacity more than a Quick Response Code of the byte number of described header, describedly generate at least one Quick Response Code according to described header, comprising:
At least two Quick Response Codes are generated according to the byte sequencing in described header;
At least one Quick Response Code described in described display, comprising:
By in described at least two Quick Response Codes comprise byte sequencing show successively described at least two Quick Response Codes.
In possibility, when in header, byte is more, need to generate multiple Quick Response Code according to byte order, other equipment also need to scan Quick Response Code in order, make by after multiple Quick Response Code parsing, to be assembled into header in order in other equipment.Like this, transmitted the header information of webpage by Quick Response Code simply, rapidly, all sign in cloud service account without the need to multiple terminal, the transmission just can carrying out webpage between the ues with share; And access all relevant informations of this webpage before can obtaining, the information of this webpage that can be all in the former terminal of complete acquisition on other-end, better user experience.
Optionally, when information capacity more than a Quick Response Code of the byte number of described header, describedly generate at least one Quick Response Code according to described header, comprising:
Generate at least two Quick Response Codes according to described header, comprise in described Quick Response Code for identify in described Quick Response Code comprise the sequence identification of the sequencing of byte.
In possibility, owing to adding sequence identification in Quick Response Code, when former terminal is to the scanning to Quick Response Code of the display of Quick Response Code and other-end, without the need to considering sequencing problem, after Quick Response Code is resolved, according to sequence identification, the information in Quick Response Code can be assembled into header.Like this, the transmission of webpage with share more convenient, user operation is more simple, improves user experience.
According to the second aspect of disclosure embodiment, a kind of synchronizing web pages method is provided, comprises:
Scan at least one Quick Response Code by camera, described Quick Response Code is generated according to the current hypertext transfer protocol requests browsing webpage by end of scan;
Resolve at least one Quick Response Code described, the Quick Response Code content obtained;
Generate by the current header browsing the hypertext transfer protocol requests of webpage of end of scan according to resolving the Quick Response Code content obtained;
Open according to described header and browsed the identical webpage of webpage with described by the current of end of scan.
In the present embodiment, obtaining the current webpage browsed of former terminal by scanning this Quick Response Code, all signing in cloud service account without the need to multiple terminal, the transmission just can carrying out webpage between the ues with share.And, owing to comprising about interaction datas all between the former terminal of this webpage and server in this Quick Response Code, namely the operation information that user is all on this webpage, make user after other-end opens this webpage, when accessing same website without the need to re-starting login, and access all relevant informations of this webpage before can obtaining, the information of this webpage that can be all in the former terminal of complete acquisition on other-end, better user experience.
Optionally, when recognize described end of scan is shown at least two Quick Response Codes time, describedly scan at least one Quick Response Code by camera, comprising:
According to described to be shown by end of scan described in the order of at least two Quick Response Codes, at least two Quick Response Codes described in scanning;
At least one Quick Response Code described in described parsing, the Quick Response Code content obtained, comprising:
At least two Quick Response Codes described in parsing, obtain the Quick Response Code content of each Quick Response Code;
The described Quick Response Code content obtained according to parsing generates by the current header browsing the hypertext transfer protocol requests of webpage of end of scan, comprising:
According to scanning sequency, described at least two Quick Response Code contents are assembled into the header of described hypertext transfer protocol requests.
In possibility, when in header, byte is more, former terminal needs to generate multiple Quick Response Code according to byte order, and other equipment also need to scan Quick Response Code in order, make by after multiple Quick Response Code parsing, header to be assembled in order in other equipment.Like this, transmitted the header information of webpage by Quick Response Code simply, rapidly, all sign in cloud service account without the need to multiple terminal, the transmission just can carrying out webpage between the ues with share; And access all relevant informations of this webpage before can obtaining, the information of this webpage that can be all in the former terminal of complete acquisition on other-end, better user experience.
Optionally, when scanning obtains at least two Quick Response Codes, at least one Quick Response Code described in described parsing, comprising:
At least two Quick Response Codes described in parsing, obtain the sequence identification of each Quick Response Code and the Quick Response Code content of each Quick Response Code;
The described Quick Response Code content obtained according to parsing generates by the current header browsing the hypertext transfer protocol requests of webpage of end of scan, comprising:
According to described sequence identification, described at least two Quick Response Code contents are assembled into the header of described hypertext transfer protocol requests.
In possibility, owing to adding sequence identification in Quick Response Code, when former terminal is to the scanning to Quick Response Code of the display of Quick Response Code and other-end, without the need to considering sequencing problem, information in Quick Response Code according to sequence identification, can be assembled into header after resolving Quick Response Code by other-end.Like this, the transmission of webpage with share more convenient, user operation is more simple, improves user experience.
According to the third aspect of disclosure embodiment, a kind of synchronizing web pages device is provided, comprises:
Acquisition module, for obtaining the current header browsing the hypertext transfer protocol requests of webpage;
Generation module, for generating at least one Quick Response Code according to described header;
Display module, for showing at least one Quick Response Code described.
Optionally, described generation module, for when information capacity more than a Quick Response Code of the byte number of described header, generates at least two Quick Response Codes according to the byte sequencing in described header;
Described display module, for by described at least two Quick Response Codes comprise byte sequencing show successively described at least two Quick Response Codes.
Optionally, described generation module, for when information capacity more than a Quick Response Code of the byte number of described header, generate at least two Quick Response Codes according to described header, comprise in described Quick Response Code for identify in described Quick Response Code comprise the sequence identification of the sequencing of byte.
According to the fourth aspect of disclosure embodiment, a kind of synchronizing web pages device is provided, comprises:
Scan module, for scanning at least one Quick Response Code by camera, described Quick Response Code is generated according to the current hypertext transfer protocol requests browsing webpage by end of scan;
Parsing module, for resolving at least one Quick Response Code described, the Quick Response Code content obtained;
Generation module, for generating by the current header browsing the hypertext transfer protocol requests of webpage of end of scan according to resolving the Quick Response Code content obtained;
Opening module, being browsed webpage identical webpage with described by the current of end of scan for opening according to described header.
Optionally, described scan module, for when recognize described end of scan is shown at least two Quick Response Codes time, according to described to be shown by end of scan described in the order of at least two Quick Response Codes, at least two Quick Response Codes described in scanning;
Described parsing module, at least two Quick Response Codes described in resolving, obtains each Quick Response Code Quick Response Code content;
Described at least two Quick Response Code contents, for according to scanning sequency, are assembled into the header of described hypertext transfer protocol requests by described generation module
Optionally, described parsing module, at least two Quick Response Codes described in resolving, obtains the Quick Response Code content in the sequence identification of each Quick Response Code and each Quick Response Code;
Described at least two Quick Response Code contents, for according to described sequence identification, are assembled into the header of described hypertext transfer protocol requests by described generation module.According to the 5th aspect of disclosure embodiment, a kind of synchronizing web pages device is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the current header browsing the hypertext transfer protocol requests of webpage;
At least one Quick Response Code is generated according to described header;
Display at least one Quick Response Code described.
According to the 6th aspect of disclosure embodiment, a kind of synchronizing web pages device is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Scan at least one Quick Response Code by camera, described Quick Response Code is generated according to the current hypertext transfer protocol requests browsing webpage by end of scan;
Resolve at least one Quick Response Code described, the Quick Response Code content obtained;
Generate by the current header browsing the hypertext transfer protocol requests of webpage of end of scan according to resolving the Quick Response Code content obtained;
Open according to described header and browsed the identical webpage of webpage with described by the current of end of scan.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of a kind of synchronizing web pages method according to an exemplary embodiment;
Fig. 2 is the schematic diagram of two-dimensional code display C1-C3 on the terminal U1 screen according to an exemplary embodiment;
Fig. 3 is the schematic diagram of two-dimensional code display C1-C3 on the terminal U1 screen according to another exemplary embodiment;
Fig. 4 is the process flow diagram of a kind of synchronizing web pages method according to an exemplary embodiment;
Fig. 5 is the process flow diagram of a kind of synchronizing web pages method according to another exemplary embodiment;
Fig. 6 is the process flow diagram of a kind of synchronizing web pages method according to another exemplary embodiment;
Fig. 7 is the block diagram of a kind of synchronizing web pages device according to an exemplary embodiment;
Fig. 8 is the block diagram of a kind of synchronizing web pages device according to an exemplary embodiment;
Fig. 9 is the block diagram of a kind of device 1000 for synchronizing web pages according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of a kind of synchronizing web pages method according to an exemplary embodiment, and as shown in Figure 1, synchronizing web pages method is used for, in terminal, comprising the following steps.
In step s 11, the current header browsing the hypertext transfer protocol requests of 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.
Such as, on terminal U1, the current webpage A browsed of browser, the main document request A.request that then existence one is corresponding with webpage A on terminal U1, HTML (Hypertext Markup Language) (http) request of webpage A is comprised in A.request, wherein, header (header) part of http request can comprise following information:
Accept: the acceptable mime type of browser.
Accept-Charset: the acceptable character set of browser.
Accept-Encoding: browser can carry out the data coding mode of decoding, such as gzip.
Accept-Language: the category of language desired by browser, will use when server can provide more than one language version.
Authorization: authorization message, appears in the response to the WWW-Authenticate head that server sends usually.
Connection: represent the need of lasting connection.
Content-Length: the length representing request message text.
Cookie: this is one of most important request header information is that website is in order to distinguish user identity, carry out session tracking and the data be stored on user local terminal.
From: the email address of request sender, used by some special Web CLIENT PROGRAM, browser can not use it.
Host: the main frame in initial URL and port.
If-Modified-Since: only have work as asked content on a specified date after again through amendment just return it, otherwise return 304 " Not Modified " reply.
Pragma: specify " no-cache " value represent server must return one refresh after document, even if it is proxy server and has had the local copy of the page.
Referer: comprise a URL, the page of the page access current request that user represents from this URL.
User-Agent: browser type, if the content that Servlet returns is relevant with browser type, this value is very useful.
UA-Pixels, UA-Color, UA-OS, UA-CPU: the off-gauge request header sent by the IE browser of some version, represent screen size, color depth, operating system and cpu type.
On terminal U1, according to Quick Response Code encryption algorithm, the header of the http request of webpage A part is weaved into Quick Response Code, and shows, after terminal U2 scans this Quick Response Code, webpage A can be opened according to this Quick Response Code.
In the present embodiment, header part according to http request generates Quick Response Code, former terminal shows this Quick Response Code, make other-end can obtain the current webpage browsed of former terminal by this Quick Response Code of scanning, all sign in cloud service account without the need to multiple terminal, the transmission just can carrying out webpage between the ues with share.And, owing to comprising about interaction datas all between the former terminal of this webpage and server in this Quick Response Code, namely the operation information that user is all on this webpage, make user after other-end opens this webpage, when accessing same website without the need to re-starting login, and access all relevant informations of this webpage before can obtaining, the information of this webpage that can be all in the former terminal of complete acquisition on other-end, better user experience.
Optionally, when information capacity more than a Quick Response Code of the byte number of described header, above-mentioned steps S12 comprises: generate at least two Quick Response Codes according to the byte sequencing in header.
Above-mentioned steps S13 comprises: by least two Quick Response Codes comprise byte sequencing show successively described at least two Quick Response Codes.
Such as, the information capacity of General Two-Dimensional code is 1108 bytes, when header is 2680 bytes, more than the information capacity of a Quick Response Code, according to the byte number of header, needs generation three Quick Response Codes.
Comprise 1st ~ 1108 bytes of header in Quick Response Code C1, in Quick Response Code C2, comprise 1109th ~ 2216 bytes of header, in Quick Response Code C3, comprise 2217th ~ 2680 bytes of header.
As shown in Figure 2, can in the same screen of terminal U1 screen two-dimensional code display C1-C3 successively from left to right, or as shown in Figure 3, also can show in point three screen displays, user makes terminal U2 scan Quick Response Code on every screen by slip screen.
Terminal U2 needs to scan Quick Response Code C1-C3 in order.
In possibility, when in header, byte is more, need to generate multiple Quick Response Code according to byte order, other equipment also need to scan Quick Response Code in order, make by after multiple Quick Response Code parsing, to be assembled into header in order in other equipment.Like this, transmitted the header information of webpage by Quick Response Code simply, rapidly, all sign in cloud service account without the need to multiple terminal, the transmission just can carrying out webpage between the ues with share; And access all relevant informations of this webpage before can obtaining, the information of this webpage that can be all in the former terminal of complete acquisition on other-end, better user experience.
Optionally, when information capacity more than a Quick Response Code of the byte number of described header, above-mentioned steps S12 comprises: generate at least two Quick Response Codes according to described header, comprise in described Quick Response Code for identify in described Quick Response Code comprise the sequence identification of the sequencing of byte.
Such as, when header is 2680 bytes, generate three Quick Response Codes: 1st ~ 1106 bytes comprising header in Quick Response Code C1, and comprise the sequence identification 01 of two bytes; Comprise 1107th ~ 2212 bytes of header in Quick Response Code C2, and comprise the sequence identification 02 of two bytes; Comprise 2213rd ~ 2680 bytes of header in Quick Response Code C3, and comprise the sequence identification 03 of two bytes.
Like this, without the need to showing this three Quick Response Codes in order on terminal U1, terminal U2 is also without the need to scanning this three Quick Response Codes in order.After terminal U2 scans Quick Response Code C1-C3, according to the sequence identification in Quick Response Code, the byte comprised in Quick Response Code can be assembled into header.
In possibility, owing to adding sequence identification in Quick Response Code, when former terminal is to the scanning to Quick Response Code of the display of Quick Response Code and other-end, without the need to considering sequencing problem, after Quick Response Code is resolved, according to sequence identification, the information in Quick Response Code can be assembled into header.Like this, the transmission of webpage with share more convenient, user operation is more simple, improves user experience.
Fig. 4 is the process flow diagram of a kind of synchronizing web pages method according to an exemplary embodiment, and as shown in Figure 4, synchronizing web pages method is used for, in terminal, comprising the following steps.
In step S41, scan at least one Quick Response Code by camera, this Quick Response Code is generated according to the current hypertext transfer protocol requests browsing webpage by end of scan;
In step S42, resolve at least one Quick Response Code, the Quick Response Code content obtained;
In step S43, generate by the current header browsing the hypertext transfer protocol requests of webpage of end of scan according to resolving the Quick Response Code content obtained;
In step S44, open according to header and browse the identical webpage of webpage with by the current of end of scan.
In the present embodiment, obtaining the current webpage browsed of former terminal by scanning this Quick Response Code, all signing in cloud service account without the need to multiple terminal, the transmission just can carrying out webpage between the ues with share.And, owing to comprising about interaction datas all between the former terminal of this webpage and server in this Quick Response Code, namely the operation information that user is all on this webpage, make user after other-end opens this webpage, when accessing same website without the need to re-starting login, and access all relevant informations of this webpage before can obtaining, the information of this webpage that can be all in the former terminal of complete acquisition on other-end, better user experience.
Fig. 5 is the process flow diagram of a kind of synchronizing web pages method according to another exemplary embodiment, as shown in Figure 5, optionally, when recognize described end of scan is shown at least two Quick Response Codes time, above-mentioned steps S41 comprises:
In step s 51, according to the order being shown at least two Quick Response Codes by end of scan, scan at least two Quick Response Codes;
Above-mentioned steps S42 comprises:
In step S52, at least two Quick Response Codes described in parsing, obtain the Quick Response Code content of each Quick Response Code;
Above-mentioned steps S43 comprises:
In step S53, according to scanning sequency, described at least two Quick Response Code contents are assembled into the header of described hypertext transfer protocol requests.
In possibility, when in header, byte is more, former terminal needs to generate multiple Quick Response Code according to byte order, and other equipment also need to scan Quick Response Code in order, make by after multiple Quick Response Code parsing, header to be assembled in order in other equipment.Like this, transmitted the header information of webpage by Quick Response Code simply, rapidly, all sign in cloud service account without the need to multiple terminal, the transmission just can carrying out webpage between the ues with share; And access all relevant informations of this webpage before can obtaining, the information of this webpage that can be all in the former terminal of complete acquisition on other-end, better user experience.
Fig. 6 is the process flow diagram of a kind of synchronizing web pages method according to another exemplary embodiment, and as shown in Figure 6, optionally, when scanning obtains at least two Quick Response Codes, above-mentioned steps S42 comprises:
In step S61, resolve at least two Quick Response Codes, obtain the Quick Response Code content in the sequence identification of each Quick Response Code and each Quick Response Code;
Above-mentioned steps S43 comprises: in step S62, identifies in order, at least two Quick Response Code contents is assembled into the header of hypertext transfer protocol requests.
In possibility, owing to adding sequence identification in Quick Response Code, when former terminal is to the scanning to Quick Response Code of the display of Quick Response Code and other-end, without the need to considering sequencing problem, information in Quick Response Code according to sequence identification, can be assembled into header after resolving Quick Response Code by other-end.Like this, the transmission of webpage with share more convenient, user operation is more simple, improves user experience.
Fig. 7 is the block diagram of a kind of synchronizing web pages device according to an exemplary embodiment.As shown in Figure 7, this device comprises acquisition module 71, generation module 72 and display module 73.
Acquisition module 71 is configured to obtain the current header browsing the hypertext transfer protocol requests of webpage;
Generation module 72 is configured to generate at least one Quick Response Code according to described header;
Display module 73 is configured to display at least one Quick Response Code described.
Optionally, when generation module 72 is configured to information capacity more than a Quick Response Code of byte number when described header, at least two Quick Response Codes are generated according to the byte sequencing in described header; Display module 73 be configured to by described at least two Quick Response Codes comprise byte sequencing show successively described at least two Quick Response Codes.
Optionally, when generation module 72 is configured to information capacity more than a Quick Response Code of byte number when described header, generate at least two Quick Response Codes according to described header, comprise in described Quick Response Code for identify in described Quick Response Code comprise the sequence identification of the sequencing of byte.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
In the present embodiment, header part according to http request generates Quick Response Code, former terminal shows this Quick Response Code, make other-end can obtain the current webpage browsed of former terminal by this Quick Response Code of scanning, all sign in cloud service account without the need to multiple terminal, the transmission just can carrying out webpage between the ues with share.And, owing to comprising about interaction datas all between the former terminal of this webpage and server in this Quick Response Code, namely the operation information that user is all on this webpage, make user after other-end opens this webpage, when accessing same website without the need to re-starting login, and access all relevant informations of this webpage before can obtaining, the information of this webpage that can be all in the former terminal of complete acquisition on other-end, better user experience.
Fig. 8 is the block diagram of a kind of synchronizing web pages device according to an exemplary embodiment.As shown in Figure 8, this device comprises scan module 81, parsing module 82 and open module 83.
Scan module 81 is configured to scan at least one Quick Response Code by camera, and described Quick Response Code is generated according to the current hypertext transfer protocol requests browsing webpage by end of scan;
Parsing module 82 is configured to resolve at least one Quick Response Code described, the Quick Response Code content obtained;
Generation module 83, for generating by the current header browsing the hypertext transfer protocol requests of webpage of end of scan according to resolving the Quick Response Code content obtained;
Open module 84 to be configured to open according to described header browsed the identical webpage of webpage with described by the current of end of scan.
Optionally, described scan module 81 be configured to when recognize described end of scan is shown at least two Quick Response Codes time, according to described to be shown by end of scan described in the order of at least two Quick Response Codes, at least two Quick Response Codes described in scanning.
Parsing module 82 is configured at least two Quick Response Codes described in parsing, obtains the Quick Response Code content of each Quick Response Code; Generation module 83 is configured to according to scanning sequency, described at least two Quick Response Code contents is assembled into the header of described hypertext transfer protocol requests.
Optionally, parsing module 82 is configured at least two Quick Response Codes described in parsing, obtains the sequence identification of each Quick Response Code and the Quick Response Code content of each Quick Response Code; Generation module 83 is configured to according to described sequence identification, described at least two Quick Response Code contents is assembled into the header of described hypertext transfer protocol requests.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
In the present embodiment, obtaining the current webpage browsed of former terminal by scanning this Quick Response Code, all signing in cloud service account without the need to multiple terminal, the transmission just can carrying out webpage between the ues with share.And, owing to comprising about interaction datas all between the former terminal of this webpage and server in this Quick Response Code, namely the operation information that user is all on this webpage, make user after other-end opens this webpage, when accessing same website without the need to re-starting login, and access all relevant informations of this webpage before can obtaining, the information of this webpage that can be all in the former terminal of complete acquisition on other-end, better user experience.
The disclosure also provides a kind of synchronizing web pages device, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the current header browsing the hypertext transfer protocol requests of webpage;
At least one Quick Response Code is generated according to described header;
Display at least one Quick Response Code described.
The disclosure also provides a kind of synchronizing web pages device, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Scan at least one Quick Response Code by camera, described Quick Response Code is generated according to the current hypertext transfer protocol requests browsing webpage by end of scan;
Resolve at least one Quick Response Code described, the Quick Response Code content obtained;
Generate by the current header browsing the hypertext transfer protocol requests of webpage of end of scan according to resolving the Quick Response Code content obtained;
Open according to described header and browsed the identical webpage of webpage with described by the current of end of scan.
Fig. 9 is the block diagram of a kind of device 1000 for synchronizing web pages according to an exemplary embodiment.Such as, device 1000 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
As shown in Figure 9, device 1000 can comprise following one or more assembly: processing components 1002, storer 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of I/O (I/O), sensor module 1014, and communications component 1016.
The integrated operation of the usual control device 1000 of processing components 1002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1002 can comprise one or more processor 1020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1002 can comprise one or more module, and what be convenient between processing components 1002 and other assemblies is mutual.Such as, processing components 1002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1008 and processing components 1002.
Storer 1004 is configured to store various types of data to be supported in the operation of equipment 1000.The example of these data comprises for any application program of operation on device 1000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 1006 is device 1000 provide electric power.Power supply module 1006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1000 and be associated.
Multimedia groupware 1008 is included in the screen providing an output interface between described device 1000 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1008 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1000 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1010 comprises a microphone (MIC), and when device 1000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1004 further or be sent via communications component 1016.In certain embodiments, audio-frequency assembly 1010 also comprises a loudspeaker, for output audio signal.
I/O interface 1012 is for providing interface between processing components 1002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1014 comprises one or more sensor, for providing the state estimation of various aspects for device 1000.Such as, sensor module 1014 can detect the opening/closing state of equipment 1000, the relative positioning of assembly, such as described assembly is display and the keypad of device 1000, the position of all right pick-up unit 1000 of sensor module 1014 or device 1000 assemblies changes, the presence or absence that user contacts with device 1000, the temperature variation of device 1000 orientation or acceleration/deceleration and device 1000.Sensor module 1014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1016 is configured to the communication being convenient to wired or wireless mode between device 1000 and other equipment.Device 1000 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1000 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1004 of instruction, above-mentioned instruction can perform said method by the processor 1020 of device 1000.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, makes mobile terminal can perform a kind of synchronizing web pages method, comprising:
Obtain the current header browsing the hypertext transfer protocol requests of webpage;
At least one Quick Response Code is generated according to described header;
Display at least one Quick Response Code described.
Optionally, when information capacity more than a Quick Response Code of the byte number of described header, describedly generate at least one Quick Response Code according to described header, comprising:
At least two Quick Response Codes are generated according to the byte sequencing in described header;
At least one Quick Response Code described in described display, comprising:
By in described at least two Quick Response Codes comprise byte sequencing show successively described at least two Quick Response Codes.
Optionally, when information capacity more than a Quick Response Code of the byte number of described header, describedly generate at least one Quick Response Code according to described header, comprising:
Generate at least two Quick Response Codes according to described header, comprise in described Quick Response Code for identify in described Quick Response Code comprise the sequence identification of the sequencing of byte.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, makes mobile terminal can perform a kind of synchronizing web pages method, comprising:
Scan at least one Quick Response Code by camera, described Quick Response Code is generated according to the current hypertext transfer protocol requests browsing webpage by end of scan;
Resolve at least one Quick Response Code described, the Quick Response Code content obtained;
Generate by the current header browsing the hypertext transfer protocol requests of webpage of end of scan according to resolving the Quick Response Code content obtained;
Open according to described header and browsed the identical webpage of webpage with described by the current of end of scan.
Optionally,
When recognize described end of scan is shown at least two Quick Response Codes time, describedly scan at least one Quick Response Code by camera, comprising:
According to described to be shown by end of scan described in the order of at least two Quick Response Codes, at least two Quick Response Codes described in scanning;
At least one Quick Response Code described in described parsing, comprising:
At least two Quick Response Codes described in parsing, obtain the Quick Response Code content of each Quick Response Code;
The described Quick Response Code content obtained according to parsing generates by the current header browsing the hypertext transfer protocol requests of webpage of end of scan, comprising:
According to scanning sequency, described at least two Quick Response Code contents are assembled into the header of described hypertext transfer protocol requests.
Optionally, when scanning obtains at least two Quick Response Codes, at least one Quick Response Code described in described parsing, comprising:
At least two Quick Response Codes described in parsing, obtain the sequence identification of each Quick Response Code and the Quick Response Code content of each Quick Response Code;
The described Quick Response Code content obtained according to parsing generates by the current header browsing the hypertext transfer protocol requests of webpage of end of scan, comprising:
According to described sequence identification, described at least two Quick Response Code contents are assembled into the header of described hypertext transfer protocol requests.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (14)

1. a synchronizing web pages method, is characterized in that, comprising:
Obtain the current header browsing the hypertext transfer protocol requests of webpage;
At least one Quick Response Code is generated according to described header;
Display at least one Quick Response Code described.
2. method according to claim 1, is characterized in that, when information capacity more than a Quick Response Code of the byte number of described header, describedly generates at least one Quick Response Code according to described header, comprising:
At least two Quick Response Codes are generated according to the byte sequencing in described header;
At least one Quick Response Code described in described display, comprising:
By in described at least two Quick Response Codes comprise byte sequencing show successively described at least two Quick Response Codes.
3. method according to claim 1, is characterized in that, when information capacity more than a Quick Response Code of the byte number of described header, describedly generates at least one Quick Response Code according to described header, comprising:
Generate at least two Quick Response Codes according to described header, comprise in described Quick Response Code for identify in described Quick Response Code comprise the sequence identification of the sequencing of byte.
4. a synchronizing web pages method, is characterized in that, comprising:
Scan at least one Quick Response Code by camera, described Quick Response Code is generated according to the current hypertext transfer protocol requests browsing webpage by end of scan;
Resolve at least one Quick Response Code described, the Quick Response Code content obtained;
Generate by the current header browsing the hypertext transfer protocol requests of webpage of end of scan according to resolving the Quick Response Code content obtained;
Open according to described header and browsed the identical webpage of webpage with described by the current of end of scan.
5. method according to claim 4, is characterized in that, when recognize described end of scan is shown at least two Quick Response Codes time, describedly scan at least one Quick Response Code by camera, comprising:
According to described to be shown by end of scan described in the order of at least two Quick Response Codes, at least two Quick Response Codes described in scanning;
At least one Quick Response Code described in described parsing, the Quick Response Code content obtained, comprising:
At least two Quick Response Codes described in parsing, obtain the Quick Response Code content of each Quick Response Code;
The described Quick Response Code content obtained according to parsing generates by the current header browsing the hypertext transfer protocol requests of webpage of end of scan, comprising:
According to scanning sequency, described at least two Quick Response Code contents are assembled into the header of described hypertext transfer protocol requests.
6. method according to claim 4, is characterized in that, when scanning obtains at least two Quick Response Codes, and at least one Quick Response Code described in described parsing, the Quick Response Code content obtained, comprising:
At least two Quick Response Codes described in parsing, obtain the sequence identification of each Quick Response Code and the Quick Response Code content of each Quick Response Code;
The described Quick Response Code content obtained according to parsing generates by the current header browsing the hypertext transfer protocol requests of webpage of end of scan, comprising:
According to described sequence identification, described at least two Quick Response Code contents are assembled into the header of described hypertext transfer protocol requests.
7. a synchronizing web pages device, is characterized in that, comprising:
Acquisition module, for obtaining the current header browsing the hypertext transfer protocol requests of webpage;
Generation module, for generating at least one Quick Response Code according to described header;
Display module, for showing at least one Quick Response Code described.
8. device according to claim 7, is characterized in that,
Described generation module, for when information capacity more than a Quick Response Code of the byte number of described header, generates at least two Quick Response Codes according to the byte sequencing in described header;
Described display module, for by described at least two Quick Response Codes comprise byte sequencing show successively described at least two Quick Response Codes.
9. device according to claim 7, is characterized in that,
Described generation module, for when information capacity more than a Quick Response Code of the byte number of described header, generate at least two Quick Response Codes according to described header, comprise in described Quick Response Code for identify in described Quick Response Code comprise the sequence identification of the sequencing of byte.
10. a synchronizing web pages device, is characterized in that, comprising:
Scan module, for scanning at least one Quick Response Code by camera, described Quick Response Code is generated according to the current hypertext transfer protocol requests browsing webpage by end of scan;
Parsing module, for resolving at least one Quick Response Code described, the Quick Response Code content obtained;
Generation module, for generating by the current header browsing the hypertext transfer protocol requests of webpage of end of scan according to resolving the Quick Response Code content obtained;
Opening module, being browsed webpage identical webpage with described by the current of end of scan for opening according to described header.
11. devices according to claim 10, is characterized in that,
Described scan module, for when recognize described end of scan is shown at least two Quick Response Codes time, according to described to be shown by end of scan described in the order of at least two Quick Response Codes, at least two Quick Response Codes described in scanning;
Described parsing module, at least two Quick Response Codes described in resolving, obtains the Quick Response Code content of each Quick Response Code;
Described at least two Quick Response Code contents, for according to scanning sequency, are assembled into the header of described hypertext transfer protocol requests by described generation module.
12. devices according to claim 10, is characterized in that,
Described parsing module, at least two Quick Response Codes described in resolving, obtains the sequence identification of each Quick Response Code and the Quick Response Code content of each Quick Response Code;
Described at least two Quick Response Code contents, for according to described sequence identification, are assembled into the header of described hypertext transfer protocol requests by described generation module.
13. 1 kinds of synchronizing web pages devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the current header browsing the hypertext transfer protocol requests of webpage;
At least one Quick Response Code is generated according to described header;
Display at least one Quick Response Code described.
14. 1 kinds of synchronizing web pages devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Scan at least one Quick Response Code by camera, described Quick Response Code is generated according to the current hypertext transfer protocol requests browsing webpage by end of scan;
Resolve at least one Quick Response Code described, the Quick Response Code content obtained;
Generate by the current header browsing the hypertext transfer protocol requests of webpage of end of scan according to resolving the Quick Response Code content obtained;
Open according to described header and browsed the identical webpage of webpage with described by the current of end of scan.
CN201410479892.8A 2014-09-18 2014-09-18 Synchronizing web pages method and device Active CN104268611B (en)

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 true CN104268611A (en) 2015-01-07
CN104268611B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794518A (en) * 2015-05-06 2015-07-22 矽照光电(厦门)有限公司 Color two-dimension code generating method and device
CN105159824A (en) * 2015-08-17 2015-12-16 上海斐讯数据通信技术有限公司 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
CN112399212A (en) * 2019-08-18 2021-02-23 海信视像科技股份有限公司 Display device, file sharing method and server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831163A (en) * 2012-07-20 2012-12-19 江苏缨思贝睿物联网科技有限公司 Data transfer method and data transfer system
US20130043302A1 (en) * 2011-08-18 2013-02-21 Mark Stuart Powlen Social media platforms
CN102984139A (en) * 2012-11-16 2013-03-20 中兴通讯股份有限公司 Login method, system and user terminal of multi-user access device
CN103024063A (en) * 2012-12-24 2013-04-03 腾讯科技(深圳)有限公司 Data sharing method, clients and data sharing system
CN103095852A (en) * 2013-02-27 2013-05-08 上海够快网络科技有限公司 Cloud storage file sharing method based on two-dimensional code
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
CN103347258A (en) * 2013-06-07 2013-10-09 北京车音网科技有限公司 Downloading method, system and server of application program and terminal equipment
CN103944864A (en) * 2013-01-22 2014-07-23 腾讯科技(深圳)有限公司 Information transmission method, information sending device, receiving device and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
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
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
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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794518A (en) * 2015-05-06 2015-07-22 矽照光电(厦门)有限公司 Color two-dimension code generating method and device
CN104794518B (en) * 2015-05-06 2018-01-12 矽图(厦门)科技有限公司 The generation method of color 2 D code
CN105159824A (en) * 2015-08-17 2015-12-16 上海斐讯数据通信技术有限公司 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
CN112399212A (en) * 2019-08-18 2021-02-23 海信视像科技股份有限公司 Display device, file sharing method and server

Also Published As

Publication number Publication date
CN104268611B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
CN106603667B (en) Screen information sharing method and device
CN104270404A (en) Login method and device based on terminal identification
EP3561691B1 (en) Method and apparatus for displaying webpage content
CN105183513A (en) Application recommendation method and apparatus
CN104202624B (en) The method of transmission picture and device
KR20110084325A (en) Method and apparatus for transmitting and receiving data
KR102282544B1 (en) Product display method and device
CN104615655A (en) Information recommendation method and device
CN105491048A (en) Account management method and apparatus
CN104636106A (en) Picture displaying method and device and terminal device
CN104268611A (en) Webpage synchronizing method and device
CN105162693A (en) Message display method and device
CN105245518A (en) Website hijacking detection method and device
CN104731868A (en) Method and device for intercepting advertisements
CN106131133B (en) Browsing history record information viewing method, device and system
CN105530165A (en) Instant chat method and device
CN110619097A (en) Two-dimensional code generation method and device, electronic equipment and storage medium
CN105872573A (en) Video playing method and apparatus
CN105450662A (en) Encryption method and device
CN104639609A (en) Method and device for sharing network
CN105550343A (en) Two-dimension code processing method and device
CN104683337A (en) Webpage access method, device and system
CN105488065A (en) Webpage access method and device, and terminal
CN104219299B (en) Data transmission method and device
WO2017166297A1 (en) Wifi hotpot portal authentication method and device

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