WO2023056900A1 - 显示信息的方法、装置、电子设备和存储介质 - Google Patents

显示信息的方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2023056900A1
WO2023056900A1 PCT/CN2022/123395 CN2022123395W WO2023056900A1 WO 2023056900 A1 WO2023056900 A1 WO 2023056900A1 CN 2022123395 W CN2022123395 W CN 2022123395W WO 2023056900 A1 WO2023056900 A1 WO 2023056900A1
Authority
WO
WIPO (PCT)
Prior art keywords
content block
sub
identifier
content
type
Prior art date
Application number
PCT/CN2022/123395
Other languages
English (en)
French (fr)
Inventor
来庆宇
郑益萍
张超懿
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023056900A1 publication Critical patent/WO2023056900A1/zh

Links

Images

Classifications

    • 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/04817Interaction 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 using icons
    • 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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a method, device, electronic equipment and storage medium for displaying information.
  • the toolbar button is the general and characteristic function entry of the selected content block.
  • the toolbar buttons used in the content block (Block) loaded in the electronic document have a single style and lack the visual expression of the content block type.
  • a method for displaying information including:
  • a first function identifier is displayed in an associated area of the content block, the first function identifier includes a first sub-identity and a second sub-identity, and the first sub-identity is used to represent the The content type of the content block, the second sub-identifier is used to indicate the operation type of the content block.
  • a device for displaying information including:
  • an operation receiving unit configured to receive a first operation on a content block in the document
  • an identification display unit configured to display a first function identification in an associated area of the content block in response to the first operation, the first function identification includes a first sub-identification and a second sub-identification, and the first sub-identification
  • the identifier is used to indicate the content type of the content block
  • the second sub-identifier is used to indicate the operation type of the content block.
  • an electronic device including: at least one memory and at least one processor; wherein, the memory is used to store program codes, and the processor is used to call The program code stored in the memory enables the electronic device to execute the method for displaying information provided according to one or more embodiments of the present disclosure.
  • a non-transitory computer storage medium stores program code, and when the program code is executed by a computer device, the The computer device executes the method for displaying information provided according to one or more embodiments of the present disclosure.
  • a first function identifier is displayed in response to a user's first operation on a content block, and the first function identifier includes a first sub-identifier used to represent the content type of the content block and the second sub-identification used to indicate the operation type of the content block, so that the user can easily know the content type and operation type of the current content block, thereby increasing the degree of differentiation of each content block.
  • FIG. 1 is a flowchart of a method for displaying information provided according to an embodiment of the present disclosure
  • Fig. 2 is a flowchart of a method for displaying information provided according to another embodiment of the present disclosure
  • 3A and 3B are schematic diagrams of a first function identifier provided according to an embodiment of the present disclosure.
  • Fig. 4 is a schematic diagram of a first function identifier provided according to another embodiment of the present disclosure.
  • Fig. 5 is a schematic structural diagram of a device for displaying information provided according to an embodiment of the present disclosure
  • Fig. 6 is a schematic structural diagram of an electronic device provided according to an embodiment of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “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 further embodiment”; the term “some embodiments” means “at least some embodiments.”
  • the term “responsive to” and related terms means that one signal or event is affected to some extent, but not necessarily completely or directly, by another signal or event. If event x occurs “in response to" event y, then x may respond to y directly or indirectly. For example, the occurrence of y may eventually lead to the occurrence of x, but there may be other intermediate events and/or conditions. In other cases, y may not necessarily result in the occurrence of x, and x may occur even if y has not occurred. Furthermore, the term “responsive to” can also mean “responsive at least in part to”.
  • determining broadly covers a wide variety of actions, which may include obtaining, calculating, computing, processing, deriving, investigating, looking up (e.g., looking up in a table, database, or other data structure), ascertaining, and the like, Also includes receiving (eg, receiving information), accessing (eg, accessing data in memory) and the like, as well as parsing, selecting, selecting, establishing, and the like, and the like. Relevant definitions of other terms will be given in the description below. Relevant definitions of other terms will be given in the description below. Relevant definitions of other terms will be given in the description below.
  • phrase "A and/or B” means (A), (B), or (A and B).
  • FIG. 1 shows a flow chart of a method 100 for displaying information provided by an embodiment of the present disclosure.
  • the method 100 includes:
  • Step S120 receiving a first operation on a content block in the document
  • the first operation includes but is not limited to touch operation, floating touch operation, click operation, gesture operation, etc. for the content block.
  • a content block is the basic unit of a document page (Page).
  • a document page can be composed of multiple content blocks, and text, pictures, files, etc. can be displayed in the content block; among them, the files can include text format or other formats. files, such as multimedia files, etc.
  • Step S140 In response to the first operation, display a first function identifier in the associated area of the content block, where the first function identifier includes a first sub-identity and a second sub-identity, and the first sub-identity is used for Indicates the content type of the content block, and the second sub-identifier is used to indicate the operation type of the content block.
  • the associated area may be located within the display area of the content block, or outside the display area of the content block, for example, close to the display area of the content block, which is not limited in this disclosure.
  • the content type of the content block includes but not limited to text type, picture type, chart type, file type, etc.
  • Content blocks of different content types may be associated with different styles of first sub-identities.
  • the first sub-identity may be a toolbar button icon of a content block, which may display a pattern reflecting the content type of the content block, and when the user clicks the toolbar button icon, a toolbar corresponding to the content block may be displayed menu, so that the user can operate the content block through the functional menu.
  • the operation type represented by the second sub-identity is used to characterize the preset functions configured by the content block, including but not limited to moving the content block, copying the content block, and deleting the content block , download the documents contained in the content block, etc.
  • the second sub-indicator may be a drag icon of the content block, and the user may move the position of the content block by dragging the drag icon.
  • the first function identifier is displayed in response to the user's first operation on the content block, and the first function identifier includes a first sub-character indicating the content type of the content block.
  • the identifier and the second sub-identification used to indicate the operation type of the content block can facilitate the user to know the content type and operation type of the current content block, thereby increasing the degree of differentiation of each content block.
  • the first operation includes hovering the cursor in a preset area corresponding to the content block.
  • the preset area may fully overlap or partially overlap with the display area of the content block, which is not limited in the present disclosure. In this way, when the user hovers the mouse over the preset area corresponding to the content block, the first function identifier corresponding to the content block can be displayed, which improves the interaction efficiency.
  • method 100 also includes:
  • Step S151 displaying the function list of the content block in response to the user's second operation on the first sub-identifier; and/or,
  • Step S152 moving the content block in response to the user's third operation on the second sub-identity.
  • the second operation includes but is not limited to touch, hover touch, click, gesture operation, etc. on the first sub-identity;
  • the third operation includes but not limited to a drag operation on the second sub-identity.
  • the first function identifier can be used as a drag icon to be dragged by the user to move the content block, and can also be used to display the function list of the content block.
  • method 100 also includes:
  • Step S160 If the type of the content block pointed to by the first operation is not determined, display the second function identifier.
  • the second function identifier may be a preset default icon.
  • FIG. 2 shows a flow chart of a method 100 for displaying information provided by an embodiment of the present disclosure.
  • the method 200 includes:
  • Step S210 receiving an operation on a content block in the document
  • Step S220 Determine the type of the content block in response to the user hovering the cursor over the preset area corresponding to the content block;
  • Step S231 In response to determining the type of the content block, display a first function identifier in the associated area of the content block, the first function identifier includes a first sub-identity and a second sub-identity, and the first sub-identity It is used to indicate the content type of the content block, and the second sub-identity is used to indicate the operation type of the content block;
  • Step S232 In response to the fact that the type of the content block is not determined, display a preset default icon.
  • method 100 also includes:
  • Step S170 In response to the user's fourth operation on the blank text line of the document, display a third function identifier, where the third function identifier is used to create a content block.
  • the blank text line of the document includes a text line without adding any content block; the user's fourth operation on the blank text line of the document may be to hover the cursor over the blank text line.
  • the user can create a content block by performing a fourth operation on a blank text line.
  • method 100 also includes:
  • Step S180 In response to the third function identifier being selected, display a control panel, the control panel is used to display at least one content block identifier; wherein, the third function identifier is used to create a content block, and the content block of the same content block There is a corresponding relationship between the identifier and the first sub-identifier.
  • control panel can display the content block identifiers of content blocks such as picture type, video type, file type, and icon type, and when the user selects one of the content block identifiers, a blank text line is created A content block of the corresponding type.
  • content blocks such as picture type, video type, file type, and icon type
  • the first sub-identifier is the same as the content block identifier of the content block; and/or, if the content type of the content block is a text type, then The first sub-identifier of the content block is a text identifier.
  • the content block identifier displayed in the control panel and its first sub-identity can be completely the same, for example, both are the identifier "Img"; for a text-type content block, it is displayed in the control panel
  • the displayed content block identifiers can be specific text and graphic identifiers such as "team” and "user".
  • a content block whose content block identifier is "team” can be used to display a certain team name or group name, and the content block identifier is The content block identified by "user” can be used to display a certain user name; regardless of the content block identified by "team” or the content block identified by "user", the first sub-identifier A "T" can be identified for text.
  • its first sub-identifier may correspond to multiple different content block identifiers, thereby simplifying the types of the first sub-identifier and facilitating the user to identify the type of the content block through the first sub-identifier.
  • the method 100 further includes:
  • Step A1 Determine the first sub-identifier according to the title level of the title.
  • the method 100 further includes:
  • Step B1 setting the content block as a title format in response to receiving a title setting operation on the content block;
  • Step B2 Determine the title level of the title, and determine the first sub-identifier according to the title level of the title.
  • the document 10 includes content blocks 21, 22 and 23 of the text type, and the content blocks 21, 22 and 23 respectively display titles of different levels and have different subtypes, wherein the content block 21 shows a first-level title, Content block 22 displays a second-level heading, and content block 23 displays a third-level heading.
  • the first function identification 31 when the user hovers the cursor (not shown) on the content block 21 whose title level is "first-level title”, the first function identification 31 is displayed, and the first function identification 31 includes the first sub- Mark 311 and the second sub-identity 312, the first sub-identity 311 displays the icon "H1", to indicate that the type of the content block 21 is "first-level title”;
  • the first function logo 32 When hovering over the content block 22 whose type is "secondary title", the first function logo 32 is displayed.
  • the first function logo 32 includes a first sub-identity 321 and a second sub-identity 322.
  • the first sub-identity 321 displays the icon " H2", to indicate that the type of the content block 21 is "secondary title”.
  • the document 10 includes a content block 24 of document type within which a file in "docx" format is inserted.
  • the first function identification 33 is displayed, the first function identification 33 includes a first sub-identification 331 and a second sub-identification 332, the first sub-identification 311
  • An icon “F” is displayed to indicate that the content block 24 is of type "file”.
  • an apparatus 500 for displaying information including:
  • An operation receiving unit 520 configured to receive a first operation on a content block in the document
  • An identification display unit 540 configured to display a first function identification in an associated area of the content block in response to the first operation, the first function identification includes a first sub-identification and a second sub-identification, and the first The sub-identity is used to indicate the content type of the content block, and the second sub-identity is used to indicate the operation type of the content block.
  • a first function identifier is displayed by responding to a user's first operation on a content block, and the first function identifier includes content used to represent the content block.
  • the first sub-identification of the type and the second sub-identification used to indicate the operation type of the content block can facilitate the user to know the content type and operation type of the current content block, thereby increasing the degree of differentiation of each content block.
  • device 500 also includes:
  • the second identification display unit is configured to display a second function identification if the type of the content block pointed to by the first operation is not determined.
  • device 500 also includes:
  • the third identification display unit is configured to display a third function identification in response to the user's fourth operation on the blank text line of the document, wherein the third function identification is used to create a content block.
  • device 500 also includes:
  • a control panel display unit configured to display a control panel in response to the third function identifier being selected, the control panel being used to display at least one content block identifier; wherein the third function identifier is used to create a content block, the same content There is a corresponding relationship between the content block identifier of the block and the first sub-identifier.
  • device 500 also includes:
  • the first determining unit is configured to determine the first sub-identifier according to the title level of the title if the content block is a text type including a title.
  • device 500 also includes:
  • the first determining unit is configured to, if the content block is a text type, set the content block as a title format in response to receiving a title setting operation on the content block; determine the title level of the title, according to the set title The title level of the title determines the first sub-identifier.
  • an electronic device including:
  • the memory is used to store program codes
  • the processor is used to call the program codes stored in the memory to enable the electronic device to execute the method for displaying information provided according to one or more embodiments of the present disclosure.
  • a non-transitory computer storage medium stores program codes, and the program codes can be executed by a computer device to cause the computer device to execute A method for displaying information provided according to one or more embodiments of the present disclosure.
  • FIG. 6 it shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 800 suitable for implementing an embodiment of the present disclosure.
  • the terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like.
  • the electronic device shown in FIG. 6 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
  • an electronic device 800 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) Various appropriate actions and processes are executed by programs in the memory (RAM) 803 . In the RAM 803, various programs and data necessary for the operation of the electronic device 800 are also stored.
  • the processing device 801, ROM 802, and RAM 803 are connected to each other through a bus 804.
  • An input/output (I/O) interface 805 is also connected to the bus 804 .
  • the following devices can be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 807 such as a computer; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809.
  • the communication means 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. While FIG. 6 shows electronic device 800 having various means, it is to be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts.
  • the computer program may be downloaded and installed from a network via communication means 809, or from storage means 808, or from ROM 802.
  • the processing device 801 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client and the server can communicate using any currently known or future network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium
  • HTTP HyperText Transfer Protocol
  • the communication eg, communication network
  • Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), internetworks (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 network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the above-mentioned method of the present disclosure.
  • Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language.
  • 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.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • 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 they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • a method for displaying information including: receiving a first operation on a content block in a document; in response to the first operation, in an associated area of the content block Displaying a first function identifier, where the first function identifier includes a first sub-identity and a second sub-identity, the first sub-identity is used to indicate the content type of the content block, and the second sub-identity is used to indicate the content type of the content block.
  • the method for displaying information provided according to one or more embodiments of the present disclosure further includes: displaying a function list of the content block in response to the user's second operation on the first sub-identifier; and/or, in response to The third operation performed by the user on the second sub-identifier moves the content block.
  • the method for displaying information provided according to one or more embodiments of the present disclosure further includes: if the type of the content block targeted by the first operation is not determined, displaying a second function identifier.
  • the method for displaying information provided according to one or more embodiments of the present disclosure further includes: displaying a third function identifier in response to a fourth user operation on a blank text line of the document, wherein the third function identifier Used to create content blocks.
  • the method for displaying information further includes: in response to the third function identifier being selected, displaying a control panel, where the control panel is used to display at least one content block identifier; wherein, the The third function identifier is used to create a content block, and there is a corresponding relationship between the content block identifier and the first sub-identifier of the same content block.
  • the first sub-identifier is the same as the content block identifier of the content block; and/or, If the content type of the content block is a text type, the first sub-identification of the content block is a text identification.
  • the method further includes: determining the first sub-identifier according to a title level of the title.
  • the method further includes: in response to receiving a title setting operation on the content block, setting the content block Set as a title format; determine the title level of the title, and determine the first sub-identifier according to the title level of the title.
  • the first operation includes the user hovering a cursor in a preset area corresponding to a content block.
  • a device for displaying information including: an operation receiving unit, configured to receive a first operation on a content block in a document; an identification display unit, configured to respond to the The first operation is to display a first function identifier in the associated area of the content block, where the first function identifier includes a first sub-identity and a second sub-identity, and the first sub-identity is used to represent the content of the content block type, the second sub-identifier is used to indicate the operation type of the content block.
  • an electronic device including: at least one memory and at least one processor; wherein, the memory is used to store program codes, and the processor is used to call the The stored program code enables the electronic device to execute the method provided according to one or more embodiments of the present disclosure.
  • a non-transitory computer storage medium stores program code, and when the program code is executed by a computer device, the computer device A method provided according to one or more embodiments of the present disclosure is performed.

Landscapes

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

Abstract

一种显示信息的方法(100)、装置、电子设备和存储介质。该显示信息的方法(100)包括:在文档中接收对内容块的第一操作(S120);响应于第一操作,在内容块的关联区域显示第一功能标识,第一功能标识包括第一子标识和第二子标识,第一子标识用于表示内容块的内容类型,第二子标识用于表示内容块的操作类型(S140)。通过响应于用户对内容块的第一操作显示第一功能标识,第一功能标识包括用于表示内容块的内容类型的第一子标识和用于表示内容块的操作类型第二子标识,从而可以便于用户知晓当前内容块的内容类型和操作类型,进而增加各个内容块的区分度。

Description

显示信息的方法、装置、电子设备和存储介质
相关申请的交叉引用
本申请基于申请号为202111172662.3、申请日为2021年10月08日、名称为“显示信息的方法、装置、电子设备和存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及计算机技术领域,具体涉及一种显示信息的方法、装置、电子设备和存储介质。
背景技术
工具栏按钮是被选中的内容块的通用和特性功能入口,目前,电子文档中加载的内容块(Block)所采用的工具栏按钮样式单一,缺少内容块类型的可视化表达。
发明内容
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
第一方面,根据本公开的一个或多个实施例,提供了一种显示信息的方法,包括:
在文档中接收对内容块的第一操作;
响应于所述第一操作,在所述内容块的关联区域显示第一功能标识,所述第一功能标识包括第一子标识和第二子标识,所述第一子标识用于表示所述内容块的内容类型,所述第二子标识用于表示所述内容块的操作类型。
第二方面,根据本公开的一个或多个实施例,提供了一种显示信息的装置,包括:
操作接收单元,用于在文档中接收对内容块的第一操作;
标识显示单元,用于响应于所述第一操作,在所述内容块的关联区域显示第一功能标识,所述第一功能标识包括第一子标识和第二子标识,所述第一子标识用于表示所述内容块的内容类型,所述第二子标识用于表示所述内容块的操作类型。
第三方面,根据本公开的一个或多个实施例,提供了一种电子设备,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述电子设备执行根据本公开的一个或多个实施例提供的显示信息的方法。
第四方面,根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,所 述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行根据本公开的一个或多个实施例提供的显示信息的方法。
根据本公开的一个或多个实施例,通过响应于用户对内容块的第一操作显示第一功能标识,所述第一功能标识包括用于表示所述内容块的内容类型的第一子标识和用于表示所述内容块的操作类型第二子标识,从而可以便于用户知晓当前内容块的内容类型和操作类型,进而增加各个内容块的区分度。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为根据本公开一实施例提供的显示信息的方法的流程图;
图2为根据本公开另一实施例提供的显示信息的方法的流程图;
图3A和图3B为根据本公开一实施例提供的第一功能标识的示意图;
图4为根据本公开另一实施例提供的第一功能标识的示意图;
图5为根据本公开一实施例提供的显示信息的装置的结构示意图;
图6为根据本公开一实施例提供的电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的实施方式中记载的步骤可以按照不同的顺序执行,和/或并行执行。此外,实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。术语“响应于”以及有关的术语是指一个信号或事件被另一个信号或事件影响到某个程度,但不一定是完全地或直接地受到影响。如果事件x“响应于”事件y而发生,则x可以直接或间接地响应于y。例如,y的出现最终可能导致x的出现,但可能存在其它中间事件和/或条件。在其它情形中,y可能不一定导致x的出现,并且即使y尚未发生,x也可能发生。此外,术语“响应于”还可以意味着“至少部分地响应于”。
术语“确定”广泛涵盖各种各样的动作,可包括获取、演算、计算、处理、推导、调研、查找(例如,在表、数据库或其他数据结构中查找)、探明、和类似动作,还可包括接 收(例如,接收信息)、访问(例如,访问存储器中的数据)和类似动作,以及解析、选择、选取、建立和类似动作等等。其他术语的相关定义将在下文描述中给出。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
为了本公开的目的,短语“A和/或B”意为(A)、(B)或(A和B)。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
参考图1,图1示出了本公开一实施例提供的显示信息的方法100的流程图,方法100包括:
步骤S120:在文档中接收对内容块的第一操作;
其中,第一操作包括但不限于针对内容块的触控操作、悬浮触控、点击操作、手势操作等。
内容块(Block)是文档页面(Page)的基本单元,一个文档页面可以由多个内容块组成,内容块中可以显示有文字、图片、文件等;其中,文件可以包括文本格式或其他格式的文件,例如多媒体文件等。
步骤S140:响应于所述第一操作,在所述内容块的关联区域显示第一功能标识,所述第一功能标识包括第一子标识和第二子标识,所述第一子标识用于表示所述内容块的内容类型,所述第二子标识用于表示所述内容块的操作类型。
需要说明的是,关联区域可以位于内容块的显示区域内,也可以位于内容块的显示区域外,例如,靠近内容块的显示区域,本公开在此不做限制。
在一些实施例中,内容块的内容类型包括但不限于文本类型、图片类型、图表类型、文件类型等,不同内容类型的内容块可以关联不同样式的第一子标识。示例性地,第一子标识可以是内容块的工具栏按钮图标,其可以显示反映该内容块的内容类型的图案,当用户点击工具栏按钮图标时,可以显示与该内容块对应的工具栏菜单,以便用户可以通过该功能菜单对内容块进行操作。
在一些实施例中,第二子标识所表示的操作类型用于表征所述内容块所配置的预设功能,包括但不限于移动所述内容块、复制所述内容块、删除所述内容块、下载内容块所包含的文档等。示例性地,第二子标识可以是内容块的拖拽图标,用户可以通过拖拽该拖拽图标施以移动内容块的位置。
这样,根据本公开提供的显示信息的方法,通过响应于用户对内容块的第一操作显示第一功能标识,所述第一功能标识包括用于表示所述内容块的内容类型的第一子标识和用于表示所述内容块的操作类型第二子标识,从而可以便于用户知晓当前内容块的内容类型 和操作类型,进而增加各个内容块的区分度。
在一些实施例中,第一操作包括将光标悬停于内容块对应的预设区域内。其中,预设区域可以与内容块的显示区域完全重叠或部分重叠,本公开在此不做限制。这样,当用户将鼠标悬停在内容块对应的预设区域上时,即可显示内容块对应的第一功能标识,提升了交互效率。
在一些实施例中,方法100还包括:
步骤S151:响应于用户对所述第一子标识的第二操作,显示所述内容块的功能列表;和/或,
步骤S152:响应于用户对所述第二子标识的第三操作,移动所述内容块。
其中,第二操作包括但不限于对第一子标识的触控、悬浮触控、点击、手势操作等;第三操作包括但不限于对第二子标识的拖拽操作。
这样,根据本公开的一个或多个实施例,第一功能标识既可以作为拖拽图标被用户拖拽以移动内容块,又可以用于显示内容块的功能列表。
在一些实施例中,方法100还包括:
步骤S160:若未确定出所述第一操作所指向的内容块的类型,则显示第二功能标识。示例性地,所述第二功能标识可以为预设的默认图标。
参考图2,图2示出了本公开一实施例提供的显示信息的方法100的流程图,方法200包括:
步骤S210:在文档中接收对内容块的操作;
步骤S220:响应于用户将光标悬停于内容块对应的预设区域内,确定所述内容块的类型;
步骤S231:响应确定出所述内容块的类型,在所述内容块的关联区域显示第一功能标识,所述第一功能标识包括第一子标识和第二子标识,所述第一子标识用于表示所述内容块的内容类型,所述第二子标识用于表示所述内容块的操作类型;
步骤S232:响应未确定出所述内容块的类型,显示预设的默认图标。
在一些实施例中,方法100还包括:
步骤S170:响应于用户对所述文档的空白文本行的第四操作,显示第三功能标识,其中,所述第三功能标识用于创建内容块。
示例性地,文档的空白文本行包括未添加任何内容块的文本行;用户对所述文档的空白文本行的第四操作可以为将光标悬停于空白文本行的上方。
在本实施例中,用户可以通过对空白文本行执行第四操作来创建内容块。
在一些实施例中,方法100还包括:
步骤S180:响应于第三功能标识被选中,显示控件面板,所述控件面板用于显示至少一种内容块标识;其中,所述第三功能标识用于创建内容块,同一内容块的内容块标识和第一子标识之间具有对应关系。
示例性地,控制面板可以显示图片类型、视频类型、文件类型、图标类型等类型的内 容块的内容块标识,当用户选中其中一种类型的内容块标识后,则在所述空白文本行创建对应类型的内容块。
在一些实施例中,若内容块的内容类型为非文本类型,则所述第一子标识与所述内容块的内容块标识相同;和/或,若内容块的内容类型为文本类型,则所述内容块的第一子标识为文本标识。
示例性地,对于图片类型的内容块,其在控制面板内显示的内容块标识与其第一子标识可以完全相同,例如均为标识“Img”;对于文本类型的内容块,其在控制面板内显示的内容块标识可以具体为“团队”、“用户”等文字和图形标识,例如,内容块标识为“团队”的内容块可以用于显示某一团队名称或群组名称,内容块标识为“用户”标识的内容块可以用于显示某一用户名称;而不论是以“团队”为内容块标识的内容块,还是以“用户”为内容块标识的内容块,其第一子标识均可为文本标识“T”。这样,对于文本类型的内容块,其第一子标识可以与多个不同的内容块标识对应,从而简化了第一子标识的种类,便于用户通过第一子标识识别内容块的类型。
在一些实施例中,若所述内容块为包括标题的文本类型,方法100还包括:
步骤A1:根据所述标题的标题级别确定所述第一子标识。
在一些实施例中,若所述内容块为文本类型,方法100还包括:
步骤B1:响应于接收对所述内容块的标题设置操作,将所述内容块设定为标题格式;
步骤B2:确定所述标题的标题级别,根据所述标题的标题级别确定所述第一子标识。
参考图3A和3B,文档10包括文本类型的内容块21、22和23,内容块21、22和23分别显示不同级别的标题,具有不同的子类型,其中,内容块21显示一级标题,内容块22显示二级标题,内容块23显示三级标题。具体参考图3A,当用户将光标(图中未示出)悬停于标题级别为“一级标题”的内容块21上时,显示第一功能标识31,第一功能标识31包括第一子标识311和第二子标识312,第一子标识311显示图标“H1”,以表示内容块21的类型为“一级标题”;具体参考图3B,当用户将光标(图中未示出)悬停于类型为“二级标题”的内容块22上时,显示第一功能标识32,第一功能标识32包括第一子标识321和第二子标识322,第一子标识321显示图标“H2”,以表示内容块21的类型为“二级标题”。
这样,根据本公开的一个或多个实施例,通过根据文本类型的内容块所对应的标题级别确定第一子标识,可以便于用户快速地分辨当前内容块对应的标题等级。
参考图4,文档10包括文档类型的内容块24,内容块24内插入有“docx”格式的文件。当用户将光标(图中未示出)悬停于内容块24上时,显示第一功能标识33,第一功能标识33包括第一子标识331和第二子标识332,第一子标识311显示图标“F”,以表示内容块24的类型为“文件”。
相应地,如图5所示,根据本公开的一实施例提供了一种显示信息的装置500,包括:
操作接收单元520,用于在文档中接收对内容块的第一操作;
标识显示单元540,用于响应于所述第一操作,在所述内容块的关联区域显示第一功 能标识,所述第一功能标识包括第一子标识和第二子标识,所述第一子标识用于表示所述内容块的内容类型,所述第二子标识用于表示所述内容块的操作类型。
根据本公开的一个或多个实施例提供的显示信息的装置,通过响应于用户对内容块的第一操作显示第一功能标识,所述第一功能标识包括用于表示所述内容块的内容类型的第一子标识和用于表示所述内容块的操作类型第二子标识,从而可以便于用户知晓当前内容块的内容类型和操作类型,进而增加各个内容块的区分度。
在一些实施例中,装置500还包括:
第二标识显示单元,用于若未确定出所述第一操作所指向的内容块的类型,则显示第二功能标识。
在一些实施例中,装置500还包括:
第三标识显示单元,用于响应于用户对所述文档的空白文本行的第四操作,显示第三功能标识,其中,所述第三功能标识用于创建内容块。
在一些实施例中,装置500还包括:
控件面板显示单元,用于响应于第三功能标识被选中,显示控件面板,所述控件面板用于显示至少一种内容块标识;其中,所述第三功能标识用于创建内容块,同一内容块的内容块标识和第一子标识之间具有对应关系。
在一些实施例中,装置500还包括:
第一确定单元,用于若所述内容块为包括标题的文本类型,根据所述标题的标题级别确定所述第一子标识。
在一些实施例中,装置500还包括:
第一确定单元,用于若所述内容块为文本类型,响应于接收对所述内容块的标题设置操作,将所述内容块设定为标题格式;确定所述标题的标题级别,根据所述标题的标题级别确定所述第一子标识。
对于装置的实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中作为分离模块说明的模块可以是或者也可以不是分开的。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
相应地,根据本公开的一个或多个实施例,提供了一种电子设备,包括:
至少一个存储器和至少一个处理器;
其中,存储器用于存储程序代码,处理器用于调用存储器所存储的程序代码以使所述电子设备执行根据本公开一个或多个实施例提供的显示信息的方法。
相应地,根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,非暂态计算机存储介质存储有程序代码,程序代码可被计算机设备执行来使得所述计算机设备执行根据本公开一个或多个实施例提供的显示信息的方法。
下面参考图6,其示出了适于用来实现本公开实施例的电子设备(例如终端设备 或服务器)800的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图6所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用 任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述的本公开的方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。 机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了一种显示信息的方法,包括:在文档中接收对内容块的第一操作;响应于所述第一操作,在所述内容块的关联区域显示第一功能标识,所述第一功能标识包括第一子标识和第二子标识,所述第一子标识用于表示所述内容块的内容类型,所述第二子标识用于表示所述内容块的操作类型。
根据本公开的一个或多个实施例提供的显示信息的方法,还包括:响应于用户对所述第一子标识的第二操作,显示所述内容块的功能列表;和/或,响应于用户对所述第二子标识的第三操作,移动所述内容块。
根据本公开的一个或多个实施例提供的显示信息的方法,还包括:若未确定出所述第一操作所指向的内容块的类型,则显示第二功能标识。
根据本公开的一个或多个实施例提供的显示信息的方法,还包括:响应于用户对所述文档的空白文本行的第四操作,显示第三功能标识,其中,所述第三功能标识用于创建内容块。
根据本公开的一个或多个实施例提供的显示信息的方法,还包括:响应于第三功能标识被选中,显示控件面板,所述控件面板用于显示至少一种内容块标识;其中,所述第三功能标识用于创建内容块,同一内容块的内容块标识和第一子标识之间具有对应关系。
根据本公开的一个或多个实施例提供的显示信息的方法,若内容块的内容类型为非文本类型,则所述第一子标识与所述内容块的内容块标识相同;和/或,若内容块的内容类型为文本类型,则所述内容块的第一子标识为文本标识。
根据本公开的一个或多个实施例提供的显示信息的方法,若所述内容块为包括标题的文本类型,所述方法还包括:根据所述标题的标题级别确定所述第一子标识。
根据本公开的一个或多个实施例提供的显示信息的方法,若所述内容块为文本类型,所述方法还包括:响应于接收对所述内容块的标题设置操作,将所述内容块设定为标题格式;确定所述标题的标题级别,根据所述标题的标题级别确定所述第一子标识。
根据本公开的一个或多个实施例提供的显示信息的方法,所述第一操作包括用户将光标悬停在与内容块对应的预设区域内。
根据本公开的一个或多个实施例,提供了一种显示信息的装置,包括:操作接收单元,用于在文档中接收对内容块的第一操作;标识显示单元,用于响应于所述第一操作,在所述内容块的关联区域显示第一功能标识,所述第一功能标识包括第一子标识和第二子标识,所述第一子标识用于表示所述内容块的内容类型,所述第二子标识用于表示所述内容块的操作类型。
根据本公开的一个或多个实施例,提供了一种电子设备,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述电子设备执行根据本公开的一个或多个实施例提供的方法。
根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,所述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行根据本公开的一个或多个实施例提供的方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (12)

  1. 一种显示信息的方法,其特征在于,包括:
    在文档中接收对内容块的第一操作;
    响应于所述第一操作,在所述内容块的关联区域显示第一功能标识,所述第一功能标识包括第一子标识和第二子标识,所述第一子标识用于表示所述内容块的内容类型,所述第二子标识用于表示所述内容块的操作类型。
  2. 根据权利要求1所述的显示信息的方法,其特征在于,还包括:
    响应于用户对所述第一子标识的第二操作,显示所述内容块的功能列表;
    和/或,
    响应于用户对所述第二子标识的第三操作,移动所述内容块。
  3. 根据权利要求1所述的显示信息的方法,其特征在于,还包括:
    若未确定出所述第一操作所指向的内容块的类型,则显示第二功能标识。
  4. 根据权利要求1所述的显示信息的方法,其特征在于,还包括:
    响应于用户对所述文档的空白文本行的第四操作,显示第三功能标识,其中,所述第三功能标识用于创建内容块。
  5. 根据权利要求4所述的显示信息的方法,其特征在于,还包括:
    响应于所述第三功能标识被选中,显示控件面板,所述控件面板用于显示至少一种内容块标识;其中,同一内容块的内容块标识和第一子标识之间具有对应关系。
  6. 根据权利要求1所述的显示信息的方法,其特征在于,
    若内容块的内容类型为非文本类型,则所述第一子标识与所述内容块的内容块标识相同;和/或,
    若内容块的内容类型为文本类型,则所述内容块的第一子标识为文本标识。
  7. 根据权利要求1所述的显示信息的方法,其特征在于,若所述内容块为包括标题的文本类型,所述方法还包括:
    根据所述标题的标题级别确定所述第一子标识。
  8. 根据权利要求1所述的显示信息的方法,其特征在于,若所述内容块为文本类型,所述方法还包括:
    响应于接收对所述内容块的标题设置操作,将所述内容块设定为标题格式;
    确定所述标题的标题级别,根据所述标题的标题级别确定所述第一子标识。
  9. 根据权利要求1所述的显示信息的方法,其特征在于,
    所述第一操作包括用户将光标悬停在与内容块对应的预设区域内。
  10. 一种显示信息的装置,其特征在于,包括:
    操作接收单元,用于在文档中接收对内容块的第一操作;
    标识显示单元,用于响应于所述第一操作,在所述内容块的关联区域显示第一功能标识,所述第一功能标识包括第一子标识和第二子标识,所述第一子标识用于表示所述内容 块的内容类型,所述第二子标识用于表示所述内容块的操作类型。
  11. 一种电子设备,其特征在于,包括:
    至少一个存储器和至少一个处理器;
    其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述电子设备执行权利要求1至9任一所述的方法。
  12. 一种非暂态计算机存储介质,其特征在于,
    所述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行权利要求1至9任一所述的方法。
PCT/CN2022/123395 2021-10-08 2022-09-30 显示信息的方法、装置、电子设备和存储介质 WO2023056900A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111172662.3A CN115964104A (zh) 2021-10-08 2021-10-08 显示信息的方法、装置、电子设备和存储介质
CN202111172662.3 2021-10-08

Publications (1)

Publication Number Publication Date
WO2023056900A1 true WO2023056900A1 (zh) 2023-04-13

Family

ID=85803183

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/123395 WO2023056900A1 (zh) 2021-10-08 2022-09-30 显示信息的方法、装置、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN115964104A (zh)
WO (1) WO2023056900A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970758A (zh) * 2016-12-01 2017-07-21 阿里巴巴集团控股有限公司 电子文档操作处理方法、装置和电子设备
CN111078655A (zh) * 2019-12-23 2020-04-28 腾讯科技(深圳)有限公司 文档内容分享方法、装置、终端及存储介质
CN111641550A (zh) * 2020-05-09 2020-09-08 维沃移动通信有限公司 通信对象添加方法、装置及电子设备
US20210089193A1 (en) * 2017-08-22 2021-03-25 Samsung Electronics Co., Ltd. Electronic device for providing graphical content and method for controlling same
CN113128182A (zh) * 2021-04-14 2021-07-16 北京字跳网络技术有限公司 电子文档的处理方法、装置、终端和存储介质
CN113194024A (zh) * 2021-03-22 2021-07-30 维沃移动通信(杭州)有限公司 信息显示方法、装置和电子设备
US20210264040A1 (en) * 2020-02-26 2021-08-26 Fuji Xerox Co., Ltd. Information processing apparatus and non-transitory computer readable medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970758A (zh) * 2016-12-01 2017-07-21 阿里巴巴集团控股有限公司 电子文档操作处理方法、装置和电子设备
US20210089193A1 (en) * 2017-08-22 2021-03-25 Samsung Electronics Co., Ltd. Electronic device for providing graphical content and method for controlling same
CN111078655A (zh) * 2019-12-23 2020-04-28 腾讯科技(深圳)有限公司 文档内容分享方法、装置、终端及存储介质
US20210264040A1 (en) * 2020-02-26 2021-08-26 Fuji Xerox Co., Ltd. Information processing apparatus and non-transitory computer readable medium
CN111641550A (zh) * 2020-05-09 2020-09-08 维沃移动通信有限公司 通信对象添加方法、装置及电子设备
CN113194024A (zh) * 2021-03-22 2021-07-30 维沃移动通信(杭州)有限公司 信息显示方法、装置和电子设备
CN113128182A (zh) * 2021-04-14 2021-07-16 北京字跳网络技术有限公司 电子文档的处理方法、装置、终端和存储介质

Also Published As

Publication number Publication date
CN115964104A (zh) 2023-04-14

Similar Documents

Publication Publication Date Title
WO2022127838A1 (zh) 文档处理方法、装置和电子设备
WO2023040948A1 (zh) 信息的处理方法、装置、终端和存储介质
WO2022111591A1 (zh) 页面生成方法和装置、存储介质和电子设备
WO2022218251A1 (zh) 电子文档的处理方法、装置、终端和存储介质
WO2022218034A1 (zh) 交互方法、装置和电子设备
CN111273830A (zh) 显示数据方法、装置、电子设备和计算机可读介质
WO2023160578A1 (zh) 信息处理方法、装置、终端和存储介质
WO2023040967A1 (zh) 显示提醒信息的方法、装置、电子设备和存储介质
WO2023088208A1 (zh) 用于文档处理的信息交互方法、装置、电子设备和存储介质
WO2022242439A1 (zh) 信息的处理方法、装置、终端和存储介质
WO2022184012A1 (zh) 一种文档创建方法、装置、设备及存储介质
WO2022184034A1 (zh) 一种文档处理方法、装置、设备和介质
WO2024198923A1 (zh) 媒体内容的收藏方法、装置、电子设备和存储介质
US12008219B2 (en) User interface presentation method and apparatus, computer-readable medium and electronic device
WO2023088379A1 (zh) 表格处理方法、装置、电子设备和存储介质
CN111353296B (zh) 文章处理方法、装置、电子设备及计算机可读存储介质
US12056336B2 (en) Document content point-and-select method, electronic apparatus and medium
US20240021004A1 (en) Cross-region document content recognition method, apparatus and medium
WO2023088380A1 (zh) 信息处理方法、装置、电子设备和存储介质
WO2023056900A1 (zh) 显示信息的方法、装置、电子设备和存储介质
WO2022184037A1 (zh) 文档处理方法、装置、设备和介质
CA2815859A1 (en) Application file system access
WO2022184065A1 (zh) 电子文档的处理方法、装置、终端和存储介质
WO2022095932A1 (zh) 直播间页面跳转方法、返回方法、装置及电子设备
CN115422131B (zh) 业务审核知识库检索方法、装置、设备和计算机可读介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22877919

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE