CN102724328B - Read later client refreshing method, system and device - Google Patents
Read later client refreshing method, system and device Download PDFInfo
- Publication number
- CN102724328B CN102724328B CN201210226951.1A CN201210226951A CN102724328B CN 102724328 B CN102724328 B CN 102724328B CN 201210226951 A CN201210226951 A CN 201210226951A CN 102724328 B CN102724328 B CN 102724328B
- Authority
- CN
- China
- Prior art keywords
- reading
- data
- later
- later reading
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域 technical field
本发明涉及计算机技术领域,特别是涉及一种稍后阅读客户端刷新方法、系统及装置。The present invention relates to the field of computer technology, in particular to a method, system and device for refreshing a later reading client.
背景技术 Background technique
在现有技术中,用户在浏览网页时,如果碰到需要保存的网页时,一般都会将该网页收藏到浏览器提供的本地收藏夹中。本地的收藏夹会保存用户收藏网页的网址和标题信息等信息。在用户需要读取本地收藏夹的网页时,选择相应的网页,该网页就会重新加载到当前的浏览器页面中,从而使用户能够方便的查看之前保存的网页。但是,如果使用家用计算机在本地收藏夹中保存了网页信息,当用户使用其他终端时,就无法获取家用计算机本地收藏夹中存储的网页信息,为用户造成了极大的不方便。In the prior art, when a user encounters a webpage that needs to be saved when browsing a webpage, the user generally collects the webpage into a local favorite provided by the browser. The local favorites will save information such as URLs and title information of the user's favorite web pages. When the user needs to read the webpage of the local favorite, select the corresponding webpage, and the webpage will be reloaded into the current browser page, so that the user can conveniently view the previously saved webpage. However, if the home computer saves the webpage information in the local favorites, when the user uses other terminals, the webpage information stored in the home computer's local favorites cannot be obtained, which causes great inconvenience to the user.
此外,在原有的浏览器上,本地收藏夹作为书签的一项内容,是可以被任何使用该浏览器客户端的人进行查看和修改的,从而使得用户某些需要保密的网页数据无法得到保护。In addition, on the original browser, the local favorites, as a content of the bookmark, can be viewed and modified by anyone who uses the browser client, so that some webpage data that needs to be kept secret by the user cannot be protected.
在现有技术中,云存储(也可以称为云盘)是在云计算概念上延伸和发展出来的一个新的概念,是指通过集群应用、网格技术或分布式文件系统等功能,将网络中大量各种不同类型的存储设备通过应用软件集合起来协同工作,共同对外提供数据存储和业务访问功能的一个系统。当用户需要存储一些文件时,可以上传到云盘中,在需要时,登陆该云盘后,就可以获取之前上传的文件。方便了用户的数据存储。但是,由于云盘上传下载的处理过程比较繁琐,因此,用户一般在云盘上存储一些文件,不会将需要存储的网页信息存储的云盘中。In the existing technology, cloud storage (also called cloud disk) is a new concept extended and developed from the concept of cloud computing. A large number of different types of storage devices in the network work together through application software to jointly provide data storage and business access functions. When the user needs to store some files, they can upload them to the cloud disk. When needed, after logging in to the cloud disk, the previously uploaded files can be obtained. It facilitates the user's data storage. However, since the uploading and downloading process of the cloud disk is cumbersome, the user generally stores some files on the cloud disk, and does not store the webpage information to be stored in the cloud disk.
因此,目前急需一种技术方案来解决现有技术中无法实现网页数据各终端平台互通、以及无法对用户浏览网页数据的隐私进行保护的问题。Therefore, there is an urgent need for a technical solution to solve the problems in the prior art that the intercommunication of various terminal platforms of webpage data cannot be realized and the privacy of users browsing webpage data cannot be protected.
发明内容 Contents of the invention
本发明提供一种稍后阅读实现方法、装置、以及系统,以解决现有技术中无法实现网页数据(在本发明中,以下将网页数据称为稍后阅读数据)各终端平台互通、以及无法对用户浏览网页数据的隐私进行保护的问题。The present invention provides a method, device, and system for realizing later reading to solve the problems in the prior art that webpage data cannot be realized (in the present invention, webpage data is referred to as later reading data hereinafter) and various terminal platforms cannot communicate with each other. The problem of protecting the privacy of users browsing webpage data.
本发明提供一种稍后阅读认证系统,包括:稍后阅读客户端,适于获取认证信息,并根据认证信息生成数据安全签名,将数据安全签名和认证信息中的预定信息发送到稍后阅读服务器;并接收稍后阅读服务器发送的认证数据,并将认证数据携带在用户指令中与稍后阅读服务器进行稍后阅读数据的交互;稍后阅读服务器,适于根据数据安全签名和预定信息对稍后阅读客户端进行认证,并向稍后阅读客户端发送认证数据,接收稍后阅读客户端发送的携带有认证数据的用户指令,根据认证数据对稍后阅读客户端进行认证,在认证通过后,与稍后阅读客户端进行稍后阅读数据的交互。The invention provides a later reading authentication system, including: a later reading client, adapted to obtain authentication information, generate a data security signature according to the authentication information, and send predetermined information in the data security signature and authentication information to the later reading Server; and receive the authentication data sent by the later reading server, and carry the authentication data in the user instruction to interact with the later reading server to read the data later; the later reading server is suitable for the data according to the data security signature and predetermined information The later reading client performs authentication, and sends authentication data to the later reading client, receives the user instruction carrying the authentication data sent by the later reading client, and authenticates the later reading client according to the authentication data. After that, interact with the read later client to read later data.
优选地,认证信息包括:时间戳、与稍后阅读客户端相应的账户数据、以及生成数据安全签名需要使用的加密信息。Preferably, the authentication information includes: time stamp, account data corresponding to the later reading client, and encryption information needed to generate a data security signature.
优选地,稍后阅读客户端进一步适于:登录账户中心服务器,从账户中心服务器获取账户数据以及加密信息;向稍后阅读服务器发送时间戳请求信息,从稍后阅读服务器获取时间戳,其中,账户中心服务器为云端服务器。Preferably, the later reading client is further adapted to: log in to the account center server, obtain account data and encrypted information from the account center server; send a timestamp request message to the later reading server, and obtain the time stamp from the later reading server, wherein, The account center server is a cloud server.
优选地,稍后阅读客户端进一步适于:根据账户数据、加密信息、以及时间戳以预定格式生成数据安全签名,其中,预定格式为:数据安全签名=加密算法(时间戳+账户数据+加密信息+删除最后一个数字的时间戳),“加密算法()”表示以加密信息中指定的加密算法对括号内的数据进行加密。Preferably, the later reading client is further adapted to: generate a data security signature in a predetermined format according to the account data, encrypted information, and time stamp, wherein the predetermined format is: data security signature = encryption algorithm (time stamp + account data + encrypted information + time stamp with the last number removed), "encryption algorithm ()" means to encrypt the data in brackets with the encryption algorithm specified in the encrypted information.
优选地,预定信息包括:账户数据、以及加密信息。Preferably, the predetermined information includes: account data, and encrypted information.
优选地,在稍后阅读客户端进一步适于:使用认证数据与稍后阅读服务器进行交互时,如果稍后阅读服务器未通过对认证数据的认证,则稍后阅读客户端重新向稍后阅读服务器进行认证。Preferably, the later reading client is further adapted to: when using the authentication data to interact with the later reading server, if the later reading server does not pass the authentication of the authentication data, then the later reading client resubmits to the later reading server Authenticate.
优选地,稍后阅读服务器为云端服务器。Preferably, the later reading server is a cloud server.
本发明还提供了一种稍后阅读客户端认证方法,包括:稍后阅读客户端向稍后阅读服务器发送时间戳请求信息,从稍后阅读服务器获取时间戳,根据与稍后阅读客户端相应的账户数据、生成数据安全签名需要使用的加密信息、以及时间戳生成数据安全签名;稍后阅读客户端将数据安全签名和预定信息发送到稍后阅读服务器,使稍后阅读服务器根据数据安全签名和预定信息对稍后阅读客户端进行认证;稍后阅读客户端接收稍后阅读服务器发送的认证数据,并使用认证数据与稍后阅读服务器进行交互。The present invention also provides a later reading client authentication method, including: the later reading client sends time stamp request information to the later reading server, obtains the time stamp from the later reading server, and according to the corresponding The account data, the encrypted information needed to generate the data security signature, and the time stamp to generate the data security signature; the later reading client sends the data security signature and reservation information to the later reading server, so that the later reading server can use the data security signature and predetermined information to authenticate the later-reading client; the later-reading client receives the authentication data sent by the later-reading server, and uses the authentication data to interact with the later-reading server.
优选地,稍后阅读客户端向稍后阅读服务器发送时间戳请求信息之前,上述方法还包括:稍后阅读客户端登录账户中心服务器,从账户中心服务器获取账户数据以及加密信息。Preferably, before the later reading client sends the timestamp request information to the later reading server, the method further includes: the later reading client logs in to the account center server, and obtains account data and encrypted information from the account center server.
优选地,数据安全签名的格式为:数据安全签名=加密算法(时间戳+账户数据+加密信息+删除最后一个数字的时间戳),“加密算法()”表示以加密信息中指定的加密算法对括号内的数据进行加密。Preferably, the format of the data security signature is: data security signature = encryption algorithm (time stamp + account data + encrypted information + timestamp with the last digit deleted), "encryption algorithm ()" means the encryption algorithm specified in the encrypted information Encrypt the data inside the brackets.
优选地,预定信息包括:账户数据、以及加密信息。Preferably, the predetermined information includes: account data, and encrypted information.
优选地,上述方法还包括:在稍后阅读客户端使用认证数据与稍后阅读服务器进行交互时,如果稍后阅读服务器未通过对认证数据的认证,则稍后阅读客户端重新向稍后阅读服务器进行认证。Preferably, the above method further includes: when the later reading client uses the authentication data to interact with the later reading server, if the later reading server fails to pass the authentication of the authentication data, then the later reading client resubmits to the later reading The server is authenticated.
优选地,稍后阅读服务器和/或账户中心服务器为云端服务器。Preferably, the later reading server and/or the account center server are cloud servers.
本发明还提供了一种稍后阅读客户端认证装置,包括:获取模块,适于向稍后阅读服务器发送时间戳请求信息,从稍后阅读服务器获取时间戳;生成模块,适于根据与稍后阅读客户端相应的账户数据、生成数据安全签名需要使用的加密信息、以及时间戳生成数据安全签名;认证模块,适于将数据安全签名和预定信息发送到稍后阅读服务器,使稍后阅读服务器根据数据安全签名和预定信息对稍后阅读客户端进行认证,并接收稍后阅读服务器发送的认证数据;交互模块,适于使用认证数据与稍后阅读服务器进行交互。The present invention also provides a client authentication device for later reading, including: an acquisition module, adapted to send time stamp request information to the later reading server, and obtain the time stamp from the later reading server; a generation module, adapted to After reading the corresponding account data of the client, the encryption information needed to generate the data security signature, and the time stamp to generate the data security signature; the authentication module is suitable for sending the data security signature and predetermined information to the later reading server, so that the later reading The server authenticates the later-reading client according to the data security signature and predetermined information, and receives the authentication data sent by the later-reading server; the interaction module is adapted to use the authentication data to interact with the later-reading server.
优选地,获取模块具体适于:登录账户中心服务器,从账户中心服务器获取账户数据以及加密信息。Preferably, the obtaining module is specifically adapted to: log in to the account center server, and obtain account data and encrypted information from the account center server.
优选地,数据安全签名的格式为:数据安全签名=加密算法(时间戳+账户数据+加密信息+删除最后一个数字的时间戳),“加密算法()”表示以加密信息中指定的加密算法对括号内的数据进行加密。Preferably, the format of the data security signature is: data security signature = encryption algorithm (time stamp + account data + encrypted information + timestamp with the last digit deleted), "encryption algorithm ()" means the encryption algorithm specified in the encrypted information Encrypt the data inside the brackets.
优选地,预定信息包括:账户数据、以及加密信息。Preferably, the predetermined information includes: account data, and encrypted information.
优选地,上述装置还包括:调用模块,适于在交互模块使用认证数据与稍后阅读服务器进行交互时,如果稍后阅读服务器未通过对认证数据的认证,则依次调用获取模块、生成模块、以及认证模块,重新向稍后阅读服务器进行认证。Preferably, the above device further includes: a calling module, adapted to call the acquiring module, generating module, And the authentication module, to re-authenticate to the later reading server.
优选地,稍后阅读服务器和/或账户中心服务器为云端服务器。Preferably, the later reading server and/or the account center server are cloud servers.
本发明还提供了一种稍后阅读实现系统,包括第一稍后阅读客户端、第二稍后阅读客户端、以及稍后阅读服务器,其中,第一稍后阅读客户端,适于根据用户指令获取需要保存的稍后阅读数据,并将稍后阅读数据携带在稍后阅读保存消息中发送到稍后阅读服务器;稍后阅读服务器,适于从第一稍后阅读客户端发送的稍后阅读保存消息中获取稍后阅读数据,保存稍后阅读数据并对稍后阅读数据进行管理;接收第二稍后阅读客户端发送的稍后阅读数据请求消息,并根据稍后阅读数据请求消息向第二稍后阅读客户端发送相应的稍后阅读数据;第二稍后阅读客户端,适于在需要获取稍后阅读数据时,向稍后阅读服务器发送稍后阅读数据请求消息,从稍后阅读服务器获取相应的稍后阅读数据。The present invention also provides a later reading realization system, including a first later reading client, a second later reading client, and a later reading server, wherein the first later reading client is adapted to The instruction acquires the later reading data that needs to be saved, and sends the later reading data to the later reading server in the later reading saving message; the later reading server is suitable for the later reading data sent from the first later reading client. Get the later reading data in the reading and saving message, save the later reading data and manage the later reading data; receive the later reading data request message sent by the second later reading client, and send the later reading data request message to The second later reading client sends corresponding later reading data; the second later reading client is adapted to send a later reading data request message to the later reading server when it needs to obtain the later reading data, from later The reading server obtains the corresponding later reading data.
优选地,稍后阅读保存消息中还包括用户标识数据;稍后阅读服务器进一步适于:从稍后阅读保存消息中获取用户标识数据,根据用户标识数据将获取的稍后阅读数据保存在相应的存储空间中。Preferably, the saved message for later reading also includes user identification data; the server for later reading is further adapted to: obtain the user identification data from the saved message for later reading, and store the obtained later reading data in the corresponding in storage space.
优选地,稍后阅读数据请求消息中携带有用户标识数据;稍后阅读服务器进一步适于:获取稍后阅读数据请求消息中携带的用户标识数据,根据用户标识数据从相应的存储空间中获取与用户标识数据相应的稍后阅读数据。Preferably, the user identification data is carried in the later reading data request message; the later reading server is further adapted to: obtain the user identification data carried in the later reading data request message, and obtain the corresponding information from the corresponding storage space according to the user identification data. The user identification data corresponds to the later read data.
优选地,稍后阅读数据请求消息包括:稍后阅读列表请求消息、以及单项稍后阅读数据请求消息;第二稍后阅读客户端进一步适于:发送稍后阅读列表请求消息,并根据稍后阅读列表中的参数从稍后阅读服务器获取相应的稍后阅读数据;在用户需要读取稍后阅读列表中的某项稍后阅读数据的页面内容时,发送单项稍后阅读数据请求消息,并从稍后阅读服务器获取相应稍后阅读数据的页面内容,其中,稍后阅读列表包括:未读稍后阅读数据组、以及全部稍后阅读数据组,稍后阅读列表中的参数具体包括:稍后阅读数据的页面标题、稍后阅读数据的页面网址、稍后阅读数据的页面状态、稍后阅读数据的来源类别、和/或稍后阅读数据添加到稍后阅读服务器的添加时间。Preferably, the later reading data request message includes: a later reading list request message and a single item later reading data request message; the second later reading client is further adapted to: send a later reading list request message, and according to later The parameters in the reading list obtain the corresponding later reading data from the later reading server; when the user needs to read the page content of a later reading data in the later reading list, send a single later reading data request message, and Obtain the page content of the corresponding later reading data from the later reading server, wherein the later reading list includes: unread later reading data groups, and all later reading data groups, and the parameters in the later reading list specifically include: The page title of the later reading data, the page URL of the later reading data, the page status of the later reading data, the source category of the later reading data, and/or the adding time of the later reading data to the later reading server.
优选地,用户指令具体包括:增加一项稍后阅读数据、删除一项稍后阅读数据、和/或更改一项稍后阅读数据中的参数。Preferably, the user instruction specifically includes: adding an item of later reading data, deleting an item of later reading data, and/or changing parameters in an item of later reading data.
优选地,第一稍后阅读客户端发送的稍后阅读数据具体包括:页面标题、以及页面网址;Preferably, the later reading data sent by the first later reading client specifically includes: page title, and page URL;
优选地,第一稍后阅读客户端发送的稍后阅读数据还包括以下至少之一:页面状态、来源类别。Preferably, the later reading data sent by the first later reading client further includes at least one of the following: page status and source category.
优选地,第一稍后阅读客户端发送的稍后阅读数据还包括:页面内容。Preferably, the later reading data sent by the first later reading client further includes: page content.
优选地,第一稍后阅读客户端和第二稍后阅读客户端为同一稍后阅读客户端或不同稍后阅读客户端。Preferably, the first later reading client and the second later reading client are the same later reading client or different later reading clients.
本发明还提供了一种稍后阅读客户端实现方法,包括:稍后阅读客户端获取需要保存的稍后阅读数据,并将稍后阅读数据保存在稍后阅读服务器中;稍后阅读客户端在需要获取稍后阅读数据时,向稍后阅读服务器发送稍后阅读数据请求消息,从稍后阅读服务器获取相应的稍后阅读数据。The present invention also provides a later reading client implementation method, including: the later reading client acquires the later reading data that needs to be saved, and saves the later reading data in the later reading server; the later reading client When the later reading data needs to be obtained, send a later reading data request message to the later reading server, and obtain the corresponding later reading data from the later reading server.
优选地,上述方法还包括:稍后阅读客户端根据用户指令获取需要修改的稍后阅读数据,并将需要修改的稍后阅读数据携带在稍后阅读保存消息中发送到稍后阅读服务器。Preferably, the above method further includes: the later reading client acquires the later reading data that needs to be modified according to the user's instruction, and sends the later reading data that needs to be modified in a later reading saving message to the later reading server.
优选地,稍后阅读客户端根据用户指令获取需要修改的稍后阅读数据具体包括:稍后阅读客户端根据用户在稍后阅读列表中的操作,获取需要修改的稍后阅读数据,其中,稍后阅读列表包括:未读稍后阅读数据组、以及全部稍后阅读数据组,稍后阅读列表中的参数具体包括:稍后阅读数据的页面标题、以及稍后阅读数据的页面网址。Preferably, the later reading client acquires the later reading data that needs to be modified according to the user instruction specifically includes: the later reading client acquires the later reading data that needs to be modified according to the user's operation in the later reading list, wherein, a little The post-reading list includes: an unread later-reading data group and all later-reading data groups. The parameters in the later-reading list specifically include: the page title of the later-reading data and the page URL of the later-reading data.
优选地,稍后阅读列表中的参数还包括以下至少之一:稍后阅读数据的页面状态、稍后阅读数据的来源类别、或稍后阅读数据添加到稍后阅读服务器的添加时间。Preferably, the parameters in the later reading list further include at least one of the following: the page status of the later reading data, the source category of the later reading data, or the adding time of the later reading data to the later reading server.
优选地,用户指令具体包括:增加一项稍后阅读数据、删除一项稍后阅读数据、和/或更改一项稍后阅读数据中的参数。Preferably, the user instruction specifically includes: adding an item of later reading data, deleting an item of later reading data, and/or changing parameters in an item of later reading data.
优选地,稍后阅读客户端发送的稍后阅读数据具体包括:页面标题、以及页面网址;稍后阅读客户端发送的稍后阅读数据还包括以下至少之一:页面状态、来源类别。Preferably, the later reading data sent by the later reading client specifically includes: page title and page URL; the later reading data sent by the later reading client further includes at least one of the following: page status and source category.
优选地,稍后阅读客户端发送的稍后阅读数据还包括:页面内容。Preferably, the later reading data sent by the later reading client further includes: page content.
优选地,稍后阅读客户端获取需要保存的稍后阅读数据,并将稍后阅读数据保存在稍后阅读服务器中具体包括:稍后阅读客户端将稍后阅读数据进行加密,将加密后的稍后阅读数据携带在稍后阅读保存消息中发送到稍后阅读服务器。Preferably, the later reading client obtains the later reading data that needs to be saved, and saving the later reading data in the later reading server specifically includes: the later reading client encrypts the later reading data, and encrypts the encrypted later reading data. The later reading data is carried in the later reading save message and sent to the later reading server.
优选地,稍后阅读数据请求消息包括:稍后阅读列表请求消息、以及单项稍后阅读数据请求消息;稍后阅读客户端从稍后阅读服务器获取稍后阅读数据具体包括:稍后阅读客户端发送稍后阅读列表请求消息,并根据稍后阅读列表中的参数从稍后阅读服务器获取相应的稍后阅读数据;在用户需要读取稍后阅读列表中的某项稍后阅读数据的页面内容时,稍后阅读客户端发送单项稍后阅读数据请求消息,并从稍后阅读服务器获取相应稍后阅读数据的页面内容。Preferably, the later reading data request message includes: a later reading list request message and a single item later reading data request message; the later reading client obtains later reading data from the later reading server specifically includes: the later reading client Send a request message for the later reading list, and obtain the corresponding later reading data from the later reading server according to the parameters in the later reading list; when the user needs to read the page content of a later reading data in the later reading list , the later reading client sends a single later reading data request message, and obtains the page content of the corresponding later reading data from the later reading server.
优选地,稍后阅读客户端设置于:计算机、或者移动终端。Preferably, the later reading client is set on a computer or a mobile terminal.
优选地,稍后阅读服务器为云端服务器。Preferably, the later reading server is a cloud server.
本发明还提供了一种稍后阅读客户端,包括:第一获取模块,适于获取需要保存的稍后阅读数据,并将稍后阅读数据保存在稍后阅读服务器中;第二获取模块,适于在需要获取稍后阅读数据时,向稍后阅读服务器发送稍后阅读数据请求消息,从稍后阅读服务器获取相应的稍后阅读数据。The present invention also provides a later reading client, including: a first acquisition module, adapted to acquire later reading data that needs to be saved, and save the later reading data in the later reading server; a second acquisition module, It is suitable for sending a later reading data request message to the later reading server and acquiring corresponding later reading data from the later reading server when the later reading data needs to be acquired.
优选地,第一获取模块进一步适于:根据用户指令获取需要修改的稍后阅读数据,并将需要修改的稍后阅读数据携带在稍后阅读保存消息中发送到稍后阅读服务器。Preferably, the first acquisition module is further adapted to: acquire the later reading data that needs to be modified according to the user instruction, and send the later reading data that needs to be modified in the later reading saving message to the later reading server.
优选地,第一获取模块具体适于:根据用户在稍后阅读列表中的操作,获取需要修改的稍后阅读数据,其中,稍后阅读列表包括:未读稍后阅读数据组、以及全部稍后阅读数据组,稍后阅读列表中的参数具体包括:稍后阅读数据的页面标题、以及稍后阅读数据的页面网址。Preferably, the first acquisition module is specifically adapted to: acquire the later reading data that needs to be modified according to the user's operation in the later reading list, wherein the later reading list includes: unread later reading data groups, and all later reading data groups After reading the data group, the parameters in the later reading list specifically include: the page title of the later reading data, and the page URL of the later reading data.
优选地,稍后阅读列表中的参数还包括以下至少之一:稍后阅读数据的页面状态、稍后阅读数据的来源类别、或稍后阅读数据添加到稍后阅读服务器的添加时间。Preferably, the parameters in the later reading list further include at least one of the following: the page status of the later reading data, the source category of the later reading data, or the adding time of the later reading data to the later reading server.
优选地,用户指令具体包括:增加一项稍后阅读数据、删除一项稍后阅读数据、和/或更改一项稍后阅读数据中的参数。Preferably, the user instruction specifically includes: adding an item of later reading data, deleting an item of later reading data, and/or changing parameters in an item of later reading data.
优选地,稍后阅读客户端发送的稍后阅读数据具体包括:页面标题、以及页面网址;稍后阅读客户端发送的稍后阅读数据还包括以下至少之一:页面状态、来源类别。Preferably, the later reading data sent by the later reading client specifically includes: page title and page URL; the later reading data sent by the later reading client further includes at least one of the following: page status and source category.
优选地,稍后阅读客户端发送的稍后阅读数据还包括:页面内容。Preferably, the later reading data sent by the later reading client further includes: page content.
优选地,第一获取模块具体适于:将稍后阅读数据进行加密,将加密后的稍后阅读数据携带在稍后阅读保存消息中发送到稍后阅读服务器。Preferably, the first obtaining module is specifically adapted to: encrypt the later reading data, and send the encrypted later reading data to the later reading server in a later reading saving message.
优选地,稍后阅读数据请求消息包括:稍后阅读列表请求消息、以及单项稍后阅读数据请求消息;第二获取模块具体适于:发送稍后阅读列表请求消息,并根据稍后阅读列表中的参数从稍后阅读服务器获取相应的稍后阅读数据;在用户需要读取稍后阅读列表中的某项稍后阅读数据的页面内容时,发送单项稍后阅读数据请求消息,并从稍后阅读服务器获取相应稍后阅读数据的页面内容。Preferably, the later read data request message includes: a later read list request message and a single item later read data request message; the second acquisition module is specifically adapted to: send a later read list request message, and according to the later read list Parameters to obtain the corresponding later reading data from the later reading server; when the user needs to read the page content of a later reading data item in the later reading list, send a single item later reading data request message, and from the later reading data The reading server obtains the page content corresponding to the later reading data.
优选地,稍后阅读客户端设置于:计算机、或者移动终端。Preferably, the later reading client is set on a computer or a mobile terminal.
优选地,稍后阅读服务器为云端服务器。Preferably, the later reading server is a cloud server.
本发明还提供了一种稍后阅读服务器实现方法,包括:接收稍后阅读客户端发送的用户指令,从用户指令中获取稍后阅读数据,并对稍后阅读数据进行管理;接收稍后阅读客户端发送的稍后阅读数据请求消息,并根据稍后阅读数据请求消息向稍后阅读客户端发送相应的稍后阅读数据。The present invention also provides a method for implementing a later reading server, including: receiving a user instruction sent by a later reading client, obtaining later reading data from the user instruction, and managing the later reading data; receiving a later reading The later reading data request message sent by the client, and corresponding later reading data is sent to the later reading client according to the later reading data request message.
优选地,稍后阅读服务器从稍后阅读客户端发送的用户指令中获取稍后阅读数据具体包括:稍后阅读服务器对用户指令中获取的加密稍后阅读数据进行解密,获取解密后的稍后阅读数据。Preferably, obtaining the later reading data from the user instruction sent by the later reading client by the later reading server specifically includes: the later reading server decrypts the encrypted later reading data obtained in the user instruction, and obtains the decrypted later reading data. Read the data.
优选地,稍后阅读数据具体包括:页面标题、以及页面网址;Preferably, the data read later specifically includes: page title, and page URL;
优选地,稍后阅读数据还包括:页面状态、和/或来源类别。Preferably, the data read later further includes: page status, and/or source category.
优选地,用户指令包括:增加一项稍后阅读数据、删除一项稍后阅读数据、以及更改一项稍后阅读数据中的参数;稍后阅读服务器对稍后阅读数据进行管理具体包括:步骤1,稍后阅读服务器判断用户指令是否为增加一项稍后阅读数据,在判断为是的情况下,执行步骤2,否则,直接执行步骤4;步骤2,稍后阅读服务器根据稍后阅读数据的页面网址获取与稍后阅读数据相应的页面内容并保存在稍后阅读数据中,执行步骤3;步骤3,稍后阅读服务器获取与稍后阅读数据相应的添加时间并保存在稍后阅读数据中,执行步骤4;步骤4,稍后阅读服务器根据稍后阅读客户端的用户标识将稍后阅读数据与稍后阅读客户端进行绑定;步骤5,稍后阅读服务器根据用户指令对稍后阅读数据进行管理。Preferably, the user instruction includes: adding an item of later reading data, deleting an item of later reading data, and changing parameters in an item of later reading data; the management of later reading data by the later reading server specifically includes: the steps 1. The later reading server judges whether the user instruction is to add an item of later reading data. If it is judged to be yes, execute step 2, otherwise, directly execute step 4; step 2, the later reading server according to the later reading data Get the page content corresponding to the later reading data and save it in the later reading data, and execute step 3; step 3, the later reading server obtains the added time corresponding to the later reading data and saves it in the later reading data , execute step 4; step 4, the later reading server binds the later reading data with the later reading client according to the user ID of the later reading client; step 5, the later reading server binds the later reading data according to the user instruction Data is managed.
优选地,稍后阅读数据还包括:页面内容。Preferably, the later reading data further includes: page content.
优选地,用户指令包括:增加一项稍后阅读数据、删除一项稍后阅读数据、以及更改一项稍后阅读数据中的参数;稍后阅读服务器对稍后阅读数据进行管理具体包括:步骤1,稍后阅读服务器判断用户指令是否为增加一项稍后阅读数据,在判断为是的情况下,执行步骤2,否则,直接执行步骤3;步骤2,稍后阅读服务器获取稍后阅读数据添加到稍后阅读服务器的添加时间并保存在稍后阅读数据中,执行步骤3;步骤3,稍后阅读服务器根据稍后阅读客户端的用户标识将稍后阅读数据与稍后阅读客户端进行绑定,执行步骤4;步骤4,稍后阅读服务器根据用户指令对稍后阅读数据进行管理。Preferably, the user instruction includes: adding an item of later reading data, deleting an item of later reading data, and changing parameters in an item of later reading data; the management of later reading data by the later reading server specifically includes: the steps 1. The later reading server judges whether the user instruction is to add an item of later reading data. If the judgment is yes, execute step 2, otherwise, directly execute step 3; step 2, the later reading server obtains the later reading data Add the added time to the later reading server and save it in the later reading data, perform step 3; step 3, the later reading server binds the later reading data to the later reading client according to the user ID of the later reading client If determined, execute step 4; step 4, the later reading server manages the later reading data according to user instructions.
优选地,稍后阅读数据请求消息包括:稍后阅读列表请求消息、和/或单项稍后阅读数据请求消息;稍后阅读服务器根据稍后阅读数据请求消息向稍后阅读客户端发送相应的稍后阅读数据进一步包括:在稍后阅读数据请求消息为稍后阅读列表请求消息的情况下,稍后阅读服务器根据稍后阅读列表中的参数向稍后阅读客户端发送相应的稍后阅读数据,其中,稍后阅读列表中的参数包括:稍后阅读数据的页面标题、和稍后阅读数据的页面网址;在稍后阅读数据请求消息为单项稍后阅读数据请求消息的情况下,稍后阅读服务器向稍后阅读客户端发送相应稍后阅读数据的页面内容。Preferably, the later reading data request message includes: a later reading list request message, and/or a single item later reading data request message; the later reading server sends a corresponding later reading client according to the later reading data request message. The post-reading data further includes: when the later-reading data request message is a later-reading list request message, the later-reading server sends corresponding later-reading data to the later-reading client according to the parameters in the later-reading list, Among them, the parameters in the later reading list include: the page title of the later reading data and the page URL of the later reading data; when the later reading data request message is a single later reading data request message, the later reading The server sends the page content corresponding to the later reading data to the later reading client.
优选地,稍后阅读列表中的参数还包括以下至少之一:稍后阅读数据的页面状态、稍后阅读数据的来源类别、稍后阅读数据的添加时间。Preferably, the parameters in the later reading list further include at least one of the following: the page status of the later reading data, the source category of the later reading data, and the adding time of the later reading data.
优选地,稍后阅读服务器为云端服务器。Preferably, the later reading server is a cloud server.
优选地,用户指令为HTTP POST请求。Preferably, the user instruction is an HTTP POST request.
优选地,上述方法还包括:如果从用户指令中获取的稍后阅读数据所对应的页面网址已存在,则更新该网址对应的其他稍后阅读数据。Preferably, the above method further includes: if the URL of the page corresponding to the read-later data obtained from the user instruction already exists, updating other read-later data corresponding to the URL.
本发明还提供了一种稍后阅读服务器,包括:管理模块,适于接收稍后阅读客户端发送的用户指令,从用户指令中获取稍后阅读数据,并对稍后阅读数据进行管理;交互模块,适于接收稍后阅读客户端发送的稍后阅读数据请求消息,并根据稍后阅读数据请求消息向稍后阅读客户端发送相应的稍后阅读数据。The present invention also provides a later reading server, including: a management module, adapted to receive user instructions sent by the later reading client, acquire later reading data from the user instructions, and manage the later reading data; A module adapted to receive a later reading data request message sent by a later reading client, and send corresponding later reading data to the later reading client according to the later reading data request message.
优选地,管理模块具体适于:对用户指令中获取的加密稍后阅读数据进行解密,获取解密后的稍后阅读数据。Preferably, the management module is specifically adapted to: decrypt the encrypted later-read data obtained in the user instruction, and obtain the decrypted later-read data.
优选地,稍后阅读数据具体包括:页面标题、以及页面网址。Preferably, the data read later specifically includes: page title, and page URL.
优选地,稍后阅读数据还包括:页面状态、和/或来源类别。Preferably, the data read later further includes: page status, and/or source category.
优选地,稍后阅读数据还包括:页面内容。Preferably, the later reading data further includes: page content.
优选地,用户指令包括:增加一项稍后阅读数据、删除一项稍后阅读数据、以及更改一项稍后阅读数据中的参数;管理模块具体包括:第一判断子模块,适于判断用户指令是否为增加一项稍后阅读数据,在判断为是的情况下,如果稍后阅读数据中不包括页面内容,则依次调用页面内容获取子模块、添加时间获取子模块、绑定子模块、以及管理子模块,如果稍后阅读数据中包括页面内容,则调用添加时间获取子模块、绑定子模块、以及管理子模块;在判断为否的情况下,调用绑定子模块、以及管理子模块;页面内容获取子模块,适于根据稍后阅读数据的页面网址获取与稍后阅读数据相应的页面内容并保存在稍后阅读数据中;添加时间获取子模块,适于获取与稍后阅读数据相应的添加时间并保存在稍后阅读数据中;绑定子模块,适于根据稍后阅读客户端的用户标识将稍后阅读数据与稍后阅读客户端进行绑定;管理子模块,适于根据用户指令对稍后阅读数据进行管理。Preferably, the user instruction includes: adding an item of later reading data, deleting an item of later reading data, and changing parameters in an item of later reading data; the management module specifically includes: a first judging sub-module, suitable for judging the user Whether the instruction is to add an item of later reading data, if the judgment is yes, if the later reading data does not include the page content, then sequentially call the page content acquisition submodule, add time acquisition submodule, bind submodule, And the management submodule, if the page content is included in the read data later, call the add time acquisition submodule, the binding submodule, and the management submodule; in the case of no judgment, call the binding submodule, and the management submodule Module; page content acquisition sub-module, suitable for obtaining the page content corresponding to the later reading data according to the page URL of the later reading data and saving it in the later reading data; adding time acquisition sub-module, suitable for obtaining and later reading The data is correspondingly added at the time and stored in the later reading data; the binding submodule is suitable for binding the later reading data with the later reading client according to the user identification of the later reading client; the management submodule is suitable for The data to be read later is managed according to user instructions.
优选地,稍后阅读数据请求消息包括:稍后阅读列表请求消息、和/或单项稍后阅读数据请求消息;交互模块进一步适于:在稍后阅读数据请求消息为稍后阅读列表请求消息的情况下,根据稍后阅读列表中的参数向稍后阅读客户端发送相应的稍后阅读数据,其中,稍后阅读列表中的参数包括:稍后阅读数据的页面标题、和稍后阅读数据的页面网址;在稍后阅读数据请求消息为单项稍后阅读数据请求消息的情况下,向稍后阅读客户端发送相应稍后阅读数据的页面内容。Preferably, the later reading data request message includes: a later reading list request message and/or a single item later reading data request message; the interaction module is further adapted to: the later reading data request message is a later reading list request message In this case, send the corresponding later reading data to the later reading client according to the parameters in the later reading list, wherein the parameters in the later reading list include: the page title of the later reading data, and the Page URL; in the case that the later reading data request message is a single later reading data request message, send the corresponding later reading data page content to the later reading client.
优选地,稍后阅读列表中的参数还包括以下至少之一:稍后阅读数据的页面状态、稍后阅读数据的来源类别、稍后阅读数据的添加时间;Preferably, the parameters in the later reading list also include at least one of the following: the page status of the later reading data, the source category of the later reading data, and the adding time of the later reading data;
优选地,稍后阅读服务器为云端服务器。Preferably, the later reading server is a cloud server.
优选地,用户指令为HTTP POST请求。Preferably, the user instruction is an HTTP POST request.
优选地,稍后阅读服务器还包括:更新模块,适于在从用户指令中获取的稍后阅读数据所对应的页面网址已存在的情况下,更新该网址对应的其他稍后阅读数据。Preferably, the later-reading server further includes: an update module, adapted to update other later-reading data corresponding to the page URL corresponding to the later-reading data acquired from the user instruction already exists.
本发明还提供了一种稍后阅读刷新系统,包括:稍后阅读客户端,适于获取触发指令,向稍后阅读服务器发送稍后阅读数据刷新请求;获取稍后阅读服务器发送的最新版本的稍后阅读数据;稍后阅读服务器,适于根据稍后阅读数据刷新请求向稍后阅读客户端发送最新版本的稍后阅读数据。The present invention also provides a later reading refresh system, comprising: a later reading client, adapted to acquire a trigger instruction, and send a later reading data refresh request to a later reading server; obtain the latest version of the later reading server sent Read the data later; the later reading server is adapted to send the latest version of the later reading data to the later reading client according to the later reading data refresh request.
优选地,稍后阅读服务器进一步适于:查找是否存在更新版本的稍后阅读列表,如果存在,则向稍后阅读客户端发送最新版本的稍后阅读数据,如果不存在,相稍后阅读客户端返回无数据更新的响应。Preferably, the later reading server is further adapted to: find out whether there is an updated version of the later reading list, and if so, send the latest version of the later reading data to the later reading client, and if it does not exist, send the latest version of the later reading data to the later reading client. The client returns a response with no data update.
优选地,稍后阅读数据具体包括:网页标题、和网页网址;稍后阅读数据还包括以下至少之一、网页状态、来源类别、网页内容、或添加时间。Preferably, the later reading data specifically includes: web page title, and web page URL; the later reading data also includes at least one of the following, web page status, source category, web page content, or adding time.
优选地,稍后阅读数据刷新请求为稍后阅读列表请求消息。Preferably, the read later data refresh request is a later read list request message.
优选地,稍后阅读客户端进一步适于:接收稍后阅读服务器发送的最新版本的稍后阅读列表,其中,稍后阅读列表具体包括:各项稍后阅读数据的网页标题、以及各项稍后阅读数据的网页网址,稍后阅读列表还包括以下至少之一:各项稍后阅读数据的网页状态、各项稍后阅读数据的来源类别、或各项稍后阅读数据添加到稍后阅读服务器的添加时间。Preferably, the later reading client is further adapted to: receive the latest version of the later reading list sent by the later reading server, wherein the later reading list specifically includes: the title of the webpage of each item of later reading data, and each item The web page URL of the later reading data, and the later reading list also includes at least one of the following: the status of the webpage of each later reading data, the source category of each later reading data, or the addition of each later reading data to the later reading The time the server was added.
优选地,稍后阅读客户端进一步适于:显示稍后阅读列表,其中,稍后阅读列表上标识有更新该稍后阅读列表的时间信息。Preferably, the later reading client is further adapted to: display a later reading list, wherein time information for updating the later reading list is marked on the later reading list.
优选地,稍后阅读客户端进一步适于:在获取触发指令,向稍后阅读服务器发送稍后阅读数据刷新请求之前,登陆登陆稍后阅读账号。Preferably, the later reading client is further adapted to: log in to the later reading account before acquiring the trigger instruction and sending the later reading data refresh request to the later reading server.
本发明还提供了一种稍后阅读客户端刷新方法,包括:获取触发指令,向稍后阅读服务器发送稍后阅读数据刷新请求;接收稍后阅读服务器发送的最新版本的稍后阅读数据。The present invention also provides a later reading client refreshing method, comprising: obtaining a trigger instruction, sending a later reading data refresh request to a later reading server; receiving the latest version of later reading data sent by the later reading server.
优选地,稍后阅读数据具体包括:网页标题、和网页网址。Preferably, the data read later specifically includes: a webpage title and a webpage URL.
优选地,稍后阅读数据还包括以下至少之一、网页状态、来源类别、网页内容、或添加时间。Preferably, the later reading data also includes at least one of the following, webpage status, source category, webpage content, or adding time.
优选地,稍后阅读数据刷新请求为稍后阅读列表请求消息。Preferably, the read later data refresh request is a later read list request message.
优选地,稍后阅读客户端接收稍后阅读服务器发送的最新版本的稍后阅读数据进一步包括:稍后阅读客户端接收稍后阅读服务器发送的最新版本的稍后阅读列表,其中,稍后阅读列表中的参数具体包括:各项稍后阅读数据的网页标题、以及各项稍后阅读数据的网页网址。Preferably, the later reading client receiving the latest version of the later reading data sent by the later reading server further includes: the later reading client receiving the later reading list of the latest version sent by the later reading server, wherein the later reading The parameters in the list specifically include: the title of the webpage of each item of data to be read later, and the URL of the webpage of each item of data to be read later.
优选地,稍后阅读列表中的参数还包括以下至少之一:各项稍后阅读数据的网页状态、各项稍后阅读数据的来源类别、或各项稍后阅读数据添加到稍后阅读服务器的添加时间。Preferably, the parameters in the later reading list also include at least one of the following: the webpage status of each later reading data, the source category of each later reading data, or each later reading data added to the later reading server The time to add.
优选地,稍后阅读客户端接收稍后阅读服务器发送的最新版本的稍后阅读列表之后,还包括:稍后阅读客户端显示稍后阅读列表,其中,稍后阅读列表上标识有更新该稍后阅读列表的时间信息。Preferably, after the later reading client receives the latest version of the later reading list sent by the later reading server, it also includes: the later reading client displays the later reading list, wherein the later reading list is marked with an updated version of the later reading list. After reading the time information of the list.
优选地,触发指令为:将稍后阅读客户端从后台睡眠状态转换为前台激活状态的激活指令;或者,通过预先设置的刷新操作触发的刷新指令。Preferably, the triggering instruction is: an activating instruction for converting the later reading client from a background sleep state to a foreground active state; or a refresh instruction triggered by a preset refresh operation.
优选地,还包括:稍后阅读服务器检测稍后阅读客户端的稍后阅读数据是否需要更新,如果需要,则向稍后阅读客户端发送推送消息,提示稍后阅读客户端触发稍后阅读数据刷新请求。Preferably, it also includes: the later reading server detects whether the later reading data of the later reading client needs to be updated, and if necessary, sends a push message to the later reading client, prompting the later reading client to trigger the later reading data refresh ask.
优选地,向稍后阅读服务器发送稍后阅读数据刷新请求之前,还包括:登陆用户帐号。Preferably, before sending the later reading data refresh request to the later reading server, the method further includes: logging in the user account.
优选地,还包括:在两个稍后阅读客户端使用同一个用户帐号登录的情况下,在第一稍后阅读客户端向稍后阅读服务器增加新的稍后阅读数据后,第二稍后阅读客户端向稍后阅读服务器发送稍后阅读数据刷新请求,从稍后阅读服务器获取第一稍后阅读客户端新增加的稍后阅读数据。Preferably, it also includes: in the case that two later reading clients use the same user account to log in, after the first later reading client adds new later reading data to the later reading server, the second later reading The reading client sends a later reading data refresh request to the later reading server, and acquires later reading data newly added by the first later reading client from the later reading server.
本发明还提供了一种稍后阅读客户端刷新装置,包括:发送模块,适于获取触发指令,向稍后阅读服务器发送稍后阅读数据刷新请求;刷新模块,适于接收稍后阅读服务器发送的最新版本的稍后阅读数据。The present invention also provides a later reading client refresh device, including: a sending module, adapted to acquire a trigger instruction, and send a later reading data refresh request to a later reading server; Read Later data for the latest version of .
优选地,稍后阅读数据具体包括:网页标题、和网页网址。Preferably, the data read later specifically includes: a webpage title and a webpage URL.
优选地,稍后阅读数据还包括以下至少之一、网页状态、来源类别、网页内容、或添加时间。Preferably, the later reading data also includes at least one of the following, webpage status, source category, webpage content, or adding time.
优选地,稍后阅读数据刷新请求为稍后阅读列表请求消息。Preferably, the read later data refresh request is a later read list request message.
优选地,刷新模块进一步适于:接收稍后阅读服务器发送的最新版本的稍后阅读列表,其中,稍后阅读列表具体包括:各项稍后阅读数据的网页标题、以及各项稍后阅读数据的网页网址。Preferably, the refresh module is further adapted to: receive the latest version of the later reading list sent by the later reading server, wherein the later reading list specifically includes: the title of the webpage of each item of later reading data, and each item of later reading data The web page URL for .
优选地,稍后阅读列表还包括以下至少之一:各项稍后阅读数据的网页状态、各项稍后阅读数据的来源类别、或各项稍后阅读数据添加到稍后阅读服务器的添加时间。Preferably, the later reading list also includes at least one of the following: the web page status of each later reading data, the source category of each later reading data, or the adding time of each later reading data added to the later reading server .
优选地,稍后阅读客户端刷新装置进一步包括:显示模块,适于显示稍后阅读列表,其中,稍后阅读列表上标识有更新该稍后阅读列表的时间信息。Preferably, the device for refreshing the later reading client further includes: a display module adapted to display a later reading list, wherein time information for updating the later reading list is marked on the later reading list.
优选地,触发指令为:将稍后阅读客户端从后台睡眠状态转换为前台激活状态的激活指令;或者,通过预先设置的刷新操作触发的刷新指令。Preferably, the triggering instruction is: an activating instruction for converting the later reading client from a background sleep state to a foreground active state; or a refresh instruction triggered by a preset refresh operation.
优选地,稍后阅读客户端刷新装置进一步包括:登录模块,适于在向稍后阅读服务器发送稍后阅读数据刷新请求之前,登陆用户帐号。Preferably, the device for refreshing the later reading client further includes: a login module adapted to log in the user account before sending the later reading data refresh request to the later reading server.
优选地,刷新模块进一步适于:在与第一稍后阅读客户端使用同一个用户帐号登录、且在第一稍后阅读客户端向稍后阅读服务器增加新的稍后阅读数据后的情况下,向稍后阅读服务器发送稍后阅读数据刷新请求,从稍后阅读服务器获取第一稍后阅读客户端新增加的稍后阅读数据。Preferably, the refresh module is further adapted to: log in with the same user account as the first later reading client, and after the first later reading client adds new later reading data to the later reading server , sending a later reading data refresh request to the later reading server, and obtaining later reading data newly added by the first later reading client from the later reading server.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
通过对用户进行认证后,将用户的稍后阅读数据发送到服务器端,在用户通过其他终端使用稍后阅读功能时,从服务器端获取最新的稍后阅读数据,解决了现有技术中无法实现稍后阅读数据各终端平台互通、以及无法对用户浏览网页数据的隐私进行保护的问题,能够实现浏览器客户端稍后阅读数据的跨平台互通,保证了用户稍后阅读数据的安全性,使稍后阅读客户端的稍后阅读数据集合能够及时更新,更好地将稍后阅读数据展现给用户。After the user is authenticated, the user's later reading data is sent to the server, and when the user uses the later reading function through other terminals, the latest later reading data is obtained from the server, which solves the problem that cannot be realized in the prior art The problem of the interoperability of various terminal platforms for later reading data and the inability to protect the privacy of users browsing webpage data can realize the cross-platform interoperability of browser client later reading data, ensuring the security of users later reading data, making The later reading data set of the later reading client can be updated in time to better present the later reading data to the user.
附图说明 Description of drawings
图1是本发明实施例的稍后阅读客户端认证方法的流程图;Fig. 1 is the flowchart of the later reading client authentication method of the embodiment of the present invention;
图2是本发明实施例的稍后阅读客户端与云端交互的信令流程图;Fig. 2 is the signaling flow diagram of interaction between the later reading client and the cloud according to the embodiment of the present invention;
图3是本发明实施例的生成数据安全签名的信令流程图;Fig. 3 is a signaling flowchart of generating a data security signature according to an embodiment of the present invention;
图4是本发明实施例的稍后阅读客户端实现方法的流程图;Fig. 4 is the flow chart of the implementation method of the later reading client of the embodiment of the present invention;
图5是本发明实施例的稍后阅读客户端处理的流程图;Fig. 5 is the flow chart of reading later client processing of the embodiment of the present invention;
图6是本发明实施例的稍后阅读Cloud Service架构的示意图;Fig. 6 is a schematic diagram of the later reading Cloud Service architecture of the embodiment of the present invention;
图7是本发明实施例的稍后阅读服务器实现方法的流程图;FIG. 7 is a flowchart of a method for implementing a later reading server according to an embodiment of the present invention;
图8是本发明实施例的稍后阅读客户端刷新方法的流程图;FIG. 8 is a flow chart of a method for refreshing a later reading client according to an embodiment of the present invention;
图9是本发明实施例的稍后阅读客户端界面的示意图;Fig. 9 is a schematic diagram of a later reading client interface according to an embodiment of the present invention;
图10是本发明实施例的稍后阅读客户端认证装置的结构示意图;FIG. 10 is a schematic structural diagram of an authentication device for later reading clients according to an embodiment of the present invention;
图11是本发明实施例的稍后阅读客户端的结构示意图;Fig. 11 is a schematic structural diagram of a later reading client according to an embodiment of the present invention;
图12是本发明实施例的稍后阅读服务器的结构示意图;Fig. 12 is a schematic structural diagram of a later reading server according to an embodiment of the present invention;
图13是本发明实施例的稍后阅读客户端刷新装置的结构示意图;Fig. 13 is a schematic structural diagram of a refresher device for a read-later client according to an embodiment of the present invention;
图14是本发明实施例的稍后阅读实现系统的结构示意图;Fig. 14 is a schematic structural diagram of a later reading implementation system according to an embodiment of the present invention;
图15是本发明实施例的稍后阅读认证系统的示意图;Fig. 15 is a schematic diagram of a later reading authentication system according to an embodiment of the present invention;
图16是本发明实施例的稍后阅读刷新系统的示意图。Fig. 16 is a schematic diagram of a refresh system for reading later according to an embodiment of the present invention.
具体实施方式 detailed description
为了解决现有技术中无法实现稍后阅读数据各终端平台互通、以及无法对用户的稍后阅读数据进行保护的问题,本发明提供了一种稍后阅读实现方法、装置、及系统,需要说明的是,本发明所述的稍后阅读是指将用户要阅读或者一时没有读完的网页标记下来,并同步到服务器,使用户可以在不同的设备上继续阅读。In order to solve the problems in the prior art that it is impossible to realize the interoperability of various terminal platforms of the later reading data and the protection of the user's later reading data, the present invention provides a later reading implementation method, device, and system, which need to be explained More importantly, the later reading in the present invention refers to marking the web pages that the user wants to read or has not finished reading for a while, and synchronizing them to the server, so that the user can continue reading on different devices.
本发明实施例为了在移动iOS设备、移动Android设备和个人计算机(Personal Computer,简称为PC)设备上使用浏览器客户端(例如,360浏览器客户端)中的稍后阅读功能时能够数据互通(需要说明的是,数据互通是指用户通过在个人计算机设备上更新了稍后阅读列表,移动设备上的稍后阅读列表也会随之更新内容,反之亦然)。首先要将用户的稍后阅读数据发送到云服务(Cloud Service)中,由Cloud Service对数据进行收集,管理和下发,从而使用户的稍后阅读数据实现了跨平台互通的目的。此外,用户需要登录账户中心(Account Center)才能请求稍后阅读数据。当用户从Account Center注销时,其他用户就不能够获取该用户的稍后阅读数据。从而保护了用户需要保密的稍后阅读数据,本发明实施例的技术方案利用帐号登录实现阅读隐私的同时也利用帐号实现了跨平台互通。The embodiment of the present invention enables data interoperability when using the later reading function in a browser client (for example, a 360 browser client) on a mobile iOS device, a mobile Android device, and a personal computer (PC) device. (It should be noted that data interoperability means that by updating the Read Later list on the personal computer device, the Read Later list on the mobile device will also be updated accordingly, and vice versa). First of all, the user's later reading data should be sent to the cloud service (Cloud Service), and the data will be collected, managed and distributed by the Cloud Service, so that the user's later reading data can achieve the purpose of cross-platform intercommunication. Additionally, users need to be logged into Account Center to request to read data later. When a user logs out from Account Center, other users cannot get the user's read later data. In this way, the later reading data that the user needs to be kept secret is protected. The technical solution of the embodiment of the present invention uses the account login to realize reading privacy and also uses the account to realize cross-platform intercommunication.
以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明实施例设计了优良的云服务(Cloud Service)使稍后阅读功能实现了跨平台,达到了数据各平台互通的目的。通过Cloud Service强大的云计算(Cloud Computing)能力,实现对不同用户的稍后阅读数据进行收集、管理和下发。The embodiment of the present invention designs an excellent cloud service (Cloud Service) so that the later reading function realizes cross-platform, and achieves the purpose of data interoperability among various platforms. Through the powerful cloud computing (Cloud Computing) capability of Cloud Service, the later reading data of different users can be collected, managed and distributed.
稍后阅读数据的收集是指浏览器客户端使用超文本传送协议请求方式(Hyper Text Transfer Protocol request method,简称为HTTP POST)将用户个人稍后阅读数据主动发送到云(Cloud)端,Cloud Service根据用户请求对用户发送的稍后阅读数据进行保存。稍后阅读数据的管理是指Cloud端可以根据不同用户的不同请求对稍后阅读数据进行增删改等操作。稍后阅读数据的下发是指Cloud端可以根据不同用户下发不同的稍后阅读数据。例如:用户A在PC设备的浏览器中登录了账户中心(Account Center),并使用浏览器浏览网站,看到喜爱的互联网内容,就可以将其添加到稍后阅读列表中。PC设备的浏览器会使用HTTP POST请求将新增的稍后阅读项发送到Cloud端,Cloud Service审核用户A的信息,并将数据按照用户A的信息添加数据,分发保存到数据库中。当用户A在户外环境中,需要阅读在家中添加的页面时,可以使用iOS设备浏览器,登录Account Center,并发送HTTP POST请求Cloud Service下发数据。Cloud端根据用户A信息下发A的稍后阅读数据到iOS设备浏览器中,用户A可以在iOS设备上阅读已添加的页面。除了添加稍后阅读项外,还可以删除稍后阅读数据和更改稍后阅读数据。The collection of later reading data means that the browser client uses the Hyper Text Transfer Protocol request method (HTTP POST for short) to actively send the user's personal later reading data to the cloud (Cloud), and Cloud Service Save the later reading data sent by the user according to the user's request. The management of the later reading data means that the Cloud side can add, delete, modify and other operations on the later reading data according to different requests of different users. The delivery of later reading data means that the cloud side can deliver different later reading data according to different users. For example: User A logs into the Account Center in the browser of the PC device, and uses the browser to browse the website, and when he sees the favorite Internet content, he can add it to the read later list. The browser of the PC device will use the HTTP POST request to send the newly added later reading item to the Cloud side, and the Cloud Service will review the information of user A, add data according to the information of user A, distribute and save it in the database. When user A is outdoors and needs to read pages added at home, he can use the browser of the iOS device to log in to Account Center and send an HTTP POST request to Cloud Service to deliver data. The cloud end sends A's later reading data to the browser of the iOS device according to the user A's information, and user A can read the added pages on the iOS device. In addition to adding later reading items, you can also delete later reading data and change later reading data.
以下对本发明的上述技术方案进行详细的说明。The above-mentioned technical solution of the present invention will be described in detail below.
实例1Example 1
根据本发明的实施例,提供了一种稍后阅读客户端认证方法,图1是本发明实施例的稍后阅读客户端认证方法的流程图,如图1所示,根据本发明实施例的稍后阅读客户端认证方法包括如下处理:According to an embodiment of the present invention, a method for authenticating a later reading client is provided, and FIG. 1 is a flowchart of a later reading client authentication method according to an embodiment of the present invention. As shown in FIG. 1 , according to an embodiment of the present invention Later read client authentication methods include the following processing:
步骤101,稍后阅读客户端向稍后阅读服务器发送时间戳请求信息,从稍后阅读服务器获取时间戳(或称为时间戳值),根据与稍后阅读客户端相应的账户数据、生成数据安全签名需要使用的加密信息、以及时间戳生成数据安全签名。Step 101, the later reading client sends a timestamp request message to the later reading server, obtains the timestamp (or timestamp value) from the later reading server, and generates data according to the account data corresponding to the later reading client Security signatures need to use encrypted information and timestamps to generate data security signatures.
具体地,在执行步骤101之前,稍后阅读客户端可以登录账户中心服务器,从账户中心服务器获取账户数据以及加密信息;随后,在步骤101中,稍后阅读客户端向稍后阅读服务器发送时间戳请求信息,从稍后阅读服务器获取时间戳,其中,账户中心服务器可以为云端服务器。上述账户数据主要包括:稍后阅读客户端的用户名、稍后阅读客户端的用户ID、稍后阅读客户端的用户来源、以及稍后阅读客户端的用户注册邮箱;上述加密信息主要包括:账户中心服务器下发的消息摘要算法第五版(Message Digest Algorithm MD5,简称为MD5)加密串、以及加密算法的版本信息。Specifically, before performing step 101, the later reading client can log in to the account center server, and obtain account data and encrypted information from the account center server; then, in step 101, the later reading client sends the time Stamp request information, and obtain the time stamp from the later reading server, where the account center server can be a cloud server. The above account data mainly includes: the user name of the later reading client, the user ID of the later reading client, the user source of the later reading client, and the registered email address of the user of the later reading client; the above encrypted information mainly includes: The message digest algorithm version 5 (Message Digest Algorithm MD5, MD5 for short) encrypted string and the version information of the encryption algorithm.
在步骤101中,根据认证信息生成数据安全签名具体包括:根据账户数据、加密信息、以及时间戳以预定格式生成数据安全签名,其中,预定格式为:数据安全签名=加密算法(时间戳+账户数据+加密信息+删除最后一个数字的时间戳),“加密算法()”表示以加密信息中指定的加密算法对括号内的数据进行加密,其中,指定的加密算法可以为:MD5、RSA、DES等加密算法。In step 101, generating a data security signature according to the authentication information specifically includes: generating a data security signature in a predetermined format according to account data, encrypted information, and a time stamp, wherein the predetermined format is: data security signature = encryption algorithm (time stamp + account data + encrypted information + time stamp with the last digit deleted), "encryption algorithm ()" means to encrypt the data in the brackets with the encryption algorithm specified in the encrypted information, where the specified encryption algorithm can be: MD5, RSA, Encryption algorithms such as DES.
步骤102,稍后阅读客户端将数据安全签名和预定信息发送到稍后阅读服务器,使稍后阅读服务器根据数据安全签名和预定信息对稍后阅读客户端进行认证;其中,上述预定信息包括:账户数据、以及加密信息。Step 102, the later reading client sends the data security signature and reservation information to the later reading server, so that the later reading server authenticates the later reading client according to the data security signature and reservation information; wherein, the above reservation information includes: Account Data, and Encrypted Information.
在稍后阅读服务器对稍后阅读客户端进行认证时,根据稍后阅读客户端发送的账户数据和加密信息、以及稍后阅读服务器发送给稍后阅读客户端的相应时间戳,重新计算数据安全签名,并与稍后阅读客户端发送数据安全签名进行比较,如果两个数据安全签名相同,则通过认证,否则,不通过认证。When the later reading server authenticates the later reading client, the data security signature is recalculated according to the account data and encrypted information sent by the later reading client and the corresponding time stamp sent by the later reading server to the later reading client , and compare it with the data security signature sent by the reading client later, if the two data security signatures are the same, the authentication is passed, otherwise, the authentication is not passed.
步骤101,稍后阅读客户端接收稍后阅读服务器发送的认证数据,并使用认证数据与稍后阅读服务器进行交互。Step 101, the later reading client receives the authentication data sent by the later reading server, and uses the authentication data to interact with the later reading server.
在稍后阅读客户端使用认证数据与稍后阅读服务器进行交互的过程中,如果稍后阅读服务器未通过对认证数据的认证,则稍后阅读客户端需要重新向稍后阅读服务器进行认证。稍后阅读服务器未通过对认证数据的认证的情况包括:预先设置的定时器已到时,需要更换新的数据安全签名和认证数据。During the process of the reading-later client interacting with the reading-later server using the authentication data, if the reading-later server fails to authenticate the authentication data, the reading-later client needs to re-authenticate to the reading-later server. The situation that the later reading server fails to pass the authentication of the authentication data includes: the preset timer has expired, and a new data security signature and authentication data need to be replaced.
需要说明的是,上述稍后阅读服务器可以为云端服务器。It should be noted that the aforementioned later reading server may be a cloud server.
从上述处理可以看出,在本发明实施例的上述技术方案中,浏览器客户端的稍后阅读功能首先需要登录Account Center,获得Cloud服务下发的和用户信息绑定的数据和时间戳值,并组织数据形成安全签名,再使用安全签名和时间戳值请求Cloud Service下发认证。此后,应用程序使用HTTP POST请求附加认证就可以获得安全的稍后阅读数据,浏览器客户端组织获得的稍后阅读数据并将其展现在客户端的稍后阅读列表中。As can be seen from the above processing, in the above technical solution of the embodiment of the present invention, the later reading function of the browser client first needs to log in to the Account Center to obtain the data and timestamp value bound to the user information issued by the Cloud service, And organize the data to form a security signature, and then use the security signature and timestamp value to request Cloud Service to issue certification. Afterwards, the application can obtain secure later reading data by using HTTP POST to request additional authentication, and the browser client organizes the acquired later reading data and presents it in the client's later reading list.
图2是本发明实施例的稍后阅读客户端与云端交互的信令流程图,如图2所示,包括如下处理:Fig. 2 is a signaling flow chart of interaction between the later reading client and the cloud according to an embodiment of the present invention, as shown in Fig. 2 , including the following processing:
步骤1,稍后阅读客户端登录账户中心(Cloud Service)获得和账户信息绑定的TQ字符串(即上述账户数据以及加密信息);Step 1, read the client to log in to the account center (Cloud Service) later to obtain the TQ string bound to the account information (that is, the above account data and encrypted information);
步骤2,稍后阅读客户端向稍后阅读Cloud Sercie请求时间戳(STAMP);Step 2, the later reading client requests the timestamp (STAMP) from the later reading Cloud Sercie;
步骤3,稍后阅读客户端组织TQ字符串和时间戳(STAMP)按照规则生成数据安全签名;Step 3, read the client organization TQ string and timestamp (STAMP) later to generate a data security signature according to the rules;
步骤4,稍后阅读客户端向稍后阅读Cloud Sercie发送数据安全签名和TQ数据,获得认证数据;Step 4, Read Later client sends data security signature and TQ data to Read Later Cloud Sercie to obtain authentication data;
步骤5,稍后阅读客户端使用认证数据与稍后阅读Cloud Service进行交互。Step 5, the reading later client uses the authentication data to interact with the reading later Cloud Service.
图3是本发明实施例的生成数据安全签名的信令流程图,如图3所示,包括如下处理:Fig. 3 is a signaling flowchart of generating a data security signature according to an embodiment of the present invention, as shown in Fig. 3 , including the following processing:
步骤1,稍后阅读客户端登录Account Center获得用户信息绑定数据(上述TQ字符串);Step 1, later read the client to log in to Account Center to obtain the user information binding data (the above TQ string);
步骤2,稍后阅读客户端发送HTTP POST请求Cloud Service下发时间戳值;Step 2, after reading the client sends an HTTP POST request to Cloud Service to deliver the timestamp value;
步骤3,稍后阅读客户端组织TQ字符串和时间戳形成数据安全签名,其中,数据安全签名(sign)形成规则:sign=MD5(stamp+tq+[stamp删除最后一个数字]);Step 3, later read the client organization TQ string and timestamp to form a data security signature, where the data security signature (sign) formation rule: sign=MD5(stamp+tq+[stamp deletes the last number]);
步骤4,客户端使用数据安全签名和TQ字符串请求认证。Step 4, the client uses the data security signature and the TQ string to request authentication.
从上述处理可以看出,各平台浏览器客户端依照相同的流程,组织符合规则的数据安全签名,获取Cloud Service的正确认证,按照同样的数据结构进行解析,从而达到各设备客户端稍后阅读数据互通的目的。From the above processing, it can be seen that the browser clients of each platform follow the same process to organize the data security signatures that comply with the rules, obtain the correct authentication of Cloud Service, and analyze according to the same data structure, so as to achieve the requirements of each device client to read later. The purpose of data exchange.
实例2Example 2
在稍后阅读客户端通过认证后,就可以与稍后阅读服务器进行交互。根据本发明的实施例,提供了一种稍后阅读客户端实现方法,图4是本发明实施例的稍后阅读客户端实现方法的流程图,如图4所示,根据本发明实施例的稍后阅读客户端实现方法包括如下处理:After the later reading client passes the authentication, it can interact with the later reading server. According to an embodiment of the present invention, a method for implementing a later reading client is provided. FIG. 4 is a flowchart of a method for implementing a later reading client in an embodiment of the present invention. As shown in FIG. 4 , the The later reading client implementation method includes the following processing:
步骤401,稍后阅读客户端获取需要保存的稍后阅读数据,并将所述稍后阅读数据保存在稍后阅读服务器中;Step 401, the later reading client acquires the later reading data that needs to be saved, and saves the later reading data in the later reading server;
在用户需要修改稍后阅读数据时,所述稍后阅读客户端根据用户指令获取需要修改的稍后阅读数据,并将需要修改的稍后阅读数据携带在稍后阅读保存消息中发送到稍后阅读服务器。其中,用户指令具体包括:增加一项稍后阅读数据、删除一项稍后阅读数据、和/或更改一项稍后阅读数据中的参数。When the user needs to modify the later reading data, the later reading client acquires the later reading data that needs to be modified according to the user instruction, and carries the later reading data that needs to be modified in the later reading saving message and sends it to the later Read the server. Wherein, the user instruction specifically includes: adding an item of later reading data, deleting an item of later reading data, and/or changing parameters in an item of later reading data.
具体地,稍后阅读客户端根据用户在稍后阅读列表中的操作,获取需要修改的稍后阅读数据,其中,稍后阅读列表包括:未读稍后阅读数据组、以及全部稍后阅读数据组,稍后阅读列表中的参数具体包括:稍后阅读数据的页面标题、以及稍后阅读数据的页面网址,还可以包括以下参数至少之一:稍后阅读数据的页面状态、稍后阅读数据的来源类别、或稍后阅读数据添加到稍后阅读服务器的添加时间。Specifically, the later reading client acquires the later reading data that needs to be modified according to the user's operation in the later reading list, wherein the later reading list includes: unread later reading data groups, and all later reading data Group, the parameters in the later read list specifically include: the page title of the later read data, and the page URL of the later read data, and can also include at least one of the following parameters: the page status of the later read data, the later read data The source category of the later reading data, or the adding time when the later reading data is added to the later reading server.
在步骤401中,稍后阅读客户端发送的稍后阅读数据具体包括:页面标题、以及页面网址,还可以包括:页面状态、或来源类别等。优选地,稍后阅读客户端发送的稍后阅读数据还可以包括页面内容。在实际应用中,页面内容一般由稍后阅读服务器获取。In step 401, the later reading data sent by the later reading client specifically includes: page title, and page URL, and may also include: page status, or source category, and the like. Preferably, the later reading data sent by the later reading client may also include page content. In practical applications, the content of the page is generally obtained by the later reading server.
优选地,在实际应用中,稍后阅读客户端将稍后阅读数据保存在稍后阅读服务器中时,以及稍后阅读客户端将携带有稍后阅读数据的稍后阅读保存消息中发送到稍后阅读服务器时,稍后阅读客户端可以将稍后阅读数据项进行加密,将加密后的稍后阅读数据项携带在稍后阅读保存消息中发送到稍后阅读服务器。Preferably, in practical applications, when the later reading client saves the later reading data in the later reading server, and the later reading client sends the later reading saving message carrying the later reading data to the later reading server. When the later reading server, the later reading client can encrypt the later reading data items, carry the encrypted later reading data items in the later reading saving message and send them to the later reading server.
步骤402,稍后阅读客户端在需要获取稍后阅读数据时,向稍后阅读服务器发送稍后阅读数据请求消息,从稍后阅读服务器获取相应的稍后阅读数据。其中,稍后阅读数据请求消息包括:稍后阅读列表请求消息、以及单项稍后阅读数据请求消息;Step 402, when the later reading client needs to obtain the later reading data, it sends a later reading data request message to the later reading server, and obtains the corresponding later reading data from the later reading server. Wherein, the later read data request message includes: a later read list request message, and a single item later read data request message;
在步骤402中,稍后阅读客户端从稍后阅读服务器获取稍后阅读数据具体包括:1、稍后阅读客户端发送稍后阅读列表请求消息,并根据稍后阅读列表中的参数从稍后阅读服务器获取相应的稍后阅读数据;2、在用户需要读取稍后阅读列表中的某项稍后阅读数据的页面内容时,稍后阅读客户端发送单项稍后阅读数据请求消息,并从稍后阅读服务器获取相应稍后阅读数据的页面内容。In step 402, the later reading client acquires later reading data from the later reading server specifically includes: 1. The later reading client sends a later reading list request message, and reads later from the later reading list according to the parameters in the later reading list. The reading server obtains the corresponding later reading data; 2. When the user needs to read the page content of a later reading data item in the later reading list, the later reading client sends a single item later reading data request message, and from The later reading server obtains the page content corresponding to the later reading data.
也就是说,在实际应用中,稍后阅读客户端一般会首先从稍后阅读服务器获取稍后阅读列表,在用户需要读取稍后阅读列表中的项目时,再从稍后阅读服务器获取相应的内容。That is to say, in practical applications, the later reading client generally first obtains the later reading list from the later reading server, and when the user needs to read the items in the later reading list, then obtains the corresponding information from the later reading server. Content.
需要说明的是,在本发明实施例中,稍后阅读客户端可以设置于:计算机、或者移动终端。此外,上述稍后阅读服务器可以为云端服务器。It should be noted that, in the embodiment of the present invention, the later reading client can be installed on a computer or a mobile terminal. In addition, the above-mentioned later reading server may be a cloud server.
在实际应用中,稍后阅读数据的格式为:{"title":"XXX","url":"XXX","txturl":"XXX","status":"1","type":"1","addtime":"XXX"},其中,title表示页面标题,url表示页面网址,txturl表示页面描述网址,status表示页面状态(已读或未读),type表示来源类别(移动设备或PC设备),addtime表示添加时间。In practical applications, the format of reading data later is: {"title":"XXX","url":"XXX","txturl":"XXX","status":"1","type": "1","addtime":"XXX"}, where title represents the page title, url represents the page URL, txturl represents the page description URL, status represents the page status (read or unread), type represents the source category (mobile device or PC device), addtime means adding time.
图5是本发明实施例的稍后阅读客户端处理的流程图,如图5所示,包括如下处理:Fig. 5 is a flow chart of the later reading client processing of the embodiment of the present invention, as shown in Fig. 5, including the following processing:
步骤1,用户登录360Account Center,并使用稍后阅读客户端,用户在浏览网站时,选择了偏好的网址;Step 1. The user logs in to 360Account Center and uses the Read Later client. When browsing the website, the user selects a preferred URL;
步骤2,稍后阅读客户端将用户选择的偏好网址加入到稍后阅读列表中;Step 2, the reading later client adds the preferred URL selected by the user to the reading later list;
步骤3,稍后阅读客户端判断该网址是否已经在稍后阅读列表中,如果不存在,执行步骤4,否则,结束操作;Step 3, read later client judges whether the URL is already in the read later list, if not, go to step 4, otherwise, end the operation;
步骤4,稍后阅读客户端将稍后阅读数据加密;Step 4, the later reading client encrypts the later reading data;
步骤5,稍后阅读客户端通过HTTP POST请求将加密后的稍后阅读数据发送到Cloud端,交给Cloud Service处理。其中,稍后阅读客户端需要传递多种类型的数据给Cloud端,包括增加稍后阅读项,删除稍后阅读项,更改稍后阅读项阅读状态如:已读,未读等;Step 5: The later-reading client sends the encrypted later-reading data to the Cloud through an HTTP POST request, and hands it over to the Cloud Service for processing. Among them, the later reading client needs to transfer various types of data to the Cloud side, including adding later reading items, deleting later reading items, and changing the reading status of later reading items such as: read, unread, etc.;
步骤6,Cloud端解析稍后阅读客户端发送的加密数据,并将稍后阅读数据添加到稍后阅读列表;Step 6, the Cloud side parses the encrypted data sent by the later reading client, and adds the later reading data to the later reading list;
步骤7,稍后阅读客户端通过发送HTTP POST请求向Cloud端请求稍后阅读数据,其中,稍后阅读数据包括稍后阅读数据列表和单个稍后阅读数据项,稍后阅读数据列表中仅包括稍后阅读数据中的基本信息,不包括详细的阅读数据,例如,页面详细内容等。单个稍后阅读数据项包括了稍后阅读数据项的详细数据,例如,页面正文和页面图片等。Step 7: The later reading client sends an HTTP POST request to the Cloud to request later reading data, wherein the later reading data includes a later reading data list and a single later reading data item, and the later reading data list includes only The basic information in the later reading data does not include the detailed reading data, for example, the detailed content of the page, etc. A single data item to be read later includes detailed data of the data item to be read later, for example, a page text and a page picture.
图6是本发明实施例的稍后阅读Cloud Service架构的示意图,如图6所示,浏览器客户端的稍后阅读功能本身也是遵从MVC模式的,但在更改稍后阅读数据后,会通过HTTP POST请求发送更改后稍后阅读数据给CloudService。Cloud Service根据请求的不同对用户数据进行不同的操作,从而很好的管理了稍后阅读数据。并且不同的客户端共享一个Cloud Service,从而使用户在不同的客户端能够使用相同的稍后阅读数据。Fig. 6 is a schematic diagram of the later reading Cloud Service architecture of the embodiment of the present invention. As shown in Fig. 6, the later reading function of the browser client itself also complies with the MVC pattern, but after changing the later reading data, it will pass HTTP POST request to read data to CloudService later after sending changes. Cloud Service performs different operations on user data according to different requests, thus well managing the later reading data. And different clients share a Cloud Service, so that users can use the same later reading data on different clients.
实例3Example 3
根据本发明的实施例,提供了一种稍后阅读服务器实现方法,图7是本发明实施例的稍后阅读服务器实现方法的流程图,如图7所示,根据本发明实施例的稍后阅读服务器实现方法包括如下处理:According to an embodiment of the present invention, a method for implementing a later reading server is provided. FIG. 7 is a flowchart of a method for implementing a later reading server in an embodiment of the present invention. As shown in FIG. The reading server implementation method includes the following processing:
步骤701,接收稍后阅读客户端发送的用户指令,从用户指令中获取稍后阅读数据,并对稍后阅读数据进行管理;Step 701, receiving a user instruction sent by the later reading client, obtaining later reading data from the user instruction, and managing the later reading data;
优选地,在步骤701中,稍后阅读服务器首先需要对用户指令中获取的加密稍后阅读数据进行解密,在解密后获取解密后的稍后阅读数据。其中,用户指令包括:增加一项稍后阅读数据、删除一项稍后阅读数据、以及更改一项稍后阅读数据中的参数;Preferably, in step 701, the later reading server first needs to decrypt the encrypted later reading data obtained in the user instruction, and obtain the decrypted later reading data after decryption. Among them, the user instructions include: adding an item of later reading data, deleting an item of later reading data, and changing parameters in an item of later reading data;
稍后阅读服务器对稍后阅读数据进行管理包括两种情况:The later reading server manages the later reading data in two situations:
情况一、稍后阅读客户端发送的稍后阅读数据中仅包括:页面标题、以及页面网址,稍后阅读数据中还可以包括:页面状态、以及来源类别,不包括页面内容。Case 1: The later reading data sent by the later reading client only includes: the page title and the page URL, and the later reading data may also include: the page status and source category, excluding the page content.
情况二,稍后阅读客户端发送的稍后阅读数据除了包括页面标题、页面网址、页面状态、或者来源类别以外,还包括页面内容。In the second case, the later reading data sent by the later reading client includes not only the page title, page URL, page status, or source category, but also page content.
在情况一中,包括如下处理:In case one, including the following processing:
步骤1,稍后阅读服务器判断用户指令是否为增加一项稍后阅读数据,在判断为是的情况下,执行步骤2,否则,直接执行步骤4;Step 1, the later reading server judges whether the user instruction is to add an item of later reading data, if the judgment is yes, execute step 2, otherwise, directly execute step 4;
步骤2,稍后阅读服务器根据稍后阅读数据的页面网址获取与稍后阅读数据相应的页面内容并保存在稍后阅读数据中,执行步骤3;Step 2: The later-reading server obtains the page content corresponding to the later-reading data according to the page URL of the later-reading data and saves it in the later-reading data, and executes step 3;
步骤3,稍后阅读服务器获取与稍后阅读数据相应的添加时间并保存在稍后阅读数据中,执行步骤4;Step 3, the later reading server obtains the added time corresponding to the later reading data and saves it in the later reading data, and executes step 4;
步骤4,稍后阅读服务器将稍后阅读数据与稍后阅读客户端进行绑定;Step 4, the later reading server binds the later reading data with the later reading client;
步骤5,稍后阅读服务器根据用户指令对稍后阅读数据进行管理。Step 5, the later reading server manages the later reading data according to the user instruction.
在情况二中,包括如下处理:In case 2, including the following processing:
步骤1,稍后阅读服务器判断用户指令是否为增加一项稍后阅读数据,在判断为是的情况下,执行步骤2,否则,直接执行步骤3;Step 1, the later reading server judges whether the user instruction is to add an item of later reading data, if the judgment is yes, execute step 2, otherwise, directly execute step 3;
步骤2,稍后阅读服务器获取稍后阅读数据添加到稍后阅读服务器的添加时间并保存在稍后阅读数据中,执行步骤3;Step 2, the later reading server obtains the added time of the later reading data added to the later reading server and saves it in the later reading data, and executes step 3;
步骤3,稍后阅读服务器将稍后阅读数据与稍后阅读客户端进行绑定,执行步骤4;Step 3, the later reading server binds the later reading data with the later reading client, and executes step 4;
步骤4,稍后阅读服务器根据用户指令对稍后阅读数据进行管理。Step 4, the later reading server manages the later reading data according to user instructions.
步骤702,接收稍后阅读客户端发送的稍后阅读数据请求消息,并根据稍后阅读数据请求消息向稍后阅读客户端发送相应的稍后阅读数据。其中,稍后阅读数据请求消息包括:稍后阅读列表请求消息、和/或单项稍后阅读数据请求消息;Step 702: Receive a later reading data request message sent by the later reading client, and send corresponding later reading data to the later reading client according to the later reading data request message. Wherein, the later reading data request message includes: a later reading list request message, and/or a single item later reading data request message;
步骤702具体包括如下处理:在稍后阅读数据请求消息为稍后阅读列表请求消息的情况下,稍后阅读服务器根据稍后阅读列表中的参数向稍后阅读客户端发送相应的稍后阅读数据,其中,稍后阅读列表中的参数包括:稍后阅读数据的页面标题、以及稍后阅读数据的页面网址;稍后阅读列表中的参数还可以包括以下至少之一:稍后阅读数据的页面状态、稍后阅读数据的来源类别、或者稍后阅读数据的添加时间;在稍后阅读数据请求消息为单项稍后阅读数据请求消息的情况下,稍后阅读服务器向稍后阅读客户端发送相应稍后阅读数据的页面内容。Step 702 specifically includes the following processing: in the case that the later reading data request message is a later reading list request message, the later reading server sends the corresponding later reading data to the later reading client according to the parameters in the later reading list , wherein, the parameters in the later reading list include: the page title of the later reading data, and the page URL of the later reading data; the parameters in the later reading list can also include at least one of the following: the page of the later reading data state, the source category of the later reading data, or the adding time of the later reading data; when the later reading data request message is a single later reading data request message, the later reading server sends the corresponding later reading client Read the page content of the data later.
优选地,如果从用户指令中获取的稍后阅读数据所对应的页面网址已存在,则更新该网址对应的其他稍后阅读数据。Preferably, if the web address of the page corresponding to the later reading data obtained from the user instruction already exists, then other later reading data corresponding to the web address is updated.
需要说明的是,上述稍后阅读服务器可以为云端服务器。It should be noted that the aforementioned later reading server may be a cloud server.
从上述处理可以看出,首先稍后阅读服务器根据稍后阅读客户端传递的用户数据信息下发安全认证,稍后阅读客户端会通过HTTP POST请求Cloud端下发数据。根据请求类型的不同可以下发稍后阅读列表和稍后阅读单独数据项。其中,稍后阅读服务器可以通过两种来源收集数据:1、客户端主动发送稍后阅读项的基本数据,例如,标题、地址、页面内容等信息,服务器可以根据数据和操作对相应数据进行增删改等操作。2、服务器根据从客户端收集的稍后阅读项数据,去该地址收集网址内容,解析HTML,获得页面正文等信息。It can be seen from the above processing that firstly, the later reading server issues security authentication based on the user data information passed by the later reading client, and the later reading client will request the cloud end to send data through HTTP POST. Depending on the type of request, the read later list and read later individual data items can be delivered. Among them, the later reading server can collect data through two sources: 1. The client actively sends the basic data of the later reading item, such as title, address, page content and other information, and the server can increase the corresponding data according to the data and operations. operations such as deletion and modification. 2. According to the later reading item data collected from the client, the server goes to the address to collect the URL content, parses the HTML, and obtains information such as the page text.
实例4Example 4
现有技术中的稍后阅读客户端,因为不存在Cloud Service,所以数据仅存在本地,从而没有稍后阅读数据刷新功能。在本发明实施例中,稍后阅读数据存储在Cloud端,所以数据可以由Cloud Service把用户数据下发,实现稍后阅读数据的刷新。For the later reading client in the prior art, because there is no Cloud Service, the data only exists locally, so there is no later reading data refreshing function. In the embodiment of the present invention, the later reading data is stored on the Cloud side, so the data can be sent to the user data by the Cloud Service to realize the refreshing of the later reading data.
根据本发明的实施例,提供了一种稍后阅读客户端刷新方法,图8是本发明实施例的稍后阅读客户端刷新方法的流程图,如图8所示,根据本发明实施例的稍后阅读客户端刷新方法包括如下处理:According to an embodiment of the present invention, a method for refreshing a later reading client is provided. FIG. 8 is a flow chart of the method for refreshing a later reading client in an embodiment of the present invention. As shown in FIG. 8 , according to an embodiment of the present invention Read later that the client refresh method includes the following processing:
步骤801,获取触发指令,向稍后阅读服务器发送稍后阅读数据刷新请求;Step 801, acquire a trigger instruction, and send a later reading data refresh request to the later reading server;
在步骤801中,触发指令为:将稍后阅读客户端从后台睡眠状态转换为前台激活状态的激活指令;或者,通过预先设置的刷新操作触发的刷新指令。In step 801, the triggering instruction is: an activating instruction for converting the later reading client from a background sleep state to a foreground active state; or a refresh instruction triggered by a preset refresh operation.
具体地,iOS设备上的应用程序存在激活与非激活状态,激活状态指应用程序在可视区域,非激活状态指用户可以使用home按键将激活的应用程序切入到后台运行。当用户点击一个处于非激活状态的应用程序图标时,iOS系统会将该应用程序重新设置为激活状态。稍后阅读客户端选择应用程序切入前台变成激活状态的时机向Cloud端请求刷新稍后阅读数据,这个时机可以认为是iOS设备独有的。此外,本发明实施例在客户端设备上增加提供刷新数据的按键,实现向Cloud端请求刷新稍后阅读数据的功能。Specifically, the application program on the iOS device has an active state and an inactive state. The active state means that the application program is in the visible area, and the inactive state means that the user can use the home button to switch the activated application program to run in the background. When the user taps an application icon that is in an inactive state, the iOS system resets the application to an active state. The reading later client selects the timing when the application switches to the foreground and becomes active and requests the cloud to refresh the reading data later. This timing can be considered unique to iOS devices. In addition, in the embodiment of the present invention, a button for refreshing data is added on the client device, so as to realize the function of requesting the Cloud side to refresh the data to be read later.
步骤802,接收稍后阅读服务器发送的最新版本的稍后阅读数据。其中,上述稍后阅读数据具体包括:页面标题、以及页面网址;稍后阅读数据还包括以下至少之一:页面状态、来源类别、页面内容、以及添加时间。Step 802, receiving the latest version of later reading data sent by the later reading server. Wherein, the above-mentioned later reading data specifically includes: page title, and page URL; later reading data also includes at least one of the following: page status, source category, page content, and adding time.
优选地,在本发明实施例中,稍后阅读数据刷新请求为稍后阅读列表请求消息。步骤802具体包括:稍后阅读客户端接收稍后阅读服务器发送的最新版本的稍后阅读列表,其中,稍后阅读列表中的参数具体包括:各项稍后阅读数据的页面标题、以及各项稍后阅读数据的页面网址;后阅读列表中的参数还可以包括以下至少之一:各项稍后阅读数据的页面状态、各项稍后阅读数据的来源类别、以及各项稍后阅读数据添加到稍后阅读服务器的添加时间。Preferably, in the embodiment of the present invention, the later read data refresh request is a later read list request message. Step 802 specifically includes: the later reading client receives the latest version of the later reading list sent by the later reading server, wherein the parameters in the later reading list specifically include: the page title of each item of later reading data, and each item The page URL of the later reading data; the parameters in the later reading list can also include at least one of the following: the page status of each later reading data, the source category of each later reading data, and the addition of each later reading data Added time to read server later.
也就是说,如果稍后阅读服务器接收的是稍后阅读列表请求消息,则可以仅发送稍后阅读列表给稍后阅读客户端,改稍后阅读列表中不包括页面内容。未发送的页面内容可以根据稍后阅读客户端的请求进行发送。That is to say, if the read later server receives a read later list request message, it can only send the read later list to the read later client, and the read later list does not include page content. Unsent page content can be sent at the request of the Read Later client.
稍后阅读客户端接收稍后阅读服务器发送的最新版本的稍后阅读列表之后,稍后阅读客户端显示稍后阅读列表,其中,稍后阅读列表上标识有更新该稍后阅读列表的时间信息。After the reading later client receives the latest version of the later reading list sent by the later reading server, the later reading client displays the later reading list, where the time information for updating the later reading list is identified on the later reading list .
优选地,稍后阅读服务器检测稍后阅读客户端的稍后阅读数据是否需要更新,如果需要,则向稍后阅读客户端发送推送消息,提示稍后阅读客户端触发稍后阅读数据刷新请求。Preferably, the later reading server detects whether the later reading data of the later reading client needs to be updated, and if so, sends a push message to the later reading client, prompting the later reading client to trigger a later reading data refresh request.
在本发明实施例中,向稍后阅读服务器发送稍后阅读数据刷新请求之前,还可以事先登陆用户帐号。在实际应用中,在两个稍后阅读客户端使用同一个用户帐号登录的情况下,在第一稍后阅读客户端向稍后阅读服务器增加新的稍后阅读数据后,第二稍后阅读客户端向稍后阅读服务器发送稍后阅读数据刷新请求,从稍后阅读服务器获取第一稍后阅读客户端新增加的稍后阅读数据。从而实现了第一客户端和第二客户端都能够获取最新的稍后阅读数据,从而实现同步阅读。In the embodiment of the present invention, before sending the later reading data refresh request to the later reading server, the user account may also be logged in in advance. In practical applications, when two later reading clients use the same user account to log in, after the first later reading client adds new later reading data to the later reading server, the second later reading The client sends a later reading data refresh request to the later reading server, and acquires later reading data newly added by the first later reading client from the later reading server. Therefore, it is realized that both the first client and the second client can obtain the latest later reading data, thereby realizing synchronous reading.
图9是本发明实施例的稍后阅读客户端界面的示意图,如图9所示,在本发明实施例中,使用右上侧“+”号按键进行添加稍后阅读数据项的操作,同样将稍后阅读数据分为全部数据组和未读数据组。优选地,本发明实施例的技术方案在视图左上侧设置有一个刷新按键,该刷新按键的功能就是从CloudService获取最新的稍后阅读数据集合。Fig. 9 is a schematic diagram of the later reading client interface of the embodiment of the present invention. As shown in Fig. 9, in the embodiment of the present invention, use the "+" button on the upper right side to perform the operation of adding data items to be read later. The data to be read later is divided into an all data group and an unread data group. Preferably, in the technical solution of the embodiment of the present invention, a refresh button is provided on the upper left side of the view, and the function of the refresh button is to obtain the latest later-read data set from CloudService.
综上所述,借助于本发明实施例的上述技术方案,通过对用户进行认证后,将用户的稍后阅读数据发送到服务器端,在用户通过其他终端使用稍后阅读功能时,从服务器端获取最新的稍后阅读数据,解决了现有技术中无法实现稍后阅读数据各终端平台互通、以及无法对用户的稍后阅读数据进行保护的问题,能够实现浏览器客户端稍后阅读数据的跨平台互通,保证了用户稍后阅读数据的安全性,使稍后阅读客户端的稍后阅读数据集合能够及时更新,更好地将稍后阅读数据展现给用户。To sum up, with the help of the above technical solution of the embodiment of the present invention, after the user is authenticated, the user's later reading data is sent to the server, and when the user uses the later reading function through other terminals, the Obtaining the latest later reading data solves the problems in the existing technology that the interoperability of various terminal platforms of the later reading data and the protection of the user's later reading data cannot be realized, and it can realize the later reading data of the browser client The cross-platform intercommunication ensures the security of the user's later reading data, enables the later reading data set of the later reading client to be updated in time, and better presents the later reading data to users.
实例5Example 5
根据本发明的实施例,提供了一种稍后阅读客户端认证装置,图10是本发明实施例的稍后阅读客户端认证装置的结构示意图,如图10所示,根据本发明实施例的稍后阅读客户端认证装置包括:获取模块100、生成模块102、认证模块104、以及交互模块106,以下对本发明实施例的各个模块进行详细的说明。According to an embodiment of the present invention, a later reading client authentication device is provided, and FIG. 10 is a schematic structural diagram of a later reading client authentication device according to an embodiment of the present invention. As shown in FIG. 10 , according to an embodiment of the present invention Read later that the client authentication device includes: an acquisition module 100 , a generation module 102 , an authentication module 104 , and an interaction module 106 , and each module in the embodiment of the present invention will be described in detail below.
获取模块100,适于向稍后阅读服务器发送时间戳请求信息,从稍后阅读服务器获取时间戳(或称为时间戳值);The acquisition module 100 is adapted to send timestamp request information to the later reading server, and obtain the timestamp (or called timestamp value) from the later reading server;
获取模块100具体适于:登录账户中心服务器,从账户中心服务器获取账户数据以及加密信息;向稍后阅读服务器发送时间戳请求信息,从稍后阅读服务器获取时间戳,其中,账户中心服务器为云端服务器;上述账户数据主要包括:稍后阅读客户端的用户名、稍后阅读客户端的用户ID、稍后阅读客户端的用户来源、以及稍后阅读客户端的用户注册邮箱;上述加密信息主要包括:账户中心服务器下发的消息摘要算法第五版(Message Digest Algorithm MD5,简称为MD5)加密串、以及加密算法的版本信息。The acquisition module 100 is specifically adapted to: log in to the account center server, obtain account data and encrypted information from the account center server; send time stamp request information to the later reading server, and obtain the time stamp from the later reading server, wherein the account center server is a cloud Server; the above-mentioned account data mainly includes: the user name of the later reading client, the user ID of the later reading client, the user source of the later reading client, and the user registration mailbox of the later reading client; the above encrypted information mainly includes: account center The message digest algorithm version 5 (Message Digest Algorithm MD5, MD5 for short) encrypted string issued by the server, and the version information of the encryption algorithm.
生成模块102,适于根据与稍后阅读客户端相应的账户数据、生成数据安全签名需要使用的加密信息、以及时间戳生成数据安全签名;The generation module 102 is adapted to generate a data security signature according to the account data corresponding to the later reading client, the encryption information needed to generate the data security signature, and the time stamp;
生成模块102具体适于:根据账户数据、加密信息、以及时间戳以预定格式生成数据安全签名,其中,预定格式为:数据安全签名=加密算法(时间戳+账户数据+加密信息+删除最后一个数字的时间戳),“加密算法()”表示以加密信息中指定的加密算法对括号内的数据进行加密。The generation module 102 is specifically adapted to: generate a data security signature in a predetermined format according to the account data, encrypted information, and time stamp, wherein the predetermined format is: data security signature=encryption algorithm (time stamp+account data+encrypted information+delete last digital timestamp), "encryption algorithm ()" means to encrypt the data in brackets with the encryption algorithm specified in the encryption information.
认证模块104,适于适于将数据安全签名和预定信息发送到稍后阅读服务器,使稍后阅读服务器根据数据安全签名和预定信息对稍后阅读客户端进行认证,并接收稍后阅读服务器发送的认证数据;其中,预定信息包括:账户数据、以及加密信息。The authentication module 104 is adapted to send the data security signature and predetermined information to the later reading server, so that the later reading server authenticates the later reading client according to the data security signature and the predetermined information, and receives the later reading server sent authentication data; wherein, the predetermined information includes: account data, and encrypted information.
交互模块106,适于使用认证数据与稍后阅读服务器进行交互。The interaction module 106 is adapted to use the authentication data to interact with the later reading server.
优选地,本发明实施例还包括:调用模块,适于在交互模块106使用认证数据与稍后阅读服务器进行交互时,如果稍后阅读服务器未通过对认证数据的认证,则依次调用获取模块100、生成模块102、以及认证模块104,重新向稍后阅读服务器进行认证。稍后阅读服务器未通过对认证数据的认证的情况包括:预先设置的定时器已到时,需要更换新的数据安全签名和认证数据。Preferably, the embodiment of the present invention further includes: a calling module, adapted to call the acquisition module 100 sequentially if the later reading server fails to pass the authentication of the authentication data when the interaction module 106 uses the authentication data to interact with the later reading server , the generation module 102, and the authentication module 104, re-authenticate to the later reading server. The situation that the later reading server fails to pass the authentication of the authentication data includes: the preset timer has expired, and a new data security signature and authentication data need to be replaced.
需要说明的是,上述稍后阅读服务器可以为云端服务器。It should be noted that the aforementioned later reading server may be a cloud server.
从上述处理可以看出,在本发明实施例的上述技术方案中,浏览器客户端的稍后阅读功能首先必须登录Account Center,获得Cloud服务下发的和用户信息绑定的数据和时间戳值,并组织数据形成安全签名,再使用安全签名和时间戳值请求Cloud Service下发认证。此后,应用程序使用HTTP POST请求附加认证就可以获得安全的稍后阅读数据,浏览器客户端组织获得的稍后阅读数据并将其展现在客户端的稍后阅读列表中。As can be seen from the above processing, in the above technical solution of the embodiment of the present invention, the later reading function of the browser client must first log in to the Account Center to obtain the data and timestamp value bound to the user information issued by the Cloud service, And organize the data to form a security signature, and then use the security signature and timestamp value to request Cloud Service to issue certification. Afterwards, the application can obtain secure later reading data by using HTTP POST to request additional authentication, and the browser client organizes the acquired later reading data and presents it in the client's later reading list.
根据本发明实施例的稍后阅读客户端认证装置可以根据方法实施例中的实例1中的描述进行理解,在此不再赘述。The device for authenticating the client for later reading according to the embodiment of the present invention can be understood according to the description in Example 1 of the method embodiment, and will not be repeated here.
从上述处理可以看出,各平台浏览器客户端依照相同的流程,组织符合规则的数据安全签名,获取Cloud Service的正确认证,按照同样的数据结构进行解析,从而达到各设备客户端稍后阅读数据互通的目的。From the above processing, it can be seen that the browser clients of each platform follow the same process to organize the data security signatures that comply with the rules, obtain the correct authentication of Cloud Service, and analyze according to the same data structure, so as to achieve the requirements of each device client to read later. The purpose of data exchange.
实例6Example 6
在稍后阅读客户端通过认证后,就可以与稍后阅读服务器进行交互。根据本发明的实施例,提供了一种稍后阅读客户端,图11是本发明实施例的稍后阅读客户端的结构示意图,如图11所示,根据本发明实施例的稍后阅读客户端包括:第一获取模块110、以及第二获取模块112,以下对本发明实施例的各个模块进行详细的说明。After the later reading client passes the authentication, it can interact with the later reading server. According to an embodiment of the present invention, a later reading client is provided. FIG. 11 is a schematic structural diagram of a later reading client according to an embodiment of the present invention. As shown in FIG. 11 , a later reading client according to an embodiment of the present invention It includes: a first acquisition module 110 and a second acquisition module 112 , and each module of the embodiment of the present invention will be described in detail below.
第一获取模块110,适于获取需要保存的稍后阅读数据,并将所述稍后阅读数据保存在稍后阅读服务器中;The first obtaining module 110 is adapted to obtain the later reading data that needs to be saved, and save the later reading data in the later reading server;
第一获取模块110还适于:根据用户指令获取需要修改的稍后阅读数据,并将所述需要修改的稍后阅读数据携带在稍后阅读保存消息中发送到所述稍后阅读服务器。用户指令具体包括:增加一项稍后阅读数据、删除一项稍后阅读数据、和/或更改一项稍后阅读数据中的参数。The first obtaining module 110 is also adapted to: obtain the later reading data that needs to be modified according to the user instruction, and send the later reading data that needs to be modified in a later reading saving message to the later reading server. The user instruction specifically includes: adding an item of later reading data, deleting an item of later reading data, and/or changing parameters in an item of later reading data.
第一获取模块110具体适于:根据用户在稍后阅读列表中的操作,获取需要修改的稍后阅读数据,其中,稍后阅读列表包括:未读稍后阅读数据组、以及全部稍后阅读数据组,稍后阅读列表中的参数具体包括:稍后阅读数据的页面标题、以及稍后阅读数据的页面网址;稍后阅读列表中的参数还包括以下至少之一:稍后阅读数据的页面状态、稍后阅读数据的来源类别、或稍后阅读数据添加到稍后阅读服务器的添加时间。The first acquisition module 110 is specifically adapted to: acquire later reading data that needs to be modified according to the user's operation in the later reading list, wherein the later reading list includes: unread later reading data groups, and all later reading data groups. The data group, the parameters in the later read list specifically include: the page title of the later read data, and the page URL of the later read data; the parameters in the later read list also include at least one of the following: the page of the later read data The status, the source category of the later reading data, or the addition time of the later reading data to the later reading server.
稍后阅读客户端将所述稍后阅读数据保存在稍后阅读服务器中时,以及稍后阅读客户端将携带有稍后阅读数据的稍后阅读保存消息发送到稍后阅读服务器时,第一获取模块将所述稍后阅读数据进行加密,将加密后的稍后阅读数据发送到所述稍后阅读服务器。When the later reading client saves the later reading data in the later reading server, and when the later reading client sends the later reading saving message carrying the later reading data to the later reading server, the first The acquisition module encrypts the later reading data, and sends the encrypted later reading data to the later reading server.
稍后阅读客户端发送的稍后阅读数据具体包括:页面标题、页面网址、页面状态、以及来源类别。优选地,稍后阅读客户端发送的稍后阅读数据还可以包括页面内容。在实际应用中,页面内容一般由稍后阅读服务器获取。The read later data sent by the read later client specifically includes: page title, page URL, page status, and source category. Preferably, the later reading data sent by the later reading client may also include page content. In practical applications, the content of the page is generally obtained by the later reading server.
第二获取模块112,适于在需要获取稍后阅读数据时,向稍后阅读服务器发送稍后阅读数据请求消息,从稍后阅读服务器获取相应的稍后阅读数据。The second acquiring module 112 is adapted to send a later reading data request message to the later reading server when the later reading data needs to be acquired, and acquire corresponding later reading data from the later reading server.
稍后阅读数据请求消息包括:稍后阅读列表请求消息、以及单项稍后阅读数据请求消息;第二获取模块112具体适于:发送稍后阅读列表请求消息,并根据稍后阅读列表中的参数从稍后阅读服务器获取相应的稍后阅读数据;在用户需要读取稍后阅读列表中的某项稍后阅读数据的页面内容时,发送单项稍后阅读数据请求消息,并从稍后阅读服务器获取相应稍后阅读数据的页面内容。The later read data request message includes: a later read list request message and a single item later read data request message; the second acquisition module 112 is specifically adapted to: send a later read list request message, and according to the parameters in the later read list Obtain the corresponding later reading data from the later reading server; when the user needs to read the page content of a later reading data in the later reading list, send a single later reading data request message, and read later from the later reading server Get the page content of the corresponding read later data.
也就是说,在实际应用中,稍后阅读客户端一般会首先从稍后阅读服务器获取稍后阅读列表,在用户需要读取稍后阅读列表中的项目时,再从稍后阅读服务器获取相应的内容。That is to say, in practical applications, the later reading client generally first obtains the later reading list from the later reading server, and when the user needs to read the items in the later reading list, then obtains the corresponding information from the later reading server. Content.
需要说明的是,在本发明实施例中,稍后阅读客户端可以设置于:计算机、或者移动终端。此外,上述稍后阅读服务器可以为云端服务器。It should be noted that, in the embodiment of the present invention, the later reading client can be installed on a computer or a mobile terminal. In addition, the above-mentioned later reading server may be a cloud server.
在实际应用中,稍后阅读数据的格式为:{"title":"XXX","url":"XXX","txturl":"XXX","status":"1","type":"1","addtime":"XXX"},其中,title表示页面标题,url表示页面网址,txturl表示页面描述网址,status表示页面状态(已读或未读),type表示来源类别(移动设备或PC设备),addtime表示添加时间。In practical applications, the format of reading data later is: {"title":"XXX","url":"XXX","txturl":"XXX","status":"1","type": "1","addtime":"XXX"}, where title represents the page title, url represents the page URL, txturl represents the page description URL, status represents the page status (read or unread), type represents the source category (mobile device or PC device), addtime means adding time.
图6是本发明实施例的稍后阅读Cloud Service架构的示意图,如图6所示,浏览器客户端的稍后阅读功能本身也是遵从MVC模式的,但在更改稍后阅读数据后,会通过HTTP POST请求发送更改后稍后阅读数据给CloudService。Cloud Service根据请求的不同对用户数据进行不同的操作,从而很好的管理了稍后阅读数据。并且不同的客户端共享一个Cloud Service,从而使用户在不同的客户端能够使用相同的稍后阅读数据。Fig. 6 is a schematic diagram of the later reading Cloud Service architecture of the embodiment of the present invention. As shown in Fig. 6, the later reading function of the browser client itself also complies with the MVC pattern, but after changing the later reading data, it will pass HTTP POST request to read data to CloudService later after sending changes. Cloud Service performs different operations on user data according to different requests, thus well managing the later reading data. And different clients share a Cloud Service, so that users can use the same later reading data on different clients.
根据本发明实施例的稍后阅读客户端可以根据方法实施例中的实例2中的描述进行理解,在此不再赘述。The later reading client according to the embodiment of the present invention can be understood according to the description in Example 2 of the method embodiment, and will not be repeated here.
实例7Example 7
根据本发明的实施例,提供了一种稍后阅读服务器,图12是本发明实施例的稍后阅读服务器的结构示意图,如图12所示,根据本发明实施例的稍后阅读服务器包括:管理模块120、以及交互模块122,以下对本发明实施例的各个模块进行详细的说明。According to an embodiment of the present invention, a later reading server is provided. FIG. 12 is a schematic structural diagram of the later reading server according to the embodiment of the present invention. As shown in FIG. 12 , the later reading server according to the embodiment of the present invention includes: The management module 120 and the interaction module 122 are described in detail below for each module of the embodiment of the present invention.
管理模块120,适于接收稍后阅读客户端发送的用户指令,从用户指令中获取稍后阅读数据,并对稍后阅读数据进行管理;The management module 120 is adapted to receive the user instruction sent by the later reading client, obtain the later reading data from the user instruction, and manage the later reading data;
管理模块120还适于:对用户指令中获取的加密稍后阅读数据进行解密,获取解密后的稍后阅读数据。用户指令包括:增加一项稍后阅读数据、删除一项稍后阅读数据、以及更改一项稍后阅读数据中的参数;The management module 120 is further adapted to: decrypt the encrypted later-read data acquired in the user instruction, and acquire the decrypted later-read data. User instructions include: adding a later reading data, deleting a later reading data, and changing parameters in a later reading data;
稍后阅读服务器对稍后阅读数据进行管理包括两种情况:The later reading server manages the later reading data in two cases:
情况一、稍后阅读客户端发送的稍后阅读数据中仅包括:页面标题、和页面网址,还可以包括以下至少之一:页面状态、或来源类别,不包括页面内容。Case 1: The later reading data sent by the later reading client only includes: page title and page URL, and may also include at least one of the following: page status, or source category, excluding page content.
情况二,稍后阅读客户端发送的稍后阅读数据除了包括页面标题、页面网址、页面状态、或来源类别以外,还包括页面内容。In the second case, the later reading data sent by the later reading client includes not only the page title, page URL, page status, or source category, but also page content.
管理模块120具体包括:第一判断子模块,适于判断用户指令是否为增加一项稍后阅读数据,在判断为是的情况下,如果稍后阅读数据中不包括页面内容,则依次调用页面内容获取子模块、添加时间获取子模块、绑定子模块、以及管理子模块,如果稍后阅读数据中包括页面内容,则直接调用添加时间获取子模块、绑定子模块、以及管理子模块;在判断为否的情况下,直接调用绑定子模块、以及管理子模块;页面内容获取子模块,适于根据稍后阅读数据的页面网址获取与稍后阅读数据相应的页面内容并保存在稍后阅读数据中;添加时间获取子模块,适于获取与稍后阅读数据相应的添加时间并保存在稍后阅读数据中;绑定子模块,适于将稍后阅读数据与稍后阅读客户端进行绑定;管理子模块,适于根据用户指令对稍后阅读数据进行管理。The management module 120 specifically includes: a first judging sub-module, adapted to judge whether the user instruction is to add an item of later reading data, and if the judgment is yes, if the later reading data does not include the page content, then call the page successively Content acquisition sub-module, adding time acquisition sub-module, binding sub-module, and management sub-module, if the page content is included in the reading data later, directly call the adding time acquisition sub-module, binding sub-module, and management sub-module; In the case of no judgment, directly call the binding submodule and the management submodule; the page content acquisition submodule is suitable for obtaining the page content corresponding to the later reading data according to the page URL of the later reading data and saving it in a later In the post-reading data; adding time acquisition sub-module, suitable for obtaining the added time corresponding to the later-reading data and saving it in the later-reading data; binding sub-module, suitable for combining the later-reading data with the later-reading client Binding; the management sub-module is suitable for managing the data to be read later according to user instructions.
交互模块122,适于接收稍后阅读客户端发送的稍后阅读数据请求消息,并根据稍后阅读数据请求消息向稍后阅读客户端发送相应的稍后阅读数据。稍后阅读数据请求消息包括:稍后阅读列表请求消息、以及单项稍后阅读数据请求消息;The interaction module 122 is adapted to receive the later reading data request message sent by the later reading client, and send corresponding later reading data to the later reading client according to the later reading data request message. The later read data request message includes: a later read list request message and a single item later read data request message;
交互模块122具体适于:在稍后阅读数据请求消息为稍后阅读列表请求消息的情况下,根据稍后阅读列表中的参数向稍后阅读客户端发送相应的稍后阅读数据,其中,稍后阅读列表中的参数包括:稍后阅读数据的页面标题、以及稍后阅读数据的页面网址,还可以包括以下至少之一:稍后阅读数据的页面状态、稍后阅读数据的来源类别、以及稍后阅读数据的添加时间;在稍后阅读数据请求消息为单项稍后阅读数据请求消息的情况下,向稍后阅读客户端发送相应稍后阅读数据的页面内容。The interaction module 122 is specifically adapted to: when the later reading data request message is a later reading list request message, send corresponding later reading data to the later reading client according to the parameters in the later reading list, wherein, a little later The parameters in the post-reading list include: the page title of the later-reading data, and the page URL of the later-reading data, and may also include at least one of the following: the page status of the later-reading data, the source category of the later-reading data, and Adding time of the later reading data; when the later reading data request message is a single later reading data request message, send the corresponding later reading data page content to the later reading client.
优选地,根据本发明实施例的稍后阅读服务器还包括:更新模块,适于在从用户指令中获取的稍后阅读数据所对应的页面网址已存在的情况下,更新该网址对应的其他稍后阅读数据。Preferably, the later reading server according to the embodiment of the present invention further includes: an update module, adapted to update other slightly corresponding pages of the later reading data acquired from the user instruction when the web address of the page corresponding to the web address already exists. After reading the data.
需要说明的是,上述稍后阅读服务器可以为云端服务器。It should be noted that the aforementioned later reading server may be a cloud server.
从上述处理可以看出,首先稍后阅读服务器根据稍后阅读客户端传递的用户数据信息下发安全认证,稍后阅读客户端会通过HTTP POST请求Cloud端下发数据。根据请求类型的不同可以下发稍后阅读列表和稍后阅读单独数据项。其中,稍后阅读服务器可以通过两种来源收集数据:1、客户端主动发送稍后阅读项的基本数据,例如,标题、地址、页面内容等信息,服务器可以根据数据和操作对相应数据进行增删改等操作。2、服务器根据从客户端收集的稍后阅读项数据,去该地址收集网址内容,解析HTML,获得页面正文等信息。It can be seen from the above processing that firstly, the later reading server issues security authentication based on the user data information passed by the later reading client, and the later reading client will request the cloud end to send data through HTTP POST. Depending on the type of request, the read later list and read later individual data items can be issued. Among them, the later reading server can collect data through two sources: 1. The client actively sends the basic data of the later reading item, such as title, address, page content and other information, and the server can increase the corresponding data according to the data and operations. operations such as deletion and modification. 2. According to the later reading item data collected from the client, the server goes to the address to collect the URL content, parses the HTML, and obtains information such as the page text.
实例8Example 8
现有技术中的稍后阅读客户端,因为不存在Cloud Service,所以数据仅存在本地,从而没有稍后阅读数据刷新功能。在本发明实施例中,稍后阅读数据存储在Cloud端,所以数据可以由Cloud Service把用户数据下发,实现稍后阅读数据的刷新。For the later reading client in the prior art, because there is no Cloud Service, the data only exists locally, so there is no later reading data refreshing function. In the embodiment of the present invention, the later reading data is stored on the Cloud side, so the data can be sent to the user data by the Cloud Service to realize the refreshing of the later reading data.
根据本发明的实施例,提供了一种稍后阅读客户端刷新装置,图13是本发明实施例的稍后阅读客户端刷新装置的结构示意图,如图13所示,根据本发明实施例的稍后阅读客户端刷新装置包括:发送模块130、以及刷新模块132,以下对本发明实施例的各个模块进行详细的说明。According to an embodiment of the present invention, a device for refreshing a later reading client is provided. FIG. 13 is a schematic structural diagram of a refreshing device for a later reading client according to an embodiment of the present invention. As shown in FIG. 13 , according to an embodiment of the present invention The device for refreshing the client read later includes: a sending module 130 and a refreshing module 132 , and each module of the embodiment of the present invention will be described in detail below.
发送模块130,适于获取触发指令,向稍后阅读服务器发送稍后阅读数据刷新请求;触发指令为:将稍后阅读客户端从后台睡眠状态转换为前台激活状态的激活指令;或者,通过预先设置的刷新按键发送的刷新指令。The sending module 130 is adapted to obtain a trigger instruction, and send a later reading data refresh request to the later reading server; the trigger instruction is: an activation instruction that converts the later reading client from the background sleep state to the foreground activation state; Refresh command sent by the set refresh button.
具体地,iOS设备上的应用程序存在激活与非激活状态,激活状态指应用程序在可视区域,非激活状态指用户可以使用home按键将激活的应用程序切入到后台运行。当用户点击一个处于非激活状态的应用程序图标时,iOS系统会将该应用程序重新设置为激活状态。稍后阅读客户端选择应用程序切入前台变成激活状态的时机向Cloud端请求刷新稍后阅读数据,这个时机可以认为是iOS设备独有的。此外,本发明实施例在客户端设备上增加提供刷新数据的按键,实现向Cloud端请求刷新稍后阅读数据的功能。Specifically, the application program on the iOS device has an active state and an inactive state. The active state means that the application program is in the visible area, and the inactive state means that the user can use the home button to switch the activated application program to run in the background. When the user taps an application icon that is in an inactive state, the iOS system resets the application to an active state. The reading later client selects the timing when the application switches to the foreground and becomes active and requests the cloud to refresh the reading data later. This timing can be considered unique to iOS devices. In addition, in the embodiment of the present invention, a button for refreshing data is added on the client device, so as to realize the function of requesting the Cloud side to refresh the data to be read later.
刷新模块132,适于接收稍后阅读服务器发送的最新版本的稍后阅读数据。稍后阅读数据具体包括:页面标题、页面网址、页面状态、来源类别、页面内容、以及添加时间。The refresh module 132 is adapted to receive the latest version of the later reading data sent by the later reading server. The data read later specifically includes: page title, page URL, page status, source category, page content, and adding time.
优选地,上述稍后阅读数据刷新请求可以为稍后阅读列表请求消息。Preferably, the above-mentioned read later data refresh request may be a read later list request message.
刷新模块132具体适于:接收稍后阅读服务器发送的最新版本的稍后阅读列表,其中,稍后阅读列表具体包括:各项稍后阅读数据的页面标题、以及各项稍后阅读数据的页面网址,还可以包括以下至少之一:各项稍后阅读数据的页面状态、各项稍后阅读数据的来源类别、或者各项稍后阅读数据添加到稍后阅读服务器的添加时间。The refresh module 132 is specifically adapted to: receive the latest version of the later reading list sent by the later reading server, wherein the later reading list specifically includes: the page title of each later reading data and the page of each later reading data The URL may also include at least one of the following: the page status of each item of later reading data, the source category of each item of later reading data, or the adding time of each item of later reading data added to the later reading server.
也就是说,如果稍后阅读服务器接收的是稍后阅读列表请求消息,则可以仅发送稍后阅读列表给稍后阅读客户端,改稍后阅读列表中不包括页面内容。未发送的页面内容可以根据稍后阅读客户端的请求进行发送。That is to say, if the read later server receives a read later list request message, it can only send the read later list to the read later client, and the read later list does not include page content. Unsent page content can be sent at the request of the Read Later client.
优选地,根据本发明实施例的稍后阅读客户端刷新装置进一步包括:显示模块,适于显示稍后阅读列表,其中,稍后阅读列表上标识有更新该稍后阅读列表的时间信息。Preferably, the device for refreshing the later reading client according to the embodiment of the present invention further includes: a display module adapted to display a later reading list, wherein time information for updating the later reading list is marked on the later reading list.
图9是本发明实施例的稍后阅读客户端界面的示意图,如图9所示,在本发明实施例中,使用右上侧“+”号按键进行添加稍后阅读数据项的操作,同样将稍后阅读数据分为全部数据组和未读数据组。优选地,在本发明实施例中,在视图左上侧设置有一个刷新按键,该刷新按键的功能就是从Cloud Service获取最新的稍后阅读数据集合。Fig. 9 is a schematic diagram of the later reading client interface of the embodiment of the present invention. As shown in Fig. 9, in the embodiment of the present invention, use the "+" button on the upper right side to perform the operation of adding data items to be read later. The data to be read later is divided into an all data group and an unread data group. Preferably, in the embodiment of the present invention, a refresh button is set on the upper left side of the view, and the function of the refresh button is to obtain the latest data set to be read later from the Cloud Service.
优选地,在本发明实施例中,稍后阅读客户端刷新装置进一步包括:登录模块,适于在向稍后阅读服务器发送稍后阅读数据刷新请求之前,登陆用户帐号。刷新模块进一步适于:在与第一稍后阅读客户端使用同一个用户帐号登录、且在第一稍后阅读客户端向稍后阅读服务器增加新的稍后阅读数据后的情况下,向稍后阅读服务器发送稍后阅读数据刷新请求,从稍后阅读服务器获取第一稍后阅读客户端新增加的稍后阅读数据。从而实现两个客户端就可以得到最新的稍后阅读数据,从而实现同时阅读。Preferably, in the embodiment of the present invention, the device for refreshing the later reading client further includes: a login module adapted to log in the user account before sending the later reading data refresh request to the later reading server. The refresh module is further adapted to: log in with the same user account as the first later reading client, and after the first later reading client adds new later reading data to the later reading server, send The post-reading server sends a later-reading data refresh request to obtain the later-reading data newly added by the first later-reading client from the later-reading server. In this way, two clients can obtain the latest later reading data, thereby realizing simultaneous reading.
实例9Example 9
根据本发明的实施例,提供了一种稍后阅读实现系统,图14是本发明实施例的稍后阅读实现系统的示意图,如图4所示,根据本发明实施例的稍后阅读实现系统包括第一稍后阅读客户端140、第二稍后阅读客户端142、以及稍后阅读服务器144。在本实施例中,上述第一稍后阅读客户端140和第二稍后阅读客户端142可以为同一稍后阅读客户端或不同稍后阅读客户端。According to an embodiment of the present invention, a later reading realization system is provided. FIG. 14 is a schematic diagram of a later reading realization system according to an embodiment of the present invention. As shown in FIG. 4 , a later reading realization system according to an embodiment of the present invention It includes a first later reading client 140 , a second later reading client 142 , and a later reading server 144 . In this embodiment, the first later reading client 140 and the second later reading client 142 may be the same later reading client or different later reading clients.
第一稍后阅读客户端140,适于根据用户指令获取需要保存的稍后阅读数据,并将稍后阅读数据携带在稍后阅读保存消息中发送到稍后阅读服务器144;其中,稍后阅读数据请求消息包括:稍后阅读列表请求消息、以及单项稍后阅读数据请求消息;用户指令具体包括:增加一项稍后阅读数据、删除一项稍后阅读数据、和/或更改一项稍后阅读数据中的参数。The first later reading client 140 is adapted to obtain the later reading data that needs to be saved according to user instructions, and send the later reading data to the later reading server 144 in the later reading saving message; wherein, the later reading The data request message includes: a later reading list request message and a single item later reading data request message; user instructions specifically include: adding an item of later reading data, deleting an item of later reading data, and/or changing an item of later reading data Read the parameters in the data.
第一稍后阅读客户端140发送的稍后阅读数据具体包括以下至少之一:页面标题、页面网址、页面状态、来源类别。此外,稍后阅读数据中还可以包括:页面内容。The later reading data sent by the first later reading client 140 specifically includes at least one of the following: page title, page URL, page status, and source category. In addition, the later reading data may also include: page content.
稍后阅读服务器144,适于从第一稍后阅读客户端140发送的稍后阅读保存消息中获取稍后阅读数据,保存稍后阅读数据并对稍后阅读数据进行管理;接收第二稍后阅读客户端142发送的稍后阅读数据请求消息,并根据稍后阅读数据请求消息向第二稍后阅读客户端142发送相应的稍后阅读数据;The later reading server 144 is adapted to obtain the later reading data from the later reading saving message sent by the first later reading client 140, save the later reading data and manage the later reading data; Read the later reading data request message sent by the client 142, and send the corresponding later reading data to the second later reading client 142 according to the later reading data request message;
优选地,稍后阅读保存消息中还包括用户标识数据;稍后阅读服务器144进一步适于:从稍后阅读保存消息中获取用户标识数据,根据用户标识数据将获取的稍后阅读数据保存在相应的存储空间中。Preferably, the saved message for reading later also includes user identification data; the reading server 144 for later reading is further adapted to: obtain the user identification data from the saving message for reading later, and store the obtained later reading data in the corresponding in the storage space.
优选地,稍后阅读数据请求消息中携带有用户标识数据;稍后阅读服务器144进一步适于:获取稍后阅读数据请求消息中携带的用户标识数据,根据用户标识数据从相应的存储空间中获取与用户标识数据相应的稍后阅读数据。Preferably, the user identification data is carried in the later reading data request message; the later reading server 144 is further adapted to: obtain the user identification data carried in the later reading data request message, and obtain from the corresponding storage space according to the user identification data Read Later data corresponding to user identification data.
第二稍后阅读客户端142,适于在需要获取稍后阅读数据时,向稍后阅读服务器144发送稍后阅读数据请求消息,从稍后阅读服务器144获取相应的稍后阅读数据。The second later reading client 142 is adapted to send a later reading data request message to the later reading server 144 when the later reading data needs to be obtained, and acquire corresponding later reading data from the later reading server 144 .
第二稍后阅读客户端142进一步适于:发送稍后阅读列表请求消息,并根据稍后阅读列表中的参数从稍后阅读服务器144获取相应的稍后阅读数据;在用户需要读取稍后阅读列表中的某项稍后阅读数据的页面内容时,发送单项稍后阅读数据请求消息,并从稍后阅读服务器144获取相应稍后阅读数据的页面内容,其中,稍后阅读列表包括:未读稍后阅读数据组、以及全部稍后阅读数据组,稍后阅读列表中的参数具体包括:稍后阅读数据的页面标题、稍后阅读数据的页面网址、稍后阅读数据的页面状态、稍后阅读数据的来源类别、和/或稍后阅读数据添加到稍后阅读服务器144的添加时间。The second later reading client 142 is further adapted to: send a later reading list request message, and obtain corresponding later reading data from the later reading server 144 according to the parameters in the later reading list; When reading the page content of a certain item in the later reading data in the list, send a single item later reading data request message, and obtain the page content of the corresponding later reading data from the later reading server 144, wherein the later reading list includes: not Read the later reading data group, and all the later reading data groups. The parameters in the later reading list include: the page title of the later reading data, the page URL of the later reading data, the page status of the later reading data, and the The source category of the later reading data, and/or the adding time when the later reading data is added to the later reading server 144 .
在本发明实施例中,稍后阅读客户端和稍后阅读服务器144可以参照上述相关实施例中的描述进行理解,在此不再赘述。In this embodiment of the present invention, the reading-later client and the reading-later server 144 can be understood with reference to the descriptions in the above related embodiments, and will not be repeated here.
实例10Example 10
根据本发明的实施例,提供了一种稍后阅读认证系统,图15是本发明实施例的稍后阅读认证系统的示意图,如图15所示,根据本发明实施例的稍后阅读认证系统包括:稍后阅读客户端150、以及稍后阅读服务器152,以下对本发明实施例的技术方案进行详细说明。According to an embodiment of the present invention, a later reading authentication system is provided. FIG. 15 is a schematic diagram of a later reading authentication system according to an embodiment of the present invention. As shown in FIG. 15, a later reading authentication system according to an embodiment of the present invention Including: a later reading client 150 and a later reading server 152, the technical solution of the embodiment of the present invention will be described in detail below.
具体地,稍后阅读客户端150,适于获取认证信息,并根据认证信息生成数据安全签名,将数据安全签名和认证信息中的预定信息发送到稍后阅读服务器152;并接收稍后阅读服务器152发送的认证数据,并将认证数据携带在用户指令中与稍后阅读服务器152进行稍后阅读数据的交互;优选地,认证信息包括:时间戳、与稍后阅读客户端150相应的账户数据、以及生成数据安全签名需要使用的加密信息。预定信息包括:账户数据、以及加密信息。Specifically, the later reading client 150 is adapted to obtain authentication information, and generate a data security signature according to the authentication information, and send predetermined information in the data security signature and authentication information to the later reading server 152; and receive the later reading server 152. 152, and carry the authentication data in the user instruction to interact with the later reading server 152 for later reading data; preferably, the authentication information includes: time stamp, account data corresponding to the later reading client 150 , and the encryption information needed to generate the data security signature. The predetermined information includes: account data, and encrypted information.
稍后阅读服务器152,适于根据数据安全签名和预定信息对稍后阅读客户端150进行认证,并向稍后阅读客户端150发送认证数据,接收稍后阅读客户端150发送的携带有认证数据的用户指令,根据认证数据对稍后阅读客户端150进行认证,在认证通过后,与稍后阅读客户端150进行稍后阅读数据的交互。The later reading server 152 is suitable for authenticating the later reading client 150 according to the data security signature and predetermined information, and sends the authentication data to the later reading client 150, and receives the authentication data sent by the later reading client 150. According to the user instruction of the later reading client 150, the later reading client 150 is authenticated according to the authentication data, and after the authentication is passed, the later reading data interaction is performed with the later reading client 150.
优选地,稍后阅读客户端150进一步适于:登录账户中心服务器,从账户中心服务器获取账户数据以及加密信息;向稍后阅读服务器152发送时间戳请求信息,从稍后阅读服务器1 52获取时间戳,其中,账户中心服务器为云端服务器。Preferably, the later reading client 150 is further adapted to: log into the account center server, obtain account data and encrypted information from the account center server; send a timestamp request message to the later reading server 152, and obtain the time from the later reading server 152 Stamp, where the account center server is a cloud server.
优选地,稍后阅读客户端150进一步适于:根据账户数据、加密信息、以及时间戳以预定格式生成数据安全签名,其中,预定格式为:数据安全签名=加密算法(时间戳+账户数据+加密信息+删除最后一个数字的时间戳),“加密算法()”表示以加密信息中指定的加密算法对括号内的数据进行加密。Preferably, the later reading client 150 is further adapted to: generate a data security signature in a predetermined format according to the account data, encrypted information, and time stamp, wherein the predetermined format is: data security signature = encryption algorithm (time stamp + account data + Encrypted information + time stamp with the last digit removed), "encryption algorithm ()" means to encrypt the data in brackets with the encryption algorithm specified in the encrypted information.
稍后阅读客户端150进一步适于:使用认证数据与稍后阅读服务器152进行交互时,如果稍后阅读服务器152未通过对认证数据的认证,则稍后阅读客户端150重新向稍后阅读服务器152进行认证。Later reading client 150 is further adapted: when using authentication data to interact with later reading server 152, if later reading server 152 has not passed through the authentication of authentication data, then later reading client 150 renews to later reading server 152 152 for authentication.
优选地,稍后阅读服务器152为云端服务器。Preferably, the later reading server 152 is a cloud server.
在本发明实施例中,稍后阅读客户端和稍后阅读服务器可以参照上述相关实施例中的描述进行理解,在此不再赘述。In this embodiment of the present invention, the later reading client and the later reading server can be understood with reference to the descriptions in the above related embodiments, and will not be repeated here.
实例11Example 11
根据本发明的实施例,提供了一种稍后阅读刷新系统,图16是本发明实施例的稍后阅读刷新系统的示意图,如图16所示,根据本发明实施例的稍后阅读刷新系统包括:稍后阅读客户端160、以及稍后阅读服务器162,以下对本发明实施例的稍后阅读刷新系统中的各个模块进行详细说明。According to an embodiment of the present invention, a later reading refresh system is provided. FIG. 16 is a schematic diagram of a later reading refresh system according to an embodiment of the present invention. As shown in FIG. 16, a later reading refresh system according to an embodiment of the present invention It includes: a later reading client 160 and a later reading server 162 , and each module in the later reading refreshing system of the embodiment of the present invention will be described in detail below.
具体地,稍后阅读客户端160,适于获取触发指令,向稍后阅读服务器162发送稍后阅读数据刷新请求;获取稍后阅读服务器162发送的最新版本的稍后阅读数据;稍后阅读数据具体包括:网页标题、和网页网址;稍后阅读数据还包括以下至少之一、网页状态、来源类别、网页内容、或添加时间。Specifically, the later reading client 160 is adapted to obtain a trigger instruction, and sends a later reading data refresh request to the later reading server 162; obtains the later reading data of the latest version sent by the later reading server 162; later reading data Specifically include: webpage title, and webpage URL; read later data also includes at least one of the following, webpage status, source category, webpage content, or adding time.
稍后阅读服务器162,适于根据稍后阅读数据刷新请求向稍后阅读客户端160发送最新版本的稍后阅读数据。The later reading server 162 is adapted to send the latest version of the later reading data to the later reading client 160 according to the later reading data refresh request.
优选地,稍后阅读服务器162进一步适于:查找是否存在更新版本的稍后阅读列表,如果存在,则向稍后阅读客户端160发送最新版本的稍后阅读数据,如果不存在,相稍后阅读客户端160返回无数据更新的响应。Preferably, the later reading server 162 is further adapted to: find out whether there is an updated version of the later reading list, if there is, then send the latest version of the later reading data to the later reading client 160, if there is no later reading data, the later The reading client 160 returns a response with no data update.
优选地,稍后阅读数据刷新请求为稍后阅读列表请求消息。稍后阅读客户端160进一步适于:接收稍后阅读服务器162发送的最新版本的稍后阅读列表,其中,稍后阅读列表具体包括:各项稍后阅读数据的网页标题、以及各项稍后阅读数据的网页网址,稍后阅读列表还包括以下至少之一:各项稍后阅读数据的网页状态、各项稍后阅读数据的来源类别、或各项稍后阅读数据添加到稍后阅读服务器162的添加时间。Preferably, the read later data refresh request is a later read list request message. The later reading client 160 is further adapted to: receive the latest version of the later reading list sent by the later reading server 162, wherein the later reading list specifically includes: the title of the webpage of each later reading data, and each later reading data. The webpage URL of the reading data, and the reading later list also includes at least one of the following: the status of the webpage of each reading later data, the source category of each reading later data, or adding each later reading data to the later reading server 162 added time.
优选地,稍后阅读客户端160进一步适于:显示稍后阅读列表,其中,稍后阅读列表上标识有更新该稍后阅读列表的时间信息。Preferably, the later reading client 160 is further adapted to: display a later reading list, wherein time information for updating the later reading list is marked on the later reading list.
优选地,稍后阅读客户端160进一步适于:在获取触发指令,向稍后阅读服务器162发送稍后阅读数据刷新请求之前,登陆登陆稍后阅读账号。Preferably, the later reading client 160 is further adapted to: before obtaining the trigger instruction and sending the later reading data refresh request to the later reading server 162, log in to the later reading account.
在本发明实施例中,稍后阅读客户端160和稍后阅读服务器162可以参照上述相关实施例中的描述进行理解,在此不再赘述。In this embodiment of the present invention, the reading-later client 160 and the reading-later server 162 can be understood with reference to the descriptions in the above-mentioned related embodiments, and will not be repeated here.
综上所述,借助于本发明实施例的上述技术方案,通过对用户进行认证后,将用户的稍后阅读数据发送到服务器端,在用户通过其他终端使用稍后阅读功能时,从服务器端获取最新的稍后阅读数据,解决了现有技术中无法实现稍后阅读数据各终端平台互通、以及无法对用户的稍后阅读数据进行保护的问题,能够实现浏览器客户端稍后阅读数据的跨平台互通,保证了用户稍后阅读数据的安全性,使稍后阅读客户端的稍后阅读数据集合能够及时更新,更好地将稍后阅读数据展现给用户。To sum up, with the help of the above technical solution of the embodiment of the present invention, after the user is authenticated, the user's later reading data is sent to the server, and when the user uses the later reading function through other terminals, the Obtaining the latest later reading data solves the problems in the existing technology that the interoperability of various terminal platforms of the later reading data and the protection of the user's later reading data cannot be realized, and it can realize the later reading data of the browser client The cross-platform intercommunication ensures the security of the user's later reading data, enables the later reading data set of the later reading client to be updated in time, and better presents the later reading data to users.
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。Although preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and therefore, the scope of the present invention should not be limited to the above-described embodiments.
应当注意的是,在本发明的控制器的各个部件中,根据其要实现的功能而对其中的部件进行了逻辑划分,但是,本发明不受限于此,可以根据需要对各个部件进行重新划分或者组合,例如,可以将一些部件组合为单个部件,或者可以将一些部件进一步分解为更多的子部件。It should be noted that among the various components of the controller of the present invention, the components are logically divided according to the functions to be realized, however, the present invention is not limited thereto, and each component can be rearranged as required. Divide or combine, for example, some components may be combined into a single component, or some components may be further broken down into more subcomponents.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的控制器中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the controller according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
Claims (22)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210226951.1A CN102724328B (en) | 2012-06-29 | 2012-06-29 | Read later client refreshing method, system and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210226951.1A CN102724328B (en) | 2012-06-29 | 2012-06-29 | Read later client refreshing method, system and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102724328A CN102724328A (en) | 2012-10-10 |
| CN102724328B true CN102724328B (en) | 2016-11-09 |
Family
ID=46949988
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210226951.1A Active CN102724328B (en) | 2012-06-29 | 2012-06-29 | Read later client refreshing method, system and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102724328B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102932367A (en) * | 2012-11-15 | 2013-02-13 | 北京奇虎科技有限公司 | Terminal equipment, system and method for implementing switching of application program |
| CN104079645A (en) * | 2014-06-27 | 2014-10-01 | 华为技术有限公司 | Information sharing method and device |
| CN105871970A (en) * | 2015-11-09 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Note update method and device |
| CN105577778A (en) * | 2015-12-18 | 2016-05-11 | 北京奇虎科技有限公司 | A method, terminal and network server for network record synchronization |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1783804A (en) * | 2004-12-01 | 2006-06-07 | 华为技术有限公司 | Realtime updating method for net page data |
| CN101159764A (en) * | 2007-11-21 | 2008-04-09 | 中国电信股份有限公司 | Method and system to access door data of mobile service |
| CN101437205A (en) * | 2008-12-31 | 2009-05-20 | 中国联合通信有限公司 | System and method for reading electronic newspaper on mobile terminal |
| CN102082760A (en) * | 2009-11-27 | 2011-06-01 | Tcl集团股份有限公司 | Network bookmark and method for accessing network files |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8001077B2 (en) * | 2005-12-14 | 2011-08-16 | International Business Machines Corporation | Distributed method for synchronizing and updating bookmarks on multiple computer devices |
| US20080162488A1 (en) * | 2006-12-29 | 2008-07-03 | Karle Christopher J | Method, system and program product for updating browser page elements over a distributed network |
| CN101969636B (en) * | 2009-12-31 | 2013-10-30 | 优视科技有限公司 | Bookmark management system for mobile communication user terminal and application method thereof |
| CN102238197A (en) * | 2010-04-20 | 2011-11-09 | 上海博路信息技术有限公司 | Mobile reading multi-screen synchronization method |
-
2012
- 2012-06-29 CN CN201210226951.1A patent/CN102724328B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1783804A (en) * | 2004-12-01 | 2006-06-07 | 华为技术有限公司 | Realtime updating method for net page data |
| CN101159764A (en) * | 2007-11-21 | 2008-04-09 | 中国电信股份有限公司 | Method and system to access door data of mobile service |
| CN101437205A (en) * | 2008-12-31 | 2009-05-20 | 中国联合通信有限公司 | System and method for reading electronic newspaper on mobile terminal |
| CN102082760A (en) * | 2009-11-27 | 2011-06-01 | Tcl集团股份有限公司 | Network bookmark and method for accessing network files |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102724328A (en) | 2012-10-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7581013B2 (en) | Data security using keys provided on demand | |
| US12153873B2 (en) | Reducing time to first encrypted frame in a content stream | |
| CN106878265B (en) | Data processing method and device | |
| US9219714B2 (en) | ID-based encryption and signature method and terminal | |
| CN108989848A (en) | A kind of acquisition methods and management system of video resource file | |
| JP2015181010A (en) | System and method for protecting user privacy in multimedia uploaded to an internet site | |
| CN104391974B (en) | The processing method of browser and its favorites data | |
| CN103001926A (en) | A method, device and system for subscribing to notifications | |
| EP3039811B1 (en) | Method, content owner device, computer program, and computer program product for distributing content items to authorized users | |
| CN102946404B (en) | At method and the device of user side display selectivity synchronization folder | |
| CN107003909B (en) | Method for accessing remote resources from a data processing device | |
| CN102724328B (en) | Read later client refreshing method, system and device | |
| CN102724212B (en) | Later reading server implementation method, system and later reading server | |
| CN103095663B (en) | Information interacting method between a kind of A non logged-on user and device | |
| CN114598549B (en) | Customer SSL certificate verification method and device | |
| CN102761547B (en) | Read Later Client Implementation System, Method and Read Later Client | |
| CN102761548B (en) | Method, system and device for authenticating read-later clients | |
| WO2011157004A1 (en) | Method, apparatus, terminal and system for channel encryption | |
| CN103023908B (en) | A kind of website information acquisition, equipment and system | |
| CN104202347B (en) | Reading server implementation method, system and reading server later later | |
| JP2006039794A (en) | File management system | |
| CN103647809A (en) | Data synchronization method and server system | |
| CN104683482A (en) | Read Later Client Implementation System, Method and Read Later Client | |
| CN113742671A (en) | Online collaborative information processing method, system, electronic device and storage medium | |
| JP2014229182A (en) | Web browsing history acquisition device, method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| ASS | Succession or assignment of patent right |
Owner name: BEIJING QIHU TECHNOLOGY CO., LTD. Free format text: FORMER OWNER: QIZHI SOFTWARE (BEIJING) CO., LTD. Effective date: 20120910 Owner name: QIZHI SOFTWARE (BEIJING) CO., LTD. Effective date: 20120910 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 100016 CHAOYANG, BEIJING TO: 100088 XICHENG, BEIJING |
|
| TA01 | Transfer of patent application right |
Effective date of registration: 20120910 Address after: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park) Applicant after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Applicant after: Qizhi software (Beijing) Co.,Ltd. Address before: The 4 layer 100016 unit of Beijing city Chaoyang District Jiuxianqiao Road No. 14 Building C Applicant before: Qizhi software (Beijing) Co.,Ltd. |
|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20220722 Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin Patentee after: 3600 Technology Group Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20230713 Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: Beijing Hongxiang Technical Service Co.,Ltd. Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin Patentee before: 3600 Technology Group Co.,Ltd. |
|
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address |
Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: Beijing 360 Zhiling Technology Co.,Ltd. Country or region after: China Address before: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee before: Beijing Hongxiang Technical Service Co.,Ltd. Country or region before: China |