CN110618812A - Information presentation method and device - Google Patents

Information presentation method and device Download PDF

Info

Publication number
CN110618812A
CN110618812A CN201910205356.1A CN201910205356A CN110618812A CN 110618812 A CN110618812 A CN 110618812A CN 201910205356 A CN201910205356 A CN 201910205356A CN 110618812 A CN110618812 A CN 110618812A
Authority
CN
China
Prior art keywords
interface
information
description information
preset
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910205356.1A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Infinite Light Field 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 Beijing Infinite Light Field Technology Co Ltd filed Critical Beijing Infinite Light Field Technology Co Ltd
Priority to CN201910205356.1A priority Critical patent/CN110618812A/en
Publication of CN110618812A publication Critical patent/CN110618812A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The embodiment of the disclosure discloses an information presentation method and device. One embodiment of the method comprises: acquiring description information describing interface content to be presented; determining a system platform corresponding to a terminal for presenting the description information; based on a communication protocol between the terminal and the system platform and preset information of an interface control used for generating an interactive interface, the description information is rendered to the terminal by utilizing a preset interface frame so as to present the description information. The control or the information related to the control can be updated in real time, and the accuracy and timeliness of the information presented on the terminal are improved.

Description

Information presentation method and device
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to an information presentation method and device.
Background
With the popularization of terminal devices and the rapid development of development technologies of mobile terminals, various client applications emerge. Typically, the operation of each terminal device is implemented in dependence on the operating system of the terminal. The existing terminal device operating system generally includes an android system and an IOS system based on a mobile terminal of a mobile phone, a windows system based on a terminal computer, and the like.
In the related art, in order to develop the native application, a third-party developer generally needs to access each mobile platform to complete the development of the application.
Disclosure of Invention
The embodiment of the disclosure provides an information presentation method and device.
In a first aspect, an embodiment of the present disclosure provides an information presenting method, where the method includes: acquiring description information describing interface content to be presented; determining a system platform corresponding to a terminal for presenting the description information; based on a communication protocol between the terminal and the system platform and preset information of an interface control used for generating an interactive interface, the description information is rendered to the terminal by utilizing a preset interface frame so as to present the description information.
In some embodiments, rendering the description information to the terminal by using a preset interface framework based on a communication protocol with the system platform and preset information of an interface control for generating an interactive interface includes: and analyzing the preset information by using the interface frame, and rendering the description information to the terminal by adopting a communication protocol corresponding to the system platform in a preset interface control rendering mode based on an analysis result.
In some embodiments, the preset information includes a list box; and rendering the description information to the terminal in a preset interface control rendering mode, wherein the rendering mode comprises the following steps: associating the description information with interface elements used for clicking in the list box, and generating a preset number of list items used for filling the list box based on an association result; generating an information list based on a preset number of list entries; generating a first interactive interface comprising an information list, and rendering the first interactive interface to the terminal in a preset rendering mode.
In some embodiments, generating a first interactive interface comprising a list of information comprises: establishing at least one second interactive interface comprising interface content; establishing a link relation between the first interactive interface and at least one second interactive interface based on the corresponding relation between the description information and the interface content; and generating a first interactive interface comprising an information list based on the link relation.
In some embodiments, the method further comprises: and updating the description information and/or the interface control rendered to the presentation of the first interactive interface in the terminal equipment based on the received instruction for updating the description information and/or the interface control.
In a second aspect, an embodiment of the present disclosure provides an information presenting apparatus, including: the acquisition unit is configured to acquire description information describing interface content to be presented; the determining unit is configured to determine a system platform corresponding to the terminal for presenting the description information; and the presentation unit is configured to render the description information to the terminal by utilizing a preset interface frame based on a communication protocol with the system platform and preset information of an interface control for generating an interactive interface so as to present the description information.
In some embodiments, a presentation unit comprises: and the rendering subunit is configured to analyze the preset information by using the interface framework, and render the description information to the terminal by adopting a communication protocol corresponding to the system platform and a preset interface control rendering mode based on an analysis result.
In some embodiments, the preset information includes a list box; and the rendering subunit includes: the first generation module is configured to associate the description information with the interface elements used for clicking in the list box, and generate a preset number of list items used for filling the list box based on the association result; a second generation module configured to generate an information list based on a preset number of list entries; and the third generation module is configured to generate a first interactive interface comprising the information list and render the first interactive interface to the terminal in a preset rendering mode.
In some embodiments, the third generating module is further configured to: establishing at least one second interactive interface comprising interface content; establishing a link relation between the first interactive interface and at least one second interactive interface based on the corresponding relation between the description information and the interface content; and generating a first interactive interface comprising an information list based on the link relation.
In some embodiments, the apparatus further comprises: and the updating unit is configured to update the description information and/or the interface control rendered to the presentation of the first interactive interface in the terminal equipment based on the received instruction for updating the description information and/or the interface control.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, which computer program, when executed by a processor, implements the method as described in any of the implementations of the first aspect.
According to the information presentation method and device provided by the embodiment of the disclosure, the system platform corresponding to the terminal for presenting the description information by the user is determined, based on the communication protocol between the system platform and the preset information of the interface control in the interactive interface, the preset information of the interface control can be written into the interface frame, the interface frame is facilitated, the description information is rendered to the terminal equipment, the control or the information associated with the control can be updated in real time, and the accuracy and timeliness of the information presented at the terminal are improved.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
FIG. 2 is a flow diagram of one embodiment of an information presentation method according to the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of an information presentation method according to an embodiment of the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of an information presentation method according to the present disclosure;
FIG. 5 is a schematic block diagram of one embodiment of an information presentation device according to the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary architecture 100 to which embodiments of the information presentation method or information presentation apparatus of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
Various client applications may be installed on the terminal devices 101, 102, 103. Such as web browser-like applications, video-like applications, content sharing-like applications, social-like applications, and the like. The terminal devices 101, 102, 103 may interact with the server 105 via the network 104 to receive or send messages or the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices that can receive user operations, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a background server supporting client applications installed on the terminal devices 101, 102, 103. The terminal devices 101, 102, and 103 may send the information acquisition request to the server after receiving the information acquisition request sent by the user. After performing various analysis processes, the server returns analysis results (e.g., information to be acquired) to the terminal devices 101, 102, and 103 to be presented in the terminal devices 101, 102, and 103.
The server 105 may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the information presentation methods provided by the embodiments of the present disclosure are generally executed by the terminal devices 101, 102, 103, and accordingly, the information presentation apparatuses are generally disposed in the terminal devices 101, 102, 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of an information presentation method according to the present disclosure is shown. The information presentation method comprises the following steps:
step 201, obtaining description information describing interface content to be presented.
In this embodiment, the interface content to be presented may be content to be presented to a user. Specifically, the interface content may be, for example, house source information (e.g., renting a house, buying a house), information such as price and attribute of an article, and specific article content. The interface content to be presented may include a plurality of pieces. For example, the house source information is usually information of each suite, i.e. one interface content. Since the house source information typically includes information for many sets of houses. Thus, a plurality of pieces of interface content to be presented are included. Here, each piece of interface content typically occupies one page of the interactive interface. Therefore, the interactive interface corresponding to the interface content to be presented may include a plurality of interactive interfaces. Therefore, an execution subject (for example, a server shown in fig. 1) of the information presentation method may obtain the description information describing the interface content to be presented to present the description information of the interface content in the same interactive interface, so that a user can see the summary of each piece of interface content to be presented at a glance, thereby further browsing the interested interface content.
In the present embodiment, the description information may be text information, image information, voice information, or the like. The above description information is used to describe each interface content. Since the interface content typically includes a plurality of pieces. Therefore, the description information corresponding to the interface content also includes a plurality of pieces. That is, each piece of description information corresponds to each piece of interface content one to one.
Step 202, determining a system platform corresponding to the terminal for presenting the description information.
In this embodiment, different terminal devices are generally installed with different systems. The existing systems include an IOS system, an Android system and a windows system. The IOS system and the Android system are usually installed in mobile terminals such as mobile phones and tablet computers, and the windows system is usually installed in terminals such as computers.
In this embodiment, usually, a third-party application developer needs to access each system platform to develop an application, so as to present an interactive interface of the developed application in a terminal configured with each system.
In this case, different operating systems generally present different interactive interfaces, and the position and the style of the defined interactive control in the interactive interface are different. For different operating systems, third party application developers typically need to develop different execution code for each operating system.
Here, different system platform interfaces set different interface protocols. Only by using the interface protocol corresponding to each operating system, the operating system can identify the application accessing the system, so that the interactive interface in the application is presented.
By determining the system platform corresponding to the terminal for presenting the description information, the interface protocol corresponding to each system platform, the format of the interactive interface presented by the system platform, the rendering mode of the system platform and the like can be better determined, so that the efficiency of application development is improved.
And step 203, rendering the description information to a terminal by using a preset interface frame based on a communication protocol between the terminal and the system platform and preset information of an interface control for generating an interactive interface so as to present the description information.
In this embodiment, the interface framework may be a real Native framework. Specifically, the fact Native framework is a Facebook open-source cross-platform mobile application development framework. The fact Native framework can provide rendering modes of various system platforms for application developers. That is, the real Native framework is provided with a rendering mode for Native application development based on the IOS system platform and a rendering mode for Native application development based on the android system platform. The framework can also provide a control based on an Android platform and a control based on an IOS platform respectively, and developers do not need to redesign the controls, so that the research and development cost can be effectively reduced.
In this embodiment, the preset information of the interface control used for generating the interactive interface may specifically include a description of the interface control, an interaction logic corresponding to the interface control, and the like. Here, the interface control may specifically include a clickable button (e.g., a button for login, a button for favorite page or favorite, a button for search), an input box, a clickable picture, a link, and the like in the interactive interface. Generally, the above-described reach Native framework may provide various interface controls. The preset information may further include a declaration of the interface control, that is, the interface control selected for use. The preset information is usually preset by an application developer. For example, when an interactive control presented in the interactive interface needs to be used and includes a button, a search box, and a user inputs information in the search box and clicks the button and then jumps to another page, the description on the interface control includes description information for indicating that the button and the search box are presented, and the interactive logic corresponding to the interface control is: and the interactive logic is used for indicating that the user inputs information in the search box and clicks the trigger condition of the button, selecting a page matched with the keyword based on the keyword in the search information, and jumping to the page.
In this embodiment, the interface control to be presented may be associated with the descriptive information. Therefore, the execution body can render the description information to a terminal by using the real Native framework, so as to present the description information. Specifically, the developer of the interactive interface can select the interface control which needs to generate the interactive interface according to the style of the interactive interface to be generated. Then, the execution body may associate the interface control with the description information acquired in step 201. When the developer selects the three interface elements, namely the picture, the text and the button, as the interface control, the association may specifically include adding the picture included in the description information to the interface element position of the picture, adding the text included in the description information to the interface element position of the text, and transparently overlaying the button to the picture position and the text position, respectively. Thus, the user can click on the above-mentioned picture information and text information. Then, based on the association result, a preset number of interface controls based on the description information of the interface content to be presented may be generated. Here, interface controls refer to the packaging of data and methods. That is, the picture, the button, and the command triggered by the user clicking the picture are an interface control. Because the description information can comprise a plurality of pieces, the execution main body can generate the interface controls with the same number as the description information, so that a user browsing the interactive interface can trigger a subsequent instruction after clicking the picture or the text.
In some optional implementation manners of this embodiment, based on a communication protocol with the system platform and preset information of an interface control used for generating an interactive interface, rendering description information to the terminal by using a preset interface frame, which may specifically include: and analyzing the preset information by using the interface frame, and rendering the description information to the terminal by adopting a communication protocol corresponding to the system platform and a preset interface control rendering mode based on an analysis result.
Specifically, when the read Native framework is used, the user can generally write the preset information of the interface control by using the JSX language and then provide the preset information to the execution main body. The execution main body calls a real Native framework, and the real Native framework can analyze the JSX language, so that the required interface control and the interaction logic corresponding to the interface control are analyzed. The parsing may also include determining a corresponding system platform. Then, the real Native framework can select a rendering mode corresponding to the system platform (for example, when the system platform is an IOS system, an interface control rendering mode corresponding to the IOS system is adopted, and when the system platform is an android system, an interface control rendering mode corresponding to the android is adopted.
In some optional implementations of this embodiment, rendering the description information to the terminal may specifically include: associating the description information with interface elements used for clicking in the list box, and generating a preset number of list items used for filling the list box based on an association result; generating an information list based on a preset number of list entries; generating a first interactive interface comprising an information list, and rendering the first interactive interface to the terminal in a preset rendering mode.
Specifically, the preset information of the interface control may include information for indicating a list box. That is, the interactive control includes a list box. The list box may present a plurality of list entries, and each list entry may correspond to one piece of the above-mentioned description information. Each list item may be provided with a button that can be clicked or touched for interaction with a user. The execution body may then associate each item list entry with description information. That is, information such as text, pictures, etc. may be set in each item list entry. Thereby, list information of the above description information is generated. A first interactive interface including a list of information may then be generated. Besides the information list, the first interactive interface may further include an interactive control such as a view toolbar, which is not described herein again. And finally, rendering the first interactive interface to the terminal by using a preset rendering mode.
In some optional implementation manners of this embodiment, the generating the first interactive interface including the information list may specifically include: establishing at least one second interactive interface comprising interface content; establishing a link relation between the first interactive interface and at least one second interactive interface based on the corresponding relation between the description information and the interface content; and generating a first interactive interface comprising an information list based on the link relation.
Specifically, a plurality of second interactive interfaces may be established by using the interface framework. The second interactive interface is typically the interface to which the primary interactive interface (i.e., the home page) of a certain website or application is linked. The interface content to be presented may include a plurality of pieces, and each piece of interface content may be presented through one second interactive interface. Wherein each second interactive interface can be established by the following method: when the second interactive interface does not need to be linked to other interactive interfaces, that is, the interface content can be texts and pictures such as articles and news, the interface content can be directly filled into the preset position in the second interactive interface. For example, the path information for acquiring the interface content may be associated with the second interactive interface. Therefore, when the second interactive interface is operated, the interface content can be directly acquired from the position corresponding to the path indicated by the path information, that is, the interactive interface including the interface content is generated as the second interactive interface. When the second interactive interface needs to be linked to other interactive interfaces, a control including interface elements and link information can be generated by using the control generation method provided by the interface framework, and the interface content is filled into the second interactive interface.
After the second interactive interface is generated, an address used for indicating the second interactive interface can be obtained, and the address is set in the first interactive interface, so that the link relation between the first interactive interface and the second interactive interface is established. Here, the description information of each piece of interface content is included in the first interactive interface. When the link relationship between the first interactive interface and the second interactive interface is established, the address of the second interactive interface for presenting the interface content needs to be set at the description information corresponding to the interface content in the first interactive interface. Therefore, after the user clicks the description information of certain interface content from the first interactive interface, the user can directly jump to the second interactive interface presenting the interface content.
Finally, the execution body can generate a first interactive interface comprising an information list based on the association result of the interactive control and the description information and the link relation between the first interactive interface and the second interface. That is, the first interactive interface includes a plurality of controls, each of which includes a clickable button, description information, an association relationship between a control and the description information, and an address of the second interactive interface to which the description information is linked.
Further referring to fig. 3, an application scenario diagram of the information presentation method of the present disclosure is shown. As shown in fig. 3, in the application scenario shown in fig. 3, the interface content to be presented is house source information. The system comprises a cell B of a cell A and a cell D of a cell C. The user can input description information of the room a, the room B and the room C into the server 302 through the terminal 301, where the description information includes a picture and a geographical position of the room a, the cell B and a picture and a geographical position of the room C, the cell D. And simultaneously, the user selects to utilize the interface control of the list box to present the description information. Then, the server 302 receives the information and provides it to the terminal 303. The terminal may determine a system platform for determining to be disposed thereon. When the terminal 303 determines that the system platform is an android platform, the description information may be rendered into the terminal 303 by using a preset read Native framework based on a communication protocol with the android platform and preset information for indicating generation of a list box, so as to present the description information. Here, the terminal 301 may be a terminal of a developer, and the terminal 303 may be a terminal of an application user.
According to the information presentation method provided by the embodiment of the disclosure, the system platform corresponding to the terminal for presenting the description information by the user is determined, based on the communication protocol between the system platform and the preset information of the interface control in the interactive interface, the preset information of the interface control can be written into the interface frame, the interface frame is facilitated, the description information is rendered to the terminal device, the control or the information associated with the control can be updated in real time, and the accuracy and the timeliness of the information presented at the terminal are improved.
With further reference to fig. 4, a flow 400 of yet another embodiment of an information presentation method according to the present disclosure is shown. The information presentation method comprises the following steps:
step 401, obtaining description information describing interface content to be presented.
In this embodiment, an execution subject (for example, a server shown in fig. 1) of the information presentation method may obtain description information describing interface content to be presented to present the description information of the interface content in the same interactive interface, so that a user can see an overview of each piece of interface content to be presented at a glance, thereby further browsing the interface content of interest.
In the present embodiment, the description information may be text information, image information, voice information, or the like. The above description information is used to describe each interface content. Since the interface content typically includes a plurality of pieces. Therefore, the description information corresponding to the interface content also includes a plurality of pieces. That is, each piece of description information corresponds to each piece of interface content one to one.
Step 402, determining a system platform corresponding to the terminal for presenting the description information.
And step 403, based on a communication protocol with the system platform and preset information of an interface control for generating an interactive interface, rendering the description information to the terminal by using a preset interface frame so as to present the description information.
The specific implementation of step 401, step 402, and step 403 and the beneficial effects brought by the implementation can refer to the related descriptions in step 201, step 202, and step 203 shown in fig. 2, and are not described herein again.
Step 404, updating the description information and/or the interface control rendered to the presentation of the first interactive interface in the terminal device based on the received instruction for updating the description information and/or the interface control
In this embodiment, the interface framework may be a real Native framework. When a control in an interactive interface generated by using the interface frame needs to be updated (for example, a presentation manner of the control, a link address included in the control, and the like) or when the description information needs to be updated, the execution main body may first determine whether a system platform corresponding to an interface protocol supports real-time update of the control or supports real-time update of the presented description information. Generally, when the user interface generated based on the ReactNative framework is applied to each system platform, the real-time update of the control can be supported.
In this embodiment, when determining that the system platform supports real-time update of the control, after receiving an instruction for updating the description information and/or the interface control, the execution body may directly update the control to be updated, for example, update a presentation mode of the control, a link address included in the control, and the like. And/or update the description information. After the control and/or the description information to be updated is updated, the updated control and/or the updated description information can be directly presented through the system platform.
As can be seen from FIG. 4, unlike the embodiment shown in FIG. 2, the embodiment of the present application highlights a step of updating a control in an interactive interface in real time. Therefore, the generated interactive interface is more accurate and effective, and the use experience of the user is improved.
With further reference to fig. 5, as an implementation of the method shown in the above-mentioned figures, the present disclosure provides an embodiment of an information presentation apparatus, which corresponds to the method embodiment shown in fig. 2, and which may be specifically applied to various electronic devices.
As shown in fig. 5, the information presentation apparatus 500 provided by the present embodiment includes an acquisition unit 501, a determination unit 502, and a presentation unit 503. The obtaining unit 501 is configured to obtain description information describing interface content to be presented; a determining unit 502 configured to determine a system platform corresponding to a terminal for presenting the description information; the presentation unit 503 is configured to render the description information to the terminal by using a preset interface frame based on a communication protocol with the system platform and preset information of an interface control for generating an interactive interface, so as to present the description information.
In the present embodiment, in the information presentation apparatus 500: the specific processing of the obtaining unit 501, the determining unit 502, and the presenting unit 503 and the technical effects thereof can refer to the related descriptions of step 201, step 202, and step 203 in the corresponding embodiment of fig. 2, which are not repeated herein.
In some optional implementations of this embodiment, the presenting unit 503 includes: and the rendering subunit (not shown) is configured to analyze the preset information by using the interface framework, and render the description information to the terminal in a preset interface control rendering mode by using a communication protocol corresponding to the system platform based on an analysis result.
In some optional implementations of this embodiment, the preset information includes a list box; and the rendering subunit (not shown) includes: a first generating module (not shown) configured to associate the description information with the interface element for clicking in the list box, and generate a preset number of list entries for filling into the list box based on the association result; a second generating module (not shown) configured to generate an information list based on a preset number of list entries; and a third generating module (not shown) configured to generate a first interactive interface including the information list, and render the first interactive interface to the terminal in a preset rendering manner.
In some optional implementations of the present embodiment, the third generating module (not shown) is further configured to: establishing at least one second interactive interface comprising interface content; establishing a link relation between the first interactive interface and at least one second interactive interface based on the corresponding relation between the description information and the interface content; and generating a first interactive interface comprising an information list based on the link relation.
In some optional implementations of the present embodiment, the information presenting apparatus 500 further includes: and the updating unit (not shown) is configured to update the description information and/or the interface control rendered to the presentation of the first interactive interface in the terminal equipment based on the received instruction for updating the description information and/or the interface control.
According to the information presentation device provided by the embodiment of the disclosure, the system platform corresponding to the terminal for presenting the description information by the user is determined, based on the communication protocol between the system platform and the preset information of the interface control in the interactive interface, the preset information of the interface control can be written into the interface frame, the interface frame is facilitated, the description information is rendered to the terminal equipment, the control or the information associated with the control can be updated in real time, and the accuracy and the timeliness of the information presented at the terminal are improved.
Referring now to fig. 6, shown is a schematic diagram of an electronic device (e.g., terminal device in fig. 1) 600 suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the use range of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium described in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be included in the terminal device; or may exist separately without being assembled into the terminal device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring description information describing interface content to be presented; determining a system platform corresponding to a terminal for presenting the description information; based on a communication protocol between the terminal and the system platform and preset information of an interface control used for generating an interactive interface, the description information is rendered to the terminal by utilizing a preset interface frame so as to present the description information.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a processor including an acquisition unit, a determination unit, and a presentation unit. The names of these units do not in some cases constitute a limitation on the unit itself, and for example, the acquiring unit may also be described as a "unit that acquires description information describing interface content to be presented".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (12)

1. An information presentation method, comprising:
acquiring description information describing interface content to be presented;
determining a system platform corresponding to a terminal for presenting the description information;
and rendering the description information to the terminal by utilizing a preset interface frame based on a communication protocol between the terminal and the system platform and preset information of an interface control for generating an interactive interface so as to present the description information.
2. The method of claim 1, wherein the rendering the description information to the terminal by using a preset interface framework based on preset information of an interface control for generating an interactive interface and a communication protocol with the system platform comprises:
and analyzing the preset information by using the interface frame, and rendering the description information to the terminal in a preset interface control rendering mode by using a communication protocol corresponding to the system platform based on an analysis result.
3. The method of claim 2, wherein the preset information comprises a list box; and
the rendering the description information to the terminal in a preset interface control rendering mode comprises the following steps:
associating the description information with interface elements used for clicking in the list box, and generating a preset number of list items used for filling in the list box based on an association result;
generating an information list based on the preset number of list entries;
generating a first interactive interface comprising the information list, and rendering the first interactive interface to the terminal in a preset rendering mode.
4. The method of claim 3, wherein the generating a first interactive interface including the list of information comprises:
establishing at least one second interactive interface comprising the interface content;
establishing a link relation between the first interactive interface and at least one second interactive interface based on the corresponding relation between the description information and the interface content;
and generating a first interactive interface comprising the information list based on the link relation.
5. The method of claim 4, wherein the method further comprises:
and updating the description information and/or the interface control rendered to the presentation of the first interactive interface in the terminal equipment based on the received instruction for updating the description information and/or the interface control.
6. An information presentation device comprising:
the acquisition unit is configured to acquire description information describing interface content to be presented;
the determining unit is configured to determine a system platform corresponding to the terminal for presenting the description information;
and the presentation unit is configured to render the description information to the terminal by utilizing a preset interface frame based on a communication protocol between the presentation unit and the system platform and preset information of an interface control for generating an interactive interface so as to present the description information.
7. The apparatus of claim 6, wherein the presentation unit comprises:
and the rendering subunit is configured to analyze the preset information by using the interface framework, and render the description information to the terminal in a preset interface control rendering mode by using a communication protocol corresponding to the system platform based on an analysis result.
8. The apparatus of claim 7, wherein the preset information comprises a list box; and
the rendering subunit includes:
the first generation module is configured to associate the description information with the interface element used for clicking in the list box, and generate a preset number of list items used for filling in the list box based on an association result;
a second generation module configured to generate an information list based on the preset number of list entries;
and the third generation module is configured to generate a first interactive interface comprising the information list and render the first interactive interface to the terminal in a preset rendering mode.
9. The apparatus of claim 8, wherein the third generation module is further configured to:
establishing at least one second interactive interface comprising the interface content;
establishing a link relation between the first interactive interface and at least one second interactive interface based on the corresponding relation between the description information and the interface content;
and generating a first interactive interface comprising the information list based on the link relation.
10. The apparatus of claim 9, wherein the apparatus further comprises:
the updating unit is configured to update the description information and/or the interface control rendered to the presentation of the first interactive interface in the terminal device based on the received instruction for updating the description information and/or the interface control.
11. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
12. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201910205356.1A 2019-03-18 2019-03-18 Information presentation method and device Pending CN110618812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910205356.1A CN110618812A (en) 2019-03-18 2019-03-18 Information presentation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910205356.1A CN110618812A (en) 2019-03-18 2019-03-18 Information presentation method and device

Publications (1)

Publication Number Publication Date
CN110618812A true CN110618812A (en) 2019-12-27

Family

ID=68921171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910205356.1A Pending CN110618812A (en) 2019-03-18 2019-03-18 Information presentation method and device

Country Status (1)

Country Link
CN (1) CN110618812A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354013A (en) * 2014-08-18 2016-02-24 阿里巴巴集团控股有限公司 Application interface rendering method and apparatus
CN108664245A (en) * 2018-04-27 2018-10-16 厦门南讯软件科技有限公司 A kind of web interface generation method and device based on JSON self-described structures
CN108984174A (en) * 2018-07-03 2018-12-11 百度在线网络技术(北京)有限公司 Cross-platform application creation method, device, server and storage medium
CN109144506A (en) * 2018-07-05 2019-01-04 杭州涂鸦信息技术有限公司 A kind of configurable UI interface creating method
CN109445779A (en) * 2018-09-13 2019-03-08 平安科技(深圳)有限公司 The rendering method and terminal device of multiple-language user interface
US20190079781A1 (en) * 2016-01-21 2019-03-14 Alibaba Group Holding Limited System, method, and apparatus for rendering interface elements

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354013A (en) * 2014-08-18 2016-02-24 阿里巴巴集团控股有限公司 Application interface rendering method and apparatus
US20190079781A1 (en) * 2016-01-21 2019-03-14 Alibaba Group Holding Limited System, method, and apparatus for rendering interface elements
CN108664245A (en) * 2018-04-27 2018-10-16 厦门南讯软件科技有限公司 A kind of web interface generation method and device based on JSON self-described structures
CN108984174A (en) * 2018-07-03 2018-12-11 百度在线网络技术(北京)有限公司 Cross-platform application creation method, device, server and storage medium
CN109144506A (en) * 2018-07-05 2019-01-04 杭州涂鸦信息技术有限公司 A kind of configurable UI interface creating method
CN109445779A (en) * 2018-09-13 2019-03-08 平安科技(深圳)有限公司 The rendering method and terminal device of multiple-language user interface

Similar Documents

Publication Publication Date Title
CN109976620B (en) Method, device, equipment and storage medium for determining list item display attribute information
US11016716B2 (en) Picture interface display method and apparatus according to jump protocol
CN109062563B (en) Method and device for generating page
US11586772B2 (en) Method and device for displaying information
US20220094758A1 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN110619100B (en) Method and apparatus for acquiring data
CN112684968A (en) Page display method and device, electronic equipment and computer readable medium
CN110780874B (en) Method and device for generating information
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111309304B (en) Method, device, medium and electronic equipment for generating IDL file
CN110865846B (en) Application management method, device, terminal, system and storage medium
CN111694629A (en) Information display method and device and electronic equipment
US11095957B2 (en) Method and apparatus for publishing information, and method and apparatus for processing information
CN110618811B (en) Information presentation method and device
US20230319325A1 (en) Information interaction method, apparatus and device
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment
CN110619101B (en) Method and apparatus for processing information
CN112256221A (en) Information display method and device and electronic equipment
CN111752644A (en) Interface simulation method, device, equipment and storage medium
CN112083982A (en) Information processing method and device
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN110618812A (en) Information presentation method and device
CN111222067B (en) Information generation method and device
CN111797009A (en) Method and device for detecting code compatibility and electronic equipment
CN112306469A (en) Barrier-free component construction method, device, equipment and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20230407

Address after: Room 802, Information Building, 13 Linyin North Street, Pinggu District, Beijing, 101299

Applicant after: Beijing youzhuju Network Technology Co.,Ltd.

Address before: No. 715, 7th floor, building 3, 52 Zhongguancun South Street, Haidian District, Beijing 100081

Applicant before: Beijing infinite light field technology Co.,Ltd.

TA01 Transfer of patent application right