Nothing Special   »   [go: up one dir, main page]

CN114564267B - Information processing method, apparatus, electronic device and storage medium - Google Patents

Information processing method, apparatus, electronic device and storage medium Download PDF

Info

Publication number
CN114564267B
CN114564267B CN202210189962.0A CN202210189962A CN114564267B CN 114564267 B CN114564267 B CN 114564267B CN 202210189962 A CN202210189962 A CN 202210189962A CN 114564267 B CN114564267 B CN 114564267B
Authority
CN
China
Prior art keywords
document
width
content
display
displayed
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
CN202210189962.0A
Other languages
Chinese (zh)
Other versions
CN114564267A (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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210189962.0A priority Critical patent/CN114564267B/en
Publication of CN114564267A publication Critical patent/CN114564267A/en
Application granted granted Critical
Publication of CN114564267B publication Critical patent/CN114564267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides an information processing method, an information processing apparatus, an electronic device, and a storage medium. In the information processing method provided by the embodiment of the disclosure, a content display area is generated in a first document in response to a triggering operation of a first control associated with a document link in the first document, and document content corresponding to the document link is displayed in the content display area, wherein the document link points to a second document; responding to the triggering operation of a second control in the content display area, and simultaneously displaying a setting interface in the first document, wherein the setting interface is used for setting the display content of the content display area; and responding to the selection operation of the options in the setting interface, and changing the display content of the content display area. The embodiment of the disclosure can directly view the effect on the page of the first document in real time.

Description

Information processing method, apparatus, electronic device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an information method, an information device, an electronic apparatus, and a storage medium.
Background
Documents, such as online documents, in which links to other documents may be inserted, the links to the other documents being inserted, after being triggered, are able to open the document to which the links are directed.
Disclosure of Invention
The present disclosure provides an information processing method, an information processing apparatus, an electronic device, and a storage medium.
The present disclosure adopts the following technical solutions.
In some embodiments, the present disclosure provides an information processing method, including:
responding to the triggering operation of a first control associated with the document link in the first document, generating a content display area in the first document, and displaying document content corresponding to the document link in the content display area, wherein the document link points to a second document;
responding to the triggering operation of a second control in the document content display area, and simultaneously displaying a setting interface in the first document, wherein the setting interface is used for setting the display content of the content display area;
and changing the display content of the content display area in response to a selection operation of the options in the setting interface.
In some embodiments, the present disclosure provides an information processing apparatus including:
a display unit, configured to generate a content display area in a first document in response to a trigger operation on a first control associated with a document link in the first document, and display document content corresponding to the document link in the content display area, where the document link points to a second document; responding to the triggering operation of a second control in the content display area, and simultaneously displaying a setting interface in the first document, wherein the setting interface is used for setting the display content of the content display area;
And the control unit is used for responding to the selection operation of the style options in the setting interface and changing the display content of the content display area.
In some embodiments, the present disclosure provides an electronic device comprising: at least one memory and at least one processor;
the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
In some embodiments, the present disclosure provides a computer readable storage medium for storing program code which, when executed by a processor, causes the processor to perform the above-described method.
According to the information processing method provided by the embodiment of the disclosure, the content display area is generated in the first document in response to the triggering operation of the first control related to the document link in the first document, the document content corresponding to the document link is displayed in the content display area, the setting interface is displayed in the first document in response to the triggering operation of the second control in the content display area, and the display content in the content display area is changed in response to the selecting operation of the options in the setting interface.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flowchart of an information processing method of an embodiment of the present disclosure.
FIG. 2 is a schematic illustration of a first document of an embodiment of the present disclosure.
FIG. 3 is a schematic illustration of a first document of an embodiment of the present disclosure.
FIG. 4 is a schematic illustration of a first document of an embodiment of the present disclosure.
FIG. 5 is a schematic illustration of a first document of an embodiment of the present disclosure.
FIG. 6 is a schematic diagram of a first document of an embodiment of the present disclosure.
FIG. 7 is a schematic illustration of a first document of an embodiment of the present disclosure.
FIG. 8 is a schematic illustration of a first document of an embodiment of the present disclosure.
FIG. 9 is a schematic diagram of a first document displaying multiple document links side-by-side in an embodiment of the present disclosure.
Fig. 10 is a schematic diagram of a first type of card view at different display widths in accordance with an embodiment of the present disclosure.
FIG. 11 is a schematic diagram of a second type of card view at different display widths in accordance with an embodiment of the present disclosure.
Fig. 12 is a schematic structural view of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "a" and "an" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be construed as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The following describes in detail the schemes provided by the embodiments of the present disclosure with reference to the accompanying drawings.
The documents, such as electronic documents, in which links can be obtained by inserting other documents, the links of other documents can be inserted in various forms, and when the display content of the links of the inserted other documents needs to be changed, the links can be set by setting the display content, if the preview mode is adopted in a popup window, the problem that the display style of the preview is not matched with other content when displayed in the document and the effect is poor can be caused.
As shown in fig. 1, fig. 1 is a flowchart of an information processing method of an embodiment of the present disclosure, including the following steps.
S11: in response to a triggering operation of a first control associated with a document link in a first document, a content display area is generated in the first document, and document content corresponding to the document link is displayed in the content display area.
In some embodiments, the first document may be an online document or a local document, the document link points to the second document, the second document is opened after the first document is triggered, the triggering operation may include one or more operations, in some embodiments, the first control may be displayed when the identifier hovers over the document link, the document content is document content of the second document, the document content may include a certain length of content in the second document, may be displayed in a form of a document abstract or a document thumbnail, and the document content may also include associated information of the second document, such as a document name, a document icon, and the like. In some embodiments, as shown in fig. 2, after the first document is opened, a document link is displayed in a content area of the first document, the document link is displayed in a text view by default when introduced into the first document, as shown in fig. 3, when the control flag hovers over the document link, a first control is displayed, and by triggering the first control, as shown in fig. 4, a content display area is displayed in which document content of the second document is displayed (the document content may include text content in the second document represented in the form of "XX." in fig. 4).
S12: and responding to the triggering operation of the second control in the content display area, and simultaneously displaying a setting interface in the first document.
In some embodiments, the setting interface is used to set the display content of the content display area, and in some embodiments, the setting interface may be used to set a display style of the display content. As shown in fig. 4, the second control may be a "modification style" in fig. 4, and is triggered by clicking or the like, and then a setting interface as shown in fig. 5 is displayed, where the setting interface in fig. 5 is used to set a display style of display content in the content display area, and a style type, a background pattern, and a background color may be set in the setting interface, and by providing these style options, the display style of the display content is set, and in some embodiments, as shown in fig. 5, the setting interface does not obstruct the display content in the content display area, so that the display content in the content display area and the setting interface can be viewed at the same time.
S12: in response to a selection operation of an option in the setting interface, display content in the content display area is changed.
In some embodiments, the setting interface is kept displayed when the selection operation is performed on the options, in some embodiments, the options are provided in the setting interface, the options can be selected by clicking the selection option, in order to determine the effect of selecting the options, after selecting the options, before determining the selected options of the application, the display content of the content display area is directly changed in the first document according to the selected options, so that the preview effect is intuitively displayed instead of previewing in the setting interface, if the preview frame is provided in the setting interface for previewing, the problem that the effect of previewing is bad due to mismatching with the display style of other contents in the first document may occur, so that the user needs to repeatedly open and modify the setting interface. In some embodiments of the present disclosure, a user may preview an effect in a first document in real time, instead of previewing in a popup window, because the popup window cannot directly preview a display effect on a page of the first document, and the embodiment may directly view the effect on the page of the first document in real time.
In some embodiments of the present disclosure, the presentation of the document links includes at least two, the presentation of the document links being switchable. In some embodiments, the user's expectation of one document when referencing it to another may be various, may simply be a reference, may want to emphasize it, may want to show it as part of a document, and so on. Therefore, in this embodiment, a plurality of display forms are provided for the document links, for example, the capability of providing a card view of the document links can be provided, so that more user scenes can be satisfied and covered.
In some embodiments, the presentation of the document links may include: a text view and a card view; the document links (quick understanding cloud document | Introducting Docs) in fig. 2 are text views, the text views and card views are simultaneously shown in fig. 4, a user can switch the display form of the document links, and the document links displayed in the text views can be switched to be displayed in the card views. So that the user can choose in what form to present the document links as desired. In some embodiments, when the incoming document links to the first document, the display is displayed as a text view by default.
In some embodiments of the present disclosure, in response to a triggering operation of a first control associated with a document link in a first document, generating a content display area in the first document, displaying document content corresponding to the document link in the content display area, including: and responding to the triggering operation of a first control associated with the document link, generating a content display area in the first document, and displaying the document content corresponding to the document link in a card view by the content display area. In some embodiments, as shown in fig. 2, when the control identifier hovers over the document link, a first control (a control corresponding to "card view" in fig. 3) is displayed, and the first control is triggered by clicking or the like, so that as shown in fig. 4, a content display area is displayed and document content is displayed in the card view.
In some embodiments of the present disclosure, when the document links are displayed in a text view, at least one of a document name and a document icon of the second document is displayed in the text view. In some embodiments, referring to FIG. 4, a document icon and a document name are displayed in the document view, the document icon being displayed side-by-side laterally with the document name, without a document thumbnail.
In some embodiments of the present disclosure, at least one of a document icon, a document name of the second document, a document abstract, and a document thumbnail is displayed in the card view. In some embodiments, the document icons are different according to the types of the documents, so as to represent the types of the documents, the document abstracts can be the first n characters in the second document, and the document thumbnails can be the snapshot of the second document or the snapshot of the first preset part of the document content in the second document. The card view is capable of displaying more document content in the second document than the document view.
In some embodiments of the present disclosure, the card views are divided into a first type of card view and a second type of card view, where a document name and a document digest of the second document are displayed, or a document icon, a document name and a document digest of the second document are displayed in the first type of card view; the second type of card view displays the document name, the document abstract and the document thumbnail of the second document, or displays the document icon, the document name, the document abstract and the document thumbnail of the second document. In some embodiments, the card views in fig. 6 are first-type card views, the card views in fig. 7 are second-type card views, the second-type card views display document thumbnails and the first-type card views do not display document thumbnails, the first-type card views and the second-type card views can be switched, and the user can switch and display the first-type card views or the second-type card views according to requirements.
In some embodiments, the second control is displayed inside the card view, or is displayed within the card view when the control identifier is located on the card view, and is hidden when the control identifier is located outside the card view. In some embodiments, the control identifier may be a mouse that, when hovered over the card view, displays a second control "modification style" as shown in fig. 4. The second control is hidden when the mouse is not positioned over the card view.
In some embodiments of the present disclosure, further comprising: in response to an adjustment operation of the display width of the document content, the document content is adjusted according to the display width. In some embodiments, the display width of the document content may be adjusted, for example, when the document content is arranged in a table form, the display width may be reduced, the number, the kind and the like of the content specifically displayed in the document content may be correspondingly changed along with the change of the display width, as shown in fig. 8 and fig. 9, it may be seen that after the number of card views displayed in a row is different, the content displayed in the document content may be changed after the change of the display width of the document content is caused, so that the content displayed in the document content dynamically changes along with the width, for example, may be a scene displayed in an adaptive column, thereby meeting more user scenes as much as possible.
In some embodiments of the present disclosure, in response to an adjustment operation of a display width of document content, adjusting the document content according to the display width includes: according to the display width, at least one of the following is performed: reducing the content types displayed in the document content, reducing the content length displayed in the document content and changing the arrangement mode according to the priority of the document content. In some embodiments, different types of content displayed by the document content have priorities, when the display width is reduced, the length of the content with low priority is reduced first, when the content with high priority is not enough to be displayed, the content with low priority may not be displayed, and the arrangement mode may be changed from horizontal arrangement to vertical arrangement.
In some embodiments of the present disclosure, if the presentation form of the document content is a first card view, the document content is adjusted according to the display width, including at least one of the following:
when the display width is not smaller than the first preset maximum width, displaying a first type of card view with the first preset maximum width, and displaying the document name of the second document and the document abstract with the preset length in the first type of card view; in some embodiments, as shown in fig. 10 (a), when the first preset maximum width of the first card view is 730px, and the first preset maximum width is displayed when the display width is not smaller than the value, the first card view is not longer, and then the document icon, the document name, and the document abstract may be displayed, and the document name and the document abstract are displayed in two rows, respectively.
When the display width is smaller than the first preset maximum width and not smaller than the first preset minimum width, the width of the first type card view is adjusted according to the display width, if the document name of the second document can be displayed in one row, the name of the second document is displayed, the length of the displayed document abstract is reduced according to the display width, and if the name of the second document cannot be completely displayed in one row, the document abstract is hidden, and the document name is displayed in a folded row; in some embodiments, as shown in fig. 10 (b) and (c), when the display width begins to decrease, the full display of the document name is preferentially guaranteed, the document abstract may decrease in displayed length, the undisplayed portion may be represented by an ellipsis, and when the document name cannot be fully displayed in a row, the document abstract is hidden to make room for the displayed document name, thereby displaying the document name.
When the display width is smaller than or equal to the first preset minimum width, displaying the first type of card view with the first preset minimum width, hiding the document abstract, folding the document name, and displaying, if the document icon is displayed in the first type of card view, reducing the document icon. In some embodiments, as shown in fig. 10 (d) and 10 (e), when the complete document name cannot be displayed in one line, a folded line display is performed, and the document name is displayed in a plurality of lines, in some embodiments, when the document name is displayed with the first preset minimum width, only 1 text may be displayed in one line.
In some embodiments of the present disclosure, if the presentation form of the document content is a second card view, the document content is adjusted according to the display width, including at least one of the following:
and when the display width is not smaller than the second preset maximum width, displaying the second type of card view with the second preset maximum width, and displaying the document name, the document abstract and the document thumbnail of the preset length of the second document in the second type of card view. In some embodiments, as shown in FIG. 11 (a), the maximum width of the second type of card view is a second preset maximum width, at which point document identification, document name, document abstract and document thumbnail may be displayed. The document digest is displayed in two lines.
And when the display width is smaller than the second preset maximum width and the document name of the second document can be displayed in one row, adjusting the width of the second class of card views according to the display width, and reducing the length of the displayed document abstract according to the display width. In some embodiments, as shown in FIG. 11 (b), when the display width is reduced, the length of the document digest to be displayed is reduced so as to fit the display width, and the document digest not displayed may be represented by an ellipsis.
When the display width is smaller than a second preset maximum width and at least two lines are needed to display the document names of the second document, the width of the second type card view is adjusted according to the display width, and the document names are displayed in a folded line, wherein if the line number occupied by the displayed document names is smaller than the preset line number, the document abstract is displayed in one line, and if the line number occupied by the displayed document names reaches the preset line number, the document abstract is hidden. In some embodiments, as shown in fig. 11 (c) and 11 (e), if the display width is continuously reduced so that the document name cannot be displayed in one line, only one line of the document abstract is displayed first, and when the document name is folded into three lines, the document abstract is not displayed any more.
And when the display width is smaller than the first width, reducing the size of the document thumbnail to a first preset size, wherein the first width is smaller than the second preset maximum width. In some embodiments, when the display width of the second type of card view is less than the first width, the first width may be 480px, at which point the width of the document thumbnail will be reduced, e.g., set to 200px.
When the display width is smaller than the second width, the document name and the document thumbnail are displayed side by side in a direction perpendicular to the display width, and the second width is smaller than the first width. In some embodiments, when the display width is smaller than the second width (e.g., 360 px), the document name and thumbnail displayed in the original landscape orientation are modified to be displayed in the portrait orientation, so that the occupation of the width is reduced, and as shown in fig. 11 (g), 11 (h) and 11 (i), the document name is displayed in a folded manner with the decrease of the display width.
And when the display width is smaller than the third width, reducing the size of the document thumbnail to a second preset size, and reducing the interval width between the document thumbnail and the edge of the second class of card view, wherein the third width is smaller than the second width. In some embodiments, the third width may be, for example, 54px, at which time the document thumbnail is reduced in distance from the left side, and the thumbnail may be reduced in size to a second preset size.
When the display width reaches a second minimum width, the document thumbnail is hidden. In some embodiments, the display width cannot be reduced further at this point and the document thumbnail is no longer displayed.
The embodiment of the disclosure also provides an information processing apparatus, including:
a display unit, configured to generate a content display area in a first document in response to a trigger operation on a first control associated with a document link in the first document, and display document content corresponding to the document link in the content display area, where the document link points to a second document; responding to the triggering operation of a second control in the content display area, and simultaneously displaying a setting interface in the first document, wherein the setting interface is used for setting the display content of the content display area;
and the control unit is used for responding to the selection operation of the style options in the setting interface and changing the display content of the content display area.
For embodiments of the device, reference is made to the description of method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The method and apparatus of the present disclosure are described above based on the embodiments and applications. In addition, the present disclosure also provides an electronic device and a computer-readable storage medium, which are described below.
Referring now to fig. 12, a schematic diagram of an electronic device (e.g., a terminal device or server) 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in the drawings is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
The electronic device 800 may include a processing means (e.g., a central processor, a graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with programs stored in a Read Only Memory (ROM) 802 or loaded from a storage 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
In general, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, etc.; storage 808 including, for example, magnetic tape, hard disk, etc.; communication means 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While an electronic device 800 having various means is shown, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to 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 shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication device 809, or installed from storage device 808, or installed from ROM 802. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 801.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 the context of this 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 the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure described above.
Computer program code for carrying out operations of the present disclosure may be written in 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts 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 involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
According to one or more embodiments of the present disclosure, there is provided an information processing method including: in response to a triggering operation of a first control associated with a document link in a first document, generating a content display area in the first document, and displaying document content corresponding to the document link in the content display area, wherein the document link points to a second document;
responding to the triggering operation of a second control in the content display area, and simultaneously displaying a setting interface in the first document, wherein the setting interface is used for setting the display content of the content display area;
and responding to the selection operation of the options in the setting interface, and changing the display content of the content display area.
According to one or more embodiments of the present disclosure, there is provided an information processing method of generating a content display area in a first document in response to a trigger operation of a first control associated with a document link in the first document, displaying document content corresponding to the document link in the content display area, including: and responding to the triggering operation of a first control associated with the document link, generating a content display area in the first document, and displaying the document content corresponding to the document link in a card view by the content display area.
In accordance with one or more embodiments of the present disclosure, there is provided an information processing method,
at least one of a document icon, a document name of the second document, a document abstract, and a document thumbnail is displayed in the card view.
In accordance with one or more embodiments of the present disclosure, there is provided an information processing method, the card views being divided into a first type of card view and a second type of card view,
the first card view displays the document name and the document abstract of the second document, or the first card view displays the document icon, the document name and the document abstract of the second document;
and the second class of card views display the document name, the document abstract and the document thumbnail of the second document, or display the document icon, the document name, the document abstract and the document thumbnail of the second document.
In accordance with one or more embodiments of the present disclosure, there is provided an information processing method, the second control being displayed inside the card view, or,
and when the control identifier is positioned outside the card view, hiding the second control.
According to one or more embodiments of the present disclosure, there is provided an information processing method, further including:
and responding to the adjustment operation of the display width of the document content, and adjusting the document content according to the display width.
According to one or more embodiments of the present disclosure, there is provided an information processing method of adjusting the document content according to a display width in response to an adjustment operation of the display width of the document content, including:
according to the display width, at least one of the following is performed: reducing the types of the contents displayed in the document contents, reducing the lengths of the displayed contents and changing the arrangement mode according to the priority of the contents in the document contents.
According to one or more embodiments of the present disclosure, there is provided an information processing method, if the presentation form of the document content is a first type of card view, adjusting the document content according to the display width, including at least one of:
when the display width is not smaller than a first preset maximum width, displaying the first type of card view with the first preset maximum width, and displaying the document name of the second document and the document abstract with the preset length in the first type of card view;
When the display width is smaller than the first preset maximum width and not smaller than the first preset minimum width, the width of the first type card view is adjusted according to the display width, if the document name of the second document can be displayed in one row, the name of the second document is displayed, the length of the displayed document abstract is reduced according to the display width, and if the name of the second document cannot be completely displayed in one row, the document abstract is hidden, and the document name is folded and displayed;
when the display width is smaller than or equal to a first preset minimum width, displaying the first type of card view with the first preset minimum width, hiding the document abstract and displaying the document name in a folded manner, and if the document icon is displayed in the first type of card view, shrinking the document icon.
According to one or more embodiments of the present disclosure, there is provided an information processing method, if the presentation form of the document content is a second card view, adjusting the document content according to the display width, including at least one of:
when the display width is not smaller than a second preset maximum width, displaying the second type of card view with the second preset maximum width, and displaying the document name, the document abstract and the document thumbnail of the preset length of the second document in the second type of card view;
When the display width is smaller than the second preset maximum width and the document name of the second document can be displayed in one row, adjusting the width of the second class of card views according to the display width, and reducing the length of the displayed document abstract according to the display width;
when the display width is smaller than the second preset maximum width and at least two lines are required to display the document names of the second document, the width of the second type card view is adjusted according to the display width, the document names are displayed in a folded mode, wherein if the number of lines occupied by displaying the document names is smaller than the preset number of lines, the document abstract is displayed in one line, and if the number of lines occupied by displaying the document names reaches the preset number of lines, the document abstract is hidden;
when the display width is smaller than a first width, reducing the size of the document thumbnail to a first preset size, wherein the first width is smaller than the second preset maximum width;
displaying the document name and the document thumbnail side by side in a direction perpendicular to a display width when the display width is smaller than a second width, the second width being smaller than the first width;
When the display width is smaller than a third width, reducing the size of the document thumbnail to a second preset size, and reducing the interval width between the document thumbnail and the edge of the second type of card view, wherein the third width is smaller than the second width;
and hiding the document thumbnail when the display width reaches a second minimum width.
According to one or more embodiments of the present disclosure, there is provided an information processing apparatus including:
a display unit, configured to generate a content display area in a first document in response to a trigger operation on a first control associated with a document link in the first document, and display document content corresponding to the document link in the content display area, where the document link points to a second document; responding to the triggering operation of a second control in the content display area, and simultaneously displaying a setting interface in the first document, wherein the setting interface is used for setting the display content of the content display area;
and the control unit is used for responding to the selection operation of the style options in the setting interface and changing the display content of the content display area.
According to one or more embodiments of the present disclosure, there is provided an electronic device including: at least one memory and at least one processor;
Wherein the at least one memory is configured to store program code, and the at least one processor is configured to invoke the program code stored by the at least one memory to perform any of the methods described above.
According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided for storing program code which, when executed by a processor, causes the processor to perform the above-described method.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (12)

1. An information processing method, characterized by comprising:
in response to a triggering operation of a first control associated with a document link in a first document, generating a content display area in the first document, and displaying document content corresponding to the document link in the content display area, wherein the document link points to a second document;
responding to the triggering operation of a second control in the content display area, and simultaneously displaying a setting interface in the first document, wherein the setting interface is used for setting the display content of the content display area;
responding to the selection operation of options in the setting interface, and changing the display content of the content display area; wherein after selecting the option, before determining the selected option of the application, changing the display content of the content display area in the first document according to the selected option.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
in response to a triggering operation of a first control associated with a document link in a first document, generating a content display area in the first document, and displaying document content corresponding to the document link in the content display area, including: and responding to the triggering operation of a first control associated with the document link, generating a content display area in the first document, and displaying the document content corresponding to the document link in a card view by the content display area.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
at least one of a document icon, a document name of the second document, a document abstract, and a document thumbnail is displayed in the card view.
4. The method of claim 3, wherein the step of,
the card views are divided into a first type of card view and a second type of card view,
the first card view displays the document name and the document abstract of the second document, or the first card view displays the document icon, the document name and the document abstract of the second document;
and the second class of card views display the document name, the document abstract and the document thumbnail of the second document, or display the document icon, the document name, the document abstract and the document thumbnail of the second document.
5. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the second control is displayed inside the card view, or,
and when the control identifier is positioned outside the card view, hiding the second control.
6. The method of any one of claims 1-5, further comprising:
and responding to the adjustment operation of the display width of the document content, and adjusting the document content according to the display width.
7. The method of claim 6, wherein adjusting the document content according to the display width in response to the adjustment operation of the display width of the document content comprises:
according to the display width, at least one of the following is performed: reducing the types of the contents displayed in the document contents, reducing the lengths of the displayed contents and changing the arrangement mode according to the priority of the contents in the document contents.
8. The method of claim 6, wherein if the document content is presented in a first type of card view, adjusting the document content according to the display width comprises at least one of:
When the display width is not smaller than a first preset maximum width, displaying the first type of card view with the first preset maximum width, and displaying the document name of the second document and the document abstract with the preset length in the first type of card view;
when the display width is smaller than the first preset maximum width and not smaller than the first preset minimum width, the width of the first type card view is adjusted according to the display width, if the document name of the second document can be displayed in one row, the name of the second document is displayed, the length of the displayed document abstract is reduced according to the display width, and if the name of the second document cannot be completely displayed in one row, the document abstract is hidden, and the document name is folded and displayed;
when the display width is smaller than or equal to a first preset minimum width, displaying the first type of card view with the first preset minimum width, hiding the document abstract and displaying the document name in a folded manner, and if the document icon is displayed in the first type of card view, shrinking the document icon.
9. The method of claim 6, wherein if the document content is presented in the form of a second card view, adjusting the document content according to the display width comprises at least one of:
When the display width is not smaller than a second preset maximum width, displaying the second type of card view with the second preset maximum width, and displaying the document name, the document abstract and the document thumbnail of the preset length of the second document in the second type of card view;
when the display width is smaller than the second preset maximum width and the document name of the second document can be displayed in one row, adjusting the width of the second class of card views according to the display width, and reducing the length of the displayed document abstract according to the display width;
when the display width is smaller than the second preset maximum width and at least two lines are required to display the document names of the second document, the width of the second type card view is adjusted according to the display width, the document names are displayed in a folded mode, wherein if the number of lines occupied by displaying the document names is smaller than the preset number of lines, the document abstract is displayed in one line, and if the number of lines occupied by displaying the document names reaches the preset number of lines, the document abstract is hidden;
when the display width is smaller than a first width, reducing the size of the document thumbnail to a first preset size, wherein the first width is smaller than the second preset maximum width;
Displaying the document name and the document thumbnail side by side in a direction perpendicular to a display width when the display width is smaller than a second width, the second width being smaller than the first width;
when the display width is smaller than a third width, reducing the size of the document thumbnail to a second preset size, and reducing the interval width between the document thumbnail and the edge of the second type of card view, wherein the third width is smaller than the second width;
and hiding the document thumbnail when the display width reaches a second minimum width.
10. An information processing apparatus comprising:
a display unit, configured to generate a content display area in a first document in response to a trigger operation on a first control associated with a document link in the first document, and display document content corresponding to the document link in the content display area, where the document link points to a second document; responding to the triggering operation of a second control in the content display area, and simultaneously displaying a setting interface in the first document, wherein the setting interface is used for setting the display content of the content display area;
a control unit for changing the display content of the content display area in response to a selection operation of a style option in the setting interface; wherein after selecting the option, before determining the selected option of the application, changing the display content of the content display area in the first document according to the selected option.
11. An electronic device, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to invoke the program code stored by the at least one memory to perform the method of any of claims 1 to 9.
12. A computer readable storage medium for storing program code which, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 9.
CN202210189962.0A 2022-02-28 2022-02-28 Information processing method, apparatus, electronic device and storage medium Active CN114564267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210189962.0A CN114564267B (en) 2022-02-28 2022-02-28 Information processing method, apparatus, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210189962.0A CN114564267B (en) 2022-02-28 2022-02-28 Information processing method, apparatus, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN114564267A CN114564267A (en) 2022-05-31
CN114564267B true CN114564267B (en) 2024-03-26

Family

ID=81716078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210189962.0A Active CN114564267B (en) 2022-02-28 2022-02-28 Information processing method, apparatus, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114564267B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1221657A2 (en) * 2001-01-03 2002-07-10 Sun Microsystems, Inc. Method and apparatus for rich text document storage on small devices
US7458014B1 (en) * 1999-12-07 2008-11-25 Microsoft Corporation Computer user interface architecture wherein both content and user interface are composed of documents with links
CN108009784A (en) * 2017-06-15 2018-05-08 中工国际工程股份有限公司 A kind of inside and outside collaborative office management system based on project document
CN109492210A (en) * 2018-10-26 2019-03-19 天津字节跳动科技有限公司 A kind of online document content displaying method, device, storage medium and electronic equipment
CN110046309A (en) * 2019-04-02 2019-07-23 北京字节跳动网络技术有限公司 Processing method, device, electronic equipment and the storage medium of document input content
CN110162758A (en) * 2019-05-21 2019-08-23 北京字节跳动网络技术有限公司 Online document is inserted into information approach and device
US10650086B1 (en) * 2016-09-27 2020-05-12 Palantir Technologies Inc. Systems, methods, and framework for associating supporting data in word processing
CN112632920A (en) * 2020-11-16 2021-04-09 腾讯科技(深圳)有限公司 Link processing method, link processing device, terminal equipment and storage medium
CN112632919A (en) * 2020-09-28 2021-04-09 腾讯科技(深圳)有限公司 Document editing method and device, computer equipment and storage medium
CN112765516A (en) * 2020-12-28 2021-05-07 微民保险代理有限公司 Page content display method and device, storage medium and electronic device
CN113128182A (en) * 2021-04-14 2021-07-16 北京字跳网络技术有限公司 Electronic document processing method and device, terminal and storage medium
CN113128185A (en) * 2021-04-16 2021-07-16 北京字跳网络技术有限公司 Interaction method and device and electronic equipment
US11100277B1 (en) * 2021-02-15 2021-08-24 Workiva Inc. Systems, methods, and computer-readable media for flow-through formatting for links
CN113741765A (en) * 2021-09-22 2021-12-03 北京字跳网络技术有限公司 Page jump method, device, equipment, storage medium and program product
CN113946253A (en) * 2021-10-25 2022-01-18 杭州网易竹书信息技术有限公司 Rich media display method, medium, device and computing equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1394693A1 (en) * 2002-08-30 2004-03-03 Alcatel Method and browser for linking electronic documents
US20050229119A1 (en) * 2004-04-07 2005-10-13 Nokia Corporation Method for the presentation and selection of document links in small screen electronic devices
US20070130121A1 (en) * 2005-12-01 2007-06-07 Dolph Blaine H System and method of displaying a document including an embedded link
KR101429526B1 (en) * 2007-10-18 2014-08-14 삼성전자주식회사 Image forming apparatus and method for managing document thereof
US9588653B2 (en) * 2011-12-21 2017-03-07 Donald Richard Schmidt GUI document management system
JP6091231B2 (en) * 2013-02-01 2017-03-08 キヤノン株式会社 Information processing apparatus and computer program
US9710444B2 (en) * 2013-05-22 2017-07-18 Microsoft Technology Licensing, Llc Organizing unstructured research within a document

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7458014B1 (en) * 1999-12-07 2008-11-25 Microsoft Corporation Computer user interface architecture wherein both content and user interface are composed of documents with links
EP1221657A2 (en) * 2001-01-03 2002-07-10 Sun Microsystems, Inc. Method and apparatus for rich text document storage on small devices
US10650086B1 (en) * 2016-09-27 2020-05-12 Palantir Technologies Inc. Systems, methods, and framework for associating supporting data in word processing
CN108009784A (en) * 2017-06-15 2018-05-08 中工国际工程股份有限公司 A kind of inside and outside collaborative office management system based on project document
CN109492210A (en) * 2018-10-26 2019-03-19 天津字节跳动科技有限公司 A kind of online document content displaying method, device, storage medium and electronic equipment
CN110046309A (en) * 2019-04-02 2019-07-23 北京字节跳动网络技术有限公司 Processing method, device, electronic equipment and the storage medium of document input content
CN110162758A (en) * 2019-05-21 2019-08-23 北京字节跳动网络技术有限公司 Online document is inserted into information approach and device
CN112632919A (en) * 2020-09-28 2021-04-09 腾讯科技(深圳)有限公司 Document editing method and device, computer equipment and storage medium
CN112632920A (en) * 2020-11-16 2021-04-09 腾讯科技(深圳)有限公司 Link processing method, link processing device, terminal equipment and storage medium
CN112765516A (en) * 2020-12-28 2021-05-07 微民保险代理有限公司 Page content display method and device, storage medium and electronic device
US11100277B1 (en) * 2021-02-15 2021-08-24 Workiva Inc. Systems, methods, and computer-readable media for flow-through formatting for links
CN113128182A (en) * 2021-04-14 2021-07-16 北京字跳网络技术有限公司 Electronic document processing method and device, terminal and storage medium
CN113128185A (en) * 2021-04-16 2021-07-16 北京字跳网络技术有限公司 Interaction method and device and electronic equipment
CN113741765A (en) * 2021-09-22 2021-12-03 北京字跳网络技术有限公司 Page jump method, device, equipment, storage medium and program product
CN113946253A (en) * 2021-10-25 2022-01-18 杭州网易竹书信息技术有限公司 Rich media display method, medium, device and computing equipment

Also Published As

Publication number Publication date
CN114564267A (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN111339418B (en) Page display method, page display device, electronic equipment and computer readable medium
CN113191726B (en) Task detail interface display method, device, equipment and computer readable medium
CN111931472B (en) Page table rendering method and device, electronic equipment and computer readable medium
CN113238706B (en) View display method, device, equipment and medium
CN111291244B (en) House source information display method, device, terminal and storage medium
WO2021073327A1 (en) Window display method and apparatus, and terminal and storage medium
US20240193352A1 (en) Electronic document processing method and apparatus, terminal and storage medium
CN110070496A (en) Generation method, device and the hardware device of image special effect
CN114064593B (en) Document sharing method, device, equipment and medium
CN114416261B (en) Information display method, device, equipment and medium
CN112181571A (en) Floating window display method, device, terminal and storage medium
CN113721807B (en) Information display method and device, electronic equipment and storage medium
JP2024515693A (en) Table display method, device, equipment and medium
US20230199262A1 (en) Information display method and device, and terminal and storage medium
WO2021057738A1 (en) User interface presentation method and apparatus, computer-readable medium and electronic device
CN112995401A (en) Control display method, device, equipment and medium
CN111259291B (en) View display method and device and electronic equipment
CN115756249B (en) Media data playing method and device, storage medium and electronic equipment
CN114564267B (en) Information processing method, apparatus, electronic device and storage medium
CN114327732B (en) Page configuration method, page configuration device, electronic equipment and computer readable medium
CN112672182B (en) Live broadcast interface display method, device, electronic equipment and computer readable medium
CN115509660A (en) Session information processing method and device and electronic equipment
CN115237530A (en) Information display method and device, electronic equipment and storage medium
CN115048164A (en) Display mode switching method, device, equipment and storage medium
CN114092362A (en) Panoramic picture loading method and device

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