CN105373557A - Content synchronization method and device - Google Patents

Content synchronization method and device Download PDF

Info

Publication number
CN105373557A
CN105373557A CN201410425424.2A CN201410425424A CN105373557A CN 105373557 A CN105373557 A CN 105373557A CN 201410425424 A CN201410425424 A CN 201410425424A CN 105373557 A CN105373557 A CN 105373557A
Authority
CN
China
Prior art keywords
content
picture
quick response
response code
synchronizing
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.)
Pending
Application number
CN201410425424.2A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410425424.2A priority Critical patent/CN105373557A/en
Publication of CN105373557A publication Critical patent/CN105373557A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a content synchronization method and device, and belongs to the field of computers. The method comprises the following steps: scanning a two-dimension code displayed in a second terminal so as to obtain a two-dimension code, wherein the two-dimension code is generated through encoding a first synchronized content by the second terminal, and the first synchronized content comprises at least one of text, picture and/or hyperlink; decoding the two-dimension code to obtain decoding information; and displaying a second synchronized content according to the decoding information. According to the method and device, the problems of tedious operation process, use time waste and low synchronization efficiency caused by copying and pasting the contents to be synchronized into synchronization software to synchronize by the user in the prior art are solved, and the effects of simplifying the user operation, saving the user time and improving the synchronization efficiency are achieved.

Description

Content synchronization method and device
Technical field
The present invention relates to computer realm, particularly a kind of content synchronization method and device.
Background technology
Along with the development of computer and network technologies, user can use different terminals to carry out obtaining information.User switches the process used during in multiple terminals, be easy to the demand occurring the information content in a terminal being synchronized to other terminal.
In existing content synchronization method, usually in two terminals (terminal A and terminal B) of content synchronization, respectively synchronizing software is installed, user is in terminal A during browsing information, if desired by the content synchronization browsed to terminal B, then content replication to be synchronized is pasted in synchronizing software, by synchronizing software, content to be synchronized is synchronized to terminal B by internet or LAN.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
In existing content synchronization method, need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously, relate to the step such as the opening and closing of synchronizing software and the copy and paste of content to be synchronized, operating process is comparatively loaded down with trivial details, waste user time, synchronous efficiency is low.
Summary of the invention
Need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details to solve in prior art, waste user time, the problem that synchronous efficiency is low, embodiments provides a kind of content synchronization method and device.Described technical scheme is as follows:
On the one hand, provide a kind of content synchronization method, described method comprises:
Scan the Quick Response Code shown in the second terminal, obtain Quick Response Code coding; Second terminal described in described Quick Response Code coding is carried out coding to the first synchronizing content and is generated, and described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Described Quick Response Code coding is decoded, obtains decoded information;
The second synchronizing content is shown according to described decoded information.
On the other hand, provide a kind of content synchronization method, described method comprises:
Obtain the first synchronizing content, described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Encode according to described first synchronizing content, generate Quick Response Code coding;
Quick Response Code is generated according to described Quick Response Code coding;
Show described Quick Response Code, scan described Quick Response Code to show the second synchronizing content by first terminal.
Another aspect, provide a kind of content synchronization device, described device comprises:
Scan module, for scanning the Quick Response Code shown in the second terminal, obtains Quick Response Code coding; Second terminal described in described Quick Response Code coding is carried out coding to the first synchronizing content and is generated, and described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Decoder module, for decoding to described Quick Response Code coding, obtains decoded information;
First display module, for showing the second synchronizing content according to described decoded information.
Again on the one hand, provide a kind of content synchronization device, described device comprises:
Content obtaining module, for obtaining the first synchronizing content, described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Coding module, for encoding according to described first synchronizing content, generates Quick Response Code coding;
Generation module, for generating Quick Response Code according to described Quick Response Code coding;
Second display module, for showing described Quick Response Code, scans described Quick Response Code to show the second synchronizing content by first terminal.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
To show in the second terminal by scanning, according to the Quick Response Code that the first synchronizing content generates, the Quick Response Code coding that scanning obtains is decoded, obtain decoded information, and show the second synchronizing content according to this decoded information, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of a kind of implementation environment involved by each embodiment of the present invention;
Fig. 2 is the method flow diagram of the content synchronization method that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the content synchronization method that another embodiment of the present invention provides;
Fig. 4 is the method flow diagram of the content synchronization method that one embodiment of the invention provides;
Fig. 5 is the method flow diagram of the content synchronization method that another embodiment of the present invention provides;
Fig. 6 is the method flow diagram of the content synchronization method that one embodiment of the invention provides;
Fig. 7 is the content selection operation schematic diagram that one embodiment of the invention provides;
Fig. 8 is the picture display schematic diagram that one embodiment of the invention provides;
Fig. 9 is the hyperlink display schematic diagram that one embodiment of the invention provides;
Figure 10 is the structure drawing of device of the content synchronization device that one embodiment of the invention provides;
Figure 11 is the structure drawing of device of the content synchronization device that another embodiment of the present invention provides;
Figure 12 is the structure drawing of device of the content synchronization device that one embodiment of the invention provides;
Figure 13 is the structure drawing of device of the content synchronization device that another embodiment of the present invention provides;
Figure 14 is the block diagram of the terminal that one embodiment of the invention provides;
Figure 15 is the block diagram of the terminal that one embodiment of the invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is the schematic diagram of a kind of implementation environment involved by each embodiment of the present invention, and this implementation environment comprises first terminal 120 and the second terminal 140.Wherein:
First terminal 120 can be the intelligent terminal with image collecting function and image display function, and such as, first terminal 120 can be smart mobile phone, panel computer, E-book reader, intelligent glasses or the PC etc. being connected with camera.
Second terminal 140 can be the intelligent terminal with image display function, and such as, the second terminal 140 can be smart mobile phone, panel computer, E-book reader or PC etc.
Please refer to Fig. 2, it illustrates the method flow diagram of the content synchronization method that one embodiment of the invention provides.This content synchronization method is used in the first terminal 120 of implementation environment as shown in Figure 1, and this content synchronization method can comprise:
Step 202, scans the Quick Response Code shown in the second terminal, obtains Quick Response Code coding; This second terminal of this Quick Response Code coding is carried out coding to the first synchronizing content and is generated, and this first synchronizing content comprises at least one in text, picture and/or hyperlink.
Step 204, decodes to this Quick Response Code coding, obtains decoded information.
Step 206, shows the second synchronizing content according to this decoded information.
In sum, the content synchronization method that the embodiment of the present invention provides, to show in the second terminal by scanning, according to the Quick Response Code that the first synchronizing content generates, the Quick Response Code coding that scanning obtains is decoded, obtain decoded information, and show the second synchronizing content according to this decoded information, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Please refer to Fig. 3, it illustrates the method flow diagram of the content synchronization method that another embodiment of the present invention provides.This content synchronization method is used in the first terminal 120 of implementation environment shown in Fig. 1.With first terminal 120 for smart mobile phone, the second terminal 140 for PC be example, this content synchronization method can comprise:
Step 302, scans the Quick Response Code shown in the second terminal, obtains Quick Response Code coding.
Wherein, this Quick Response Code is generated according to this Quick Response Code coding by the second terminal, and this second terminal of this Quick Response Code coding is carried out coding to the first synchronizing content and generated, and this first synchronizing content comprises at least one in text, picture and/or hyperlink.
When user is by the second terminal browsing information, if want, partial content is synchronized to first terminal, then in the second terminal, selects the first synchronizing content, the first synchronizing content that the second terminal is selected according to user generates Quick Response Code and shows.User uses first terminal to scan this Quick Response Code, and to obtain Quick Response Code coding, this Quick Response Code coding can indicate this first synchronizing content.
In the present embodiment, the first synchronizing content that user selects can be text, picture and hyperlink etc.
Step 304, decodes to this Quick Response Code coding, obtains decoded information.
Second terminal, when generating Quick Response Code, first carries out data encoding to the first synchronizing content, generates Quick Response Code coding, and such as, this Quick Response Code coding can be binary data stream.Second terminal generates pattern in 2 D code according to Quick Response Code coding.After first terminal scans and obtains this Quick Response Code coding from pattern in 2 D code, also need to decode to Quick Response Code coding, just can obtain the content that this Quick Response Code really represents.
The text display comprised in this decoded information, when including text in this first synchronizing content, is the second synchronizing content by step 306.
If the first synchronizing content is text, then first terminal is decoded to the Quick Response Code coding that scanning obtains, and also comprise the text identical with the first synchronizing content in the decoded information of acquisition, first terminal can directly show the text comprised in decoded information.
Step 308, when including picture in this first synchronizing content, the network address corresponding according to this picture comprised in this decoded information obtains this picture, and this picture is shown as the second synchronizing content.
The data volume can carried due to Quick Response Code is limited, direct coding cannot be carried out by the picture larger to data volume, in order to improve range of application and the synchronous effect of content synchronization, in the present embodiment, second terminal is when generating Quick Response Code, if the first synchronizing content that user selects is picture, then obtain the network address of this picture, and generate Quick Response Code according to this network address.First terminal scanning Quick Response Code also, after decoding acquisition decoded information, if detect in decoded information the network address comprising picture, then obtains this picture, and this picture is shown as the second synchronizing content from this network address.
First terminal, before obtaining picture according to this network address, can show this network address, and detects the first assigned operation of this network address whether received display; If testing result is receive the first assigned operation to this network address, then perform the step obtaining picture according to this network address.
Further, in actual applications, may occur that on the one hand the first synchronizing content that user selects is exactly the text of the network address of a certain width picture, or the form of the first synchronizing content that user selects meets the form of the network address of picture; On the other hand, the picture that picture address is corresponding may be larger, and the network bandwidth of first terminal is not enough to the rapid loading supporting big data quantity picture, or, in order to save network traffics resource, user only wants the network address of picture larger for data volume to be synchronized to first terminal, does not need to load this picture at first terminal.
In order to adapt to the above-mentioned situation that may occur, first terminal is after detecting in decoded information the content comprising the network address format meeting picture, first this network address can be shown as the second synchronizing content in the form of text, if user needs to load this network address, then on this network address, carry out clicking operation, after first terminal detects this clicking operation, then download corresponding picture according to this network address and show.
Step 310, when this first synchronizing content comprises hyperlink, shows the second synchronizing content with a kind of state in the first state or the second state.
Wherein, when this first synchronizing content comprises hyperlink, this decoded information is used to indicate URL(uniform resource locator) corresponding to this hyperlink content viewable corresponding with this hyperlink, and this content viewable comprises text and/or picture; In the first state, this hyperlink is comprised in this second synchronizing content; In this second state, this content viewable and this URL(uniform resource locator) of the display of non-linking status is comprised in this second synchronizing content.
First terminal can also receive the second assigned operation to the second synchronizing content; And switch this second synchronizing content of display with the another kind of state in this first state or the second state.
Wherein, the content viewable of hyperlink can be text-string, text character string can with the URL (UniformResourceLocator of this hyperlink, URL(uniform resource locator)) identical, also can be different, or this content viewable also can be a width picture.When the text-string of user's clickable hyperlinks or picture, the address that this URL is corresponding can be jumped to.When user selects a hyperlink as the first synchronizing content in the second terminal, the second terminal obtains the content viewable of this hyperlink and corresponding URL, and encodes to this content viewable and URL.Wherein, URL is a string character string, and its coded system is with similar to the coding of text.In addition, when content viewable is picture, the coding to picture is similar to the coding of content viewable, namely obtains the network address of the corresponding picture of this content viewable, encoded in this network address.User uses first terminal scan the Quick Response Code of the second terminal demonstration and decode, and can comprise content viewable (text or image link) in the decoded information of acquisition, and the URL character string of this hyperlink.
Show similar with picture, in actual applications, may occur that the first synchronizing content that user selects not is hyperlink, but its form meets the URL of the content viewable+hyperlink of hyperlink, now, directly be shown as hyperlink form in order to avoid first terminal and caused timing error, second synchronizing content can be shown as two kinds of different states by first terminal, a kind of is the form the second synchronizing content being directly shown as hyperlink, another kind is the form the second synchronizing content being shown as content viewable+URL, user can by carrying out clicking operation in the viewing area of the second synchronizing content, switch under two states to control the second synchronizing content.
In sum, the content synchronization method that the embodiment of the present invention provides, to show in the second terminal by scanning, according to the Quick Response Code that the first synchronizing content generates, the Quick Response Code coding that scanning obtains is decoded, obtain decoded information, and show the second synchronizing content according to this decoded information, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Secondly, the content synchronization method that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises picture, Quick Response Code is scanned and the decoded information of decoding acquisition by first terminal, the network address according to the picture comprised in decoded information obtains picture, thus make Quick Response Code can the larger picture of designation data amount, improve range of application and the synchronous effect of content synchronization.
In addition, the content synchronization method that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises hyperlink, Quick Response Code is scanned and the decoded information of decoding acquisition by first terminal, the content viewable corresponding with this hyperlink according to the URL(uniform resource locator) that this hyperlink comprised in decoded information is corresponding shows the second synchronizing content, thus make Quick Response Code indicate hyperlink, further increase the range of application of content synchronization.
Please refer to Fig. 4, it illustrates the method flow diagram of the content synchronization method that one embodiment of the invention provides.This content synchronization method is used in the second terminal 140 of implementation environment as shown in Figure 1, and this content synchronization method can comprise:
Step 402, obtains the first synchronizing content, and this first synchronizing content comprises at least one in text, picture and/or hyperlink;
Step 404, encodes according to this first synchronizing content, generates Quick Response Code coding;
Step 406, generates Quick Response Code according to this Quick Response Code coding;
Step 408, shows this Quick Response Code, scans this Quick Response Code to show the second synchronizing content by first terminal.
In sum, the content synchronization method that the embodiment of the present invention provides, text is comprised by basis, first synchronizing content of at least one in picture and/or hyperlink is encoded, generate Quick Response Code and show, this Quick Response Code is scanned to show the second synchronizing content by first terminal, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Please refer to Fig. 5, it illustrates the method flow diagram of the content synchronization method that another embodiment of the present invention provides.This content synchronization method is used in the second terminal 140 of implementation environment as shown in Figure 1.With first terminal 120 for smart mobile phone, the second terminal 140 for PC be example, this content synchronization method can comprise:
Step 502, obtains the first synchronizing content, and this first synchronizing content comprises at least one in text, picture and/or hyperlink.
When user is by the second terminal browsing information, if want, partial content is synchronized to first terminal, then in the second terminal, selects the first synchronizing content, this first synchronizing content is not limited only to text, can also comprise picture or hyperlink.
Step 504, when this first synchronizing content comprises text, encodes to the text, generates Quick Response Code coding.
When the first synchronizing information that user selects comprises text, the second terminal can directly be encoded to text, to generate corresponding Quick Response Code coding.Wherein, this Quick Response Code coding can be binary data stream.
Step 506, when this first synchronizing content comprises picture, obtains the network address of this picture, encodes according to this network address, generates Quick Response Code coding.
The data volume can carried due to Quick Response Code is limited, direct coding cannot be carried out by the picture larger to data volume, in order to improve range of application and the synchronous effect of content synchronization, in the present embodiment, second terminal is when generating Quick Response Code, if the first synchronizing content that user selects is picture, then obtains the network address of this picture, and encode according to this network address.
Step 508, when this first synchronizing content comprises hyperlink, obtains the content viewable that URL(uniform resource locator) corresponding to this hyperlink is corresponding with this hyperlink, encodes according to this URL(uniform resource locator) and this content viewable, generate Quick Response Code coding.
This content viewable comprises text and/or picture.
Wherein, the content viewable of hyperlink can be text-string, and text character string can be identical with the URL of this hyperlink, also can be different, or this content viewable also can be a width picture.When the text-string of user's clickable hyperlinks or picture, the address that this URL is corresponding can be jumped to.When user selects a hyperlink as the first synchronizing content in the second terminal, the second terminal obtains the content viewable of this hyperlink and corresponding URL, and encodes to this content viewable and URL.Wherein, URL is a string character string, and its coded system is with similar to the coding of text.In addition, when content viewable is picture, the coding to picture is similar to the coding of content viewable, namely obtains the network address of the corresponding picture of this content viewable, encoded in this network address.
Step 510, generates Quick Response Code according to this Quick Response Code coding, shows this Quick Response Code, scan this Quick Response Code to show the second synchronizing content by first terminal.
First terminal scanning Quick Response Code, and refer to the description in the corresponding embodiment of Fig. 3 according to the step that the decoded information that scan decoder obtains shows the second synchronizing content, repeat no more herein.
In sum, the content synchronization method that the embodiment of the present invention provides, text is comprised by basis, first synchronizing content of at least one in picture and/or hyperlink is encoded, generate Quick Response Code and show, this Quick Response Code is scanned to show the second synchronizing content by first terminal, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Secondly, the content synchronization method that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises picture, encodes to the network address of this picture, thus make Quick Response Code can the larger picture of designation data amount, improve range of application and the synchronous effect of content synchronization.
In addition, the content synchronization method that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises hyperlink, by encoding to URL(uniform resource locator) corresponding to this hyperlink and content viewable corresponding to this hyperlink, thus make Quick Response Code indicate hyperlink, further increase the range of application of content synchronization.
Please refer to Fig. 6, it illustrates the method flow diagram of the content synchronization method that one embodiment of the invention provides.This content synchronization method is used for as shown in Figure 1 in implementation environment.Take first terminal as smart mobile phone, the second terminal is PC is example, and this content synchronization method can comprise:
Step 602, the second terminal obtains the first synchronizing content.
Wherein, this first synchronizing content comprises at least one in text, picture and/or hyperlink.When user is by the second terminal browsing information, if want, partial content is synchronized to first terminal, then in the second terminal, selects the first synchronizing content, this first synchronizing content is not limited only to text, can also comprise picture and hyperlink.
Step 604, the second terminal is encoded to this first synchronizing content, generates Quick Response Code coding.
Such as, with the content selection operation schematic diagram shown in Fig. 7, user is in PC, when using browser to browse webpage, when if desired text interesting in webpage, picture and/or link being forwarded to social networks by smart mobile phone, can being chosen by mouse and want the first synchronous synchronizing content, click right display menu hurdle, and " generation Quick Response Code " option clicked in menu bar, namely PC encodes to the content that user selects.
For the text in synchronizing content, picture and hyperlink, the coding method that the second terminal is taked is also different, and its coded system is as follows respectively:
1) when this first synchronizing content comprises text, the second terminal carries out direct coding to the text, obtains Quick Response Code coding.
Wherein, when the first synchronizing information that user selects comprises text, the second terminal can directly be encoded to text, to generate corresponding Quick Response Code coding.Wherein, this Quick Response Code coding can be binary data stream.
2) when this first synchronizing content comprises picture, the second terminal obtains the network address of this picture, encodes according to this network address, obtains Quick Response Code coding.
The data volume can carried due to Quick Response Code is limited, direct coding cannot be carried out by the picture larger to data volume, in order to improve range of application and the synchronous effect of content synchronization, in the present embodiment, second terminal is when generating Quick Response Code, if the first synchronizing content that user selects is picture, then obtains the network address of this picture, and encode according to this network address.
Further, in some cases, the network address also can show in the form of text, the first synchronizing content for the ease of first terminal differentiation user selection is the network address of picture or picture, second terminal is when the first synchronizing content detecting that user selects is picture, before being encoded in the network address of picture, first special mark is added to the network address of this picture, and the picture address added after distinctive mark is encoded.
Such as, PC detects in the first synchronizing content that user selects and comprises picture, obtain the picture address " http://t10.xxx.com/it " of this picture, PC adds special identifier " #pic# " in the front of this picture address, and the picture address " #pic#http: //t10.xxx.com/it " added after distinctive mark is encoded, obtain Quick Response Code coding.
3) when this first synchronizing content comprises hyperlink, the second terminal obtains URL(uniform resource locator) corresponding to this hyperlink content viewable corresponding with this hyperlink, encodes according to this URL(uniform resource locator) and this content viewable.
This content viewable comprises text and/or picture.
Wherein, the content viewable of hyperlink can be text-string, and text character string can be identical with the URL of this hyperlink, also can be different, or this content viewable also can be a width picture.When the text-string of user's clickable hyperlinks or picture, the address that this URL is corresponding can be jumped to.When user selects a hyperlink as the first synchronizing content in the second terminal, the second terminal obtains the content viewable of this hyperlink and corresponding URL, and encodes to this content viewable and URL.Wherein, URL is a string character string, and its coded system is with similar to the coding of text.In addition, when content viewable is picture, the coding to picture is similar to the coding of content viewable, namely obtains the network address of the corresponding picture of this content viewable, encoded in this network address.
Similar with the coding of picture, the first synchronizing content distinguishing user's selection for the ease of first terminal is hyperlink or text, second terminal is before encoding to the content viewable of hyperlink and URL, first to content viewable and the URL interpolation special identifier of hyperlink, and the content viewable added after special identifier and URL are encoded.
Such as, user selects content viewable to be the hyperlink of text " XX map " in the browser page of PC, the URL of the page that this hyperlink is corresponding is " http://map.xx.com ", PC obtains content viewable and the URL of this hyperlink, special identifier is added to this content viewable and URL, content viewable after interpolation special identifier and URL are " * XX map * #url#http: //map.xx.com ", wherein, text between two No. * is content viewable, and #url# represents that address is below the url that content viewable is corresponding.PC is encoded to " * XX map * #url#http: //map.xx.com ".
It should be noted that, when content viewable is picture, content viewable is encoded with the address of picture, coded system and the above-mentioned mode that picture is encoded similar, repeat no more herein.
Step 606, the second terminal generates Quick Response Code according to this Quick Response Code coding, shows this Quick Response Code.
PC generates corresponding Quick Response Code and shows after encoding to the first synchronizing content that user selects, so that smart mobile phone scanning.
Step 608, first terminal scans the Quick Response Code shown in the second terminal, obtains Quick Response Code coding, decodes, obtain decoded information to this Quick Response Code coding.
Under normal circumstances, the Quick Response Code that smart mobile phone scanning obtains is encoded to a string binary data stream.Smart mobile phone is decoded to this Quick Response Code coding, namely can obtain the content of text that PC generates Quick Response Code coding according to this.
Step 610, first terminal shows the second synchronizing content according to this decoded information.
Content indicated by the decoded information that decoding obtains can be text, and also can be other content such as picture and hyperlink, for different content types, the display mode of first terminal be also different, specific as follows:
1) when including text in this first synchronizing content, the text display comprised in this decoded information is the second synchronizing content by first terminal.
If the first synchronizing content text, then first terminal is decoded to the Quick Response Code coding that scanning obtains, and also comprise the text identical with the first synchronizing content in the decoded information of acquisition, first terminal can directly show the text comprised in decoded information.
When the text in the decoded information that smart mobile phone decoding obtains does not comprise the special identifier being used to indicate picture or hyperlink, smart mobile phone directly shows decoded information in the form of text.
2) when including picture in this first synchronizing content, the network address that first terminal is corresponding according to this picture comprised in this decoded information obtains this picture, and this picture is shown as the second synchronizing content.
Wherein, first terminal, before obtaining picture according to this network address, can show this network address, and detects the first assigned operation of this network address whether received display; If testing result is receive the first assigned operation to this network address, then perform the step obtaining picture according to this network address.
In actual applications, may occur that on the one hand the first synchronizing content that user selects is exactly the text of the network address of a certain width picture, or the form of the first synchronizing content that user selects meets the form of the network address of picture; On the other hand, the picture that picture address is corresponding may be larger, and the network bandwidth of first terminal is not enough to the rapid loading supporting big data quantity picture, thus affect Consumer's Experience, or, in order to save network traffics resource, user only wants the network address of picture larger for data volume to be synchronized to first terminal, does not need to load this picture at first terminal.
In order to adapt to the above-mentioned situation that may occur, first terminal is after detecting in decoded information the content comprising the network address format meeting picture, first this network address can be shown as the second synchronizing content, if user needs to load this network address, then on this network address, carry out clicking operation, after first terminal detects this clicking operation, then download corresponding picture according to this network address and show.
Such as, picture display schematic diagram as shown in Figure 8, wherein, the decoded information that smart mobile phone decoding obtains is " #pic#http: //t10.xxx.com/it ", smart mobile phone detects and wherein comprises special identifier corresponding to picture " #pic# ", then show this decoded information first in the form of text, wherein, the text of display is operable state, when user clicks in the text, smart mobile phone obtains picture according to address http://t10.xxx.com/it, and shows by the picture replacement text.Further, when user clicks this picture again, picture can also switch and is shown as textual form by smart mobile phone again.
3) when this first synchronizing content comprises hyperlink, first terminal shows the second synchronizing content with a kind of state in the first state or the second state.
Wherein, in the first state, this hyperlink is comprised in this second synchronizing content; In this second state, this content viewable and this URL(uniform resource locator) of the display of non-linking status is comprised in this second synchronizing content.
First terminal can also receive the second assigned operation to the second synchronizing content; And switch this second synchronizing content of display with the another kind of state in this first state or the second state.
When this first synchronizing content comprises hyperlink, user uses first terminal scan the Quick Response Code of the second terminal demonstration and decode, content viewable (text or image link) can be comprised in the decoded information obtained, and the URL character string of this hyperlink.
Show similar with picture, in actual applications, may occur that the first synchronizing content that user selects not is hyperlink, but its form meets the URL of the content viewable+hyperlink of hyperlink, now, directly be shown as hyperlink form in order to avoid first terminal and caused timing error, second synchronizing content can be shown as two kinds of different states by first terminal, a kind of is the form the second synchronizing content being directly shown as hyperlink, another kind is the form the second synchronizing content being shown as content viewable+URL, user can by carrying out clicking operation in the viewing area of the second synchronizing content, switch under two states to control the second synchronizing content.
Such as, hyperlink display schematic diagram as shown in Figure 9, wherein, the decoded information that smart mobile phone decoding obtains is " * XX map * #url#http: //map.xx.com ", smart mobile phone detects that its form meets content viewable+URL, then be first shown as the first state of hyperlink form, and namely content viewable is " XX map ", when user clicks " XX map ", redirect is to address link http://map.xx.com.When pressing " XX map " with the head of a household, the first condition conversion of hyperlink form is the second state of textual form by smart mobile phone, namely shows " * XX map * #url#http: //map.xx.com " in the form of text.Further, when user again " * XX map * #url#http: //map.xx.com " of vice-minister by the display of the text form time, it can also switch and is shown as hyperlink form by smart mobile phone again.
Step 612, the second synchronizing content is forwarded to social networks by first terminal.
Smart mobile phone scans Quick Response Code and after showing the second synchronizing content, user clicks the forwarding button in interface, and this second synchronizing content is forwarded to social networks by smart mobile phone.
In sum, the content synchronization method that the embodiment of the present invention provides, second terminal comprises text by basis, first synchronizing content of at least one in picture and/or hyperlink is encoded, generate Quick Response Code and show, this Quick Response Code is scanned to show the second synchronizing content by first terminal, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Secondly, the content synchronization method that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises picture, encode in the network address of the second terminal to this picture, thus make Quick Response Code can the larger picture of designation data amount, improve range of application and the synchronous effect of content synchronization.
In addition, the content synchronization method that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises hyperlink, second terminal is by encoding to URL(uniform resource locator) corresponding to this hyperlink and content viewable corresponding to this hyperlink, thus make Quick Response Code indicate hyperlink, further increase the range of application of content synchronization.
Please refer to Figure 10, it illustrates the structure drawing of device of the content synchronization device that one embodiment of the invention provides.This content synchronization device is used for the content synchronization method realized in the first terminal 120 of implementation environment as shown in Figure 1 as shown in Figure 2 or Figure 3, and this content synchronization device can comprise:
Scan module 1001, for scanning the Quick Response Code shown in the second terminal, obtains Quick Response Code coding; Second terminal described in described Quick Response Code coding is carried out coding to the first synchronizing content and is generated, and described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Decoder module 1002, for decoding to described Quick Response Code coding, obtains decoded information;
First display module 1003, for showing the second synchronizing content according to described decoded information.
In sum, the content synchronization device that the embodiment of the present invention provides, to show in the second terminal by scanning, according to the Quick Response Code that the first synchronizing content generates, the Quick Response Code coding that scanning obtains is decoded, obtain decoded information, and show the second synchronizing content according to this decoded information, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Please refer to Figure 11, it illustrates the structure drawing of device of the content synchronization device that another embodiment of the present invention provides.This content synchronization device is used for the content synchronization method realized in the first terminal 120 of implementation environment as shown in Figure 1 as shown in Figure 2 or Figure 3, and this content synchronization device can comprise:
Scan module 1101, for scanning the Quick Response Code shown in the second terminal, obtains Quick Response Code coding; Second terminal described in described Quick Response Code coding is carried out coding to the first synchronizing content and is generated, and described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Decoder module 1102, for decoding to described Quick Response Code coding, obtains decoded information;
First display module 1103, for showing the second synchronizing content according to described decoded information.
Optionally, described first display module 1103, comprising:
First acquiring unit 1103a, obtains described picture for the network address corresponding according to picture; When including described picture in described first synchronizing content, in described decoded information, include the described network address;
First display unit 1103b, for showing the described picture that described first acquiring unit 1103a gets.
Optionally, described first display module 1103, also comprises:
Second display unit 1103c, before obtaining described picture at described picture acquiring unit 1103a according to the described network address, shows the described network address;
Operation detection unit 1103d, for detecting the first assigned operation whether received the described network address;
Described first acquiring unit 1103a, if be receive the first assigned operation to the described network address for the testing result of described detecting unit, then performs the described step obtaining described picture according to the described network address.
Optionally, described first display module 1103, comprising:
3rd display unit 1103e, for showing described second synchronizing content with a kind of state in the first state or the second state;
Wherein, when described first synchronizing content comprises hyperlink, described decoded information is used to indicate URL(uniform resource locator) corresponding to described hyperlink and content viewable corresponding to described hyperlink, and described content viewable comprises text and/or picture; In said first condition, described hyperlink is comprised in described second synchronizing content; In said second condition, the described content viewable of non-linking status display and described URL(uniform resource locator) is comprised in described second synchronizing content.
Optionally, described first display module 1103, also comprises:
Operation receiving element 1103f, for receiving the second assigned operation to described second synchronizing content;
4th display unit 1103g, for switching described second synchronizing content of display with the another kind of state in described first state or described second state.
In sum, the content synchronization device that the embodiment of the present invention provides, to show in the second terminal by scanning, according to the Quick Response Code that the first synchronizing content generates, the Quick Response Code coding that scanning obtains is decoded, obtain decoded information, and show the second synchronizing content according to this decoded information, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Secondly, the content synchronization device that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises picture, Quick Response Code is scanned and the decoded information of decoding acquisition by first terminal, the network address according to the picture comprised in decoded information obtains picture, thus make Quick Response Code can the larger picture of designation data amount, improve range of application and the synchronous effect of content synchronization.
In addition, the content synchronization device that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises hyperlink, Quick Response Code is scanned and the decoded information of decoding acquisition by first terminal, the content viewable corresponding with this hyperlink according to the URL(uniform resource locator) that this hyperlink comprised in decoded information is corresponding shows the second synchronizing content, thus make Quick Response Code indicate hyperlink, further increase the range of application of content synchronization.
Please refer to Figure 12, it illustrates the structure drawing of device of the content synchronization device that one embodiment of the invention provides.This content synchronization device is used for the content synchronization method realized in the second terminal 140 of implementation environment as shown in Figure 1 as shown in Fig. 4 or Fig. 5, and this content synchronization device can comprise:
Content obtaining module 1201, for obtaining the first synchronizing content, described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Coding module 1202, for encoding according to described first synchronizing content, generates Quick Response Code coding;
Generation module 1203, for generating Quick Response Code according to described Quick Response Code coding;
Second display module 1204, for showing described Quick Response Code, scans described Quick Response Code to show the second synchronizing content by first terminal.
In sum, the content synchronization device that the embodiment of the present invention provides, text is comprised by basis, first synchronizing content of at least one in picture and/or hyperlink is encoded, generate Quick Response Code and show, this Quick Response Code is scanned to show the second synchronizing content by first terminal, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Please refer to Figure 13, it illustrates the structure drawing of device of the content synchronization device that another embodiment of the present invention provides.This content synchronization device is used for the content synchronization method realized in the second terminal 140 of implementation environment as shown in Figure 1 as shown in Fig. 4 or Fig. 5, and this content synchronization device can comprise:
Content obtaining module 1301, for obtaining the first synchronizing content, described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Coding module 1302, for encoding according to described first synchronizing content, generates Quick Response Code coding;
Generation module 1303, for generating Quick Response Code according to described Quick Response Code coding;
Second display module 1304, for showing described Quick Response Code, scans described Quick Response Code to show the second synchronizing content by first terminal.
Optionally, described coding module 1302, comprising:
Second acquisition unit 1302a, for when including picture in described first synchronizing content, obtains the network address of described picture;
First coding unit 1302b, for encoding according to the described network address.
Optionally, described coding module 1302, comprising:
3rd acquiring unit 1302c, for when described first synchronizing content comprises hyperlink, obtain URL(uniform resource locator) corresponding to described hyperlink and content viewable corresponding to described hyperlink, described content viewable comprises text and/or picture;
Second coding unit 1302d, for encoding according to described URL(uniform resource locator) and described content viewable.
In sum, the content synchronization device that the embodiment of the present invention provides, text is comprised by basis, first synchronizing content of at least one in picture and/or hyperlink is encoded, generate Quick Response Code and show, this Quick Response Code is scanned to show the second synchronizing content by first terminal, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Secondly, the content synchronization device that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises picture, encodes to the network address of this picture, thus make Quick Response Code can the larger picture of designation data amount, improve range of application and the synchronous effect of content synchronization.
In addition, the content synchronization device that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises hyperlink, by encoding to URL(uniform resource locator) corresponding to this hyperlink and content viewable corresponding to this hyperlink, thus make Quick Response Code indicate hyperlink, further increase the range of application of content synchronization.
Please refer to Figure 14, it illustrates the block diagram of the terminal that one embodiment of the invention provides, the content synchronization method that this terminal provides for implementing embodiment corresponding to above-mentioned Fig. 2 or this Fig. 3, terminal in the embodiment of the present invention can comprise one or more following ingredient: for performing computer program instructions to complete the processor of various flow process and method, for information and stored program instruction random access memory (RAM) and ROM (read-only memory) (ROM), for storing the storer of data and information, I/O equipment, interface, antenna etc.Specifically:
Terminal 1400 can comprise RF (RadioFrequency, radio frequency) parts such as circuit 1410, storer 1420, input block 1430, display unit 1440, sensor 1450, voicefrequency circuit 1460, WiFi (wirelessfidelity, Wireless Fidelity) module 1470, processor 1480, power supply 1482, camera 1490.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Figure 14, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Figure 14 each component parts to terminal 1400:
RF circuit 1410 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 1480; In addition, the up data of design are sent to base station.Usually, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, LNA (LowNoiseAmplifier, low noise amplifier), diplexer etc.In addition, RF circuit 1410 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, CDMA), WCDMA (WidebandCodeDivisionMultipleAccess, Wideband Code Division Multiple Access (WCDMA)), LTE (LongTermEvolution, Long Term Evolution), Email, SMS (ShortMessagingService, Short Message Service) etc.
Storer 1420 can be used for storing software program and module, and processor 1480 is stored in software program and the module of storer 1420 by running, thus performs various function application and the data processing of terminal 1400.Storer 1420 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 1400.In addition, storer 1420 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 1430 can be used for the numeral or the character information that receive input, and generation arranges with the user of terminal 1400 and function controls the input of relevant key signals.Particularly, input block 1430 can comprise contact panel 1431 and other input equipments 1432.Contact panel 1431, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 1431 or near contact panel 1431 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, contact panel 1431 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 1480, and the order that energy receiving processor 1480 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 1431.Except contact panel 1431, input block 1430 can also comprise other input equipments 1432.Particularly, other input equipments 1432 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 1440 can be used for the various menus showing information or the information being supplied to user and the terminal 1400 inputted by user.Display unit 1440 can comprise display panel 1441, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display panel 1441.Further, contact panel 1431 can cover display panel 1441, when contact panel 1431 detects thereon or after neighbouring touch operation, send processor 1480 to determine the type of touch event, on display panel 1441, provide corresponding vision to export with preprocessor 1480 according to the type of touch event.Although in fig. 14, contact panel 1431 and display panel 1441 be as two independently parts to realize input and the input function of terminal 1400, but in certain embodiments, can by integrated to contact panel 1431 and display panel 1441 and realize the input and output function of terminal 1400.
Terminal 1400 also can comprise at least one sensor 1450, such as gyro sensor, magnetic induction sensor, optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 1441, proximity transducer when terminal 1400 moves in one's ear, can cut out display panel 1441 and/or backlight.As the one of motion sensor, acceleration transducer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of identification terminal attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 1400 also other sensors such as configurable barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 1460, loudspeaker 1461, microphone 1462 can provide the audio interface between user and terminal 1400.Voicefrequency circuit 1460 can by receive voice data conversion after electric signal, be transferred to loudspeaker 1461, by loudspeaker 1461 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 1462, voice data is converted to after being received by voicefrequency circuit 1460, after again voice data output processor 1480 being processed, through RF circuit 1410 to send to such as another terminal, or export voice data to storer 1420 to process further.
WiFi belongs to short range wireless transmission technology, and terminal 1400 can help user to send and receive e-mail by WiFi module 1470, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Figure 14 shows WiFi module 1470, be understandable that, it does not belong to must forming of terminal 1400, can omit in the scope of essence not changing invention as required completely.
Processor 1480 is control centers of terminal 1400, utilize the various piece of various interface and the whole terminal of connection, software program in storer 1420 and/or module is stored in by running or performing, and call the data be stored in storer 1420, perform various function and the process data of terminal 1400, thus integral monitoring is carried out to terminal.Optionally, processor 1480 can comprise one or more processing unit; Preferably, processor 1480 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 1480.
Terminal 1400 also comprises the power supply 1482 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 1480 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Camera 1490 is generally made up of camera lens, imageing sensor, interface, digital signal processor, CPU, display screen etc.Wherein, camera lens is fixed on the top of imageing sensor, manually can change focusing by adjustable lens; Imageing sensor is equivalent to " film " of traditional camera, is the heart of camera collection image; Interface is used for camera to utilize winding displacement, board to board connector, spring connected mode to be connected with terminal mainboard, and the image of collection is sent to described storer 1420; Digital signal processor is processed the image gathered by mathematical operation, the analog image of collection is converted to digital picture and sends to storer 1420 by interface.
Although not shown, terminal 1400 can also comprise bluetooth module etc., does not repeat them here.
Terminal 1400, except comprising one or more processor 1480, also includes storer, and one or more module, and one or more module stores in storer, and is configured to be performed by one or more processor.One or more module above-mentioned has following function:
Scan the Quick Response Code shown in the second terminal, obtain Quick Response Code coding; Second terminal described in described Quick Response Code coding is carried out coding to the first synchronizing content and is generated, and described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Described Quick Response Code coding is decoded, obtains decoded information;
The second synchronizing content is shown according to described decoded information.
Optionally, when including picture in described first synchronizing content, described decoded information is used to indicate the network address corresponding to described picture; Describedly show the second synchronizing content according to described decoded information, comprising:
Described picture is obtained according to the described network address;
Show the described picture got.
Optionally, described obtain described picture according to the described network address before, described method also comprises:
Show the described network address, and detect the first assigned operation whether received the described network address;
If testing result is receive the first assigned operation to the described network address, then perform the described step obtaining described picture according to the described network address.
Optionally, when described first synchronizing content comprises hyperlink, described decoded information is used to indicate URL(uniform resource locator) corresponding to described hyperlink and content viewable corresponding to described hyperlink, and described content viewable comprises text and/or picture; Describedly show the second synchronizing content according to described decoded information, comprising:
With described second synchronizing content of a kind of state display in the first state or the second state;
Wherein, in said first condition, described hyperlink is comprised in described second synchronizing content; In said second condition, the described content viewable of non-linking status display and described URL(uniform resource locator) is comprised in described second synchronizing content.
Optionally, described method also comprises:
Receive the second assigned operation to described second synchronizing content;
Described second synchronizing content of display is switched with the another kind of state in described first state or described second state.
In sum, the terminal that the embodiment of the present invention provides, to show in the second terminal by scanning, according to the Quick Response Code that the first synchronizing content generates, the Quick Response Code coding that scanning obtains is decoded, obtain decoded information, and show the second synchronizing content according to this decoded information, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Secondly, the terminal that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises picture, Quick Response Code is scanned and the decoded information of decoding acquisition by first terminal, the network address according to the picture comprised in decoded information obtains picture, thus make Quick Response Code can the larger picture of designation data amount, improve range of application and the synchronous effect of content synchronization.
In addition, the terminal that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises hyperlink, Quick Response Code is scanned and the decoded information of decoding acquisition by first terminal, the content viewable corresponding with this hyperlink according to the URL(uniform resource locator) that this hyperlink comprised in decoded information is corresponding shows the second synchronizing content, thus make Quick Response Code indicate hyperlink, further increase the range of application of content synchronization.
Please refer to Figure 15, it illustrates the block diagram of the terminal that disclosure embodiment provides.Described terminal may be used for implementing the punch card method shown in above-mentioned Fig. 4 or Fig. 5.Described terminal 1500 comprises CPU (central processing unit) (CPU) 1501, comprises the system storage 1504 of random access memory (RAM) 1502 and ROM (read-only memory) (ROM) 1503, and the system bus 1505 of connected system storer 1504 and CPU (central processing unit) 1501.Described terminal 1500 also comprises the basic input/output (I/O system) 1506 of transmission information between each device in help computing machine, and for storing the mass-memory unit 1507 of operating system 1513, application program 1514 and other program modules 1515.
Described basic input/output 1506 includes the input equipment 1509 of the display 1508 for showing information and the such as mouse, keyboard and so on for user's input information.Wherein said display 1508 and input equipment 1509 are all connected to CPU (central processing unit) 1501 by the input/output control unit 1510 being connected to system bus 1505.Described basic input/output 1506 can also comprise input/output control unit 1510 for receiving and processing the input from other equipment multiple such as keyboard, mouse or electronic touch pens.Similarly, input/output control unit 1510 also provides the output device outputting to display screen, printer or other types.
Described mass-memory unit 1507 is connected to CPU (central processing unit) 1501 by the bulk memory controller (not shown) being connected to system bus 1505.Described mass-memory unit 1507 and the computer-readable medium that is associated thereof provide non-volatile memories for terminal 1500.That is, described mass-memory unit 1507 can comprise the computer-readable medium (not shown) of such as hard disk or CD-ROM drive and so on.
Without loss of generality, described computer-readable medium can comprise computer-readable storage medium and communication media.Computer-readable storage medium comprises the volatibility and non-volatile, removable and irremovable medium that realize for any method or technology that store the information such as such as computer-readable instruction, data structure, program module or other data.Computer-readable storage medium comprises RAM, ROM, EPROM, EEPROM, flash memory or its technology of other solid-state storage, CD-ROM, DVD or other optical memory, tape cassete, tape, disk storage or other magnetic storage apparatus.Certainly, the known described computer-readable storage medium of those skilled in the art is not limited to above-mentioned several.Above-mentioned system storage 1504 and mass-memory unit 1507 can be referred to as storer.
According to various embodiments of the present invention, the remote computer that described terminal 1500 can also be connected on network by networks such as such as the Internets runs.Also namely terminal 1500 can be connected to network 1512 by the network interface unit 1511 be connected on described system bus 1505, in other words, network interface unit 1511 also can be used to be connected to network or the remote computer system (not shown) of other types.
Described storer also comprises one or more than one program, and described more than one or one program is stored in storer, and described more than one or one program has following function:
Obtain the first synchronizing content, described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Encode according to described first synchronizing content, generate Quick Response Code coding;
Quick Response Code is generated according to described Quick Response Code coding;
Show described Quick Response Code, scan described Quick Response Code to show the second synchronizing content by first terminal.
Optionally, describedly to encode according to described first synchronizing content, comprising:
When including picture in described first synchronizing content, obtain the network address of described picture;
Encode according to the described network address.
Optionally, describedly to encode according to described first synchronizing content, comprising:
When described first synchronizing content comprises hyperlink, obtain URL(uniform resource locator) corresponding to described hyperlink and content viewable corresponding to described hyperlink, described content viewable comprises text and/or picture;
Encode according to described URL(uniform resource locator) and described content viewable.
In sum, the terminal that the embodiment of the present invention provides, text is comprised by basis, first synchronizing content of at least one in picture and/or hyperlink is encoded, generate Quick Response Code and show, this Quick Response Code is scanned to show the second synchronizing content by first terminal, user only needs to choose the first synchronizing content in the second terminal, and use first terminal to scan the Quick Response Code generated, namely the synchronous of content can be completed, solve in prior art and need user by content replication to be synchronized and paste in synchronizing software to carry out synchronously and the operating process caused is loaded down with trivial details, waste user time, the problem that synchronous efficiency is low, reach simplification user operation, save user time, improve the effect of synchronous efficiency.
Secondly, the terminal that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises picture, encodes to the network address of this picture, thus make Quick Response Code can the larger picture of designation data amount, improve range of application and the synchronous effect of content synchronization.
In addition, the terminal that the embodiment of the present invention provides, when the first synchronizing content that user selects comprises hyperlink, by encoding to URL(uniform resource locator) corresponding to this hyperlink and content viewable corresponding to this hyperlink, thus make Quick Response Code indicate hyperlink, further increase the range of application of content synchronization.
It should be noted that: the content synchronization device that above-described embodiment provides is when carrying out content synchronization, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the content synchronization device that above-described embodiment provides and content synchronization method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. a content synchronization method, is characterized in that, described method comprises:
Scan the Quick Response Code shown in the second terminal, obtain Quick Response Code coding; Second terminal described in described Quick Response Code coding is carried out coding to the first synchronizing content and is generated, and described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Described Quick Response Code coding is decoded, obtains decoded information;
The second synchronizing content is shown according to described decoded information.
2. method according to claim 1, is characterized in that, when including picture in described first synchronizing content, described decoded information is used to indicate the network address corresponding to described picture; Describedly show the second synchronizing content according to described decoded information, comprising:
Described picture is obtained according to the described network address;
Show the described picture got.
3. method according to claim 2, is characterized in that, described obtain described picture according to the described network address before, described method also comprises:
Show the described network address, and detect the first assigned operation whether received the described network address;
If testing result is receive the first assigned operation to the described network address, then perform the described step obtaining described picture according to the described network address.
4. method according to claim 1, it is characterized in that, when described first synchronizing content comprises hyperlink, described decoded information is used to indicate URL(uniform resource locator) corresponding to described hyperlink and content viewable corresponding to described hyperlink, and described content viewable comprises text and/or picture; Describedly show the second synchronizing content according to described decoded information, comprising:
With described second synchronizing content of a kind of state display in the first state or the second state;
Wherein, in said first condition, described hyperlink is comprised in described second synchronizing content; In said second condition, the described content viewable of non-linking status display and described URL(uniform resource locator) is comprised in described second synchronizing content.
5. method according to claim 4, is characterized in that, described method also comprises:
Receive the second assigned operation to described second synchronizing content;
Described second synchronizing content of display is switched with the another kind of state in described first state or described second state.
6. a content synchronization method, is characterized in that, described method comprises:
Obtain the first synchronizing content, described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Encode according to described first synchronizing content, generate Quick Response Code coding;
Quick Response Code is generated according to described Quick Response Code coding;
Show described Quick Response Code, scan described Quick Response Code to show the second synchronizing content by first terminal.
7. method according to claim 6, is characterized in that, describedly encodes according to described first synchronizing content, comprising:
When including picture in described first synchronizing content, obtain the network address of described picture;
Encode according to the described network address.
8. method according to claim 6, is characterized in that, describedly encodes according to described first synchronizing content, comprising:
When described first synchronizing content comprises hyperlink, obtain URL(uniform resource locator) corresponding to described hyperlink and content viewable corresponding to described hyperlink, described content viewable comprises text and/or picture;
Encode according to described URL(uniform resource locator) and described content viewable.
9. a content synchronization device, is characterized in that, described device comprises:
Scan module, for scanning the Quick Response Code shown in the second terminal, obtains Quick Response Code coding; Second terminal described in described Quick Response Code coding is carried out coding to the first synchronizing content and is generated, and described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Decoder module, for decoding to described Quick Response Code coding, obtains decoded information;
First display module, for showing the second synchronizing content according to described decoded information.
10. device according to claim 9, is characterized in that, described first display module, comprising:
First acquiring unit, obtains described picture for the network address corresponding according to picture; When including described picture in described first synchronizing content, in described decoded information, include the described network address;
First display unit, for showing the described picture that described first acquiring unit gets.
11. devices according to claim 10, is characterized in that, described first display module, also comprises:
Second display unit, before obtaining described picture at described picture acquiring unit according to the described network address, shows the described network address;
Operation detection unit, for detecting the first assigned operation whether received the described network address;
Described first acquiring unit, if be receive the first assigned operation to the described network address for the testing result of described detecting unit, then performs the described step obtaining described picture according to the described network address.
12. devices according to claim 9, is characterized in that, described first display module, comprising:
3rd display unit, for showing described second synchronizing content with a kind of state in the first state or the second state;
Wherein, when described first synchronizing content comprises hyperlink, described decoded information is used to indicate URL(uniform resource locator) corresponding to described hyperlink and content viewable corresponding to described hyperlink, and described content viewable comprises text and/or picture; In said first condition, described hyperlink is comprised in described second synchronizing content; In said second condition, the described content viewable of non-linking status display and described URL(uniform resource locator) is comprised in described second synchronizing content.
13. devices according to claim 12, is characterized in that, described first display module, also comprises:
Operation receiving element, for receiving the second assigned operation to described second synchronizing content;
4th display unit, for switching described second synchronizing content of display with the another kind of state in described first state or described second state.
14. 1 kinds of content synchronization devices, is characterized in that, described device comprises:
Content obtaining module, for obtaining the first synchronizing content, described first synchronizing content comprises at least one in text, picture and/or hyperlink;
Coding module, for encoding according to described first synchronizing content, generates Quick Response Code coding;
Generation module, for generating Quick Response Code according to described Quick Response Code coding;
Second display module, for showing described Quick Response Code, scans described Quick Response Code to show the second synchronizing content by first terminal.
15. devices according to claim 14, is characterized in that, described coding module, comprising:
Second acquisition unit, for when including picture in described first synchronizing content, obtains the network address of described picture;
First coding unit, for encoding according to the described network address.
16. devices according to claim 14, is characterized in that, described coding module, comprising:
3rd acquiring unit, for when described first synchronizing content comprises hyperlink, obtain URL(uniform resource locator) corresponding to described hyperlink and content viewable corresponding to described hyperlink, described content viewable comprises text and/or picture;
Second coding unit, for encoding according to described URL(uniform resource locator) and described content viewable.
CN201410425424.2A 2014-08-26 2014-08-26 Content synchronization method and device Pending CN105373557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410425424.2A CN105373557A (en) 2014-08-26 2014-08-26 Content synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410425424.2A CN105373557A (en) 2014-08-26 2014-08-26 Content synchronization method and device

Publications (1)

Publication Number Publication Date
CN105373557A true CN105373557A (en) 2016-03-02

Family

ID=55375765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410425424.2A Pending CN105373557A (en) 2014-08-26 2014-08-26 Content synchronization method and device

Country Status (1)

Country Link
CN (1) CN105373557A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485299A (en) * 2016-10-10 2017-03-08 国网北京市电力公司 Data processing method and device
CN106557455A (en) * 2016-11-14 2017-04-05 北京小米移动软件有限公司 Cross-platform document edit method and device
CN107172259A (en) * 2017-04-11 2017-09-15 捷开通讯(深圳)有限公司 Terminal and its information interacting method, storage device based on Quick Response Code
CN107948278A (en) * 2017-11-22 2018-04-20 维沃移动通信有限公司 A kind of information transferring method, terminal device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857619A (en) * 2011-06-28 2013-01-02 捷达世软件(深圳)有限公司 Sharing method and system of electronic business card
CN103024063A (en) * 2012-12-24 2013-04-03 腾讯科技(深圳)有限公司 Data sharing method, clients and data sharing system
CN103607377A (en) * 2013-10-29 2014-02-26 小米科技有限责任公司 Method, device and system for information sharing
CN103853819A (en) * 2014-02-13 2014-06-11 腾讯科技(深圳)有限公司 Information acquisition method, terminal and system
CN103942519A (en) * 2013-01-17 2014-07-23 腾讯科技(深圳)有限公司 Content sharing method between multiple terminals, graphic code encoding end and graphic code decoding end

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857619A (en) * 2011-06-28 2013-01-02 捷达世软件(深圳)有限公司 Sharing method and system of electronic business card
CN103024063A (en) * 2012-12-24 2013-04-03 腾讯科技(深圳)有限公司 Data sharing method, clients and data sharing system
CN103942519A (en) * 2013-01-17 2014-07-23 腾讯科技(深圳)有限公司 Content sharing method between multiple terminals, graphic code encoding end and graphic code decoding end
CN103607377A (en) * 2013-10-29 2014-02-26 小米科技有限责任公司 Method, device and system for information sharing
CN103853819A (en) * 2014-02-13 2014-06-11 腾讯科技(深圳)有限公司 Information acquisition method, terminal and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485299A (en) * 2016-10-10 2017-03-08 国网北京市电力公司 Data processing method and device
CN106557455A (en) * 2016-11-14 2017-04-05 北京小米移动软件有限公司 Cross-platform document edit method and device
CN107172259A (en) * 2017-04-11 2017-09-15 捷开通讯(深圳)有限公司 Terminal and its information interacting method, storage device based on Quick Response Code
CN107948278A (en) * 2017-11-22 2018-04-20 维沃移动通信有限公司 A kind of information transferring method, terminal device and system
CN107948278B (en) * 2017-11-22 2021-01-26 维沃移动通信有限公司 Information transmission method, terminal equipment and system

Similar Documents

Publication Publication Date Title
CN104219617B (en) Service acquisition method and device
CN105187930A (en) Video live broadcasting-based interaction method and device
CN104133624B (en) Web animation display packing, device and terminal
CN105320687A (en) Webpage display method and device
CN104426962A (en) Multi-terminal binding method, binding server, terminal and multi-terminal binding system
CN104580334B (en) A kind of merchandise news method for pushing and device
CN103559731B (en) Method and terminal for displaying lyrics under screen locking state
CN103853819A (en) Information acquisition method, terminal and system
CN105446726A (en) Method and device for generating webpage
CN104519404A (en) Graphics interchange format file playing method and device
CN103455585A (en) Method, device and terminal for displaying commodity information
CN104298558A (en) Information processing method and device
CN104238893A (en) Video preview image displaying method and device
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN103687063B (en) A kind of method of interconnection network, device and terminal equipment
CN103390034A (en) Image display method, device, terminal and server
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN104679381A (en) Method and device for switching chat box
CN104869465A (en) Video playing control method and device
CN104965642A (en) Method and apparatus for generating a drop-down list
CN104036536A (en) Generating method and apparatus of stop motion animation
CN104954159A (en) Network information statistics method and device
CN105094513A (en) User avatar setting method and apparatus as well as electronic device
CN103699309A (en) Method and device for recording synchronous video, and mobile terminal
CN104216929A (en) Method and device for intercepting page elements

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160302