HK1229086B - Information display method, terminal and server - Google Patents
Information display method, terminal and server Download PDFInfo
- Publication number
- HK1229086B HK1229086B HK17102509.1A HK17102509A HK1229086B HK 1229086 B HK1229086 B HK 1229086B HK 17102509 A HK17102509 A HK 17102509A HK 1229086 B HK1229086 B HK 1229086B
- Authority
- HK
- Hong Kong
- Prior art keywords
- information
- content
- express
- data format
- terminal
- Prior art date
Links
Description
技术领域Technical Field
本发明涉及通信领域,尤其涉及一种信息显示的方法、终端、服务器。The present invention relates to the field of communications, and in particular to an information display method, terminal, and server.
背景技术Background Art
人们经常通过终端中的网页浏览器或者安装的应用(Application,App)来处理各种日常事务,如:可通过浏览器登录亚马逊网站或通过亚马逊App网上购物等;也可以通过去哪儿网或其他旅行社网进行网上订票等。People often use the web browser or installed applications (Application, App) in the terminal to handle various daily affairs, such as logging into the Amazon website through the browser or shopping online through the Amazon App; or booking tickets online through Qunar.com or other travel agency websites.
随着用户服务需求的增大和多样化,用户通过浏览器访问的网站越来越多,终端中的App数量也越来越多。用户所需的各项信息和服务被分散地储存在不同内容源的服务器中,所述内容源能够提供用户所需信息或服务,所述内容源可以为网站或应用等。随着应用和服务越来越多,一些新的困扰也随之出现,如:用户如果想查询信息或使用某些服务,必须先考虑相关信息储存在哪个内容源中,继而才能打开相应的网页或App获取相应的信息或服务,这一查询过程会比较繁琐且耗费大量的时间,尤其是当选择的内容源较多时,用户容易忘记相关信息存储在哪个内容源中,此时相关的操作会更繁琐。目前,针对上述情况还没有有效的解决方案。As user service demands increase and diversify, users are accessing more and more websites through browsers, and the number of apps in terminals is also increasing. The various information and services required by users are scattered and stored in servers of different content sources. The content sources can provide the information or services required by users. The content sources can be websites or applications, etc. As more and more applications and services are available, some new problems also arise. For example, if a user wants to query information or use certain services, he must first consider in which content source the relevant information is stored, and then he can open the corresponding web page or app to obtain the corresponding information or service. This query process is cumbersome and time-consuming, especially when there are many content sources to choose from. Users tend to forget in which content source the relevant information is stored, and the related operations will be more cumbersome at this time. At present, there is no effective solution to the above situation.
发明内容Summary of the Invention
本发明实施例提出了一种信息显示的方法、装置,方便了信息的查询,增强了终端的交互能力。The embodiments of the present invention provide a method and device for information display, which facilitate information query and enhance the interactive capability of a terminal.
第一方面,本发明实施例提供了一种信息显示方法,所述方法包括:In a first aspect, an embodiment of the present invention provides an information display method, the method comprising:
终端获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;The terminal obtains content information of at least one content source, where the at least one content source corresponds to at least two account information stored in the terminal;
所述终端将所述内容信息整合成内容显示信息;The terminal integrates the content information into content display information;
所述终端显示所述内容显示信息。The terminal displays the content display information.
结合第一方面,在第一种实现方式中,所述将所述内容信息整合成内容显示信息包括:In conjunction with the first aspect, in a first implementation, integrating the content information into content display information includes:
根据规则将所述内容信息由非结构化数据格式转换为结构化数据格式;Converting the content information from an unstructured data format to a structured data format according to the rules;
将所述结构化数据格式的内容信息进行分类,得到已分类的结构化数据格式的内容信息,即内容显示信息。The content information in the structured data format is classified to obtain classified content information in the structured data format, namely, content display information.
结合第一方面,在第二种实现方式中,所述将所述内容信息整合成内容显示信息包括:In combination with the first aspect, in a second implementation, integrating the content information into content display information includes:
将所述内容信息进行分类;classifying the content information;
根据规则将分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到已分类的结构化数据格式的内容信息,即内容显示信息。The classified content information is converted from an unstructured data format to a structured data format according to the rules, thereby obtaining the classified content information in the structured data format, namely, the content display information.
结合第一方面的第一种实现方式或第二种实现方式,在第一方面的第三种实现方式中,所述已分类的结构化数据格式的内容信息中分类的类型包括:用户标识、业务类型、内容源中的一种或多种。In combination with the first implementation or the second implementation of the first aspect, in the third implementation of the first aspect, the classification types in the classified content information in the structured data format include: one or more of: user identification, business type, and content source.
结合第一方面的第三种实现方式,在第一方面的第四种实现方式中,所述业务类型包括:快递、音乐、相片、联系人消息、事件提醒消息、票据等的一种或多种。In combination with the third implementation of the first aspect, in the fourth implementation of the first aspect, the service type includes: one or more of: express delivery, music, photos, contact messages, event reminder messages, tickets, etc.
结合第一方面的第一种实现方式至第四种实现方式的任一一种实现方式,在第一方面的第五种实现方式中,所述显示所述内容显示信息包括:根据所述内容显示信息的更新时间,逆序显示所述内容显示信息。In combination with any one of the first to fourth implementations of the first aspect, in a fifth implementation of the first aspect, displaying the content display information includes: displaying the content display information in reverse order according to an update time of the content display information.
结合第一方面至第一方面的第五种实现方式的任一一种实现方式,在第一方面的第六种实现方式中,所述终端获取至少一个内容源的内容信息,包括:In combination with any one of the first aspect to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the terminal obtaining content information of at least one content source includes:
所述终端获取所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息;The terminal obtains the at least two account information and address information of content sources corresponding to the at least two account information;
所述终端根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,向所述内容源发送第一获取请求;The terminal sends a first acquisition request to the content source according to the at least two account information and address information of the content source corresponding to the at least two account information;
所述终端接收所述内容源根据所述第一获取请求发送的所述内容信息。The terminal receives the content information sent by the content source according to the first acquisition request.
结合第一方面至第一方面的第五种实现方式的任一一种实现方式,在第一方面的第七种实现方式中,所述终端获取至少一个内容源的内容信息,包括:In combination with any one of the first aspect to the fifth implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the terminal obtaining content information of at least one content source includes:
所述终端向服务器发送第二获取请求;The terminal sends a second acquisition request to the server;
所述终端接收所述服务器根据所述第二获取请求,从所述至少两个账户信息对应的内容源获取的所述内容信息。The terminal receives the content information obtained by the server from the content sources corresponding to the at least two account information according to the second acquisition request.
结合第一方面的任一一种实现方式,在第一方面的第八种实现方式中,所述终端分N级显示内容显示信息,N为大于等于2的整数。In combination with any implementation manner of the first aspect, in an eighth implementation manner of the first aspect, the terminal displays content information in N levels, where N is an integer greater than or equal to 2.
第二方面,本发明实施例提供了一种信息显示方法,所述方法包括:In a second aspect, an embodiment of the present invention provides an information display method, the method comprising:
终端向服务器发送获取请求,获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;The terminal sends an acquisition request to the server to acquire content information of at least one content source, where the at least one content source corresponds to at least two account information stored in the terminal;
所述终端接收所述服务器根据获取请求发送的内容显示信息,所述内容显示信息由所述服务器整合从所述至少两个账户信息对应的内容源获取的内容信息得到;The terminal receives content display information sent by the server according to the acquisition request, where the content display information is obtained by the server integrating content information acquired from content sources corresponding to the at least two account information;
所述终端显示所述内容显示信息。The terminal displays the content display information.
结合第二方面,在第二方面的第一种实现方式中,所述内容显示信息是已分类的结构化数据格式的内容信息。In combination with the second aspect, in a first implementation manner of the second aspect, the content display information is content information in a classified structured data format.
结合第二方面的第一种实现方式,在第二方面的第二种实现方式中,所述分类的类型包括:用户标识、业务类型、内容源的一种或多种。In combination with the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the classification type includes: one or more of: user identification, service type, and content source.
结合第二方面的第二种实现方式,在第二方面的第三种实现方式中,所述业务类型包括:快递、音乐、相片、联系人消息、事件提醒消息、票据等的一种或多种。In combination with the second implementation of the second aspect, in the third implementation of the second aspect, the service type includes: one or more of: express delivery, music, photos, contact messages, event reminder messages, tickets, etc.
结合第二方面的任一一种实现方式,在第二方面的第四种实现方式中,其特征在于,In combination with any one implementation of the second aspect, in a fourth implementation of the second aspect, it is characterized in that:
所述显示所述内容显示信息包括:The displaying of the content display information includes:
根据所述内容显示信息的更新时间,逆序显示所述内容显示信息。The content display information is displayed in reverse order according to the update time of the content display information.
结合第二方面的任一一种实现方式,在第二方面的第五种实现方式中,所述终端分N级显示内容显示信息,N为大于等于2的整数。In combination with any implementation of the second aspect, in a fifth implementation of the second aspect, the terminal displays content information in N levels, where N is an integer greater than or equal to 2.
第三方面,本发明实施例提供了一种信息显示方法,所述方法包括:In a third aspect, an embodiment of the present invention provides an information display method, the method comprising:
服务器获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息,所述至少两个账户信息对应至少一个内容源;The server obtains at least two account information and address information of content sources corresponding to the at least two account information, where the at least two account information correspond to at least one content source;
所述服务器根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,从所述至少两个账户信息对应的内容源获取内容信息;The server obtains content information from the content source corresponding to the at least two account information based on the at least two account information and address information of the content source corresponding to the at least two account information;
所述服务器将所述内容信息整合成内容显示消息;The server integrates the content information into a content display message;
所述服务器将所述内容显示信息发送给终端显示。The server sends the content display information to the terminal for display.
结合第三方面,在第三方面的第一种实现方式中,所述的将所述内容信息整合成内容显示信息包括:In conjunction with the third aspect, in a first implementation of the third aspect, integrating the content information into content display information includes:
根据规则将所述内容信息由非结构化数据格式转换为结构化数据格式;Converting the content information from an unstructured data format to a structured data format according to the rules;
将所述结构化数据格式的内容信息进行分类,得到已分类的结构化数据格式的内容信息,即内容显示信息。The content information in the structured data format is classified to obtain classified content information in the structured data format, namely, content display information.
结合第三方面,在第三方面的第二种实现方式中,所述的将所述内容信息整合成内容显示信息包括:In conjunction with the third aspect, in a second implementation of the third aspect, integrating the content information into content display information includes:
将所述内容信息进行分类;classifying the content information;
根据规则将所述分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到已分类的结构化数据格式的内容信息,即内容显示信息。The classified content information is converted from an unstructured data format to a structured data format according to the rules, to obtain the classified content information in the structured data format, namely, the content display information.
结合第三方面的任一一种实现方式,在第三方面的第三种实现方式中,所述获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息之前,还包括:In combination with any implementation of the third aspect, in a third implementation of the third aspect, before obtaining at least two pieces of account information and address information of content sources corresponding to the at least two pieces of account information, the method further includes:
所述服务器接收终端发送的获取请求,所述获取请求用于指示所述服务器获取内容源的内容信息。The server receives an acquisition request sent by a terminal, where the acquisition request is used to instruct the server to acquire content information of a content source.
第四方面,本发明实施例提供了一种信息显示终端,所述终端包括:In a fourth aspect, an embodiment of the present invention provides an information display terminal, comprising:
采集模块,用于获取至少一个内容源的内容信息,所述至少一个内容源The acquisition module is used to obtain content information of at least one content source.
与所述终端中存储的至少两个账户信息对应;corresponding to at least two pieces of account information stored in the terminal;
整合模块,用于将所述内容信息整合成内容显示信息;an integration module, configured to integrate the content information into content display information;
显示模块,用于显示所述内容显示信息。The display module is configured to display the content display information.
结合第四方面,在第四方面的第一种实现方式中,所述整合模块包括:In conjunction with the fourth aspect, in a first implementation of the fourth aspect, the integration module includes:
转换模块,用于根据规则将采集模块获取的内容信息由非结构化数据格式转换为结构化数据格式;A conversion module, configured to convert the content information acquired by the acquisition module from an unstructured data format to a structured data format according to rules;
分类模块,用于将所述结构化数据格式的内容信息进行分类,得到已分类的结构化数据格式的内容信息,即内容显示信息。The classification module is used to classify the content information in the structured data format to obtain classified content information in the structured data format, namely, content display information.
结合第四方面,在第四方面的第二种实现方式中,所述整合模块包括:In conjunction with the fourth aspect, in a second implementation of the fourth aspect, the integration module includes:
分类模块,用于将采集模块获取的内容信息进行分类;A classification module, used to classify the content information obtained by the acquisition module;
转换模块,用于根据规则将分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到已分类的结构化数据格式的内容信息,即内容显示信息。The conversion module is used to convert the classified content information from an unstructured data format to a structured data format according to the rules, so as to obtain the classified content information in the structured data format, namely, the content display information.
结合第四方面的第一种实现方式或第二种实现方式,在第四方面的第三种实现方式中,所述已分类的结构化数据格式的内容信息中分类的类型包括:用户标识、业务类型、内容源中的一种或多种。In combination with the first implementation or the second implementation of the fourth aspect, in the third implementation of the fourth aspect, the classification types in the classified structured data format content information include: one or more of: user identification, business type, and content source.
结合第四方面的第三种实现方式,在第四方面的第四种实现方式中,所述业务类型包括:快递、音乐、相片、联系人消息、事件提醒消息、票据等的一种或多种。In combination with the third implementation of the fourth aspect, in the fourth implementation of the fourth aspect, the service types include: one or more of: express delivery, music, photos, contact messages, event reminder messages, tickets, etc.
结合第四方面的第一种实现方式至第四种实现方式的任一一种实现方式,在第四方面的第五种实现方式中,所述显示所述内容显示信息包括:根据所述内容显示信息的更新时间,逆序显示所述内容显示信息。In combination with any one of the first to fourth implementations of the fourth aspect, in a fifth implementation of the fourth aspect, displaying the content display information includes: displaying the content display information in reverse order according to an update time of the content display information.
结合第四方面至第四方面的第五种实现方式的任一一种实现方式,在第四方面的第六种实现方式中,所述终端获取至少一个内容源的内容信息,包括:In combination with any one of the fourth aspect to the fifth implementation manner of the fourth aspect, in a sixth implementation manner of the fourth aspect, the terminal obtaining content information of at least one content source includes:
所述终端获取所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息;The terminal obtains the at least two account information and address information of content sources corresponding to the at least two account information;
所述终端根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,向所述内容源发送第一获取请求;The terminal sends a first acquisition request to the content source according to the at least two account information and address information of the content source corresponding to the at least two account information;
所述终端接收所述内容源根据所述第一获取请求发送的所述内容信息。The terminal receives the content information sent by the content source according to the first acquisition request.
结合第四方面至第四方面的第五种实现方式的任一一种实现方式,在第四方面的第七种实现方式中,所述终端获取至少一个内容源的内容信息,包括:In combination with any one of the fourth aspect to the fifth implementation manner of the fourth aspect, in a seventh implementation manner of the fourth aspect, the terminal obtaining content information of at least one content source includes:
所述终端向服务器发送第二获取请求;The terminal sends a second acquisition request to the server;
所述终端接收所述服务器根据所述第二获取请求,从所述至少两个账户信息对应的内容源获取的所述内容信息。The terminal receives the content information obtained by the server from the content sources corresponding to the at least two account information according to the second acquisition request.
结合第四方面的任一一种实现方式,在第四方面的第八种实现方式中,所述显示模块分N级显示内容显示信息,N为大于等于2的整数。In combination with any implementation manner of the fourth aspect, in an eighth implementation manner of the fourth aspect, the display module displays content information in N levels, where N is an integer greater than or equal to 2.
第五方面,本发明实施例提供了一种信息显示终端,所述终端包括:In a fifth aspect, an embodiment of the present invention provides an information display terminal, the terminal comprising:
发送模块,向服务器发送获取请求,获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;a sending module, configured to send an acquisition request to a server to acquire content information of at least one content source, wherein the at least one content source corresponds to at least two account information stored in the terminal;
接收模块,用于接收所述服务器根据获取请求发送的内容显示信息,所述内容显示信息由所述服务器整合从所述至少两个账户信息对应的内容源获取的内容信息得到;a receiving module, configured to receive content display information sent by the server in response to an acquisition request, wherein the content display information is obtained by the server integrating content information acquired from content sources corresponding to the at least two account information;
显示模块,用于显示所述内容显示信息。The display module is configured to display the content display information.
结合第五方面,在第五方面的第一种实现方式中,所述内容显示信息是已分类的结构化数据格式的内容信息。In combination with the fifth aspect, in a first implementation manner of the fifth aspect, the content display information is content information in a classified structured data format.
结合第五方面的第一种实现方式,在第五方面的第二种实现方式中,所述分类的类型包括:用户标识、业务类型、内容源中的一种或多种。In combination with the first implementation manner of the fifth aspect, in the second implementation manner of the fifth aspect, the classification type includes: one or more of: user identification, service type, and content source.
结合第五方面的第二种实现方式,在第五方面的第三种实现方式中,所述业务类型包括:快递、音乐、相片、联系人消息、事件提醒消息、票据等的一种或多种。In combination with the second implementation method of the fifth aspect, in the third implementation method of the fifth aspect, the business type includes: one or more of: express delivery, music, photos, contact messages, event reminder messages, tickets, etc.
结合第五方面的任一一种实现方式,在第五方面的第四种实现方式中,其特征在于,In combination with any one implementation of the fifth aspect, in a fourth implementation of the fifth aspect, it is characterized in that:
所述显示所述内容显示信息包括:The displaying of the content display information includes:
根据所述内容显示信息的更新时间,逆序显示所述内容显示信息。The content display information is displayed in reverse order according to the update time of the content display information.
结合第五方面的任一一种实现方式,在第五方面的第五种实现方式中,所述显示模块分N级显示内容显示信息,N为大于等于2的整数。In combination with any implementation of the fifth aspect, in a fifth implementation of the fifth aspect, the display module displays content information in N levels, where N is an integer greater than or equal to 2.
第六方面,本发明实施例提供了一种信息显示服务器,所述服务器包括:In a sixth aspect, an embodiment of the present invention provides an information display server, the server comprising:
获取模块,用于获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息,所述至少两个账户信息对应至少一个内容源;an acquisition module, configured to acquire at least two pieces of account information and address information of content sources corresponding to the at least two pieces of account information, wherein the at least two pieces of account information correspond to at least one content source;
采集模块,用于根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,从所述至少两个账户信息对应的内容源获取内容信息;an acquisition module, configured to acquire content information from the content sources corresponding to the at least two pieces of account information based on the at least two pieces of account information and address information of the content sources corresponding to the at least two pieces of account information;
整合模块,用于将所述内容信息整合成内容显示信息;an integration module, configured to integrate the content information into content display information;
发送模块,用于将所述内容显示信息发送给终端显示。The sending module is used to send the content display information to the terminal for display.
结合第六方面,在第六方面的第一种实现方式中,所述整合模块包括:In conjunction with the sixth aspect, in a first implementation of the sixth aspect, the integration module includes:
转换模块,用于根据规则将采集模块获取的内容信息由非结构化数据格式转换为结构化数据格式;A conversion module, configured to convert the content information acquired by the acquisition module from an unstructured data format to a structured data format according to rules;
分类模块,用于将所述结构化数据格式的内容信息进行分类,得到已分类的结构化数据格式的内容信息,即内容显示信息。The classification module is used to classify the content information in the structured data format to obtain classified content information in the structured data format, namely, content display information.
结合第六方面,在第六方面的第二种实现方式中,所述整合模块包括:In conjunction with the sixth aspect, in a second implementation of the sixth aspect, the integration module includes:
分类模块,用于将采集模块获取的内容信息进行分类;A classification module, used to classify the content information obtained by the acquisition module;
转换模块,用于根据规则将分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到已分类的结构化数据格式的内容信息,即内容显示信息。The conversion module is used to convert the classified content information from an unstructured data format to a structured data format according to the rules, so as to obtain the classified content information in the structured data format, namely, the content display information.
结合第六方面的任一一种实现方式,在第六方面的第三种实现方式中,所述获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息之前,还包括:In combination with any implementation of the sixth aspect, in a third implementation of the sixth aspect, before obtaining the at least two pieces of account information and the address information of the content source corresponding to the at least two pieces of account information, the method further includes:
所述服务器接收终端发送的获取请求,所述获取请求用于指示所述服务器获取内容源的内容信息。The server receives an acquisition request sent by a terminal, where the acquisition request is used to instruct the server to acquire content information of a content source.
第七方面,本发明实施例提供了一种信息显示终端,所述终端包括:In a seventh aspect, an embodiment of the present invention provides an information display terminal, the terminal comprising:
处理器,存储器,显示屏和收发器,所述处理器、所述存储器、所述显示屏和所述收发器通过总线通信;A processor, a memory, a display screen and a transceiver, wherein the processor, the memory, the display screen and the transceiver communicate via a bus;
所述收发器,用于获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;The transceiver is configured to obtain content information of at least one content source, wherein the at least one content source corresponds to at least two account information stored in the terminal;
所述处理器,用于将所述内容信息整合成内容显示信息;The processor is configured to integrate the content information into content display information;
所述显示屏,用于显示所述内容显示信息。The display screen is used to display the content display information.
结合第七方面,在第七方面的第一种实现方式,所述处理器具体用于:In conjunction with the seventh aspect, in a first implementation of the seventh aspect, the processor is specifically configured to:
根据规则将所述内容信息由非结构化数据格式转换为结构化数据格式;Converting the content information from an unstructured data format to a structured data format according to the rules;
将所述结构化数据格式的内容信息进行分类,得到已分类的结构化数据格式的内容信息,即内容显示信息。The content information in the structured data format is classified to obtain classified content information in the structured data format, namely, content display information.
结合第七方面,在第七方面的第二种实现方式,所述处理器用于将所述内容信息整合成内容显示信息,包括:In conjunction with the seventh aspect, in a second implementation of the seventh aspect, the processor is configured to integrate the content information into content display information, including:
将所述内容信息进行分类;classifying the content information;
根据规则将所述分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到已分类的结构化数据格式的内容信息,即内容显示信息。The classified content information is converted from an unstructured data format to a structured data format according to the rules, to obtain the classified content information in the structured data format, namely, the content display information.
结合第七方面的第一种实现方式或第二种实现方式,在第七方面的第三种实现方式中,所述已分类的结构化数据格式的内容信息的分类类型包括:用户标识分类、业务类型分类、内容源分类中的一种或多种。In combination with the first implementation or the second implementation of the seventh aspect, in the third implementation of the seventh aspect, the classification type of the content information in the classified structured data format includes: one or more of: user identification classification, business type classification, and content source classification.
结合第七方面的第三种实现方式,在第四方面的第四种实现方式中,所述业务类型包括:快递、音乐、相片、联系人消息、事件提醒消息、票据等的一种或多种。In combination with the third implementation method of the seventh aspect, in the fourth implementation method of the fourth aspect, the business types include: one or more of: express delivery, music, photos, contact messages, event reminder messages, tickets, etc.
结合第七方面的第一种实现方式至第四种实现方式的任一一种实现方式,在第七方面的第五种实现方式中,所述显示所述内容显示信息包括:根据所述内容显示信息的更新时间,逆序显示所述内容显示信息。In combination with any one of the first to fourth implementations of the seventh aspect, in the fifth implementation of the seventh aspect, displaying the content display information includes: displaying the content display information in reverse order according to the update time of the content display information.
结合第七方面至第七方面的第五种实现方式的任一一种实现方式,在第七方面的第六种实现方式中,所述获取至少一个内容源的内容信息,包括:In combination with any one of the seventh aspect to the fifth implementation of the seventh aspect, in a sixth implementation of the seventh aspect, obtaining content information of at least one content source includes:
所述处理器获取所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息;The processor obtains the at least two account information and address information of content sources corresponding to the at least two account information;
所述收发器根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,向所述内容源发送第一获取请求;The transceiver sends a first acquisition request to the content source according to the at least two account information and address information of the content source corresponding to the at least two account information;
所述收发器接收所述内容源根据所述第一获取请求发送的所述内容信息。The transceiver receives the content information sent by the content source according to the first acquisition request.
结合第七方面至第七方面的第五种实现方式的任一一种实现方式,在第七方面的第七种实现方式中,所述获取至少一个内容源的内容信息,包括:In combination with any one of the seventh aspect to the fifth implementation of the seventh aspect, in a seventh implementation of the seventh aspect, obtaining content information of at least one content source includes:
所述收发器向服务器发送第二获取请求;The transceiver sends a second acquisition request to the server;
所述收发器接收所述服务器根据所述第二获取请求,从所述至少两个账户信息对应的内容源获取的所述内容信息。The transceiver receives the content information obtained by the server from the content sources corresponding to the at least two account information according to the second acquisition request.
结合第七方面的任一一种实现方式,在第七方面的第八种实现方式中,所述显示屏分N级显示内容显示信息,N为大于等于2的整数。In combination with any implementation of the seventh aspect, in an eighth implementation of the seventh aspect, the display screen displays content and information in N levels, where N is an integer greater than or equal to 2.
第八方面,本发明实施例提供了一种信息显示终端,所述终端包括:In an eighth aspect, an embodiment of the present invention provides an information display terminal, the terminal comprising:
处理器,存储器,显示屏和收发器,所述处理器、所述存储器、所述显示屏和所述收发器通过总线通信;A processor, a memory, a display screen and a transceiver, wherein the processor, the memory, the display screen and the transceiver communicate via a bus;
所述收发器,用于向服务器发送获取请求,获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;The transceiver is configured to send an acquisition request to a server to acquire content information of at least one content source, where the at least one content source corresponds to at least two account information stored in the terminal;
所述收发器还用于接收所述服务器根据获取请求发送的内容显示信息,所述内容显示信息由所述服务器整合从所述至少两个账户信息对应的内容源获取的内容信息得到;The transceiver is further configured to receive content display information sent by the server in response to the acquisition request, wherein the content display information is obtained by the server integrating content information acquired from content sources corresponding to the at least two account information;
所述处理器用于解析所述接收的内容显示信息;The processor is configured to parse the received content display information;
所述显示屏用于显示所述内容显示信息。The display screen is used to display the content display information.
结合第八方面,在第八方面的第一种实现方式中,所述内容显示信息是已分类的结构化数据格式的内容信息。In combination with the eighth aspect, in a first implementation manner of the eighth aspect, the content display information is content information in a classified structured data format.
结合第八方面的第一种实现方式,在第八方面的第二种实现方式中,所述分类的类型包括:用户标识、业务类型、内容源中的一种或多种。In combination with the first implementation manner of the eighth aspect, in the second implementation manner of the eighth aspect, the classification type includes: one or more of: user identification, service type, and content source.
结合第八方面的第二种实现方式,在第八方面的第三种实现方式中,所述业务类型包括:快递、音乐、相片、联系人消息、事件提醒消息、票据等的一种或多种。In combination with the second implementation method of the eighth aspect, in the third implementation method of the eighth aspect, the business types include: one or more of: express delivery, music, photos, contact messages, event reminder messages, tickets, etc.
结合第八方面的任一一种实现方式,在第八方面的第四种实现方式中,其特征在于,In combination with any one implementation of the eighth aspect, in a fourth implementation of the eighth aspect, it is characterized in that:
所述显示所述内容显示信息包括:The displaying of the content display information includes:
根据所述内容显示信息的更新时间,逆序显示所述内容显示信息。The content display information is displayed in reverse order according to the update time of the content display information.
结合第八方面的任一一种实现方式,在第八方面的第五种实现方式中,所述显示屏分N级显示内容显示信息,N为大于等于2的整数。In combination with any implementation of the eighth aspect, in a fifth implementation of the eighth aspect, the display screen displays content information in N levels, where N is an integer greater than or equal to 2.
第九方面,本发明实施例提供了一种信息显示服务器,所述服务器包括:In a ninth aspect, an embodiment of the present invention provides an information display server, the server comprising:
处理器,存储器,显示屏和收发器,所述处理器、所述存储器、所述显示屏和所述收发器通过总线通信;A processor, a memory, a display screen and a transceiver, wherein the processor, the memory, the display screen and the transceiver communicate via a bus;
所述处理器用于获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息,所述至少两个账户信息对应至少一个内容源;The processor is configured to obtain at least two pieces of account information and address information of content sources corresponding to the at least two pieces of account information, wherein the at least two pieces of account information correspond to at least one content source;
所述收发器用于根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,从所述至少两个账户信息对应的内容源获取内容信息;The transceiver is configured to obtain content information from the content source corresponding to the at least two account information based on the at least two account information and address information of the content source corresponding to the at least two account information;
所述处理器还用于将所述内容信息整合成内容显示消息;The processor is further configured to integrate the content information into a content display message;
所述收发器还用于将所述内容显示信息发送给终端显示。The transceiver is further configured to send the content display information to a terminal for display.
结合第九方面,在第九方面的第一种实现方式中,所述处理器具体用于:In conjunction with the ninth aspect, in a first implementation of the ninth aspect, the processor is specifically configured to:
根据规则将所述内容信息由非结构化数据格式转换为结构化数据格式;Converting the content information from an unstructured data format to a structured data format according to the rules;
将所述结构化数据格式的内容信息进行分类,得到已分类的结构化数据格式的内容信息,即内容显示信息。The content information in the structured data format is classified to obtain classified content information in the structured data format, namely, content display information.
结合第九方面,在第九方面的第二种实现方式中,所述处理器具体用于:In conjunction with the ninth aspect, in a second implementation of the ninth aspect, the processor is specifically configured to:
将所述内容信息进行分类;classifying the content information;
根据规则将所述分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到已分类的结构化数据格式的内容信息,即内容显示信息。The classified content information is converted from an unstructured data format to a structured data format according to the rules, to obtain the classified content information in the structured data format, namely, the content display information.
结合第九方面的任一一种实现方式,在第九方面的第三种实现方式中,所述获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息之前,还包括:In combination with any implementation of the ninth aspect, in a third implementation of the ninth aspect, before obtaining at least two pieces of account information and address information of content sources corresponding to the at least two pieces of account information, the method further includes:
所述服务器接收终端发送的获取请求,所述获取请求用于指示所述服务器获取内容源的内容信息。The server receives an acquisition request sent by a terminal, where the acquisition request is used to instruct the server to acquire content information of a content source.
本发明上述实施例提供的方案通过获取内容源的内容信息,整合后分类显示给用户,使用户查询信息时方便、直观。The solution provided by the above embodiment of the present invention obtains content information from content sources, integrates it, and displays it to the user in a classified manner, making it convenient and intuitive for the user to query information.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对现有技术或实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the prior art or embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
图1是本发明实施例1公开的一种信息显示方法的流程示意图;FIG1 is a schematic flow chart of an information display method disclosed in Example 1 of the present invention;
图1a是本发明实施例1公开的一种信息显示方法的一种实现方法的流程示意图;FIG1a is a flow chart of an implementation method of an information display method disclosed in Example 1 of the present invention;
图1b是本发明实施例1公开的一种信息显示方法的另一种实现方法的流程示意图;FIG1b is a flow chart of another implementation method of an information display method disclosed in Example 1 of the present invention;
图2a是本发明实施例2公开的一种信息显示方法的流程示意图;FIG2a is a schematic flow chart of an information display method disclosed in Example 2 of the present invention;
图2b是本发明实施例2公开的又一种信息显示方法的流程示意图;FIG2 b is a schematic flow chart of another information display method disclosed in Example 2 of the present invention;
图2c是本发明实施例2公开的又一种信息显示方法的一种实现方法的流程示意图;FIG2c is a flow chart of an implementation method of another information display method disclosed in Example 2 of the present invention;
图2d是本发明实施例2公开的又一种信息显示方法的另一种实现方法的流程示意图;FIG2 d is a flow chart of another implementation method of another information display method disclosed in Example 2 of the present invention;
图3是本发明实施例3公开的又一种信息显示装置的结构示意图;FIG3 is a schematic structural diagram of another information display device disclosed in Example 3 of the present invention;
图4a是本发明实施例4公开的一种信息显示装置的结构示意图;FIG4a is a schematic structural diagram of an information display device disclosed in Example 4 of the present invention;
图4b是本发明实施例4公开的又一种信息显示装置的结构示意图;FIG4 b is a schematic structural diagram of another information display device disclosed in Example 4 of the present invention;
图5是本发明实施例5公开的一种信息显示终端的硬件结构示意图。FIG5 is a schematic diagram of the hardware structure of an information display terminal disclosed in Example 5 of the present invention.
图6是本发明实施例6公开的一种信息显示服务器的硬件结构示意图。FIG6 is a schematic diagram of the hardware structure of an information display server disclosed in Example 6 of the present invention.
具体实施方式DETAILED DESCRIPTION
为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明具体实施例作进一步的详细描述。为了理解本发明,在以下详细描述中提到了众多具体细节。但是本领域技术人员应该理解,本发明可以无需这些具体细节实现。在其他实例中,不详细描述公知的方法、过程、组件和电路等,以免造成实施例不必要地模糊。显然,以下所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, specific embodiments of the present invention are further described in detail below with reference to the accompanying drawings. In order to understand the present invention, many specific details are mentioned in the following detailed description. However, those skilled in the art should understand that the present invention can be implemented without these specific details. In other examples, well-known methods, processes, components, circuits, etc. are not described in detail to avoid unnecessary ambiguity in the embodiments. Obviously, the embodiments described below are some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
在下文描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现的顺序来执行或并行执行,操作的序号如102、104等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。In some of the processes described below, multiple operations are included in a specific order. However, it should be understood that these operations may not be performed in the order in which they are presented herein or may be performed in parallel. Operation numbers such as 102, 104, etc. are merely used to distinguish between different operations and do not represent any order of execution. In addition, these processes may include more or fewer operations, and these operations may be performed sequentially or in parallel.
需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。本文中的“若”,是表示满足某个条件、状态,包括了“当”、“条件满足后”、“判断成立”等含义。“消息”是承载若干信息的载体,包括信令、通信信号、数据消息等多种形式。It should be noted that terms like "first" and "second" in this document are used to distinguish different messages, devices, modules, etc., and do not indicate a sequential order or limit the "first" and "second" to different types. The term "if" in this document refers to the fulfillment of a certain condition or state, including "when," "after the condition is met," and "when the judgment is established." A "message" is a carrier of information and can take various forms, including signaling, communication signals, and data messages.
需要说明的是,在本发明实施例当中描述的终端包括但不限于智能手机、平板电脑、智能电器、全球定位系统(Global Position System,GPS)设备、无线保真(WirelessFidelity,Wi-Fi)热点设备、无线上网设备、智能眼镜、智能手表以及其他穿戴式智能设备等具有显示功能的用户设备。It should be noted that the terminals described in the embodiments of the present invention include but are not limited to smart phones, tablet computers, smart appliances, Global Positioning System (GPS) devices, Wireless Fidelity (Wi-Fi) hotspot devices, wireless Internet access devices, smart glasses, smart watches and other wearable smart devices and other user devices with display functions.
需要说明的是,在本发明实施例当中描述的内容源用于向用户提供所需的信息或服务,内容源可以为网站、应用等。本发明实施例描述的不同内容源可来自同一厂商,也可来自不同的厂商。例如,所述内容源可包括亚马逊、去哪儿网、YouTube等网站。It should be noted that the content sources described in the embodiments of the present invention are used to provide users with required information or services. The content sources can be websites, applications, etc. The different content sources described in the embodiments of the present invention can come from the same manufacturer or from different manufacturers. For example, the content sources can include websites such as Amazon, Qunar.com, and YouTube.
用户可以通过终端选择内容源,从内容源获取内容信息。所述内容信息是指内容源中与用户相关的信息,可包括用户选择的服务、用户存储的信息等的具体内容,如内容信息可为从淘宝购买的商品的具体信息,包括该商品的名称、快递状态等。内容信息可以来自同一内容源,即终端获取的是一个内容源的一条内容信息或一个内容源的多条内容信息;所述内容信息可以来自不同的内容源,即终端获取的多条内容信息可来自多个不同的内容源。所述内容信息可从终端获取,还可从网站、应用等的服务器获取。Users can select a content source through a terminal and obtain content information from the content source. Content information refers to user-related information within the content source, and may include specific content such as services selected by the user and information stored by the user. For example, content information may be specific information about a product purchased from Taobao, including the product's name and delivery status. Content information can come from the same content source, meaning the terminal obtains one piece of content information from a single content source or multiple pieces of content information from a single content source. Content information can also come from different content sources, meaning the multiple pieces of content information obtained by the terminal may come from multiple different content sources. Content information can be obtained from the terminal or from servers such as websites and applications.
内容源的账户信息是从内容源获取内容信息时,内容源验证终端时使用的信息,可以包括对应的用户名,或者用户名和用户密码等。举例来说,短信应用的账户信息可以是终端中用户识别卡的标识;亚马逊网站的账户信息,可以是用户通过终端在亚马逊注册的用户名和密码。The content source's account information is the information used by the content source to authenticate the terminal when obtaining content information from the source. It can include the corresponding username, or username and password. For example, the account information for a text messaging app can be the identifier of the user identification card in the terminal; the account information for the Amazon website can be the username and password registered by the user on Amazon through the terminal.
需要说明的是,本发明实施例中的数据格式是指数据保存在文件或记录中的编排格式。若本发明通过运行一个聚合信息的应用来实现本发明实施例的方法,那么本发明实施例所描述的结构化数据格式的内容信息与非结构化数据格式的内容信息均是相对该应用的数据的存储格式而言的。所述结构化数据格式是指数据编排格式的字段含义确定、清晰且按确定的顺序排列,是该应用的数据的存储格式,该应用对结构化数据格式的数据可直接读取使用和显示。所述非结构化数据格式是结构化数据格式以外的数据,即该聚合信息的应用不能直接读取使用和显示的数据格式。举例来说,该聚合信息的应用从亚马逊获取的内容信息可能是一个超文本标记语言(HyperText Mark-up Language,HTML)的文件,包含许多该聚合信息的应用不可直接识别的数据,相对该聚合信息的应用的数据格式来说是含义不定、杂乱或排列不一的,该聚合信息的应用可根据亚马逊HTML文件与该聚合信息的应用预设的数据格式之间的对应关系,提取该聚合信息应用所需的内容,并按该聚合信息的应用的数据格式编排,如数组或数据库,即得到该聚合信息的应用的结构化数据格式的内容信息。It should be noted that the data format in the embodiment of the present invention refers to the arrangement format of data stored in files or records. If the present invention implements the method of the embodiment of the present invention by running an application that aggregates information, then the content information of the structured data format and the content information of the unstructured data format described in the embodiment of the present invention are both relative to the storage format of the data of the application. The structured data format refers to a data arrangement format in which the fields have a definite and clear meaning and are arranged in a certain order. It is the storage format of the data of the application, and the application can directly read, use and display the data in the structured data format. The unstructured data format is data other than the structured data format, that is, the data format that cannot be directly read, used and displayed by the application that aggregates information. For example, the content information obtained by the information aggregation application from Amazon may be a HyperText Markup Language (HTML) file, which contains a lot of data that cannot be directly recognized by the information aggregation application. The data is ambiguous, messy, or arranged differently relative to the data format of the information aggregation application. The information aggregation application can extract the content required by the information aggregation application based on the correspondence between the Amazon HTML file and the data format preset by the information aggregation application, and arrange it according to the data format of the information aggregation application, such as an array or database, to obtain the content information in the structured data format of the information aggregation application.
本发明实施例1提供了一种信息显示的方法。如图1所示,所述方法可由终端执行。所述方法包括:Embodiment 1 of the present invention provides a method for displaying information. As shown in FIG1 , the method can be executed by a terminal. The method includes:
步骤102,获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;Step 102: Obtain content information of at least one content source, where the at least one content source corresponds to at least two account information stored in the terminal;
步骤104,将所述内容信息整合成内容显示信息;Step 104: integrating the content information into content display information;
步骤106,显示所述内容显示信息。Step 106: Display the content display information.
可选的,可以由终端运行一个聚合信息的应用来执行本发明实施例的方法。当该聚合信息的应用被启动时,可以执行步骤102。启动该聚合信息的应用的方式有多种,例如点击该聚合信息的应用对应的图标,或者按下该聚合信息的应用对应的快捷键等,本发明实施例对该聚合信息的应用的启动方式不做限定。Optionally, the terminal may run an information aggregation application to perform the method of the embodiment of the present invention. When the information aggregation application is launched, step 102 may be executed. There are various ways to launch the information aggregation application, such as clicking an icon corresponding to the information aggregation application or pressing a shortcut key corresponding to the information aggregation application. The embodiment of the present invention does not limit the launching method of the information aggregation application.
可选的,该聚合信息的应用的界面中还可以设置更新按钮,可以当用户通过点击更新按钮等方式触发更新时,执行步骤102。Optionally, an update button may be provided in the interface of the application for aggregating information, and step 102 may be executed when the user triggers an update by clicking the update button or the like.
可选的,终端还可以定时执行步骤102,通过设置定时器或其他方式,当到了预设的时间间隔或时间点,执行步骤102。步骤102执行之后,可以直接执行步骤104和步骤106,也可以在步骤104和步骤106之前执行其他步骤,然后,再执行步骤104和步骤106。例如:该聚合信息的应用默认设置或用户可设置每隔5分钟更新一次显示的所述内容显示消息,即每隔5分钟,执行步骤102~步骤106的方法,更新显示的内容显示消息。该聚合信息的应用默认设置或用户也可设置某个或某些时间点更新显示的所述内容显示消息,即在所述的时间点执行步骤102~步骤106的方法,更新显示的内容显示消息。Optionally, the terminal may also execute step 102 at a fixed time, by setting a timer or other means, and execute step 102 when a preset time interval or time point is reached. After step 102 is executed, steps 104 and 106 may be executed directly, or other steps may be executed before steps 104 and 106, and then steps 104 and 106 are executed. For example: the application default setting of the aggregated information or the user may set the content display message to be updated every 5 minutes, that is, every 5 minutes, the method of steps 102 to 106 is executed to update the displayed content display message. The application default setting of the aggregated information or the user may also set the content display message to be updated at a certain time point or certain points in time, that is, the method of steps 102 to 106 is executed at the said time point to update the displayed content display message.
在具体实现过程中,用户可以注册一个用于登陆上述聚合信息的应用的系统账户。登陆该系统账户之后,用户通过终端可以选择或输入与该系统账户关联的内容源,以及与该系统账户关联的内容源的账户信息。如:如果用户想通过该聚合信息的应用获取亚马逊和淘宝的内容信息,可以先注册并登陆一个系统账户,并在该系统账户中添加亚马逊和淘宝,以及对应的亚马逊的账户信息和淘宝的账户信息。可以理解,与系统账户关联的内容源或者内容源的账户信息,在添加之后,也可以修改或删除,本发明实施例对此不做限定。可以理解,对应一个内容源,也可以有两个或两个以上的账户信息。可选的,无论添加、修改或删除与系统账户关联的内容源或者内容源的账户信息时,该聚合信息的应用都会及时将对应的信息更新到存储的内容源账户信息中。During the specific implementation process, the user can register a system account for logging into the above-mentioned aggregate information application. After logging into the system account, the user can select or input the content source associated with the system account, as well as the account information of the content source associated with the system account through the terminal. For example, if the user wants to obtain content information of Amazon and Taobao through the application of the aggregate information, he can first register and log in to a system account, and add Amazon and Taobao, as well as the corresponding Amazon account information and Taobao account information in the system account. It can be understood that the content source or the account information of the content source associated with the system account can also be modified or deleted after being added, and the embodiment of the present invention does not limit this. It can be understood that there can also be two or more account information corresponding to one content source. Optionally, regardless of adding, modifying or deleting the content source or the account information of the content source associated with the system account, the application of the aggregate information will promptly update the corresponding information to the stored content source account information.
在具体实现过程中,终端获取内容源的内容信息可直接从内容源获取,也可通过终端对应的服务器获取。在一种实现方式中,步骤102中终端获取至少一个内容源的内容信息,包括:In a specific implementation process, the terminal may obtain the content information of the content source directly from the content source or through a server corresponding to the terminal. In one implementation, in step 102, the terminal obtains the content information of at least one content source, including:
获取所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息;Acquire the at least two account information and address information of content sources corresponding to the at least two account information;
根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,向所述内容源发送第一获取请求;Sending a first acquisition request to the content source according to the at least two account information and address information of the content source corresponding to the at least two account information;
接收所述内容源根据所述第一获取请求发送的所述内容信息。Receive the content information sent by the content source according to the first acquisition request.
所述内容源的地址信息是指能访问到对应内容源的地址,如亚马逊地址www.amazon.cn。终端从不同的内容源获取内容信息时,可以是多线程处理。所述多线程处理是指同时获取不同内容源的内容信息。可选的,从内容源获取内容信息的具体实现会根据具体情况的不同而有所不同。例如:对于开放应用程序编程接口(ApplicationProgramming Interface,API)的内容源,可通过开放的API获取内容信息。对于不开放API的内容源,可根据内容源的账户信息模拟登陆到内容源获取内容信息。所述模拟登陆是指该聚合信息的应用根据内容源的账户信息登陆内容源,不需用户操作,终端也不显示登录界面和登录过程。The address information of the content source refers to the address that can access the corresponding content source, such as the Amazon address www.amazon.cn. When the terminal obtains content information from different content sources, it can be multi-threaded processing. The multi-threaded processing refers to obtaining content information from different content sources at the same time. Optionally, the specific implementation of obtaining content information from the content source will vary depending on the specific situation. For example: for content sources with open application programming interfaces (Application Programming Interface, API), content information can be obtained through the open API. For content sources that do not open APIs, content information can be obtained by simulating logging into the content source based on the account information of the content source. The simulated login refers to the application of the aggregated information logging into the content source based on the account information of the content source, without user operation, and the terminal does not display the login interface and login process.
在另一种实现方式中,步骤102中终端获取至少一个内容源的内容信息,包括:In another implementation, in step 102, the terminal obtains content information of at least one content source, including:
向服务器发送第二获取请求;Send a second get request to the server;
接收所述服务器根据所述第二获取请求,从所述至少两个账户信息对应的内容源获取的所述内容信息。The content information is received, which is obtained by the server from the content sources corresponding to the at least two account information according to the second obtaining request.
终端向服务器发送的第二获取请求前,终端可先获取内容源的账户信息和地址信息,终端向服务器发送的第二获取请求包括内容源的地址信息和账户信息,所述内容源的账户信息和地址信息包括至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息,所述至少两个账户信息对应至少一个内容源;若服务器已存储内容源的账户信息和内容源的地址信息,终端向服务器发送的获取请求可包括内容源的账户信息和地址信息,也可只包括能指示服务器获取内容信息的内容源的账户信息和地址信息的其他信息,如:系统账户信息和内容源信息。其中,系统账户信息包括系统账户或系统账户标识,所述系统账户标识唯一指示系统账户,服务器可根据系统账户信息获取已存储的与该系统账户关联的内容源的账户信息和内容源的地址信息。所述内容源信息可为内容源标识或内容源的地址信息,其中,内容源标识能唯一指示内容源的地址,可为数字、字符或其他,本发明对其形式不作限制。终端从对应的服务器获取内容信息时,可以是多线程处理。Before sending a second acquisition request to the server, the terminal may first obtain the account information and address information of the content source. The second acquisition request sent by the terminal to the server includes the address information and account information of the content source. The account information and address information of the content source include at least two pieces of account information and the address information of the content source corresponding to the at least two pieces of account information, and the at least two pieces of account information correspond to at least one content source. If the server already stores the account information and address information of the content source, the acquisition request sent by the terminal to the server may include the account information and address information of the content source, or may include only other information that can instruct the server to obtain the account information and address information of the content source, such as system account information and content source information. The system account information includes a system account or a system account identifier. The system account identifier uniquely identifies the system account. The server may obtain the stored account information and address information of the content source associated with the system account based on the system account information. The content source information may be a content source identifier or content source address information. The content source identifier uniquely identifies the address of the content source and may be a number, a character, or other form. The present invention does not limit its form. When the terminal obtains content information from the corresponding server, it can be multi-threaded processing.
可选的,步骤102中,在获取内容源的内容信息前还包括鉴权。Optionally, in step 102, authentication is also included before obtaining the content information of the content source.
所述鉴权可为该聚合信息的应用根据内容源的账户信息登录内容源时,内容源鉴定该账户信息的相关权限。所述鉴权还可为该聚合信息的应用包括账号登陆鉴权:当该聚合信息的应用登录内容源后,可获得该内容源的一个鉴权消息,如Cookie,Cookie为内容源的账户名加密码的某种加密形式,不同的内容源对应的Cookie不同;可将该鉴权消息以一定的形式存储,如:将该鉴权消息与标识系统账户的系统标识以某种加密形式存储;当再次根据内容源的账户信息登陆该内容源获取内容信息时,先根据系统账户和内容源的账户信息获取存储的鉴权消息。当该聚合信息的应用从内容源获取内容信息时,终端发送的消息中携带该鉴权消息,内容源根据该鉴权消息鉴定权限。本发明实施例对鉴权只举例说明,对其具体形式不作限定。所述鉴权可进一步保障用户账户的安全。The authentication can involve the aggregated information application logging into the content source based on the content source's account information, and the content source verifying the relevant permissions of the account information. The authentication can also include account login authentication for the aggregated information application: after logging into the content source, the aggregated information application can obtain an authentication message from the content source, such as a cookie. The cookie is an encrypted form of the content source's account name plus a password, and different content sources correspond to different cookies. The authentication message can be stored in a certain form, such as by storing the authentication message and a system identifier that identifies the system account in an encrypted form. When the aggregated information application logs into the content source again based on the content source's account information to obtain content information, the stored authentication message is first obtained based on the system account and the content source's account information. When the aggregated information application obtains content information from the content source, the terminal sends a message carrying the authentication message, and the content source verifies permissions based on the authentication message. The embodiments of the present invention only illustrate authentication by example and do not limit its specific form. The authentication can further ensure the security of user accounts.
可选的,步骤104中将所述内容信息整合成内容显示信息的一种实现方式如图1a所示,包括:Optionally, an implementation method for integrating the content information into content display information in step 104 is shown in FIG. 1a and includes:
步骤1042a,根据规则将所述内容信息由非结构化数据格式转换为结构化数据格式;Step 1042a, converting the content information from an unstructured data format to a structured data format according to the rules;
步骤1044a,将所述结构化数据格式的内容信息进行分类,得到已分类的结构化数据格式的内容信息,即内容显示信息。Step 1044a: classify the content information in the structured data format to obtain classified content information in the structured data format, namely, content display information.
步骤1042a所述的根据规则将所述内容信息由非结构化数据格式转换为结构化数据格式,可便于统一显示所需的内容显示信息。其中,所述规则是数据格式转换的对应关系,也即获取到非结构化数据格式的内容信息后,根据规则中非结构化数据格式的内容信息与结构化数据格式的内容信息之间的对应关系,从非结构化数据格式的内容信息中获取相应的结构化数据格式的内容信息。每个内容源的内容信息的数据格式会不一样,所以对于不同的内容源会有不同的规则。可选的,本发明实施例所描述的内容源是定制的内容源,以提高获取内容信息的正确性。所述定制的内容源是指该聚合信息应用添加的内容源是该应用中已包括规则的内容源中的一个或多个。所述已包括规则的内容源是指对该内容源相应的内容信息进行了分析,并存储了该内容源的内容信息数据格式转换对应的规则。具体的,对于开放API的内容源,可通过API获取该内容源的内容信息,根据规则从中提取所需的内容信息并以该聚合信息应用的结构化数据格式存储;对于不开放API的内容源,在模拟登陆到内容源获取相关内容信息后,可根据规则将获取的非结构化的内容信息转换为所述聚合信息应用的结构化数据格式的内容信息。可选的,所述规则可先存储于终端或服务器,当获取到内容源的内容信息时,加载对应的规则,根据其中的对应关系获取结构化数据格式的内容信息。可选的,可以设置一个规则中心,设置于终端或服务器。当需要对规则进行更新时,如:获取内容信息的内容源的数据结构发生改变或增加新的内容源规则等,可以将新的规则更新到规则中心,以推送给该聚合信息应用的方式更新规则或者以更新该聚合信息应用(如应用升级)的方式更新规则。所述推送是通过服务器与终端的之间的通信将数据信息发送到终端,本发明实施例可通过所述推送的方法实现规则的更新,如添加规则、替换规则等;所述更新应用是将应用更新到一个新版本,所述通过更新该聚合信息应用的方式更新规则,是将新的规则添加到新版本的聚合信息应用中,在检测到用户安装新版本的应用时更新规则。The conversion of the content information from an unstructured data format to a structured data format according to the rules described in step 1042a can facilitate the unified display of the required content display information. The rules are the corresponding relationships for data format conversion, that is, after obtaining the content information in an unstructured data format, the corresponding content information in a structured data format is obtained from the content information in the unstructured data format according to the corresponding relationship between the content information in the unstructured data format and the content information in the structured data format in the rules. The data format of the content information of each content source will be different, so there will be different rules for different content sources. Optionally, the content source described in the embodiment of the present invention is a customized content source to improve the accuracy of obtaining content information. The customized content source refers to one or more content sources that the aggregate information application adds, which are already included in the rules of the application. The content source that already includes rules refers to the content source that has analyzed the corresponding content information of the content source and stored the rules corresponding to the data format conversion of the content information of the content source. Specifically, for content sources with open APIs, content information from the content source can be obtained through the API, and the required content information can be extracted from it according to the rules and stored in the structured data format of the aggregate information application. For content sources that do not have open APIs, after simulating a login to the content source to obtain relevant content information, the obtained unstructured content information can be converted into content information in the structured data format of the aggregate information application according to the rules. Optionally, the rules can be first stored in a terminal or server. When the content information of the content source is obtained, the corresponding rules are loaded, and the content information in the structured data format is obtained according to the corresponding relationship. Optionally, a rule center can be set up and installed in the terminal or server. When the rules need to be updated, such as when the data structure of the content source that obtains the content information changes or new content source rules are added, the new rules can be updated to the rule center and pushed to the aggregate information application to update the rules or updated by updating the aggregate information application (such as an application upgrade). The push method is to send data information to the terminal through communication between the server and the terminal. The embodiment of the present invention can realize the update of rules through the push method, such as adding rules, replacing rules, etc.; the updating application is to update the application to a new version, and the updating of rules by updating the aggregate information application is to add new rules to the new version of the aggregate information application, and update the rules when it is detected that the user has installed the new version of the application.
步骤1044a所述的将所述结构化数据格式的内容信息进行分类是根据该聚合信息应用的分类来分类。该聚合信息应用的分类可为用户自定义分类或选择该应用已设定的某些分类,本发明实施例对分类的具体形式不作限定。The classification of the structured data format content information in step 1044a is based on the classification of the information aggregation application. The classification of the information aggregation application can be user-defined classification or selected from certain classifications set by the application. The embodiment of the present invention does not limit the specific form of classification.
可选的,根据该聚合信息应用的分类可包括:基于用户标识分类、基于业务类型分类、基于内容源分类等的其中一种或多种组合。其中,基于用户标识分类为根据不同用户标识来分类,所述用户标识是指能指示用户身份的字段,具有相同用户标识的用户为同一用户,每一个内容源的账户信息都对应一个用户标识。用户标识可为字符、数字等,对其具体形式不作限定。比如:在聚合信息应用下,包含两个不同用户标识的信息,终端可根据用户标识将具有相同用户标识的信息分在一类;若这两个用户标识分别标识杰克和汤姆,那么杰克的所有内容信息分在一类,汤姆的信息分在一类。基于业务类型分类是基于内容信息的属性分类。基于业务类型分类的类型可包括:快递、音乐、相片、联系人消息、事件提醒消息、票据等的一种或多种。具有相同业务类型或具有相同业务类型标识的内容信息分为一类。具体的,所述快递类是指将所有包含快递信息的内容信息分为一类,具体可包括:亚马逊、京东、淘宝等内容源中的快递信息;基于音乐分类是将属性为音乐的内容信息归为一类,可包括:web在线音乐、qq音乐、终端存储的音乐等;基于相片分类是将获取的相册信息分为一类,可包括:flickr中的相册、instagram中的相册等;所述联系人消息类可包括短信、呼叫、微博或邮件等信息;所述票据类是指购买的票据信息,如:票据的购买时间、有效时间、可使用时间等,具体可包括购买的飞机票、火车票、电影票等。基于内容源分类是基于内容信息的来源进行分类,即将同一内容源的信息分为一类,如将所有从淘宝中获取的内容信息分为一类,可能包括多个淘宝账户的内容信息或一个淘宝账户包括多个内容信息等;同样,可将从京东获取的内容信息分为一类,新浪微博的内容信息分类一类等。本发明事实例包含的分类方式还包括上述一种或多种分类的组合,如所述一种或多种分类的组合可包括一级分类和二级分类,二级分类隶属于一级分类,具体来说,若一级分类为基于业务类型分类,如快递,二级分类为基于用户标识分类,如杰克和汤姆,那么杰克的快递信息一起显示,汤姆的快递信息一起显示,但都显示在快递这一大类。本发明实施例对内容信息的分类只举例说明,对其具体的内容和形式不作限定。Optionally, classification based on the aggregated information application may include one or more combinations of classification based on user ID, classification based on service type, and classification based on content source. Classification based on user ID refers to classification based on different user IDs. A user ID is a field that indicates a user's identity. Users with the same user ID are considered the same user, and each content source's account information corresponds to a user ID. User IDs can be characters, numbers, or other forms, and their specific form is not limited. For example, in an aggregated information application, information containing two different user IDs can be grouped together based on the user IDs. If the two user IDs identify Jack and Tom, respectively, all content related to Jack is grouped together, and all content related to Tom is grouped together. Classification based on service type refers to classification based on the attributes of the content information. The service type classification may include one or more of: express delivery, music, photos, contact messages, event reminder messages, and invoices. Content information with the same service type or service type identifier is grouped together. Specifically, the express delivery category categorizes all content containing express delivery information into one category, specifically including express delivery information from sources such as Amazon, JD.com, and Taobao. Music-based classification categorizes content with music attributes into one category, specifically including online music, QQ Music, and music stored on devices. Photo-based classification categorizes acquired photo albums into one category, specifically including albums from Flickr and Instagram. The contact message category may include text messages, calls, Weibo, or emails. The ticket category refers to purchased ticket information, such as the purchase time, validity period, and usable time of the ticket, specifically including purchased airline tickets, train tickets, and movie tickets. Content source-based classification categorizes content information based on its source, grouping information from the same content source into one category. For example, all content information acquired from Taobao could be grouped into one category, potentially including content from multiple Taobao accounts or multiple content from a single Taobao account. Similarly, content information acquired from JD.com could be grouped into one category, and content information from Sina Weibo could be grouped into another. The classification methods included in the embodiments of the present invention also include a combination of one or more of the above classifications. For example, the combination of one or more classifications may include a primary classification and a secondary classification, where the secondary classification is subordinate to the primary classification. Specifically, if the primary classification is based on business type, such as express delivery, and the secondary classification is based on user identification, such as Jack and Tom, then Jack's express delivery information is displayed together, and Tom's express delivery information is displayed together, but both are displayed in the express delivery category. The embodiments of the present invention only illustrate the classification of content information and do not limit its specific content and form.
可选的,步骤104中将所述内容信息整合成内容显示信息的另一种实现方式如图1b所示,包括:Optionally, another implementation of integrating the content information into content display information in step 104 is shown in FIG1b , and includes:
步骤1042b,将所述内容信息进行分类;Step 1042b, classifying the content information;
步骤1044b,根据规则将所述分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到已分类的结构化数据格式的内容信息,即内容显示信息。Step 1044b: convert the classified content information from an unstructured data format to a structured data format according to the rules, to obtain classified content information in a structured data format, namely, content display information.
在具体实现过程中,步骤1042b~步骤1044b的方法与步骤1042a~步骤1044a的方法类似,步骤1042b~步骤1044b的方法是先对获取的内容信息进行分类,再根据规则将所述分类后的内容信息由非结构化数据格式转换为结构化的数据格式;而步骤1042a~步骤1044a的方法是先根据规则将所述内容信息由非结构化数据格式转换为结构化数据格式;再将所述结构化数据格式的内容信息进行分类。具体的分类方法和根据规则将非结构化数据格式转换为结构化数据格式的方法在步骤1042a和步骤1044a中都有详细描述,在此不再赘述。In the specific implementation process, the method of steps 1042b to 1044b is similar to the method of steps 1042a to 1044a. The method of steps 1042b to 1044b first classifies the acquired content information and then converts the classified content information from an unstructured data format to a structured data format according to the rules. In contrast, the method of steps 1042a to 1044a first converts the content information from an unstructured data format to a structured data format according to the rules and then classifies the content information in the structured data format. The specific classification method and the method of converting the unstructured data format to a structured data format according to the rules are described in detail in steps 1042a and 1044a and will not be repeated here.
可选的,在步骤104所述的“将所述内容信息整合成内容显示信息”后还可包括存储所述内容显示信息。存储所述内容显示信息是将整合的内容显示信息存储起来。存储所述内容显示信息可在步骤106的显示所述内容显示信息之前或之后,或与步骤106同时执行。存储所述内容显示信息还包括将所述内容显示信息与已存储的内容显示信息比对,更新所述已存储的内容显示信息。具体可包括:若存在当前内容显示信息,则将已存储的内容显示信息替换,更新为当前的内容显示信息;若不存在当前内容显示信息,则直接添加/创建该内容显示信息。Optionally, after "integrating the content information into content display information" in step 104, the content display information may also be stored. Storing the content display information means storing the integrated content display information. Storing the content display information may be performed before or after displaying the content display information in step 106, or simultaneously with step 106. Storing the content display information also includes comparing the content display information with stored content display information and updating the stored content display information. Specifically, this may include: if current content display information exists, replacing the stored content display information with the current content display information; if current content display information does not exist, directly adding/creating the content display information.
可选的,在步骤106中,所述内容显示信息是已分类的结构化数据格式的内容信息。显示所述内容显示信息包括:根据所述内容显示信息的更新时间,显示所述内容显示信息。可选的,该聚合信息应用可根据所述内容显示信息的更新时间,逆序显示所述内容显示信息。也即已进行分类的内容显示信息按各分类对应的内容显示信息的更新时间逆序排列显示。所述逆序是指按信息的更新时间倒序排列,即每个分类中先显示最新的内容显示信息,然后按更新的时间依次排列显示。Optionally, in step 106, the content display information is categorized content information in a structured data format. Displaying the content display information includes: displaying the content display information according to the update time of the content display information. Optionally, the aggregated information application may display the content display information in reverse order according to the update time of the content display information. That is, the categorized content display information is displayed in reverse order according to the update time of the content display information corresponding to each category. The reverse order refers to arranging in reverse order according to the update time of the information, that is, the latest content display information in each category is displayed first, and then displayed in order according to the update time.
可选的,显示所述内容显示信息包括分级显示所述内容显示信息。所述内容显示信息可分N级显示,N大于等于1。可选的,分级显示内容显示信息与上述内容显示信息的分类相对应。具体的,如分两级显示内容显示信息,第一级显示对应一级分类,第二级显示对应二级分类,第二级显示隶属于第一级显示。举例来说,该聚合信息的应用设置了两种分类的组合,基于业务类型的一级分类下还包括基于内容源的二级分类,对应的内容显示信息分别为来源于淘宝、京东的快递信息和flickr的相片信息,那么来源于淘宝和京东的快递信息会显示在快递这一第一级显示下,来源于flickr的相片信息会显示在相片这一第一级显示下,且来源于淘宝的所有快递信息会在淘宝的这一二级分类显示下,来源于京东的所有快递信息会在京东的这一二级分类显示下;若此内容显示信息还分别来自不同的用户,即具有不同的用户标识,那么可分三级显示,具体分级信息与两级显示相似,不再赘述。其中,可选的,在该聚合信息应用的第一显示页面,即包括所有第一级显示或一级分类信息的页面,可显示第一级显示或一级分类的全部或部分内容显示信息。当显示的是部分内容显示信息时,每个第一级显示的显示区域都设置有进入对应第二级显示的内容显示信息的第二显示页面的链接。在应用的第一显示页面,各级显示可设置为相同的显示方式,如:每个第一级显示下都显示一条最新的内容显示信息;各级显示也可设置为不同的显示形式,如:在第一显示页面显示一条最新快递信息、显示两条最新联系人消息等。具体的设置形式可根据具体情况进行选择和调节,本发明实施例不作限制。可选的,显示所述内容显示信息的第一显示页面或第二显示页面设置有进入相应内容源的链接。Optionally, displaying the content display information includes displaying the content display information in a hierarchical manner. The content display information may be displayed in N levels, where N is greater than or equal to 1. Optionally, the hierarchical display of the content display information corresponds to the classification of the content display information. Specifically, the content display information may be displayed in two levels, with the first level display corresponding to the first level classification and the second level display corresponding to the second level classification, with the second level display being subordinate to the first level display. For example, the application of aggregated information sets a combination of two classifications: the first level classification based on business type also includes a second level classification based on content source. The corresponding content display information is express delivery information from Taobao and JD.com, and photo information from Flickr. In this case, express delivery information from Taobao and JD.com will be displayed in the first level display of Express, photo information from Flickr will be displayed in the first level display of Photos, and all express delivery information from Taobao will be displayed in the second level category of Taobao, while all express delivery information from JD.com will be displayed in the second level category of JD.com. If the content display information also comes from different users, i.e., has different user identifiers, it may be displayed in three levels. The specific hierarchical information is similar to the two-level display and will not be further described. Among them, optionally, on the first display page of the aggregate information application, that is, the page including all first-level display or first-level classification information, all or part of the content display information of the first-level display or first-level classification can be displayed. When partial content display information is displayed, the display area of each first-level display is provided with a link to the second display page of the content display information corresponding to the second-level display. On the first display page of the application, each level of display can be set to the same display mode, such as: each first-level display displays a latest content display information; each level of display can also be set to different display forms, such as: displaying a latest express information on the first display page, displaying two latest contact messages, etc. The specific setting form can be selected and adjusted according to the specific situation, and the embodiment of the present invention does not limit it. Optionally, the first display page or the second display page displaying the content display information is provided with a link to the corresponding content source.
可选的,显示所述内容显示信息还包括实时更新所述显示的内容显示信息。所述实时更新所述显示的内容显示信息可为根据系统默认设置的更新时间更新或根据用户设置的更新时间更新,还可为应用检测到触发机制时更新,如:检测到用户点击了某个按钮、链接等。所述实时更新所述显示的内容显示信息还包括执行步骤102的所有情况,上述已对执行步骤102的情况进行了描述,此处不再赘述。Optionally, displaying the content information further includes updating the displayed content information in real time. The real-time updating of the displayed content information may be based on a system default update time or a user-set update time, or may be based on the application detecting a trigger mechanism, such as detecting a user click on a button or link. The real-time updating of the displayed content information also includes all instances of executing step 102, which have been described above and will not be repeated here.
本实施例中提供的一种信息显示的方法,终端通过获取内容源的内容信息,整合后分类显示给用户,使用户查询信息时简洁、直观,不再繁琐。In this embodiment, a method for displaying information is provided. A terminal obtains content information from a content source, integrates it, and displays it to a user in a classified manner, so that the user can query information in a simple, intuitive, and no longer tedious manner.
本发明实施例2提供了一种信息显示的方法,如图2所示。Embodiment 2 of the present invention provides a method for displaying information, as shown in FIG2 .
此方法在终端一侧执行时,其流程图如图2a所示,包括以下步骤:When this method is executed on the terminal side, its flow chart is shown in FIG2a, which includes the following steps:
步骤202a,向服务器发送获取请求,获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;Step 202a: Sending an acquisition request to a server to acquire content information of at least one content source, where the at least one content source corresponds to at least two account information stored in the terminal;
步骤204a,接收所述服务器根据获取请求发送的内容显示信息,所述内容显示信息由所述服务器整合从所述至少两个账户信息对应的内容源获取的内容信息得到;Step 204a, receiving content display information sent by the server in response to the acquisition request, wherein the content display information is obtained by the server integrating content information acquired from content sources corresponding to the at least two account information;
步骤206a,显示所述内容显示信息。Step 206a: display the content display information.
此方法在服务器侧执行时,其流程图如图2b所示,包括以下步骤:When this method is executed on the server side, its flow chart is shown in FIG2b , which includes the following steps:
步骤202b,获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息,所述至少两个账户信息对应至少一个内容源;Step 202b: obtaining at least two pieces of account information and address information of content sources corresponding to the at least two pieces of account information, wherein the at least two pieces of account information correspond to at least one content source;
步骤204b,根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,从所述至少两个账户信息对应的内容源获取内容信息;Step 204b: acquiring content information from the content sources corresponding to the at least two account information based on the at least two account information and the address information of the content sources corresponding to the at least two account information;
步骤206b,将所述内容信息整合成内容显示消息;Step 206b, integrating the content information into a content display message;
步骤208b,将所述内容显示信息发送给终端显示。Step 208b: Send the content display information to the terminal for display.
可选的,可以由终端运行一个聚合信息的应用来执行本发明实施例中流程图2a所述的方法。所述执行步骤202a的情况与实施例1中执行步骤102的情况相同,此处不再赘述。Optionally, the terminal may run an information aggregation application to execute the method described in flow chart 2a of the embodiment of the present invention. The execution of step 202a is the same as the execution of step 102 in embodiment 1, and will not be repeated here.
在具体实现过程中,用户可以注册一个用于登陆上述聚合信息的应用的系统账户。登陆该系统账户之后,用户通过终端可以选择或输入与该系统账户关联的内容源,以及与该系统账户关联的内容源的账户信息。所述系统账户的相关内容已在实施例1中描述,此处不再赘述。可选的,无论添加、修改或删除与系统账户关联的内容源或者内容源的账户信息时,该聚合信息的应用都会及时将对应的信息更新到存储的内容源账户信息中。During implementation, a user can register a system account for logging into the aforementioned information aggregation application. After logging into the system account, the user can select or enter the content source associated with the system account and the account information of the content source associated with the system account through the terminal. The relevant details of the system account have been described in Example 1 and will not be repeated here. Optionally, whenever a content source or the account information of a content source associated with the system account is added, modified, or deleted, the information aggregation application will promptly update the corresponding information to the stored content source account information.
内容源的账户信息和地址信息可存储于终端,也可存储于服务器,也可存储于终端和服务器。当服务器存储有内容源的账户信息和地址信息时,终端向服务器发送的获取请求可包括内容源的账户信息和地址信息,也可只包括能指示服务器获取内容源的账户信息和地址信息的其他信息,如:系统账户信息和内容源信息。其中,系统账户信息包括系统账户或系统账户标识,所述系统账户标识唯一指示系统账户,服务器可根据系统账户信息获取已存储的与该系统账户关联的内容源的账户信息和内容源的地址信息。所述内容源信息可为内容源标识或内容源的地址信息。其中,内容源标识能唯一指示内容源的地址信息,可为数字、字符或其他,本发明对其形式不作限制。The account information and address information of the content source can be stored in the terminal, in the server, or in both the terminal and the server. When the server stores the account information and address information of the content source, the acquisition request sent by the terminal to the server may include the account information and address information of the content source, or may only include other information that can instruct the server to obtain the account information and address information of the content source, such as system account information and content source information. Among them, the system account information includes a system account or a system account identifier, and the system account identifier uniquely indicates the system account. The server can obtain the stored account information and address information of the content source associated with the system account based on the system account information. The content source information can be a content source identifier or the address information of the content source. Among them, the content source identifier can uniquely indicate the address information of the content source, and can be a number, a character or other, and the present invention does not limit its form.
可选的,终端向服务器发送的获取请求还可包括具体的任务信息。所述任务信息指示所需获取的内容信息的具体内容。举例来说,终端向服务器发送获取请求获取购买的淘宝商品的信息,发送的请求中包括系统账户标识和淘宝的内容源信息,服务器根据终端的获取请求中的系统账户标识校验用户身份后,返回淘宝中的商品信息;当再次获取该商品的信息时,如:跟踪该商品的快递状态,终端发送的获取请求中可包括具体的任务信息,如:该任务信息可携带该商品的物流单号、物流公司信息,请求获取该商品的快递状态。可选的,在获取内容源的内容信息前还包括鉴权。所述鉴权的相关内容已在实施例1中详细描述,此处不再赘述。Optionally, the acquisition request sent by the terminal to the server may also include specific task information. The task information indicates the specific content of the content information to be obtained. For example, the terminal sends an acquisition request to the server to obtain information about the purchased Taobao product. The request sent includes the system account identifier and the content source information of Taobao. The server verifies the user identity based on the system account identifier in the terminal's acquisition request and returns the product information in Taobao. When obtaining the information of the product again, such as tracking the express delivery status of the product, the acquisition request sent by the terminal may include specific task information, such as the task information may carry the logistics order number and logistics company information of the product, and request to obtain the express delivery status of the product. Optionally, authentication is also included before obtaining the content information of the content source. The relevant content of the authentication has been described in detail in Example 1 and will not be repeated here.
可选的,终端以POST方式向服务器发送获取请求,该消息的格式为JSON(JavaScript Object Notation,JavaScript对象符号)格式,终端将获取内容信息所需的参数携带于JSON的BODY部分,服务器接收到终端的POST请求后会将请求的内容信息返回给终端。可选的,终端向服务器发送获取请求获取内容源的内容信息时,可以是多线程处理。所述多线程处理是指同时获取不同内容源的内容信息。Optionally, the terminal sends a request to the server via POST. The message is formatted in JSON (JavaScript Object Notation). The terminal includes the parameters required to obtain the content information in the BODY portion of the JSON. After receiving the POST request from the terminal, the server returns the requested content information to the terminal. Optionally, when the terminal sends a request to the server to obtain content information from a content source, multi-threaded processing can be used. Multi-threaded processing refers to simultaneously obtaining content information from different content sources.
可选的,步骤204a“接收所述服务器发送的内容显示信息”的所述内容显示信息可为服务器接收到步骤202a的获取请求时,根据获取请求从内容源获取的内容信息;也可为服务器已存储的内容显示信息。Optionally, the content display information in step 204a of "receiving content display information sent by the server" may be content information obtained from the content source according to the acquisition request when the server receives the acquisition request in step 202a; or may be content display information stored by the server.
在具体实现过程中,所述内容显示信息是已分类的结构化数据格式的内容信息。所述显示所述内容显示信息也是按内容显示信息的分类来显示。该分类可为用户自定义分类或选择该应用已设定的某些分类,本发明实施例对分类的具体形式不作限定。该分类的类型可包括:用户标识、业务类型、内容源等的其中一种或多种组合。其中,基于用户标识分类为根据不同用户标识来分类,所述用户标识是指能指示用户身份的字段,具有相同用户标识的用户为同一用户,每一个内容源的账户信息都对应一个用户标识。用户标识可为字符、数字、字母和数字的组合等,对其具体形式不作限定。比如:在该聚合信息应用下,包含两个不同用户标识的信息,即包含了两个不同用户的信息,那么将具有相同用户标识的信息分在一类;若这两个用户标识分别标识杰克和汤姆,那么杰克的所有内容信息分在一类,汤姆的信息分在一类。基于业务类型进行分类是基于内容信息的属性分类。基于业务类型分类的类型可包括:快递、音乐、相片、联系人消息、事件提醒消息、票据等的一种或多种。具有相同业务类型或具有相同业务类型标识的内容信息分为一类。具体的,所述快递类是指将所有包含快递信息的内容信息分为一类,具体可包括:亚马逊、京东、淘宝等内容源中的快递信息;基于音乐分类是将属性为音乐的内容信息归为一类,可包括:web在线音乐、qq音乐、终端存储的音乐等;基于相片分类是将获取的相片信息分为一类,可包括:flickr中的相片、instagram中的相片等;所述联系人消息类可包括短信、呼叫、微博或邮件等信息;所述票据类是指购买的票据信息,如:票据的购买时间、有效时间、可使用时间等,具体可包括购买的飞机票、火车票、电影票等。基于内容源分类是基于内容信息的来源进行分类,即将同一内容源的信息分为一类,如将所有从淘宝中获取的内容信息分为一类,可能包括多个淘宝账户的内容信息或一个淘宝账户包括多个内容信息等;同样,可将从京东获取的内容信息分为一类,新浪微博的内容信息分类一类等。本发明事实例包含的分类方式还包括上述一种或多种分类的组合,如所述一种或多种分类的组合可包括一级分类和二级分类,二级分类隶属于一级分类,具体来说,若一级分类为基于业务类型分类,如快递,二级分类为基于用户标识分类,如杰克和汤姆,那么杰克的快递信息一起显示,汤姆的快递信息一起显示,但都显示在快递这一大类。本发明实施例对内容信息的分类只举例说明,对其具体的内容和形式不作限定。In a specific implementation, the content display information is categorized content information in a structured data format. The content display information is also displayed according to the categories of the content display information. This category can be user-defined or selected from certain categories already defined by the application. The embodiments of the present invention do not limit the specific form of the categories. The categories may include one or more combinations of user IDs, service types, and content sources. User ID-based classification involves classification based on different user IDs. The user ID refers to a field that indicates a user's identity. Users with the same user ID are considered the same user, and each content source's account information corresponds to a user ID. User IDs can be characters, numbers, or a combination of letters and numbers, and their specific form is not limited. For example, in this aggregated information application, if information contains two different user IDs, i.e., information from two different users, the information with the same user ID will be grouped together. If the two user IDs identify Jack and Tom, respectively, all of Jack's content will be grouped together, and Tom's content will be grouped together. Classification based on service type is based on the attributes of the content information. The service type-based classification types may include one or more of: express delivery, music, photos, contact messages, event reminder messages, tickets, etc. Content information with the same business type or the same business type identifier is grouped into one category. Specifically, the express delivery category groups all content information containing express delivery information into one category, specifically including express delivery information from content sources such as Amazon, JD.com, and Taobao. Music-based classification groups content information with music attributes into one category, specifically including online music, QQ Music, and music stored on terminals. Photo-based classification groups acquired photo information into one category, specifically including photos from Flickr and Instagram. The contact message category includes information such as text messages, calls, Weibo, or emails. The ticket category refers to purchased ticket information, such as the purchase time, validity period, and usable time of the ticket, specifically including purchased airline tickets, train tickets, and movie tickets. Content source classification is based on the source of the content information, that is, information from the same content source is grouped into one category. For example, all content information acquired from Taobao is grouped into one category, which may include content information from multiple Taobao accounts or multiple content information from a single Taobao account. Similarly, content information acquired from JD.com can be grouped into one category, and content information from Sina Weibo can be grouped into another category. The classification methods included in the embodiments of the present invention also include a combination of one or more of the above classifications. For example, the combination of one or more classifications may include a primary classification and a secondary classification, where the secondary classification is subordinate to the primary classification. Specifically, if the primary classification is based on business type, such as express delivery, and the secondary classification is based on user identification, such as Jack and Tom, then Jack's express delivery information is displayed together, and Tom's express delivery information is displayed together, but both are displayed in the express delivery category. The embodiments of the present invention only illustrate the classification of content information and do not limit its specific content and form.
可选的,显示所述内容显示信息包括:根据所述内容显示信息的更新时间,显示所述内容显示信息。可选的,该聚合信息应用可根据所述内容显示信息的更新时间,逆序显示所述内容显示信息。也即已进行分类的内容显示信息按各分类对应的内容显示信息的更新时间逆序排列显示。所述逆序是指按信息的更新时间倒序排列,即每个分类中先显示最新的内容显示信息,然后按更新的时间依次排列显示。Optionally, displaying the content display information includes: displaying the content display information according to the update time of the content display information. Optionally, the information aggregation application may display the content display information in reverse order according to the update time of the content display information. That is, the categorized content display information is displayed in reverse order according to the update time of the content display information corresponding to each category. The reverse order refers to the reverse order of the update time of the information, that is, the latest content display information in each category is displayed first, and then the content display information is displayed in order according to the update time.
可选的,显示所述内容显示信息包括分级显示所述内容显示信息。所述内容显示信息可分N级显示,N大于等于1。可选的,分级显示内容显示信息与上述内容显示信息的分类相对应。具体的,如分两级显示内容显示信息,第一级显示对应一级分类,第二级显示对应二级分类,第二级显示隶属于第一级显示。举例来说,该聚合信息的应用设置了两种分类的组合,基于业务类型的一级分类下还包括基于内容源的二级分类,对应的内容显示信息分别为来源于淘宝、京东的快递信息和flickr的相片信息,那么来源于淘宝和京东的快递信息会显示在快递这一第一级显示下,来源于flickr的相片信息会显示在相片这一第一级显示下,且来源于淘宝的所有快递信息会在淘宝的这一二级分类显示下,来源于京东的所有快递信息会在京东的这一二级分类显示下;若此内容显示信息还分别来自不同的用户,即具有不同的用户标识,那么可分三级显示,具体分级信息与两级显示相似,不再赘述。其中,可选的,在应用的第一显示页面,即包括所有第一级显示或一级分类信息的页面,可显示第一级显示或一级分类的全部或部分内容显示信息。当显示的是部分内容显示信息时,每个第一级显示的显示区域都设置有进入对应第二级显示的内容显示信息的第二显示页面的链接。在应用的第一显示页面,各级显示可设置为相同的显示方式,如:每个第一级显示下都显示一条最新的内容显示信息;各级显示也可设置为不同的显示形式,如:在第一显示页面显示一条最新快递信息、显示两条最新联系人消息等。具体的设置形式可根据具体情况进行选择和调节,本发明实施例不作限制。可选的,显示所述内容显示信息的第一显示页面或第二显示页面设置有进入相应内容源的链接。Optionally, displaying the content display information includes displaying the content display information in a hierarchical manner. The content display information may be displayed in N levels, where N is greater than or equal to 1. Optionally, the hierarchical display of the content display information corresponds to the classification of the content display information. Specifically, the content display information may be displayed in two levels, with the first level display corresponding to the first level classification and the second level display corresponding to the second level classification, with the second level display being subordinate to the first level display. For example, the application of aggregated information sets a combination of two classifications: the first level classification based on business type also includes a second level classification based on content source. The corresponding content display information is express delivery information from Taobao and JD.com, and photo information from Flickr. In this case, express delivery information from Taobao and JD.com will be displayed in the first level display of Express, photo information from Flickr will be displayed in the first level display of Photos, and all express delivery information from Taobao will be displayed in the second level category of Taobao, while all express delivery information from JD.com will be displayed in the second level category of JD.com. If the content display information also comes from different users, i.e., has different user identifiers, it may be displayed in three levels. The specific hierarchical information is similar to the two-level display and will not be further described. Among them, optionally, on the first display page of the application, that is, the page including all first-level display or first-level classification information, all or part of the content display information of the first-level display or the first-level classification can be displayed. When partial content display information is displayed, the display area of each first-level display is provided with a link to the second display page of the content display information corresponding to the second-level display. On the first display page of the application, each level of display can be set to the same display mode, such as: each first-level display displays a latest content display information; each level of display can also be set to different display forms, such as: displaying a latest express information on the first display page, displaying two latest contact messages, etc. The specific setting form can be selected and adjusted according to the specific situation, and the embodiment of the present invention does not limit it. Optionally, the first display page or the second display page displaying the content display information is provided with a link to the corresponding content source.
可选的,显示所述内容显示信息还包括实时更新所述显示的内容显示信息。所述实时更新所述显示的内容显示信息可为根据系统设置的更新时间更新或根据用户设置的更新时间更新,还可为应用检测到触发机制时更新,如:检测到用户点击了某个按钮、链接等。所述实时更新所述显示的内容显示信息与实施例1的情况相同,在此不再赘述。Optionally, displaying the content display information further includes updating the displayed content display information in real time. The real-time updating of the displayed content display information may be based on a system-set update time or a user-set update time, or may be based on the application detecting a trigger mechanism, such as detecting a user click on a button or link. The real-time updating of the displayed content display information is the same as in Example 1 and will not be further described here.
在具体实现过程中,在步骤204a“接收所述服务器发送的内容显示信息”后还可包括存储所述内容显示信息。存储所述内容显示信息是将整合的内容显示信息存储起来。存储所述内容显示信息可在步骤206a的显示所述内容显示信息之前或之后,或与步骤206a同时执行。存储所述内容显示信息还包括将所述内容显示信息与已存储的内容显示信息比对,更新所述已存储的内容显示信息。具体可包括:若存在当前内容显示信息,则将已存储的内容显示信息替换,更新为当前的内容显示信息;若不存在当前内容显示信息,则直接添加/创建该内容显示信息。可选的,终端以数据库的形式存储所述内容显示信息。In the specific implementation process, after step 204a "receiving the content display information sent by the server", the content display information may also be stored. Storing the content display information is to store the integrated content display information. Storing the content display information may be performed before or after displaying the content display information in step 206a, or simultaneously with step 206a. Storing the content display information also includes comparing the content display information with the stored content display information and updating the stored content display information. Specifically, it may include: if current content display information exists, replacing the stored content display information and updating it to the current content display information; if current content display information does not exist, directly adding/creating the content display information. Optionally, the terminal stores the content display information in the form of a database.
在具体实现过程中,步骤202b~步骤206b可为接收到终端的获取请求的时间点执行;也可为根据该聚合信息应用默认设置或用户设置的时间执行;还可为接收到终端的获取请求时,根据获取请求中的时间消息执行,以获取内容源的内容信息,所述时间消息可以为具体的时间点消息或时间间隔消息等。所以,步骤202b执行之后,可以直接执行步骤204b~步骤206b,也可以在步骤204b~步骤206b之前执行其他步骤,然后,再执行步骤204b~步骤206b。In a specific implementation, steps 202b through 206b can be executed at the time of receiving the terminal's acquisition request; can also be executed based on a default setting or a user-set time for the aggregated information; or can be executed based on a time message in the acquisition request upon receiving the terminal's acquisition request to obtain the content information of the content source. The time message can be a specific time point message or a time interval message. Therefore, after executing step 202b, steps 204b through 206b can be executed directly, or other steps can be executed before steps 204b through 206b, and then steps 204b through 206b can be executed.
在具体实现过程中,服务器先获取内容源的地址信息和账户信息,包括至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息,所述至少两个账户信息对应至少一个内容源;所述内容源的地址信息是指能访问到内容源的地址,如亚马逊地址www.amazon.cn。During the specific implementation process, the server first obtains the address information and account information of the content source, including at least two account information and the address information of the content source corresponding to the at least two account information, and the at least two account information corresponds to at least one content source; the address information of the content source refers to the address that can access the content source, such as the Amazon address www.amazon.cn.
服务器获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息之前,还包括:服务器接收终端发送的获取请求,所述获取请求用于指示所述服务器获取内容源的内容信息;或服务器接收定时信息,触发所述服务器获取内容源的内容信息。Before the server obtains at least two account information and address information of the content source corresponding to the at least two account information, the method further includes: the server receiving an acquisition request sent by the terminal, the acquisition request being used to instruct the server to obtain content information of the content source; or the server receiving timing information, triggering the server to obtain content information of the content source.
服务器获取的内容源的账户信息和地址信息可以是接收到终端的获取请求时,服务器从获取请求中获取的内容源的账户信息和地址信息;也可以是服务器根据终端获取请求中指示内容源的账户信息和地址信息的其他信息从服务器已存储的账户信息中获取内容源的账户信息和地址信息,如上述的系统账户信息和内容源信息。可选的,服务器获取不同内容源的内容信息时,可以是多线程处理。所述多线程处理是指同时获取不同内容源的内容信息。在具体实现过程中,步骤206b所述的将所述内容信息整合成内容显示信息的一种实现方式如图2c所示,包括:The account information and address information of the content source obtained by the server can be the account information and address information of the content source obtained by the server from the acquisition request when receiving the acquisition request from the terminal; or the server can obtain the account information and address information of the content source from the account information stored on the server based on other information indicating the account information and address information of the content source in the terminal acquisition request, such as the system account information and content source information mentioned above. Optionally, when the server obtains content information from different content sources, it can be multi-threaded processing. The multi-threaded processing refers to obtaining content information from different content sources at the same time. In the specific implementation process, an implementation method of integrating the content information into content display information as described in step 206b is shown in Figure 2c, including:
步骤2062a,根据规则将所述内容信息由非结构化数据格式转换为结构化数据格式;Step 2062a: converting the content information from an unstructured data format to a structured data format according to the rules;
步骤2064a,将所述结构化数据格式的内容信息进行分类,得到已分类的结构化数据格式的内容信息,即内容显示信息。Step 2064a: classify the content information in the structured data format to obtain classified content information in the structured data format, namely, content display information.
在具体实现过程中,步骤206b所述的将所述内容信息整合成内容显示信息的另一种实现方式如图2d所示,包括:In a specific implementation process, another implementation method of integrating the content information into content display information in step 206b is shown in FIG2d, including:
步骤2062b,将所述内容信息进行分类;Step 2062b, classifying the content information;
步骤2064b,根据规则将所述分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到已分类的结构化数据格式的内容信息,即内容显示信息。Step 2064b: Convert the classified content information from an unstructured data format to a structured data format according to the rules to obtain classified content information in a structured data format, namely, content display information.
上述所述的两种实现方法与实施例1中步骤104的两种实现方式中相似,但本实施例将所述内容信息整合成内容显示信息由服务器执行,实施例1已对这两种实现方式进行了详细描述,在此不再赘述。The two implementation methods described above are similar to the two implementation methods of step 104 in Example 1, but this embodiment integrates the content information into content display information and executes it on the server. Example 1 has already described these two implementation methods in detail and will not be repeated here.
在具体实现过程中,步骤206b“将所述内容信息整合成内容显示信息”后还可包括存储所述内容显示信息。存储所述内容显示信息是将整合的内容显示信息存储起来。存储所述内容显示信息可在步骤208b的将所述内容显示信息发送给终端显示之前或之后,或与步骤208b同时执行。存储所述内容显示信息还包括将所述内容显示信息与已存储的内容显示信息比对,更新所述已存储的内容显示信息。具体可包括:若存在当前内容显示信息,则将已存储的内容显示信息替换,更新为当前的内容显示信息;若不存在当前内容显示信息,则直接添加/创建该内容显示信息。可选的,服务器以数据库的形式存储所述内容显示信息。During the specific implementation process, after step 206b "integrating the content information into content display information", the step may also include storing the content display information. Storing the content display information is to store the integrated content display information. Storing the content display information may be performed before or after sending the content display information to the terminal for display in step 208b, or simultaneously with step 208b. Storing the content display information also includes comparing the content display information with the stored content display information and updating the stored content display information. Specifically, it may include: if current content display information exists, replacing the stored content display information and updating it to the current content display information; if current content display information does not exist, directly adding/creating the content display information. Optionally, the server stores the content display information in the form of a database.
在具体实现过程中,若显示的内容显示信息包括获取终端存储的内容信息时,终端会将该内容信息整合成内容显示信息,与服务器发送的内容显示信息一起显示。In a specific implementation process, if the displayed content display information includes obtaining content information stored in the terminal, the terminal will integrate the content information into content display information and display it together with the content display information sent by the server.
本实施例中终端发送请求,通过应用服务器获取内容信息,整合后通过终端显示给用户,使用户查询信息时简洁、直观,不再繁琐。In this embodiment, the terminal sends a request to obtain content information through the application server, and then displays it to the user through the terminal after integration, so that the user can query information concisely and intuitively without being cumbersome.
本发明实施例3提供了一种信息显示装置300,其结构图如图3所示,此装置位于终端侧,用于执行实施例1的方法,实施例1中能实现的所有方案和特征均适用于本实施例,在此不再赘述。Embodiment 3 of the present invention provides an information display device 300, whose structural diagram is shown in Figure 3. This device is located on the terminal side and is used to execute the method of embodiment 1. All schemes and features that can be implemented in embodiment 1 are applicable to this embodiment and will not be repeated here.
此信息显示装置300包括:The information display device 300 includes:
采集模块302,获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;The acquisition module 302 acquires content information of at least one content source, where the at least one content source corresponds to at least two account information stored in the terminal;
整合模块304,用于将所述内容信息整合成内容显示信息;An integration module 304, configured to integrate the content information into content display information;
显示模块306,用于显示所述内容显示信息。The display module 306 is configured to display the content display information.
在具体实现过程中,所述采集模块302可包括:In a specific implementation process, the acquisition module 302 may include:
获取模块,用于获取所述终端获取所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息;an acquisition module, configured to acquire, by the terminal, information of the at least two accounts and address information of content sources corresponding to the at least two information of the accounts;
发送模块,用于根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,向所述内容源发送第一获取请求;a sending module, configured to send a first acquisition request to the content source based on the at least two pieces of account information and address information of the content source corresponding to the at least two pieces of account information;
接收模块,用于接收所述内容源根据所述第一获取请求发送的所述内容信息。A receiving module is configured to receive the content information sent by the content source according to the first acquisition request.
或者,所述采集模块302可包括:Alternatively, the acquisition module 302 may include:
发送模块,用于向服务器发送第二获取请求;A sending module, configured to send a second acquisition request to the server;
接收模块,用于接收所述服务器根据所述第二获取请求,从所述至少两个账户信息对应的内容源获取的所述内容信息。The receiving module is configured to receive the content information obtained by the server from the content sources corresponding to the at least two account information according to the second obtaining request.
在具体实现过程中,所述整合模块304包括:In a specific implementation process, the integration module 304 includes:
转换模块,用于根据规则将采集模块获取的内容信息由非结构化数据格式转换为结构化数据格式,或用于根据规则将分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到内容显示信息;a conversion module, configured to convert the content information acquired by the acquisition module from an unstructured data format to a structured data format according to the rules, or to convert the classified content information from an unstructured data format to a structured data format according to the rules, to obtain content display information;
分类模块,用于将所述结构化数据格式的内容信息进行分类,得到内容显示信息,或用于将采集模块获取的内容信息进行分类。The classification module is used to classify the content information in the structured data format to obtain content display information, or to classify the content information acquired by the acquisition module.
可选的,所述装置300还包括存储模块,用于存储所述内容显示信息。Optionally, the device 300 further includes a storage module, configured to store the content display information.
本实施例中提供的一种信息显示的装置,通过获取内容源的内容信息,整合后分类显示给用户,使用户查询信息时简洁、直观,不再繁琐。The information display device provided in this embodiment obtains content information from content sources, integrates and displays it to users in categories, so that users can query information in a simple, intuitive and no longer tedious manner.
本发明实施例4提供了一种信息显示装置400,其结构图如图4所示,用于执行实施例2的方法,此装置位于终端侧时为装置400a,执行图2a的方法;此装置位于服务器侧时为装置400b,执行图2b的方法。实施例2中能实现的所有方案和特征均适用于本实施例,在此不再赘述。Embodiment 4 of the present invention provides an information display device 400, the structure of which is shown in FIG4 . This device is configured to perform the method of Embodiment 2. When located on a terminal, this device is referred to as device 400a and performs the method of FIG2a ; when located on a server, this device is referred to as device 400b and performs the method of FIG2b . All solutions and features implemented in Embodiment 2 are applicable to this embodiment and are not further described here.
此信息显示装置400a包括:The information display device 400a includes:
发送模块402a,用于向服务器发送获取请求,获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;A sending module 402a is configured to send an acquisition request to a server to acquire content information of at least one content source, where the at least one content source corresponds to at least two account information stored in the terminal;
接收模块404a,用于接收所述服务器根据获取请求发送的内容显示信息,所述内容显示信息由所述服务器整合从所述至少两个账户信息对应的内容源获取的内容信息得到;A receiving module 404a is configured to receive content display information sent by the server in response to the acquisition request, wherein the content display information is obtained by the server integrating content information acquired from content sources corresponding to the at least two account information;
显示模块406a,用于显示所述内容显示信息。The display module 406a is configured to display the content display information.
此信息显示装置400b包括:The information display device 400b includes:
获取模块402b,用于获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息,所述至少两个账户信息对应至少一个内容源;An acquisition module 402b is configured to acquire at least two pieces of account information and address information of content sources corresponding to the at least two pieces of account information, wherein the at least two pieces of account information correspond to at least one content source;
采集模块404b,用于根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,从所述至少两个账户信息对应的内容源获取内容信息;A collection module 404b is configured to obtain content information from the content sources corresponding to the at least two account information based on the at least two account information and the address information of the content sources corresponding to the at least two account information;
整合模块406b,用于将所述内容信息整合成内容显示信息;an integration module 406b, configured to integrate the content information into content display information;
发送模块408b,用于将所述内容显示信息发送给终端显示。The sending module 408b is configured to send the content display information to the terminal for display.
在具体实现过程中,整合模块406b还包括:In a specific implementation process, the integration module 406b further includes:
转换模块,用于根据规则将采集模块获取的内容信息由非结构化数据格式转换为结构化数据格式,或用于根据规则将分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到内容显示信息;a conversion module, configured to convert the content information acquired by the acquisition module from an unstructured data format to a structured data format according to the rules, or to convert the classified content information from an unstructured data format to a structured data format according to the rules, to obtain content display information;
分类模块,用于将所述结构化数据格式的内容信息进行分类,得到内容显示信息,或用于将采集模块获取的内容信息进行分类;a classification module, configured to classify the content information in the structured data format to obtain content display information, or to classify the content information acquired by the acquisition module;
本实施例中的装置通过获取内容信息,整合后显示给用户,使用户查询信息时简洁、直观,不再繁琐。The device in this embodiment obtains content information, integrates it and displays it to the user, making it simple, intuitive and unnecessary for the user to query information.
图5是依据本发明实施例5提供的一种终端的硬件结构示意图。如图5所示,终端500包括处理器502、存储器504、收发器506、显示屏508、和总线510。其中,处理器502、存储器504、收发器506和显示屏508通过总线510通信。FIG5 is a schematic diagram of the hardware structure of a terminal provided according to Embodiment 5 of the present invention. As shown in FIG5 , terminal 500 includes a processor 502, a memory 504, a transceiver 506, a display 508, and a bus 510. The processor 502, the memory 504, the transceiver 506, and the display 508 communicate via the bus 510.
所述终端可用于执行实施例1、实施例2和实施例3中终端所执行的方法。本发明公开的方法实施例中终端相关的内容和效果均可用本实施例所述的终端来实现,所以方法实施例中内容和效果均适用于本实施例。The terminal can be used to execute the methods executed by the terminal in Embodiment 1, Embodiment 2, and Embodiment 3. The terminal-related contents and effects in the method embodiments disclosed in the present invention can be achieved by the terminal described in this embodiment, so the contents and effects in the method embodiments are also applicable to this embodiment.
所述终端可通过执行一个聚合信息的应用来实现本发明实施例所述的方法,该聚合信息的应用可包括安装在终端上的任何应用,包括但不限于浏览器、电子邮件、即时消息服务、文字处理、键盘虚拟、窗口小部件(Widget)、加密、数字版权管理、语音识别、语音复制、定位(例如由全球定位系统提供的功能)、音乐播放等等。The terminal can implement the method described in the embodiment of the present invention by executing an application that aggregates information. The application that aggregates information may include any application installed on the terminal, including but not limited to browsers, email, instant messaging services, word processing, keyboard virtualization, widgets, encryption, digital rights management, voice recognition, voice replication, positioning (such as functions provided by the global positioning system), music playback, etc.
存储器504可用于存储软件程序以及模块,处理器502通过运行存储在存储器504的软件程序以及模块,从而执行终端的各种功能应用以及实现数据处理。存储器504主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。在本发明具体实施方式中,存储器可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile Random Access Memory,简称NVRAM)、相变化随机存取内存(Phase Change RAM,简称PRAM)、磁阻式随机存取内存(Magetoresistive RAM,简称MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)。非易失存储器储存处理器502所执行的操作系统及应用程序。所述处理器502从所述非易失存储器加载运行程序与数据到内存并将数字内容储存于大量储存装置中。所述操作系统包括用于控制和管理常规系统任务,例如内存管理、存储设备控制、电源管理等,以及有助于各种软硬件之间通信的各种组件和/或驱动器。在本发明实施方式中,所述操作系统可以是Google公司的Android系统、Apple公司开发的iOS系统或Microsoft公司开发的Windows操作系统等,或者是Vxworks这类的嵌入式操作系统。The memory 504 can be used to store software programs and modules. The processor 502 executes the various functional applications of the terminal and implements data processing by running the software programs and modules stored in the memory 504. The memory 504 mainly includes a program storage area and a data storage area. The program storage area can store an operating system and at least one application required for a function, such as a sound player or an image player, and the like; the data storage area can store data created based on the use of the terminal (such as audio data, a phone book, etc.). In specific embodiments of the present invention, the memory may include volatile memory, such as non-volatile random access memory (NVRAM), phase change random access memory (PRAM), magnetoresistive random access memory (MRAM), etc. It may also include non-volatile memory, such as at least one disk storage device, electrically erasable programmable read-only memory (EEPROM), and flash memory devices, such as NOR flash memory or NAND flash memory. The non-volatile memory stores the operating system and application programs executed by the processor 502. The processor 502 loads running programs and data from the non-volatile memory into the internal memory and stores digital content in a mass storage device. The operating system includes various components and/or drivers for controlling and managing routine system tasks, such as memory management, storage device control, and power management, as well as facilitating communication between various software and hardware. In embodiments of the present invention, the operating system may be Google's Android system, Apple's iOS system, Microsoft's Windows operating system, or an embedded operating system such as VxWorks.
处理器502为终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器504内的软件程序和/或模块,以及调用存储在存储器504内的数据,以执行终端的各种功能和/或处理数据。所述处理器502可以由集成电路(IntegratedCircuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器502可以仅包括中央处理器(CentralProcessing Unit,简称CPU),也可以是GPU、数字信号处理器(Digital Signal Processor,简称DSP)、及收发器506中的控制芯片(例如基带芯片)的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 502 is the control center of the terminal, which uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions of the terminal and/or processes data by running or executing software programs and/or modules stored in the memory 504, and calling data stored in the memory 504. The processor 502 can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 502 can include only a central processing unit (CPU), or it can be a combination of a GPU, a digital signal processor (DSP), and a control chip (such as a baseband chip) in the transceiver 506. In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
所述收发器506用于建立通信信道,使终端通过所述通信信道以连接至远程服务器,并从所述远程服务器下媒体数据。在本发明的具体实现过程中,收发器506具体用于根据处理器502的指示从内容源获取内容源的内容信息或向服务器发送获取请求和接收服务器的响应消息等。所述收发器506可以包括无线局域网(Wireless Local Area Network,简称wireless LAN)模块、蓝牙模块、基带(Base Band)模块等通信模块,以及所述通信模块对应的射频(Radio Frequency,简称RF)电路,用于进行无线局域网络通信、蓝牙通信、红外线通信及/或蜂窝式通信系统通信,例如宽带码分多重接入(Wideband Code DivisionMultiple Access,简称W-CDMA)及/或高速下行封包存取(High Speed Downlink PacketAccess,简称HSDPA)。所述通信模块用于控制终端中的各组件的通信,并且可以支持直接内存存取(Direct Memory Access)。The transceiver 506 is used to establish a communication channel, allowing the terminal to connect to a remote server via the communication channel and download media data from the remote server. In a specific implementation of the present invention, the transceiver 506 is specifically used to obtain content information from a content source, send a request to a server, and receive a response message from the server, according to instructions from the processor 502. The transceiver 506 may include communication modules such as a wireless local area network (WLAN) module, a Bluetooth module, and a baseband module, as well as corresponding radio frequency (RF) circuits for these communication modules, for wireless LAN communication, Bluetooth communication, infrared communication, and/or cellular communication systems, such as Wideband Code Division Multiple Access (W-CDMA) and/or High Speed Downlink Packet Access (HSDPA). The communication module is used to control communication between various components in the terminal and can support direct memory access.
射频电路用于信息收发或通话过程中接收和发送信号。例如,将基站的下行信息接收后,给处理器502处理;另外,将设计上行的数据发送给基站。通常,所述射频电路包括用于执行这些功能的公知电路,包括但不限于天线系统、射频收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、编解码(Codec)芯片组、用户身份模块(SIM)卡、存储器等等。此外,射频电路还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobilecommunication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband CodeDivision Multiple Access,宽带码分多址)、高速上行行链路分组接入技术(High SpeedUplink Packet Access,HSUPA)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The radio frequency circuit is used for sending and receiving information or receiving and sending signals during calls. For example, after receiving downlink information from the base station, it is sent to the processor 502 for processing; in addition, the designed uplink data is sent to the base station. Generally, the radio frequency circuit includes well-known circuits for performing these functions, including but not limited to an antenna system, a radio frequency transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a codec (Codec) chipset, a subscriber identity module (SIM) card, memory, etc. In addition, the radio frequency circuit can also communicate with the network and other devices through wireless communication. Such wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile Communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), High Speed Uplink Packet Access (HSUPA), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.
在本发明的具体实现过程中,在第一种实现方式中:In the specific implementation process of the present invention, in the first implementation mode:
收发器506可用于获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;The transceiver 506 may be configured to obtain content information of at least one content source, wherein the at least one content source corresponds to at least two account information stored in the terminal;
处理器502可用于将所述内容信息整合成内容显示信息。The processor 502 may be configured to integrate the content information into content display information.
可选的,,收发器506可具体用于:Optionally, the transceiver 506 may be specifically configured to:
接收处理器502获取的所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息;receiving the at least two pieces of account information acquired by the processor 502 and address information of content sources corresponding to the at least two pieces of account information;
根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,向所述内容源发送第一获取请求;Sending a first acquisition request to the content source according to the at least two account information and address information of the content source corresponding to the at least two account information;
接收所述内容源根据所述第一获取请求发送的所述内容信息。Receive the content information sent by the content source according to the first acquisition request.
可选的,,收发器506可具体用于:Optionally, the transceiver 506 may be specifically configured to:
向服务器发送第二获取请求;Send a second get request to the server;
接收所述服务器根据所述第二获取请求,从所述至少两个账户信息对应的内容源获取的所述内容信息。The content information is received, which is obtained by the server from the content sources corresponding to the at least two account information according to the second obtaining request.
在第二种实现方式中:In the second implementation:
收发器506可用于向服务器发送获取请求,获取至少一个内容源的内容信息,所述至少一个内容源与所述终端中存储的至少两个账户信息对应;The transceiver 506 may be configured to send an acquisition request to a server to acquire content information of at least one content source, where the at least one content source corresponds to at least two account information stored in the terminal;
收发器506还可用于接收所述服务器根据获取请求发送的内容显示信息,所述内容显示信息由所述服务器整合从所述至少两个账户信息对应的内容源获取的内容信息得到;The transceiver 506 may also be configured to receive content display information sent by the server in response to the acquisition request, where the content display information is obtained by the server integrating content information acquired from content sources corresponding to the at least two account information;
处理器502可用于解析所述接收的内容显示信息。The processor 502 may be configured to parse the received content display information.
在具体实现过程中,处理器502还用于将内容显示信息输出到显示屏508进行显示。During specific implementation, the processor 502 is further configured to output the content display information to the display screen 508 for display.
显示屏508用于输出文字、图片和/或视频。所述显示屏可包括显示面板,例如采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)、场发射显示器(field emission display,简称FED)等形式来配置的显示面板。或者所述显示屏可以包括反射式显示器,例如电泳式(electrophoretic)显示器,或利用光干涉调变技术(Interferometric Modulation of Light)的显示器。所述显示屏可以包括单个显示器或不同尺寸的多个显示器。The display screen 508 is used to output text, images and/or videos. The display screen may include a display panel, such as a display panel configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), a field emission display (FED), etc. Alternatively, the display screen may include a reflective display, such as an electrophoretic display, or a display using interferometric modulation of light technology. The display screen may include a single display or multiple displays of different sizes.
在本发明具体实现过程中,显示屏508可用于显示所述内容显示信息。In the specific implementation process of the present invention, the display screen 508 can be used to display the content display information.
可选的,在一种实现方式中,处理器502用于将内容信息整合成内容显示信息具体可包括:Optionally, in one implementation, the processor 502 may integrate the content information into the content display information by:
根据规则将所述内容信息由非结构化数据格式转换为结构化数据格式;Converting the content information from an unstructured data format to a structured data format according to the rules;
将所述结构化数据格式的内容信息进行分类,得到内容显示信息。The content information in the structured data format is classified to obtain content display information.
可选的,在另一种实现方式中,处理器502用于将内容信息整合成内容显示信息具体可包括:Optionally, in another implementation, the processor 502 may be configured to integrate the content information into the content display information, specifically including:
将所述内容信息进行分类;classifying the content information;
根据规则将所述分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到内容显示信息。The classified content information is converted from an unstructured data format to a structured data format according to the rules to obtain content display information.
在本发明的实施例中,终端还可包括输入单元。输入单元用于实现用户与终端的交互和/或信息输入到终端中。例如,输入单元可以接收用户输入的数字或字符信息,以产生与用户设置或功能控制有关的信号输入。在本发明具体实施方式中,输入单元可以是触控面板,也可以是其他人机交互界面,例如实体输入键、麦克风等,还可是其他外部信息撷取装置,例如摄像头等。触控面板,也称为触摸屏或触控屏,可收集用户在其上触摸或接近的操作动作。比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或接近触控面板的位置的操作动作,并根据预先设定的程式驱动相应的连接装置。在本发明的其他实施方式中,输入单元所采用的实体输入键可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。麦克风形式的输入单元可以收集用户或环境输入的语音并将其转换成电信号形式的、处理器502可执行的命令。在本发明的具体实施方式中,输入单元所采用的触控面板亦可同时作为显示屏的显示面板。例如,当触控面板检测到在其上的触摸或接近的手势操作后,传送给处理器502以确定触摸事件的类型,随后处理器根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然输入单元与显示屏508是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板与显示面板集成一体而实现终端的输入和输出功能。例如,所述显示屏可以显示各种图形化用户接口(Graphical User Interface,简称GUI)以作为虚拟控制组件,包括但不限于窗口、卷动轴、图标及剪贴簿,以供用户通过触控方式进行操作。In embodiments of the present invention, the terminal may further include an input unit. The input unit is used to enable user interaction with the terminal and/or input information into the terminal. For example, the input unit may receive digital or character information input by the user to generate signal input related to user settings or function control. In specific embodiments of the present invention, the input unit may be a touch panel, or other human-computer interaction interface, such as physical input keys, a microphone, or other external information capture device, such as a camera. A touch panel, also known as a touch screen or touch screen, can collect user touch or proximity operations. For example, a user may use a finger, stylus, or any other suitable object or accessory on or near the touch panel to operate the touch panel and drive the corresponding connected device according to a pre-set program. In other embodiments of the present invention, the physical input keys used by the input unit may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, on/off keys, etc.), a trackball, a mouse, a joystick, and the like. An input unit in the form of a microphone can collect voice input from the user or the environment and convert it into commands in the form of electrical signals that can be executed by the processor 502. In a specific embodiment of the present invention, the touch panel used by the input unit can also serve as the display panel of the display screen at the same time. For example, when the touch panel detects a touch or proximity gesture operation thereon, it is transmitted to the processor 502 to determine the type of touch event, and then the processor provides a corresponding visual output on the display panel according to the type of touch event. Although the input unit and the display screen 508 are two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel and the display panel can be integrated into one to realize the input and output functions of the terminal. For example, the display screen can display various graphical user interfaces (Graphical User Interface, referred to as GUI) as virtual control components, including but not limited to windows, scroll bars, icons and scrapbooks, for users to operate by touch.
在本发明的具体实现过程中,输入单元具体用于检测用户的操作,包括检测用户启动该聚合信息的应用,如检测到用户点击该聚合信息的应用对应的图标,或者按下该聚合信息的应用对应的快捷键等,本发明实施例该聚合信息的应用的启动方式不做限定;还可包括检测用户点击更新按钮查看内容显示信息等。输入单元还用于检测用户注册或登陆系统账户、检测用户设置应用的分类等所有用户与终端交互的操作。所述应用的分类可为用户自定义分类或选择所述应用已设定的某些分类。可选的,所述分类的类型可包括:基于用户标识分类、基于业务类型分类、基于内容源分类等的其中一种或多种组合。所述分类已在实施例1中详细描述,此处不再赘述。In the specific implementation process of the present invention, the input unit is specifically used to detect the user's operation, including detecting that the user starts the application of the aggregated information, such as detecting that the user clicks the icon corresponding to the application of the aggregated information, or presses the shortcut key corresponding to the application of the aggregated information, etc. The startup method of the application of the aggregated information in the embodiment of the present invention is not limited; it can also include detecting that the user clicks the update button to view the content display information, etc. The input unit is also used to detect all operations of user interaction with the terminal, such as user registration or login to the system account, and detection of user setting of application classification. The classification of the application can be a user-defined classification or selection of certain classifications that have been set for the application. Optionally, the type of classification may include: one or more combinations of classification based on user identification, classification based on business type, classification based on content source, etc. The classification has been described in detail in Example 1 and will not be repeated here.
应注意,尽管图5所示的终端500仅仅示出了处理器502、存储器504、收发器506、显示屏508和总线510,但是在具体实现过程中,本领域的技术人员应当明白,终端500还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,终端500还可包含实现其他附加功能的硬件器件。此外,本领域的技术人员应当明白,终端500也可仅仅包含实现本发明实施例所必须的器件,而不必包含图5中所示的全部器件。It should be noted that although the terminal 500 shown in FIG5 only shows the processor 502, memory 504, transceiver 506, display screen 508, and bus 510, during the specific implementation process, those skilled in the art will understand that the terminal 500 also includes other components necessary for normal operation. Furthermore, those skilled in the art will understand that, depending on specific needs, the terminal 500 may also include hardware components that implement other additional functions. Furthermore, those skilled in the art will understand that the terminal 500 may only include the components necessary to implement the embodiments of the present invention, and does not necessarily need to include all of the components shown in FIG5.
图5所示的硬件结构以及上述描述适用于本发明实施例所提供的各种信息显示终端设备。本领域普通技术人员可知,上述方法中的全部或部分步骤可以通过程序指令相关的硬件完成,该程序可以存储于一计算机可读存储介质中,该计算机可读存储介质如ROM、RAM和光盘等。The hardware structure shown in FIG5 and the above description are applicable to various information display terminal devices provided by embodiments of the present invention. Persons skilled in the art will appreciate that all or part of the steps in the above method can be performed by hardware associated with program instructions, and the program can be stored in a computer-readable storage medium, such as ROM, RAM, or an optical disk.
图6是依据本发明实施例6提供的一种终端的硬件结构示意图。如图6所示,服务器600包括处理器602、存储器604、收发器606和总线608。其中,处理器602、存储器604、收发器606通过所述总线608通信。Figure 6 is a schematic diagram of the hardware structure of a terminal according to Embodiment 6 of the present invention. As shown in Figure 6, server 600 includes a processor 602, a memory 604, a transceiver 606, and a bus 608. The processor 602, the memory 604, and the transceiver 606 communicate via the bus 608.
所述服务器可用于执行实施例1、实施例2和实施例3中服务器所执行的方法。本发明公开的方法实施例中服务器相关的内容和效果均可用本实施例所述的服务器来实现,所以方法实施例中内容和效果均适用于本实施例。The server can be used to execute the methods executed by the server in Example 1, Example 2, and Example 3. The server-related content and effects in the method embodiments disclosed in the present invention can be achieved by the server described in this embodiment, so the content and effects in the method embodiments are also applicable to this embodiment.
存储器604可用于存储软件程序以及模块,处理器602通过运行存储在存储器604的软件程序以及模块,从而执行服务器的各种功能应用以及实现数据处理。存储器604主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据服务器的使用所创建的数据(比如音频数据、电话本等)等。在本发明具体实施方式中,存储器604可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile Random Access Memory,简称NVRAM)、相变化随机存取内存(Phase Change RAM,简称PRAM)、磁阻式随机存取内存(Magetoresistive RAM,简称MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)。非易失存储器储存处理器602所执行的操作系统及应用程序。所述处理器602从所述非易失存储器加载运行程序与数据到内存并将数字内容储存于大量储存装置中。所述操作系统包括用于控制和管理常规系统任务,例如内存管理、存储设备控制、电源管理等,以及有助于各种软硬件之间通信的各种组件和/或驱动器。在本发明实施方式中,所述操作系统可以是Google公司的Android系统、Apple公司开发的iOS系统或Microsoft公司开发的Windows操作系统等,或者是Vxworks这类的嵌入式操作系统。Memory 604 can be used to store software programs and modules. Processor 602 executes various functional applications of the server and implements data processing by running the software programs and modules stored in memory 604. Memory 604 mainly includes a program storage area and a data storage area. The program storage area can store an operating system and at least one application required for a function, such as a sound player or an image player, and the like; the data storage area can store data created based on the use of the server (such as audio data, a phone book, etc.). In a specific embodiment of the present invention, memory 604 can include volatile memory, such as non-volatile random access memory (NVRAM), phase change random access memory (PRAM), magnetoresistive random access memory (MRAM), etc. It can also include non-volatile memory, such as at least one disk storage device, electrically erasable programmable read-only memory (EEPROM), and flash memory devices, such as NOR flash memory or NAND flash memory. The non-volatile memory stores the operating system and application programs executed by the processor 602. The processor 602 loads running programs and data from the non-volatile memory into the internal memory and stores digital content in a mass storage device. The operating system includes various components and/or drivers for controlling and managing routine system tasks, such as memory management, storage device control, and power management, as well as facilitating communication between various software and hardware. In embodiments of the present invention, the operating system may be Google's Android system, Apple's iOS system, Microsoft's Windows operating system, or an embedded operating system such as VxWorks.
处理器602为服务器的控制中心,利用各种接口和线路连接整个服务器的各个部分,通过运行或执行存储在存储器604内的软件程序和/或模块,以及调用存储在存储器604内的数据,以执行服务器的各种功能和/或处理数据。所述处理器602可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器602可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是GPU、数字信号处理器(Digital SignalProcessor,简称DSP)、及收发器606中的控制芯片(例如基带芯片)的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 602 is the control center of the server, which uses various interfaces and lines to connect various parts of the entire server, and executes various functions of the server and/or processes data by running or executing software programs and/or modules stored in the memory 604, and calling data stored in the memory 604. The processor 602 can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 602 can include only a central processing unit (CPU), or it can be a combination of a GPU, a digital signal processor (DSP), and a control chip (such as a baseband chip) in the transceiver 606. In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
所述收发器606用于建立通信信道,使服务器通过所述通信信道以连接至远程服务器或终端,并从所述远程服务器下媒体数据或向终端传送媒体数据。在本发明的具体实现过程中,收发器606具体用于根据处理器602的指示从内容源获取内容源的内容信息或向服务器发送获取请求和接收服务器的响应消息等。所述收发器606可以包括无线局域网(Wireless Local Area Network,简称wireless LAN)模块、蓝牙模块、基带(Base Band)模块等通信模块,以及所述通信模块对应的射频(Radio Frequency,简称RF)电路,用于进行无线局域网络通信、蓝牙通信、红外线通信及/或蜂窝式通信系统通信,例如宽带码分多重接入(Wideband Code Division Multiple Access,简称W-CDMA)及/或高速下行封包存取(High Speed Downlink Packet Access,简称HSDPA)。所述通信模块用于控制服务器中的各组件的通信,并且可以支持直接内存存取(Direct Memory Access)。The transceiver 606 is used to establish a communication channel, allowing the server to connect to a remote server or terminal through the communication channel, and download media data from the remote server or transmit media data to the terminal. In a specific implementation of the present invention, the transceiver 606 is specifically used to obtain content information from a content source, send a request to a server, and receive a response message from the server according to instructions from the processor 602. The transceiver 606 may include communication modules such as a wireless local area network (WLAN) module, a Bluetooth module, and a baseband module, as well as corresponding radio frequency (RF) circuits for performing WLAN communication, Bluetooth communication, infrared communication, and/or cellular communication systems such as Wideband Code Division Multiple Access (W-CDMA) and/or High Speed Downlink Packet Access (HSDPA). The communication module is used to control communication between various components in the server and can support direct memory access.
射频电路用于信息收发或通话过程中接收和发送信号。例如,将基站的下行信息接收后,给处理器602处理;另外,将设计上行的数据发送给基站。通常,所述射频电路包括用于执行这些功能的公知电路,包括但不限于天线系统、射频收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、编解码(Codec)芯片组、用户身份模块(SIM)卡、存储器等等。此外,射频电路还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobilecommunication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband CodeDivision Multiple Access,宽带码分多址)、高速上行行链路分组接入技术(High SpeedUplink Packet Access,HSUPA)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The radio frequency circuit is used for sending and receiving information or receiving and sending signals during calls. For example, after receiving downlink information from the base station, it is sent to the processor 602 for processing; in addition, the designed uplink data is sent to the base station. Generally, the radio frequency circuit includes well-known circuits for performing these functions, including but not limited to an antenna system, a radio frequency transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a codec (Codec) chipset, a subscriber identity module (SIM) card, memory, etc. In addition, the radio frequency circuit can also communicate with the network and other devices via wireless communication. Such wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile Communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), High Speed Uplink Packet Access (HSUPA), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.
在本发明的具体实现过程中,在第一种实现方式中:In the specific implementation process of the present invention, in the first implementation mode:
可选的,处理器602可用于获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息,所述至少两个账户信息对应至少一个内容源;Optionally, the processor 602 may be configured to obtain at least two pieces of account information and address information of content sources corresponding to the at least two pieces of account information, wherein the at least two pieces of account information correspond to at least one content source;
收发器606可用于根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,从所述至少两个账户信息对应的内容源获取内容信息;The transceiver 606 may be configured to obtain content information from the content source corresponding to the at least two account information based on the at least two account information and the address information of the content source corresponding to the at least two account information;
处理器602还用于将所述内容信息整合成内容显示消息;The processor 602 is further configured to integrate the content information into a content display message;
收发器606还用于将所述内容显示信息发送给终端显示。The transceiver 606 is further configured to send the content display information to the terminal for display.
可选的,处理器602用于将所述内容信息整合成内容显示信息具体包括:Optionally, the processor 602 is configured to integrate the content information into content display information, specifically including:
根据规则将所述内容信息由非结构化数据格式转换为结构化数据格式;Converting the content information from an unstructured data format to a structured data format according to the rules;
将所述结构化数据格式的内容信息进行分类,得到已分类的结构化数据格式的内容信息,即内容显示信息。The content information in the structured data format is classified to obtain classified content information in the structured data format, namely, content display information.
可选的,处理器602用于将所述内容信息整合成内容显示信息具体包括:Optionally, the processor 602 is configured to integrate the content information into content display information, specifically including:
将所述内容信息进行分类;classifying the content information;
根据规则将所述分类后的内容信息由非结构化数据格式转换为结构化数据格式,得到已分类的结构化数据格式的内容信息,即内容显示信息。The classified content information is converted from an unstructured data format to a structured data format according to the rules, to obtain the classified content information in the structured data format, namely, the content display information.
在第二种实现方式中:In the second implementation:
可选的,处理器602可用于获取至少两个账户信息和所述至少两个账户信息对应的内容源的地址信息,所述至少两个账户信息对应至少一个内容源;Optionally, the processor 602 may be configured to obtain at least two pieces of account information and address information of content sources corresponding to the at least two pieces of account information, wherein the at least two pieces of account information correspond to at least one content source;
收发器606可用于根据所述至少两个账户信息,和所述至少两个账户信息对应的内容源的地址信息,从所述至少两个账户信息对应的内容源获取内容信息;The transceiver 606 may be configured to obtain content information from the content source corresponding to the at least two account information based on the at least two account information and the address information of the content source corresponding to the at least two account information;
收发器606还用于将所述内容显示信息发送给终端显示。The transceiver 606 is further configured to send the content display information to the terminal for display.
应注意,尽管图6所示的服务器600仅仅示出了处理器602、存储器604、收发器606和总线608,但是在具体实现过程中,本领域的技术人员应当明白,服务器600还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,服务器600还可包含实现其他附加功能的硬件器件。此外,本领域的技术人员应当明白,服务器600也可仅仅包含实现本发明实施例所必须的器件,而不必包含图6中所示的全部器件。It should be noted that although the server 600 shown in FIG6 only shows the processor 602, memory 604, transceiver 606, and bus 608, during the specific implementation process, those skilled in the art will understand that the server 600 also includes other components necessary for normal operation. Furthermore, those skilled in the art will understand that, depending on specific needs, the server 600 may also include hardware components that implement other additional functions. Furthermore, those skilled in the art will understand that the server 600 may only include the components necessary to implement the embodiments of the present invention, and does not necessarily include all of the components shown in FIG6.
本领域普通技术人员可知,上述方法中的全部或部分步骤可以通过程序指令相关的硬件完成,该程序可以存储于一计算机可读存储介质中,该计算机可读存储介质如ROM、RAM和光盘等。Those skilled in the art will appreciate that all or part of the steps in the above method may be accomplished by hardware associated with program instructions, and the program may be stored in a computer-readable storage medium, such as a ROM, RAM, or optical disk.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims (31)
Publications (2)
Publication Number | Publication Date |
---|---|
HK1229086A1 HK1229086A1 (en) | 2017-11-10 |
HK1229086B true HK1229086B (en) | 2021-02-26 |
Family
ID=
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11616860B2 (en) | Information display method, terminal, and server | |
JP6875398B2 (en) | Methods and systems to achieve data tracking with software development kits | |
CN111512286B (en) | Program arranging method and electronic equipment | |
US10187419B2 (en) | Method and system for processing notification messages of a website | |
US20160241589A1 (en) | Method and apparatus for identifying malicious website | |
US20170185248A1 (en) | Electronic device and method of managing application programs thereof | |
WO2017059676A1 (en) | Smart card read/write methods and devices | |
WO2017211205A1 (en) | Method and device for updating whitelist | |
CN105989122A (en) | Application recommendation method and device | |
US10540415B2 (en) | Apparatus and method for managing history information in an electronic device | |
CN108604331B (en) | Information reminding method and mobile device | |
CN105740242A (en) | Information search device and method based on two-dimension code, and mobile terminal | |
RU2715287C1 (en) | Method, terminal and server for displaying information | |
HK1229086B (en) | Information display method, terminal and server | |
BR112017005384B1 (en) | METHOD, TERMINAL AND INFORMATION DISPLAY SERVER | |
HK1229086A1 (en) | Information display method, terminal and server | |
EP3146483A1 (en) | Group selection initiated from a single item | |
CN110728586A (en) | Data sharing method and device and application popularization method and device |