CN112256991B - Method and equipment for native rendering of information flow fusing multiple link addresses - Google Patents

Method and equipment for native rendering of information flow fusing multiple link addresses Download PDF

Info

Publication number
CN112256991B
CN112256991B CN202010980230.4A CN202010980230A CN112256991B CN 112256991 B CN112256991 B CN 112256991B CN 202010980230 A CN202010980230 A CN 202010980230A CN 112256991 B CN112256991 B CN 112256991B
Authority
CN
China
Prior art keywords
information
native control
information stream
content
link address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010980230.4A
Other languages
Chinese (zh)
Other versions
CN112256991A (en
Inventor
苏勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN202010980230.4A priority Critical patent/CN112256991B/en
Publication of CN112256991A publication Critical patent/CN112256991A/en
Application granted granted Critical
Publication of CN112256991B publication Critical patent/CN112256991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention aims to provide a method for native rendering of information streams fusing multiple link addresses, which is characterized in that after at least one first information stream corresponding to a first link address is acquired, by determining a second link address associated with the at least one first information stream and acquiring at least one second information stream corresponding to a second link address, at least one first native control can be rendered on a current page according to a first configuration file corresponding to the first link address, and at least one second native control can be rendered on the current page according to a second configuration file corresponding to the second link address, so that other content associated with the content can be presented while the content corresponding to the first link address is presented on the current page, namely, the content which a user does not have and possibly expects to know about is provided for the current page, and the information barrier of the Internet can be broken.

Description

Method and equipment for native rendering of information flow fusing multiple link addresses
Technical Field
The present application relates to the field of communications, and more particularly, to a technique for native rendering of information streams fusing multiple linked addresses.
Background
In the prior art, web page presentation usually adopts an implementation manner of H5 (HTML 5) or Native App (Native application), and if a user wants to browse other content related to the content of a current page in the process of browsing the current page, the user must leave the current page to browse other websites or search in a search engine.
Disclosure of Invention
An object of the present application is to provide a method and apparatus for native rendering of information streams that fuse multiple linked addresses.
According to one aspect of the present application, there is provided a method of native rendering of an information stream fusing multiple linked addresses, the method comprising:
responding to loading triggering operation aiming at a first link address in a target application, acquiring a first configuration file corresponding to the first link address, and acquiring at least one first information flow corresponding to the first link address according to the first configuration file, wherein the first configuration file comprises at least one item of first native control description information corresponding to the first information flow;
determining a second link address associated with the at least one first information stream;
acquiring a second configuration file corresponding to the second link address, and acquiring at least one second information flow corresponding to the second link address according to the second configuration file, wherein the second configuration file comprises at least one piece of second native control description information corresponding to the at least one second information flow;
Creating at least one first native control corresponding to the at least one first native control description information and at least one second native control corresponding to the at least one second native control description information;
binding the at least one first information flow to the at least one first native control, binding the at least one second information flow to the at least one second native control, and rendering the at least one first native control and the at least one second native control on a current page generated based on the loading trigger operation according to the first configuration file and the second configuration file.
According to one aspect of the present application, there is provided a user device for native rendering of an information stream fusing multiple linked addresses, the device comprising:
the system comprises a one-to-one module, a first control module and a second control module, wherein the one-to-one module is used for responding to loading triggering operation aiming at a first link address in a target application, acquiring a first configuration file corresponding to the first link address, and acquiring at least one first information flow corresponding to the first link address according to the first configuration file, wherein the first configuration file comprises at least one piece of first native control description information corresponding to the first information flow;
A second module for determining a second link address associated with the at least one first information stream;
the three modules are used for acquiring a second configuration file corresponding to the second link address and at least one second information flow corresponding to the second link address according to the second configuration file, wherein the second configuration file comprises at least one piece of second native control description information corresponding to the at least one second information flow;
the four modules are used for creating at least one first native control corresponding to the at least one first native control description information and at least one second native control corresponding to the at least one second native control description information;
and the fifth module is used for binding the at least one first information flow on the at least one first native control, binding the at least one second information flow on the at least one second native control, and rendering the at least one first native control and the at least one second native control on a current page generated based on the loading triggering operation according to the first configuration file and the second configuration file.
According to one aspect of the present application, there is provided an apparatus for native rendering of an information stream fusing multiple linked addresses, wherein the apparatus comprises:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
responding to loading triggering operation aiming at a first link address in a target application, acquiring a first configuration file corresponding to the first link address, and acquiring at least one first information flow corresponding to the first link address according to the first configuration file, wherein the first configuration file comprises at least one item of first native control description information corresponding to the first information flow;
determining a second link address associated with the at least one first information stream;
acquiring a second configuration file corresponding to the second link address, and acquiring at least one second information flow corresponding to the second link address according to the second configuration file, wherein the second configuration file comprises at least one piece of second native control description information corresponding to the at least one second information flow;
creating at least one first native control corresponding to the at least one first native control description information and at least one second native control corresponding to the at least one second native control description information;
Binding the at least one first information flow to the at least one first native control, binding the at least one second information flow to the at least one second native control, and rendering the at least one first native control and the at least one second native control on a current page generated based on the loading trigger operation according to the first configuration file and the second configuration file.
According to one aspect of the present application, there is provided a computer readable medium storing instructions that, when executed, cause a system to:
responding to loading triggering operation aiming at a first link address in a target application, acquiring a first configuration file corresponding to the first link address, and acquiring at least one first information flow corresponding to the first link address according to the first configuration file, wherein the first configuration file comprises at least one item of first native control description information corresponding to the first information flow;
determining a second link address associated with the at least one first information stream;
acquiring a second configuration file corresponding to the second link address, and acquiring at least one second information flow corresponding to the second link address according to the second configuration file, wherein the second configuration file comprises at least one piece of second native control description information corresponding to the at least one second information flow;
Creating at least one first native control corresponding to the at least one first native control description information and at least one second native control corresponding to the at least one second native control description information; binding the at least one first information flow to the at least one first native control, binding the at least one second information flow to the at least one second native control, and rendering the at least one first native control and the at least one second native control on a current page generated based on the loading trigger operation according to the first configuration file and the second configuration file.
Compared with the prior art, after at least one first information flow corresponding to the first link address is obtained, the second link address associated with the at least one first information flow is determined, and at least one second information flow corresponding to the second link address is obtained, so that the Internet can be connected in series, the interconnection and intercommunication of information can be promoted, the information communication obstruction is reduced, and the user can browse the content directly and other related to the current page, the skip frequency is reduced, and the information obtaining efficiency is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings, in which:
FIG. 1 illustrates a method flow diagram for native rendering of an information flow fusing multiple linked addresses in accordance with one embodiment of the present application;
FIG. 2 illustrates a user device architecture diagram of a native rendering of an information flow fusing multiple link addresses in accordance with one embodiment of the present application;
FIG. 3 illustrates an exemplary system that may be used to implement various embodiments described herein.
The same or similar reference numbers in the drawings refer to the same or similar parts.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
In one typical configuration of the present application, the terminal, the devices of the services network, and the trusted party each include one or more processors (e.g., central processing units (Central Processing Unit, CPU)), input/output interfaces, network interfaces, and memory.
The Memory may include non-volatile Memory in a computer readable medium, random access Memory (Random Access Memory, RAM) and/or non-volatile Memory, etc., such as Read Only Memory (ROM) or Flash Memory (Flash Memory). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase-Change Memory (PCM), programmable Random Access Memory (Programmable Random Access Memory, PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (Dynamic Random Access Memory, DRAM), other types of Random Access Memory (RAM), read-Only Memory (ROM), electrically erasable programmable read-Only Memory (EEPROM), flash Memory or other Memory technology, read-Only Memory (Compact Disc Read-Only Memory, CD-ROM), digital versatile disks (Digital Versatile Disc, DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by the computing device.
The device referred to in the present application includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product which can perform man-machine interaction with a user (for example, perform man-machine interaction through a touch pad), such as a smart phone, a tablet computer and the like, and the mobile electronic product can adopt any operating system, such as an Android operating system, an iOS operating system and the like. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a digital signal processor (Digital Signal Processor, DSP), an embedded device, and the like. The network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud of servers; here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a virtual supercomputer composed of a group of loosely coupled computer sets. Including but not limited to the internet, wide area networks, metropolitan area networks, local area networks, VPN networks, wireless Ad Hoc networks (Ad Hoc networks), and the like. Preferably, the device may be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the above-described devices are merely examples, and that other devices now known or hereafter may be present as appropriate for the application, are intended to be within the scope of the present application and are incorporated herein by reference.
In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
Fig. 1 shows a flow chart of a method of native rendering of an information stream fusing multiple linked addresses, the method comprising step S11, step S12, step S13, step S14 and step S15, according to one embodiment of the present application. In step S11, the user equipment responds to a loading trigger operation for a first link address in a target application, acquires a first configuration file corresponding to the first link address, and acquires at least one first information flow corresponding to the first link address according to the first configuration file, wherein the first configuration file includes at least one piece of first native control description information corresponding to the first information flow; in step S12, the user equipment determines a second link address associated with the at least one first information stream; in step S13, the user equipment obtains a second configuration file corresponding to the second link address, and obtains at least one second information flow corresponding to the second link address according to the second configuration file, where the second configuration file includes at least one piece of second native control description information corresponding to the at least one second information flow; in step S14, the user equipment creates at least one first native control corresponding to the at least one first native control description information, and at least one second native control corresponding to the at least one second native control description information; in step S15, the user equipment binds the at least one first information flow to the at least one first native control, binds the at least one second information flow to the at least one second native control, and renders the at least one first native control and the at least one second native control on a current page generated based on the loading trigger operation according to the first configuration file and the second configuration file.
In step S11, the user equipment responds to a loading trigger operation for a first link address in the target application, obtains a first configuration file corresponding to the first link address, and obtains at least one first information flow corresponding to the first link address according to the first configuration file, wherein the first configuration file includes at least one piece of first native control description information corresponding to the first information flow. In some embodiments, the loading trigger operation may be that the user inputs the first link address in the target application, or may be that the user clicks the first link address in other applications to jump to the target application, where no limitation is imposed on the loading trigger operation. In some embodiments, the first profile may be a file in any format, preferably the first profile may be a file in json format. In some embodiments, the first configuration file may be obtained from a server corresponding to the first link address, or the first configuration file may also be obtained from a server corresponding to the target application, or the first configuration file may also be obtained locally from the user device, or a storage address of the first configuration file may be included in the first link address, and the first configuration file may be obtained according to the storage address of the first configuration file, where the storage address may be a storage path of the first configuration file locally to the user device, or may be an address of a third party server storing the first configuration file, for example, the end of the target link address includes a storage address "@ of the first configuration file. In some embodiments, the first configuration file includes one or more first native control description information, where the first native control description information is used to describe information such as a type and an attribute of a first native control that needs to be rendered on the current page, and according to the first native control description information, the first native control in question may be rendered on the current page. In some embodiments, the first native control may be a view (e.g., button, textView, recyclerView, etc.) preset by the user equipment system, a view group preset by the user equipment system (including one or more views or view groups in the view group, e.g., linearLayout, relativeLayout, etc.), or a custom view or custom view group. In some embodiments, at least one first native control description information of the one or more first native control description information is required to obtain at least one first information stream bound to a corresponding first native control of the at least one first native control description information, wherein a portion of the at least one first information stream is displayed on the corresponding first native control (e.g., title information), and another portion of the at least one first information stream is not displayed on the corresponding first native control (e.g., text size information). In some embodiments, the first configuration file defines, for each first native control description information in the at least one first native control description information, how to acquire the acquisition mode (information flow parsing rule information) of one or more first information flows that need to be bound to the first native control corresponding to the first native control description information. In some embodiments, the first configuration file includes one or more interface addresses (for example, ajax interface addresses), the plurality of first native control description information may correspond to the same interface address, or may respectively correspond to different interface addresses, the interface data information (for example, json format data) corresponding to a certain first native control description information is obtained by requesting (for example, ajax request) the interface address corresponding to the first native control description information, then rule information is parsed by an information flow in the first configuration file, the rule information includes which interface address in the first configuration file each first native control description information corresponds to, and one or more field path information (for example, paths of one or more keys in json format data) corresponding to the first native control description information, and the one or more first information flows (for example, values corresponding to one or more y in json format data) corresponding to the one or more field path information are parsed from the interface data information corresponding to obtain the one or more first information flows corresponding to the one or more field path information as paths of the first native control description information that need to be bound to the first native control description information in the first configuration file. In some embodiments, according to HTML page information corresponding to a first link address, document information corresponding to the first native control description information may be obtained, documents are root nodes of the HTML page information, all tags in the HTML page information may be accessed through documents, then through information flow analysis rule information in a first configuration file, the information flow analysis rule information includes one or more tag path information, one or more tags corresponding to the one or more tag path information are obtained by analysis from documents corresponding to the first native control description information, and a first information flow corresponding to the one or more tags is used as a first information flow to be bound to a first native control corresponding to the first native control description information.
In step S12, the user equipment determines a second link address associated with the at least one first information flow. In some embodiments, the second link address associated with the at least one first information stream may be determined by the user device, or the first information stream may also be sent to a server corresponding to the target application, the second link address associated with the at least one first information stream being determined by the server and returned to the user device. In some embodiments, the second linking address associated with at least one first information stream may be one or more. In some embodiments, the missing content or the content to be supplemented corresponding to the at least one first information stream may be determined first, and then the second link address corresponding to the missing content or the content to be supplemented may be found in the server corresponding to the target application or the third party server, or the second link address corresponding to the missing content or the content to be supplemented may also be found in the search engine. In some embodiments, a plurality of second link addresses corresponding to the missing content or the content to be supplemented may be obtained, where at least one second link address with the highest degree of association with the first information stream needs to be selected from the plurality of second link addresses and used as a second link address associated with the first information stream, or where at least one second link address with the degree of association with the at least one first information stream meeting a predetermined degree of association threshold needs to be selected from the plurality of second link addresses and used as a second link address associated with the at least one first information stream.
In step S13, the user equipment obtains a second configuration file corresponding to the second link address, and obtains at least one second information flow corresponding to the second link address according to the second configuration file, where the second configuration file includes at least one piece of second native control description information corresponding to the at least one second information flow. In some embodiments, if there is only one second link address associated with at least one first information flow, the corresponding second native control description information and the second information flow are directly obtained according to a second configuration file corresponding to the second link address, and if there is a plurality of second link addresses associated with at least one first information flow, the corresponding second native control description information and the second information flow are required to be obtained respectively according to the second configuration file corresponding to each second link address. In some embodiments, if there are a plurality of second link addresses associated with at least one first information stream, each of the plurality of second link addresses may correspond to a different second configuration file, or may correspond to the same second configuration file.
In step S14, the user equipment creates at least one first native control corresponding to the at least one first native control description information, and at least one second native control corresponding to the at least one second native control description information. In some embodiments, creating the first native control corresponding to the first native control description information and the second native control corresponding to the second native control description information includes, but is not limited to, creating a native control object (e.g., calling a constructor of TextView to new one), initializing a native control object according to the native control description information (e.g., calling an init method of TextView, or calling a related method of TextView (e.g., setText method or setTextSize) or directly assigning a related attribute of TextView according to attribute information (e.g., display text attribute or text size attribute) of TextView in the native control description information.
In step S15, the user equipment binds the at least one first information flow to the at least one first native control, binds the at least one second information flow to the at least one second native control, and renders the at least one first native control and the at least one second native control on a current page generated based on the loading trigger operation according to the first configuration file and the second configuration file. In some embodiments, for each of at least one native control to which an information flow needs to be bound, one or more information flows corresponding to the native control are obtained through a configuration file, and the one or more information flows are bound to the native control, where the binding may be to call a related method corresponding to the native control object (for example, call a setText or setText method of TextView), to transfer the one or more information flows into the native control object, or may directly assign a value to a related attribute in the native control object according to the one or more information flows. In some embodiments, at least one first native control and at least one second native control are rendered on a current page generated based on a load trigger operation for a first link address according to a first configuration file and a second configuration file, wherein the rendering is based on native rendering of a user device operating system rather than browser kernel based rendering. It should be noted that, in each embodiment of the present application, an android system is taken as an example, and those skilled in the art should understand that the solution of the present application can also be applied to other systems, such as an IOS system, etc.
After at least one first information stream corresponding to a first link address is obtained, the second link address associated with the at least one first information stream is determined, and at least one second information stream corresponding to the second link address is obtained, so that at least one first native control is rendered on a current page according to a first configuration file corresponding to the first link address, at the same time, at least one second native control is rendered on the current page according to a second configuration file corresponding to the second link address, other content related to the content can be presented while the content corresponding to the first link address is presented on the current page, namely, the content which the user does not have and possibly expects to know is provided for the current page, the information barrier of the Internet can be broken, the Internet is connected in series, the Internet is more open and free, the interconnection of information is promoted, the information communication obstruction is reduced, the user can be helped to browse the content of the current page directly on the current page, the conversion times are reduced, and the information acquisition efficiency is improved.
In some embodiments, the first configuration file includes one or more first template information, each of the one or more first template information including one or more first native control description information, at least one of all first native control description information included by the one or more first template information corresponding to the at least one first information flow; the second configuration file comprises one or more second template information, each piece of second template information in the one or more second template information comprises one or more second native control description information, and at least one piece of second native control description information in all pieces of second native control description information in the one or more second template information corresponds to the at least one second information stream; the rendering the at least one first native control and the at least one second native control on a current page generated based on the load trigger operation according to the first configuration file and the second configuration file includes: rendering the at least one first native control and the at least one second native control on a current page generated based on the load trigger operation according to the one or more first template information and the one or more second template information. In some embodiments, the current page generated based on the loading trigger operation for the first link address includes one or more display areas, and the first configuration file includes one or more first template information, where each display area may correspond to one or more first template information. In some embodiments, each display region may correspond to different first template information, respectively, or a plurality of display regions may correspond to the same first template information. In some embodiments, the first template information may be layout style information of a corresponding display area, where the layout style information includes one or more first native control description information, and according to the first template information, one or more first native controls corresponding to the one or more first native control description information in the first template information may be rendered on the corresponding display area. In some embodiments, the first template information in the first configuration file may be template identification information (e.g., template name, template ID). In some embodiments, according to the template identification information, specific first template information may be obtained from a server corresponding to the local user equipment, the target application, or the target link address. In some embodiments, at least one first template information of the one or more first template information needs to obtain a corresponding first information flow, at this time, for each first template information of the at least one first template information, at least one first native control description information of the one or more first native control description information included in the first template information needs to obtain a first information flow binding to a first native control corresponding to the at least one first native control description information, a first configuration file defines how to obtain, for each first native control description information of the at least one first native control description information, one or more first information flows (information flow parsing rules) that need to be bound to the first native control corresponding to the first native control description information.
In some embodiments, the determining a second link address associated with the at least one first information stream includes: acquiring a theme type corresponding to the first link address, and determining missing content corresponding to the at least one information stream according to the theme type; a second link address associated with the missing content is obtained. In some embodiments, the theme types include, but are not limited to, video types, novice types, music types, and the like. In some embodiments, the user equipment side or the server side corresponding to the target application stores in advance topic types corresponding to the plurality of first link addresses respectively. In some embodiments, the first information stream may also be subjected to semantic recognition, and the topic type corresponding to the first link address is determined according to the semantic content of the first information stream obtained by recognition. For example, the topic type corresponding to the first link address is a video type, and since the first information stream does not include the profile information of actor a, it may be determined that the missing content corresponding to the first information stream is "the profile information of actor a". In some embodiments, according to the topic type corresponding to the first link address and the first information stream, the missing content corresponding to the first information stream under the topic type may be determined, and then the second link address corresponding to the missing content or the content to be supplemented is found in the server corresponding to the target application or the third party server, or the second link address corresponding to the missing content or the content to be supplemented may also be found in the search engine. In some embodiments, a plurality of second link addresses corresponding to the missing content or the content to be supplemented may be obtained, where at least one second link address with the highest degree of association with the first information stream needs to be selected from the plurality of second link addresses and used as a second link address associated with the first information stream, or where at least one second link address with the degree of association with the at least one first information stream meeting a predetermined degree of association threshold needs to be selected from the plurality of second link addresses and used as a second link address associated with the at least one first information stream.
In some embodiments, the obtaining the topic type corresponding to the first link address, and determining the missing content corresponding to the at least one information stream according to the topic type, includes: determining a topic type corresponding to the first link address according to the semantic content of the at least one first information stream; and determining the missing content corresponding to the at least one information stream according to the theme type. In some embodiments, semantic recognition is performed on the first information stream, a topic type corresponding to the first link address is determined according to semantic content of the first information stream obtained through recognition, and missing content corresponding to the first information stream under the topic type is determined according to the topic type corresponding to the first link address and the first information stream.
In some embodiments, the determining, according to the topic type, missing content corresponding to the at least one information stream includes: determining a topic content rule corresponding to the topic type according to the topic type; and determining the missing content corresponding to the at least one information stream according to the topic content rule. In some embodiments, a user device side or a server side corresponding to a target application stores theme content rules corresponding to different theme types in advance, where the theme content rules are used to define which information streams need to be presented by each theme type. In some embodiments, according to the topic content rule corresponding to the first link address, it may be known which information streams need to be presented on the current page corresponding to the first link address, and according to the first information streams already presented on the current page, the missing content corresponding to the first information streams may be determined. For example, the topic type corresponding to the first link address is a video type, and according to the topic content rule corresponding to the video type, it may be obtained that the information stream to be presented on the current page corresponding to the first link address has a video title, a video brief description, a director brief description, a video play address, a video comment, a video duration, and the like, and since the first information stream already presented on the current page does not include brief description information of actor a, it may be determined that the missing content corresponding to the first information stream is "brief description information of actor a".
In some embodiments, the at least one first information stream includes a third link address; wherein said determining a second link address associated with said at least one first information stream comprises: the third linking address is taken as a second linking address associated with the at least one first information stream. In some embodiments, the first information stream already includes one or more third link addresses, and the one or more third link addresses may be directly used as the second link addresses associated with the first information stream, or a part of the third link addresses may be selected from the one or more third link addresses to be used as the second link addresses associated with the first information stream.
In some embodiments, the determining a second link address associated with the at least one first information stream includes: determining at least one target first information stream from the at least one first information stream; determining content to be acquired corresponding to the at least one target first information stream; and acquiring a second link address associated with the content to be acquired. In some embodiments, at least one target first information stream of the content to be supplemented is determined from at least one first information stream, the content to be acquired (i.e. the missing content) corresponding to the at least one target first information stream is determined, and a second link address corresponding to the content to be acquired is found in a server corresponding to the target application or a third party server, or the second link address corresponding to the content to be acquired may also be found in a search engine.
In some embodiments, at least one of all second native controls corresponding to the second link address is rendered in a vicinity of at least one target first native control corresponding to the at least one target first information stream. In some embodiments, at least one of all the second native controls corresponding to the second link address is rendered in a vicinity of at least one target first native control corresponding to at least one target first information stream corresponding to the desired supplemental content.
In some embodiments, the determining at least one target first information flow from the at least one first information flow includes: determining the content expansion requirement of each first information stream according to the semantic content of each first information stream in the at least one first information stream; and selecting at least one target first information stream meeting the preset content expansion condition from the at least one first information stream according to the content expansion requirement of each first information stream. In some embodiments, the content extension requirement of one information stream is used to indicate the extension requirement corresponding to the information stream, such as the requirement of lateral extension of type-related information, the requirement of lateral extension of supplemental information, or the requirement of longitudinal extension of upper and lower information. In some embodiments, different types of information flows correspond to different content expansion requirements, and the type corresponding to each first information flow may be determined according to the semantic content of each first information flow, so as to determine the content expansion requirement of each first information flow, optionally, the corresponding content expansion requirements are preset for the first information flow of a predetermined type, for example, the content expansion requirements corresponding to the first information flow related to the person include, but are not limited to, introduction to the person itself, introduction to an object (such as a work played by an actor, etc.), and the content expansion requirements corresponding to the first information flow related to the video include, but are not limited to, introduction to a scenario of the video, introduction to the actor, scoring or play amount, etc. In some embodiments, for each first information stream, determining, according to the semantic content of the first information stream, the content that is missing from each first information stream, and taking the requirement corresponding to the missing content as the content expansion requirement of the first information stream. In some embodiments, the predetermined content extension condition includes any predetermined content extension condition, and the content extension requirement of each first information stream may be matched with the predetermined content extension condition, and at least one target first information stream having a matching degree higher than the predetermined matching degree is selected from at least one first information stream according to the matching result.
In some embodiments, the determining the content expansion requirement of each first information stream according to the semantic content of each first information stream in the at least one first information stream includes: and determining the content expansion requirement of each first information stream according to the semantic content of each first information stream in the at least one first information stream and combining the semantic content of the context information stream corresponding to each first information stream. In some embodiments, the content expansion requirement of the first information stream is determined by performing a correlation analysis on the semantic content of the first information stream and the semantic content of the context information stream of the first information stream. In some embodiments, the content expansion requirement of each first information stream is determined according to the semantic content of each first information stream and in combination with the semantic content of the context information stream corresponding to each first information stream and a predetermined requirement judgment rule, for example, the requirement judgment rule may include a predetermined plurality of requirement items, the semantic information of the first information stream may be matched with the plurality of requirement items, one or more requirement items that may need to be expanded are initially determined, and then the content expansion requirement of the first information stream is finally determined in combination with the semantic content of the context information stream of the first information stream.
In some embodiments, the determining at least one target first information flow from the at least one first information flow includes: determining a preset keyword set corresponding to the first link address according to the topic type corresponding to the first link address; and matching the at least one first information stream with a preset keyword set corresponding to the first link address, and determining at least one target first information stream meeting a preset matching degree threshold value from the at least one first information stream according to a matching result. In some embodiments, a mapping relationship between different topic types and a plurality of predetermined keyword sets is preset, and based on the mapping relationship, a predetermined keyword set corresponding to a topic type corresponding to a first link address may be obtained. For example, the theme type is a movie type, and the predetermined keyword set corresponding to the theme type is "director, producer, showing, and box office". In some embodiments, each first information flow is matched with a predetermined keyword set, and the corresponding first information flow with the matching degree exceeding the predetermined matching degree threshold value is determined as a target first information flow, or the corresponding predetermined number of first information flows with the highest matching degree may be determined as target first information flows.
In some embodiments, the determining at least one target first information flow from the at least one first information flow includes: determining the weight corresponding to each first information flow in the at least one first information flow according to the topic type corresponding to the first link address; and determining at least one target first information flow from the at least one first information flow according to the weight information corresponding to each first information flow. In some embodiments, each first information stream is matched with the topic type corresponding to the first link address, and weight information of the first information streams is determined according to the matching result, wherein the higher the matching degree of one first information stream with the topic type is, the higher the weight of the first information stream is. In some embodiments, one or more first information streams with highest weights in at least one first information stream are determined as target first information streams according to the weight information corresponding to each first information stream. In some embodiments, according to the weight information corresponding to each first information stream, a first information stream with a weight higher than a predetermined weight threshold value in at least one first information stream is determined as a target first information stream.
In some embodiments, the determining content to be acquired associated with the at least one target first information stream includes: and determining the content to be acquired associated with the at least one target first information stream according to the topic type corresponding to the first link address and the semantic content of the at least one target first information stream. In some embodiments, a plurality of content items corresponding to different topic types are preset, and then a content item missing from at least one target first information stream may be determined according to the topic type corresponding to the first link address and the semantic content of the at least one target first information stream, and then, according to the missing content item, the content to be acquired associated with the at least one target first information stream is determined, for example, a content item corresponding to a preset topic type "movie" includes: the method comprises the steps that a movie profile, starring actors and directors are judged according to semantic content of at least one target first information stream, the profile and the directors of the movie are included in the at least one target first information stream, but the content related to the starring actors is absent, the absent content item is determined to be the starring actors, and content to be acquired, which is associated with the at least one target first information stream and comprises information such as the profile, the rank and the like of the starring actors of the movie, is obtained according to the absent content item.
In some embodiments, the determining content to be acquired associated with the at least one target first information stream includes: determining content expansion requirements corresponding to the at least one target first information stream according to semantic content of the at least one target first information stream; content to be acquired associated with the content extension requirement is determined. The implementation manner of determining the content expansion requirement corresponding to the at least one target first information stream according to the semantic content of the at least one target first information stream is described in detail in the foregoing embodiments, and will not be described herein again. In some embodiments, according to the determined content expansion requirement, the associated content to be acquired is determined, for example, the semantic content of a target first information stream is an evaluation of an actor, according to the semantic content, the content expansion requirement corresponding to the target first information stream is determined to transversely expand all works developed by the actor and longitudinally expand more evaluation about the actor, and according to the content expansion requirement, specific content associated with the content expansion requirement is acquired.
In some embodiments, the determining, according to the semantic content of the at least one target first information stream, a content expansion requirement corresponding to the at least one target first information stream includes: and determining the content expansion requirement corresponding to the at least one target first information stream according to the semantic content of the at least one target first information stream and combining the topic type corresponding to the first link address. In some embodiments, a plurality of requirement items corresponding to different topic types are preset, and then a plurality of requirement items corresponding to topic types corresponding to the first link address can be obtained first, then semantic content of at least one target information stream is matched with the plurality of requirement items, and at least one requirement item with the corresponding matching degree lower than a predetermined matching degree threshold value is used as a content expansion requirement corresponding to at least one target first information stream. For example, the topic type corresponding to the first link address is "news creation", and according to the semantic information of at least one target first information stream and in combination with a plurality of requirement items corresponding to the topic type, it is determined that the content expansion requirement corresponding to the at least one target first information stream is content expansion for the innovation company and the investor respectively.
In some embodiments, the obtaining, according to the second configuration file, at least one second information flow corresponding to the second link address includes: acquiring one or more third information flows corresponding to one or more second native control description information in the at least one piece of second native control description information according to the second configuration file; determining at least one second information flow from the one or more third information flows, wherein the creating at least one first native control corresponding to the at least one first native control description information and at least one second native control corresponding to the at least one second native control description information includes: creating at least one first native control corresponding to the at least one first native control description information and at least one second native control corresponding to the at least one second native control description information, wherein the at least one second native control does not include second native controls corresponding to other third information streams of the one or more third information streams than the at least one second information stream. In some embodiments, for one or more third information flows acquired according to the second configuration file and required to be bound to one or more second native control description information in the at least one second native control description information, because the display space of the current page is limited, it is not required to render and display all third information flows on the current page, it is required to determine at least one second information flow from the one or more third information flows, and only render and display the at least one second information flow on the current page. In some embodiments, the second native control that would otherwise be required to bind the other third information stream in addition to the at least one second information stream is not required to be created and rendered on the current page since the at least one second information stream is not required to be displayed on the current page. In some embodiments, at least one second information stream may be determined from one or more third information streams based on a degree of matching between each third information stream and the first information stream. In some embodiments, at least one second information stream may also be determined from one or more third information streams according to a degree of matching between each third information stream and the topic type corresponding to the first link address.
In some embodiments, the method further comprises: responding to access triggering operation of the current page for a target second native control in the at least one second native control, and jumping from the current page to a second page corresponding to the second link address; creating at least one second native control corresponding to the at least one second native control description information; binding one or more third information flows on the at least one second native control, and rendering the at least one second native control on the second page according to the second configuration file. In some embodiments, the access triggering operation includes any operation for triggering access to the second link address, such as a click operation for a target second native control of the at least one second native control, and the like. In some embodiments, since the other third information flows except the second information flow are not displayed on the current page before, the second native control that is originally required to bind the other third information flows is not required to be displayed on the current page, and therefore the second native control is not required to be created or rendered on the current page, and the user can only browse the partial information flow corresponding to the second link address on the current page. In some embodiments, in response to an access trigger operation for the second link address in the current page, jumping from the current page to a second page corresponding to the second link address, then creating at least one second native control corresponding to at least one second native control description information in a second configuration file, binding one or more third information flows on the at least one second native control, and rendering the at least one second native control on the second page according to the second configuration file, so that a user can further browse all information flows corresponding to the second link address on the second page.
In some embodiments, the method further comprises: acquiring one or more pieces of third template information from the second configuration file; one or more second template information is selected from the one or more third template information, wherein each of the one or more second template information and at least one of the one or more first template information satisfy a predetermined matching degree condition. In some embodiments, the predetermined matching condition includes any predetermined matching-related condition, such as a matching-degree threshold-related condition, a matching number or matching ratio-related condition, and the like. In some embodiments, the second configuration file includes a plurality of third module information, each third module information includes one or more second native control description information, each third module corresponds to one or more display areas on the current page, and according to each third template information, one or more second native controls corresponding to one or more second native control description information in the third template information can be rendered on the corresponding display areas. In some embodiments, for each third template information, matching the third template information with the one or more first template information, if there is first template information in the one or more first template information with a degree of matching exceeding a predetermined degree of matching threshold, or if the number of first template information in the one or more first template information with a degree of matching exceeding a predetermined degree of matching threshold is greater than or equal to a predetermined number threshold or meets a predetermined proportion threshold, or if the average degree of matching or overall degree of matching between the third template information and the one or more first template information is greater than or equal to a predetermined degree of matching threshold, or the average degree of matching or overall degree of matching between the third module information and the one or more first template information is greater than the average degree of matching or overall degree of matching between other third template information and the one or more first template information, determining the third template information as the second template information, thereby rendering the at least one or more control controls corresponding to the first template information and rendering the at least one or more control controls corresponding to the first template information. Therefore, a certain degree of matching between the second template information and the first template information selected from one or more pieces of third template information can be realized, so that the uniformity of the style of the current page presentation can be ensured as much as possible, and the influence on the visual impression of a user is avoided.
In some embodiments, the method further comprises: acquiring one or more third primitive control description information from the one or more second template information; and acquiring one or more second native control description information from the one or more third native control description information, wherein each second native control description information in the one or more second native control description information and at least one first native control description information in all acquired first native control description information meet a predetermined matching degree condition. In some embodiments, the second configuration file includes one or more third module information, each third module information includes one or more third native control description information, for each third native control description information in the one or more third native control description information, the third native control description information is matched with at least one first native control description information acquired in the first template information, if there is first template information in the at least one first native control description information, the matching degree between the first template information and the third native control description information exceeds a predetermined matching degree threshold value, or if the number of first native control description information in the at least one first native control description information, the matching degree between the first native control description information and the third native control description information exceeds a predetermined matching degree threshold value, is greater than or equal to a predetermined number threshold value or meets a predetermined proportion threshold value, or if the average matching degree or the overall matching degree between the third native control description information and the at least one first native control description information is greater than or equal to a predetermined matching degree threshold, or the average matching degree or the overall matching degree between the third native control description information and the at least one first native control description information is greater than the average matching degree or the overall matching degree between the third native control description information and the at least one first native control description information, determining the third native control description information as second native control description information, thereby rendering one or more second native controls corresponding to the one or more second native control description information on the current page, and ignoring other third native control description information than the one or more second native control description information. Therefore, the second native control description information with a certain degree of matching with the first native control description information can be selected from one or more third native control description information in the second template information, and the second native control corresponding to the second link address and the first native control corresponding to the first link address which are finally presented in the current page are provided with a certain degree of matching, so that the uniformity of the style of the presentation of the current page can be ensured as much as possible, and the influence on the visual appearance of a user is avoided.
Fig. 2 shows a block diagram of a user device for native rendering of information streams fusing multiple linked addresses, the device comprising a one-to-one module 11, a two module 12, a three module 13, a four module 14 and a five module 15, according to one embodiment of the present application. The one-to-one module 11 is configured to obtain a first configuration file corresponding to a first link address in response to a loading trigger operation for the first link address in a target application, and obtain at least one first information flow corresponding to the first link address according to the first configuration file, where the first configuration file includes at least one piece of first native control description information corresponding to the first information flow; a second module 12 for determining a second link address associated with the at least one first information stream; a third module 13, configured to obtain a second configuration file corresponding to the second link address, and obtain at least one second information flow corresponding to the second link address according to the second configuration file, where the second configuration file includes at least one piece of second native control description information corresponding to the at least one second information flow; a fourth module 14, configured to create at least one first native control corresponding to the at least one first native control description information, and at least one second native control corresponding to the at least one second native control description information; and a fifth module 15, configured to bind the at least one first information flow to the at least one first native control, bind the at least one second information flow to the at least one second native control, and render the at least one first native control and the at least one second native control on a current page generated based on the loading triggering operation according to the first configuration file and the second configuration file.
The one-to-one module 11 is configured to obtain a first configuration file corresponding to a first link address in response to a loading trigger operation for the first link address in a target application, and obtain at least one first information flow corresponding to the first link address according to the first configuration file, where the first configuration file includes at least one piece of first native control description information corresponding to the first information flow. In some embodiments, the loading trigger operation may be that the user inputs the first link address in the target application, or may be that the user clicks the first link address in other applications to jump to the target application, where no limitation is imposed on the loading trigger operation. In some embodiments, the first profile may be a file in any format, preferably the first profile may be a file in json format. In some embodiments, the first configuration file may be obtained from a server corresponding to the first link address, or the first configuration file may also be obtained from a server corresponding to the target application, or the first configuration file may also be obtained locally from the user device, or a storage address of the first configuration file may be included in the first link address, and the first configuration file may be obtained according to the storage address of the first configuration file, where the storage address may be a storage path of the first configuration file locally to the user device, or may be an address of a third party server storing the first configuration file, for example, the end of the target link address includes a storage address "@ of the first configuration file. In some embodiments, the first configuration file includes one or more first native control description information, where the first native control description information is used to describe information such as a type and an attribute of a first native control that needs to be rendered on the current page, and according to the first native control description information, the first native control in question may be rendered on the current page. In some embodiments, the first native control may be a view (e.g., button, textView, recyclerView, etc.) preset by the user equipment system, a view group preset by the user equipment system (including one or more views or view groups in the view group, e.g., linearLayout, relativeLayout, etc.), or a custom view or custom view group. In some embodiments, at least one first native control description information of the one or more first native control description information is required to obtain at least one first information stream bound to a corresponding first native control of the at least one first native control description information, wherein a portion of the at least one first information stream is displayed on the corresponding first native control (e.g., title information), and another portion of the at least one first information stream is not displayed on the corresponding first native control (e.g., text size information). In some embodiments, the first configuration file defines, for each first native control description information in the at least one first native control description information, how to acquire the acquisition mode (information flow parsing rule information) of one or more first information flows that need to be bound to the first native control corresponding to the first native control description information. In some embodiments, the first configuration file includes one or more interface addresses (for example, ajax interface addresses), the plurality of first native control description information may correspond to the same interface address, or may respectively correspond to different interface addresses, the interface data information (for example, json format data) corresponding to a certain first native control description information is obtained by requesting (for example, ajax request) the interface address corresponding to the first native control description information, then rule information is parsed by an information flow in the first configuration file, the rule information includes which interface address in the first configuration file each first native control description information corresponds to, and one or more field path information (for example, paths of one or more keys in json format data) corresponding to the first native control description information, and the one or more first information flows (for example, values corresponding to one or more y in json format data) corresponding to the one or more field path information are parsed from the interface data information corresponding to obtain the one or more first information flows corresponding to the one or more field path information as paths of the first native control description information that need to be bound to the first native control description information in the first configuration file. In some embodiments, according to HTML page information corresponding to a first link address, document information corresponding to the first native control description information may be obtained, documents are root nodes of the HTML page information, all tags in the HTML page information may be accessed through documents, then through information flow analysis rule information in a first configuration file, the information flow analysis rule information includes one or more tag path information, one or more tags corresponding to the one or more tag path information are obtained by analysis from documents corresponding to the first native control description information, and a first information flow corresponding to the one or more tags is used as a first information flow to be bound to a first native control corresponding to the first native control description information.
A second module 12 for determining a second linking address associated with the at least one first information stream. In some embodiments, the second link address associated with the at least one first information stream may be determined by the user device, or the first information stream may also be sent to a server corresponding to the target application, the second link address associated with the at least one first information stream being determined by the server and returned to the user device. In some embodiments, the second linking address associated with at least one first information stream may be one or more. In some embodiments, the missing content or the content to be supplemented corresponding to the at least one first information stream may be determined first, and then the second link address corresponding to the missing content or the content to be supplemented may be found in the server corresponding to the target application or the third party server, or the second link address corresponding to the missing content or the content to be supplemented may also be found in the search engine. In some embodiments, a plurality of second link addresses corresponding to the missing content or the content to be supplemented may be obtained, where at least one second link address with the highest degree of association with the first information stream needs to be selected from the plurality of second link addresses and used as a second link address associated with the first information stream, or where at least one second link address with the degree of association with the at least one first information stream meeting a predetermined degree of association threshold needs to be selected from the plurality of second link addresses and used as a second link address associated with the at least one first information stream.
And a third module 13, configured to obtain a second configuration file corresponding to the second link address, and obtain at least one second information flow corresponding to the second link address according to the second configuration file, where the second configuration file includes at least one piece of second native control description information corresponding to the at least one second information flow. In some embodiments, if there is only one second link address associated with at least one first information flow, the corresponding second native control description information and the second information flow are directly obtained according to a second configuration file corresponding to the second link address, and if there is a plurality of second link addresses associated with at least one first information flow, the corresponding second native control description information and the second information flow are required to be obtained respectively according to the second configuration file corresponding to each second link address. In some embodiments, if there are a plurality of second link addresses associated with at least one first information stream, each of the plurality of second link addresses may correspond to a different second configuration file, or may correspond to the same second configuration file.
A fourth module 14 is configured to create at least one first native control corresponding to the at least one first native control description information, and at least one second native control corresponding to the at least one second native control description information. In some embodiments, creating the first native control corresponding to the first native control description information and the second native control corresponding to the second native control description information includes, but is not limited to, creating a native control object (e.g., calling a constructor of TextView to new one), initializing a native control object according to the native control description information (e.g., calling an init method of TextView, or calling a related method of TextView (e.g., setText method or settextsize) or directly assigning a related attribute of TextView according to attribute information (e.g., display text attribute or text size attribute) of TextView in the native control description information.
And a fifth module 15, configured to bind the at least one first information flow to the at least one first native control, bind the at least one second information flow to the at least one second native control, and render the at least one first native control and the at least one second native control on a current page generated based on the loading triggering operation according to the first configuration file and the second configuration file. In some embodiments, for each of at least one native control to which an information flow needs to be bound, one or more information flows corresponding to the native control are obtained through a configuration file, and the one or more information flows are bound to the native control, where the binding may be to call a related method corresponding to the native control object (for example, call a setText or setText method of TextView), to transfer the one or more information flows into the native control object, or may directly assign a value to a related attribute in the native control object according to the one or more information flows. In some embodiments, at least one first native control and at least one second native control are rendered on a current page generated based on a load trigger operation for a first link address according to a first configuration file and a second configuration file, wherein the rendering is based on native rendering of a user device operating system rather than browser kernel based rendering. It should be noted that, in each embodiment of the present application, an android system is taken as an example, and those skilled in the art should understand that the solution of the present application can also be applied to other systems, such as an IOS system, etc.
After at least one first information stream corresponding to a first link address is obtained, the second link address associated with the at least one first information stream is determined, and at least one second information stream corresponding to the second link address is obtained, so that at least one first native control is rendered on a current page according to a first configuration file corresponding to the first link address, at the same time, at least one second native control is rendered on the current page according to a second configuration file corresponding to the second link address, other content related to the content can be presented while the content corresponding to the first link address is presented on the current page, namely, the content which the user does not have and possibly expects to know is provided for the current page, the information barrier of the Internet can be broken, the Internet is connected in series, the Internet is more open and free, the interconnection of information is promoted, the information communication obstruction is reduced, the user can be helped to browse the content of the current page directly on the current page, the conversion times are reduced, and the information acquisition efficiency is improved.
In some embodiments, the first configuration file includes one or more first template information, each of the one or more first template information including one or more first native control description information, at least one of all first native control description information included by the one or more first template information corresponding to the at least one first information flow; the second configuration file comprises one or more second template information, each piece of second template information in the one or more second template information comprises one or more second native control description information, and at least one piece of second native control description information in all pieces of second native control description information in the one or more second template information corresponds to the at least one second information stream; the rendering the at least one first native control and the at least one second native control on a current page generated based on the load trigger operation according to the first configuration file and the second configuration file includes: rendering the at least one first native control and the at least one second native control on a current page generated based on the load trigger operation according to the one or more first template information and the one or more second template information. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining a second link address associated with the at least one first information stream includes: acquiring a theme type corresponding to the first link address, and determining missing content corresponding to the at least one information stream according to the theme type; a second link address associated with the missing content is obtained. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the obtaining the topic type corresponding to the first link address, and determining the missing content corresponding to the at least one information stream according to the topic type, includes: determining a topic type corresponding to the first link address according to the semantic content of the at least one first information stream; and determining the missing content corresponding to the at least one information stream according to the theme type. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining, according to the topic type, missing content corresponding to the at least one information stream includes: determining a topic content rule corresponding to the topic type according to the topic type; and determining the missing content corresponding to the at least one information stream according to the topic content rule. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the at least one first information stream includes a third link address; wherein said determining a second link address associated with said at least one first information stream comprises: the third linking address is taken as a second linking address associated with the at least one first information stream. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining a second link address associated with the at least one first information stream includes: determining at least one target first information stream from the at least one first information stream; determining content to be acquired corresponding to the at least one target first information stream; and acquiring a second link address associated with the content to be acquired. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, at least one of all second native controls corresponding to the second link address is rendered in a vicinity of at least one target first native control corresponding to the at least one target first information stream. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining at least one target first information flow from the at least one first information flow includes: determining the content expansion requirement of each first information stream according to the semantic content of each first information stream in the at least one first information stream; and selecting at least one target first information stream meeting the preset content expansion condition from the at least one first information stream according to the content expansion requirement of each first information stream. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining the content expansion requirement of each first information stream according to the semantic content of each first information stream in the at least one first information stream includes: and determining the content expansion requirement of each first information stream according to the semantic content of each first information stream in the at least one first information stream and combining the semantic content of the context information stream corresponding to each first information stream. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining at least one target first information flow from the at least one first information flow includes: determining a preset keyword set corresponding to the first link address according to the topic type corresponding to the first link address; and matching the at least one first information stream with a preset keyword set corresponding to the first link address, and determining at least one target first information stream meeting a preset matching degree threshold value from the at least one first information stream according to a matching result. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining at least one target first information flow from the at least one first information flow includes: determining the weight corresponding to each first information flow in the at least one first information flow according to the topic type corresponding to the first link address; and determining at least one target first information flow from the at least one first information flow according to the weight information corresponding to each first information flow. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining content to be acquired associated with the at least one target first information stream includes: and determining the content to be acquired associated with the at least one target first information stream according to the topic type corresponding to the first link address and the semantic content of the at least one target first information stream. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining content to be acquired associated with the at least one target first information stream includes: determining content expansion requirements corresponding to the at least one target first information stream according to semantic content of the at least one target first information stream; content to be acquired associated with the content extension requirement is determined. The implementation manner of determining the content expansion requirement corresponding to the at least one target first information stream according to the semantic content of the at least one target first information stream is described in detail in the foregoing embodiments, and will not be described herein again. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining, according to the semantic content of the at least one target first information stream, a content expansion requirement corresponding to the at least one target first information stream includes: and determining the content expansion requirement corresponding to the at least one target first information stream according to the semantic content of the at least one target first information stream and combining the topic type corresponding to the first link address. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the obtaining, according to the second configuration file, at least one second information flow corresponding to the second link address includes: acquiring one or more third information flows corresponding to one or more second native control description information in the at least one piece of second native control description information according to the second configuration file; determining at least one second information flow from the one or more third information flows, wherein the creating at least one first native control corresponding to the at least one first native control description information and at least one second native control corresponding to the at least one second native control description information includes: creating at least one first native control corresponding to the at least one first native control description information and at least one second native control corresponding to the at least one second native control description information, wherein the at least one second native control does not include second native controls corresponding to other third information streams of the one or more third information streams than the at least one second information stream. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the apparatus is further to: responding to access triggering operation of the current page for a target second native control in the at least one second native control, and jumping from the current page to a second page corresponding to the second link address; creating at least one second native control corresponding to the at least one second native control description information; binding one or more third information flows on the at least one second native control, and rendering the at least one second native control on the second page according to the second configuration file. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the apparatus is further to: acquiring one or more pieces of third template information from the second configuration file; one or more second template information is selected from the one or more third template information, wherein each of the one or more second template information and at least one of the one or more first template information satisfy a predetermined matching degree condition. In some embodiments, the predetermined matching condition includes any predetermined matching-related condition, such as a matching-degree threshold-related condition, a matching number or matching ratio-related condition, and the like. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the apparatus is further to: acquiring one or more third primitive control description information from the one or more second template information; and acquiring one or more second native control description information from the one or more third native control description information, wherein each second native control description information in the one or more second native control description information and at least one first native control description information in all acquired first native control description information meet a predetermined matching degree condition. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
FIG. 3 illustrates an exemplary system that may be used to implement various embodiments described herein.
In some embodiments, as shown in fig. 3, system 300 can function as any of the devices of the various described embodiments. In some embodiments, system 300 can include one or more computer-readable media (e.g., system memory or NVM/storage 320) having instructions and one or more processors (e.g., processor(s) 305) coupled with the one or more computer-readable media and configured to execute the instructions to implement the modules to perform the actions described herein.
For one embodiment, the system control module 310 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 305 and/or any suitable device or component in communication with the system control module 310.
The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. Memory controller module 330 may be a hardware module, a software module, and/or a firmware module.
The system memory 315 may be used, for example, to load and store data and/or instructions for the system 300. For one embodiment, system memory 315 may include any suitable volatile memory, such as, for example, a suitable DRAM. In some embodiments, the system memory 315 may comprise a double data rate type four synchronous dynamic random access memory (DDR 4 SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 320 and communication interface(s) 325.
For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable nonvolatile memory (e.g., flash memory) and/or may include any suitable nonvolatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 320 may include storage resources that are physically part of the device on which system 300 is installed or which may be accessed by the device without being part of the device. For example, NVM/storage 320 may be accessed over a network via communication interface(s) 325.
Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. The system 300 may wirelessly communicate with one or more components of a wireless network in accordance with any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 305 may be packaged together with logic of one or more controllers (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together with logic of one or more controllers of the system control module 310 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die as logic of one or more controllers of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic of one or more controllers of the system control module 310 to form a system on chip (SoC).
In various embodiments, the system 300 may be, but is not limited to being: a server, workstation, desktop computing device, or mobile computing device (e.g., laptop computing device, handheld computing device, tablet, netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, keyboards, liquid Crystal Display (LCD) screens (including touch screen displays), non-volatile memory ports, multiple antennas, graphics chips, application Specific Integrated Circuits (ASICs), and speakers.
The present application also provides a computer readable storage medium storing computer code which, when executed, performs a method as claimed in any preceding claim.
The present application also provides a computer program product which, when executed by a computer device, performs a method as claimed in any preceding claim.
The present application also provides a computer device comprising:
one or more processors;
a memory for storing one or more computer programs;
The one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, using Application Specific Integrated Circuits (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions as described above. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
Furthermore, portions of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application by way of operation of the computer. Those skilled in the art will appreciate that the form of computer program instructions present in a computer readable medium includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Herein, a computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by a computer.
Communication media includes media whereby a communication signal containing, for example, computer readable instructions, data structures, program modules, or other data, is transferred from one system to another. Communication media may include conductive transmission media such as electrical cables and wires (e.g., optical fibers, coaxial, etc.) and wireless (non-conductive transmission) media capable of transmitting energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied as a modulated data signal, for example, in a wireless medium, such as a carrier wave or similar mechanism, such as that embodied as part of spread spectrum technology. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and nonvolatile memory such as flash memory, various read only memory (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, feRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed computer-readable information/data that can be stored for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to operate a method and/or a solution according to the embodiments of the present application as described above.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the apparatus claims can also be implemented by means of one unit or means in software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.

Claims (19)

1. A method of native rendering of an information stream fusing multiple link addresses, applied to a user device, wherein the method comprises:
responding to loading triggering operation aiming at a first link address in a target application, acquiring a first configuration file corresponding to the first link address, and acquiring at least one first information flow corresponding to the first link address according to the first configuration file, wherein the first configuration file comprises at least one item of first native control description information corresponding to the first information flow;
determining a second link address associated with the at least one first information stream;
acquiring a second configuration file corresponding to the second link address, and acquiring at least one second information flow corresponding to the second link address according to the second configuration file, wherein the second configuration file comprises at least one piece of second native control description information corresponding to the at least one second information flow;
creating at least one first native control corresponding to the at least one first native control description information and at least one second native control corresponding to the at least one second native control description information;
Binding the at least one first information flow to the at least one first native control, binding the at least one second information flow to the at least one second native control, and rendering the at least one first native control and the at least one second native control on a current page generated based on the loading trigger operation according to the first configuration file and the second configuration file.
2. The method of claim 1, wherein the first configuration file includes one or more first template information, each of the one or more first template information including one or more first native control description information, at least one of all first native control description information included by the one or more first template information corresponding to the at least one first information stream; the second configuration file comprises one or more second template information, each piece of second template information in the one or more second template information comprises one or more second native control description information, and at least one piece of second native control description information in all pieces of second native control description information in the one or more second template information corresponds to the at least one second information stream;
The rendering the at least one first native control and the at least one second native control on a current page generated based on the load trigger operation according to the first configuration file and the second configuration file includes:
rendering the at least one first native control and the at least one second native control on a current page generated based on the load trigger operation according to the one or more first template information and the one or more second template information.
3. The method according to claim 1 or 2, wherein said determining a second link address associated with said at least one first information flow comprises:
acquiring a theme type corresponding to the first link address, and determining missing content corresponding to the at least one information stream according to the theme type;
a second link address associated with the missing content is obtained.
4. The method of claim 3, wherein the obtaining the topic type corresponding to the first link address and determining the missing content corresponding to the at least one information stream according to the topic type include:
determining a topic type corresponding to the first link address according to the semantic content of the at least one first information stream;
And determining the missing content corresponding to the at least one information stream according to the theme type.
5. The method of claim 4, wherein the determining, according to the topic type, missing content corresponding to the at least one information stream includes:
determining a topic content rule corresponding to the topic type according to the topic type;
and determining the missing content corresponding to the at least one information stream according to the topic content rule.
6. The method according to claim 1 or 2, wherein the at least one first information stream comprises a third linking address;
wherein said determining a second link address associated with said at least one first information stream comprises:
the third linking address is taken as a second linking address associated with the at least one first information stream.
7. The method according to claim 1 or 2, wherein said determining a second link address associated with said at least one first information flow comprises:
determining at least one target first information stream from the at least one first information stream;
determining content to be acquired corresponding to the at least one target first information stream;
And acquiring a second link address associated with the content to be acquired.
8. The method of claim 7, wherein at least one of all second native controls corresponding to the second link address is rendered in a vicinity of at least one target first native control corresponding to the at least one target first information flow.
9. The method of claim 7, wherein the determining at least one target first information stream from the at least one first information stream comprises:
determining the content expansion requirement of each first information stream according to the semantic content of each first information stream in the at least one first information stream;
and selecting at least one target first information stream meeting the preset content expansion condition from the at least one first information stream according to the content expansion requirement of each first information stream.
10. The method of claim 9, wherein the determining the content extension requirement of each first information stream according to the semantic content of each first information stream of the at least one first information stream comprises:
and determining the content expansion requirement of each first information stream according to the semantic content of each first information stream in the at least one first information stream and combining the semantic content of the context information stream corresponding to each first information stream.
11. The method of claim 7, wherein the determining at least one target first information stream from the at least one first information stream comprises:
determining a preset keyword set corresponding to the first link address according to the topic type corresponding to the first link address;
and matching the at least one first information stream with a preset keyword set corresponding to the first link address, and determining at least one target first information stream meeting a preset matching degree threshold value from the at least one first information stream according to a matching result.
12. The method of claim 7, wherein the determining at least one target first information stream from the at least one first information stream comprises:
determining the weight corresponding to each first information flow in the at least one first information flow according to the topic type corresponding to the first link address;
and determining at least one target first information flow from the at least one first information flow according to the weight information corresponding to each first information flow.
13. The method of claim 7, wherein the determining content to be acquired associated with the at least one target first information stream comprises:
And determining the content to be acquired associated with the at least one target first information stream according to the topic type corresponding to the first link address and the semantic content of the at least one target first information stream.
14. The method of claim 7, wherein the determining content to be acquired associated with the at least one target first information stream comprises:
determining content expansion requirements corresponding to the at least one target first information stream according to semantic content of the at least one target first information stream;
content to be acquired associated with the content extension requirement is determined.
15. The method of claim 14, wherein the determining, according to the semantic content of the at least one target first information stream, a content extension requirement corresponding to the at least one target first information stream includes:
and determining the content expansion requirement corresponding to the at least one target first information stream according to the semantic content of the at least one target first information stream and combining the topic type corresponding to the first link address.
16. The method of claim 1, wherein the obtaining, according to the second configuration file, at least one second information flow corresponding to the second link address includes:
Acquiring one or more third information flows corresponding to one or more second native control description information in the at least one piece of second native control description information according to the second configuration file;
determining at least one second information stream from the one or more third information streams;
wherein creating the at least one first native control corresponding to the at least one first native control description information and the at least one second native control corresponding to the at least one second native control description information includes:
creating at least one first native control corresponding to the at least one first native control description information and at least one second native control corresponding to the at least one second native control description information, wherein the at least one second native control does not include second native controls corresponding to other third information streams of the one or more third information streams than the at least one second information stream.
17. The method of claim 16, wherein the method further comprises:
responding to access triggering operation of the current page for a target second native control in the at least one second native control, and jumping from the current page to a second page corresponding to the second link address;
Creating at least one second native control corresponding to the at least one second native control description information;
binding one or more third information flows on the at least one second native control, and rendering the at least one second native control on the second page according to the second configuration file.
18. An apparatus for native rendering of an information stream fusing multiple linked addresses, wherein the apparatus comprises:
a processor; and
a memory arranged to store computer executable instructions which, when executed, cause the processor to perform the method of any one of claims 1 to 17.
19. A computer readable medium storing instructions that, when executed, cause a system to perform the operations of the method of any one of claims 1 to 17.
CN202010980230.4A 2020-09-17 2020-09-17 Method and equipment for native rendering of information flow fusing multiple link addresses Active CN112256991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010980230.4A CN112256991B (en) 2020-09-17 2020-09-17 Method and equipment for native rendering of information flow fusing multiple link addresses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010980230.4A CN112256991B (en) 2020-09-17 2020-09-17 Method and equipment for native rendering of information flow fusing multiple link addresses

Publications (2)

Publication Number Publication Date
CN112256991A CN112256991A (en) 2021-01-22
CN112256991B true CN112256991B (en) 2024-04-09

Family

ID=74232494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010980230.4A Active CN112256991B (en) 2020-09-17 2020-09-17 Method and equipment for native rendering of information flow fusing multiple link addresses

Country Status (1)

Country Link
CN (1) CN112256991B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836461A (en) * 2021-08-23 2021-12-24 深圳市世强元件网络有限公司 Method and system for realizing clicking of Android TextView content

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319489A (en) * 2018-02-13 2018-07-24 广东欧珀移动通信有限公司 Startup method, apparatus, storage medium and the electronic equipment of five application page
CN108334608A (en) * 2018-02-02 2018-07-27 广东欧珀移动通信有限公司 Link generation method, device, storage medium and the electronic equipment of five application page
CN108363792A (en) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 Link generation method, device, storage medium and the electronic equipment of five application page
CN110209906A (en) * 2018-02-07 2019-09-06 北京京东尚科信息技术有限公司 Method and apparatus for extracting webpage information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090157727A1 (en) * 2007-12-18 2009-06-18 Nokia Corporation Method, Apparatus and Computer Program Product for Providing Native Broadcast Support for Hypermedia Formats and/or Widgets

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334608A (en) * 2018-02-02 2018-07-27 广东欧珀移动通信有限公司 Link generation method, device, storage medium and the electronic equipment of five application page
CN110209906A (en) * 2018-02-07 2019-09-06 北京京东尚科信息技术有限公司 Method and apparatus for extracting webpage information
CN108319489A (en) * 2018-02-13 2018-07-24 广东欧珀移动通信有限公司 Startup method, apparatus, storage medium and the electronic equipment of five application page
CN108363792A (en) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 Link generation method, device, storage medium and the electronic equipment of five application page

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
面向语义关联的微博信息多维主题聚合研究;成全;周兰芳;;情报理论与实践;20180730(第07期);全文 *
高效的动态脚本网页关联性挖掘算法研究;谭涛;;电脑知识与技术;20120505(第13期);全文 *

Also Published As

Publication number Publication date
CN112256991A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN109408696B (en) Method and equipment for searching hosted program
CN109359237B (en) Method and equipment for searching hosted program
JP2019520624A (en) Page component dynamic layout
CN110502298B (en) Method and equipment for providing update reminding information of electronic book
CN110717030A (en) Method and equipment for presenting detail pages of electronic books
CN110765395B (en) Method and equipment for providing novel information
CN109710832B (en) Method and equipment for searching hosted program
CN110321189B (en) Method and equipment for presenting hosted program in hosted program
CN114065080B (en) Page rendering method, device, equipment and computer readable storage medium
CN110968314B (en) Page generation method and device
CN111581507B (en) Method and device for providing presentation information
CN110515692B (en) Method and equipment for starting reading application
CN111506232A (en) Method and equipment for controlling menu display in reading application
CN110430253B (en) Method and equipment for providing novel update notification information
CN112256991B (en) Method and equipment for native rendering of information flow fusing multiple link addresses
CN110750482A (en) Method and equipment for providing novel reading information
CN111796741B (en) Method and equipment for providing recommended books
CN110781269B (en) Method and equipment for searching books in reading application
CN110765258B (en) Method and equipment for providing electronic books
CN110765390A (en) Method and equipment for publishing shared information in social space
CN111078654B (en) Method and device for sharing information
CN112256992A (en) Native rendering method and device for information stream fusing multi-link addresses
CN111680249B (en) Method and device for pushing presentation information
CN110413800B (en) Method and equipment for providing novel information
CN114296651A (en) Method and equipment for storing user-defined data information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant