CN113687903A - Tool display method and device based on structured data - Google Patents

Tool display method and device based on structured data Download PDF

Info

Publication number
CN113687903A
CN113687903A CN202111138655.1A CN202111138655A CN113687903A CN 113687903 A CN113687903 A CN 113687903A CN 202111138655 A CN202111138655 A CN 202111138655A CN 113687903 A CN113687903 A CN 113687903A
Authority
CN
China
Prior art keywords
structured data
tool
user
tools
editing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111138655.1A
Other languages
Chinese (zh)
Inventor
崔恩喜
李璐瑶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN202111138655.1A priority Critical patent/CN113687903A/en
Publication of CN113687903A publication Critical patent/CN113687903A/en
Pending legal-status Critical Current

Links

Images

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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

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

Abstract

The application discloses a tool display method based on structured data, which can be executed by a first device. In one example, when a user has a need to edit structured data, the first device may obtain, in response to the need, a first tool set corresponding to the structured data, where the first tool set may include tools that may be needed to be used to edit the structured data. After the first tool set is acquired, it is used to select a corresponding tool from the tool bar when the user edits at present. Therefore, in the embodiment of the application, the first tool set can be displayed in the toolbar of the current page, so that a user can select a tool which the user wants to use from the first tool set displayed in the toolbar, and the editing of the structured data is completed. Therefore, the tool display method provided by the embodiment of the application fully considers the editing habit of the user, and therefore the user experience is effectively improved.

Description

Tool display method and device based on structured data
Technical Field
The application relates to the field of internet, in particular to a tool display method and device based on structured data.
Background
Some websites may provide the functionality of structured data editing. Where structured data refers to data in a relational, computable form, structured data may store attribute values rather than indicate that a string is stored.
At present, when a user edits structured data on a webpage, the user experience is poor. Therefore, a solution to solve the above problems is urgently needed.
Disclosure of Invention
The technical problem to be solved by the application is that the experience of editing the structured data on the webpage by a user is poor, and the tool display method and the tool display device based on the structured data are provided.
In a first aspect, an embodiment of the present application provides a tool presentation method based on structured data, where the method includes:
responding to the requirement of a user for editing the structured data, and acquiring a first tool set corresponding to the structured data, wherein the first tool set comprises a plurality of tools;
displaying the first set of tools in a toolbar of a current page.
Optionally, the displaying the tool set in the toolbar of the current page includes:
replacing the first set of tools with a second set of tools displayed on the toolbar.
Optionally, the responding to the requirement of the user to edit the structured data includes:
in response to an editing operation triggered by a user at an input field of the structured data.
Optionally, the responding to the requirement of the user to edit the structured data includes:
and responding to the content displayed in the preset area of the current page as a structured data editing area.
Optionally, displaying the first set of tools in a toolbar of the current page, including:
when a user triggers an editing operation on first structured data, displaying at least one tool corresponding to the first structured data in the first tool set in a first display mode, and displaying other tools except the at least one tool in the first tool set in a second display mode, wherein the first display mode is a display mode corresponding to an operable tool, and the second display mode is a display mode corresponding to an inoperable tool.
Optionally, the first tool set is configured to convert the content input by the user into a structured data store, and the second tool set is configured to perform format adjustment on the content input by the user.
Optionally, the method further includes:
and if the user finishes the editing of the structured data, or the content displayed in the preset area of the current page is not the structured data editing area, replacing the first tool set displayed on the toolbar with the second tool set.
In a second aspect, an embodiment of the present application provides a tool exhibition apparatus based on structured data, the apparatus including:
the system comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for responding to the requirement of a user for editing structured data and acquiring a first tool set corresponding to the structured data, and the first tool set comprises a plurality of tools;
and the display unit is used for displaying the first tool set in a toolbar of the current page.
Optionally, the display unit is configured to:
replacing the first set of tools with a second set of tools displayed on the toolbar.
Optionally, the responding to the requirement of the user to edit the structured data includes:
in response to an editing operation triggered by a user at an input field of the structured data.
Optionally, the responding to the requirement of the user to edit the structured data includes:
and responding to the content displayed in the preset area of the current page as a structured data editing area.
Optionally, the display unit is configured to:
when a user triggers an editing operation on first structured data, displaying at least one tool corresponding to the first structured data in the first tool set in a first display mode, and displaying other tools except the at least one tool in the first tool set in a second display mode, wherein the first display mode is a display mode corresponding to an operable tool, and the second display mode is a display mode corresponding to an inoperable tool.
Optionally, the first tool set is configured to convert the content input by the user into a structured data store, and the second tool set is configured to perform format adjustment on the content input by the user.
Optionally, the apparatus further comprises:
and the replacing unit is used for replacing the first tool set displayed on the toolbar with the second tool set if the user finishes editing the structured data or the content displayed in the preset area of the current page is not the structured data editing area.
In a third aspect, an embodiment of the present application provides a tool presentation device based on structured data, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors includes instructions for:
responding to the requirement of a user for editing the structured data, and acquiring a first tool set corresponding to the structured data, wherein the first tool set comprises a plurality of tools;
displaying the first set of tools in a toolbar of a current page.
Optionally, the displaying the tool set in the toolbar of the current page includes:
replacing the first set of tools with a second set of tools displayed on the toolbar.
Optionally, the responding to the requirement of the user to edit the structured data includes:
in response to an editing operation triggered by a user at an input field of the structured data.
Optionally, the responding to the requirement of the user to edit the structured data includes:
and responding to the content displayed in the preset area of the current page as a structured data editing area.
Optionally, displaying the first set of tools in a toolbar of the current page, including:
when a user triggers an editing operation on first structured data, displaying at least one tool corresponding to the first structured data in the first tool set in a first display mode, and displaying other tools except the at least one tool in the first tool set in a second display mode, wherein the first display mode is a display mode corresponding to an operable tool, and the second display mode is a display mode corresponding to an inoperable tool.
Optionally, the first tool set is configured to convert the content input by the user into a structured data store, and the second tool set is configured to perform format adjustment on the content input by the user.
Optionally, the operations further include:
and if the user finishes the editing of the structured data, or the content displayed in the preset area of the current page is not the structured data editing area, replacing the first tool set displayed on the toolbar with the second tool set.
In a fourth aspect, embodiments of the present application provide a computer-readable medium having stored thereon instructions, which, when executed by one or more processors, cause an apparatus to perform the method for tool presentation based on structured data according to any one of the above first aspects.
Compared with the prior art, the embodiment of the application has the following advantages:
the embodiment of the application provides a tool display method based on structured data, which can be executed by first equipment. In one example, when a user has a need to edit structured data, the first device may obtain, in response to the need, a first tool set corresponding to the structured data, where the first tool set may include tools that may be needed to be used to edit the structured data. After the first tool set is acquired, it is used to select a corresponding tool from the tool bar when the user edits at present. Therefore, in the embodiment of the application, the first tool set can be displayed in the toolbar of the current page, so that a user can select a tool which the user wants to use from the first tool set displayed in the toolbar, and the editing of the structured data is completed. Therefore, the tool display method provided by the embodiment of the application fully considers the editing habit of the user, and therefore the user experience is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a tool presentation method based on structured data according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a tool display device based on structured data according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a client according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The inventor of the present application has studied and found that, currently, when a user edits structured data, a tool corresponding to the structured data is displayed in a floating layer form above an input area currently edited by the user. This means that when the user switches the edit input area, the display area of the tool corresponding to the structured data changes. For example, when the user is editing the structured data "age", the tool corresponding to the structured data is displayed above the input box corresponding to "age", and when the user is editing the structured data "blood type", the tool corresponding to the structured data is displayed above the input box corresponding to "blood type".
However, in general, users are used to select the tools they need to use from the toolbar, so that the user experience is not good when editing structured data on a web page.
In order to solve the above problem, an embodiment of the present application provides a tool display method and apparatus based on structured data.
Various non-limiting embodiments of the present application are described in detail below with reference to the accompanying drawings.
Exemplary method
Referring to fig. 1, the figure is a schematic flowchart of a tool presentation method based on structured data according to an embodiment of the present application.
The method provided by the embodiment of the present application may be performed, for example, by a first device, where the first device mentioned herein includes, but is not limited to, a terminal device and a server. The terminal device mentioned here may be a mobile terminal such as a smart phone or a tablet computer, or may be a terminal device such as a desktop computer.
The method shown in fig. 1 can be implemented, for example, by the following steps S101 to S102.
S101: in response to a requirement of a user for editing structured data, a first tool set corresponding to the structured data is obtained, and the first tool set comprises a plurality of tools.
In some embodiments, the user is provided with a need to edit the structured data in view of when the user triggers an editing operation in the input area of the structured data, indicating that the user is about to or is editing the structured data. Thus, in one example, the response to a user's desire to edit the structured data may be: in response to an editing operation triggered by a user at an input field of the structured data. The first device may determine that the user triggered the editing operation in the input area of the structured data, for example, when determining that the cursor is positioned in the input area of the structured data.
In some embodiments, it is contemplated that the user, while browsing the web page, will generally drag the content currently being browsed to a specific area of the current page, e.g., the middle area of the current web page, as well as the upper area of the current web page. Therefore, when the content displayed in the preset area of the current page is the structured data editing area, the user can be considered to have the requirement for editing the structured data. The preset area mentioned herein may be the aforementioned specific area, and the embodiment of the present application is not particularly limited with respect to the preset area. Thus, in yet another example, the response to a user's desire to edit the structured data can be: and responding to the content displayed in the preset area of the current page as a structured data editing area.
In this embodiment, the first tool set includes a plurality of tools that may be needed to edit the structured data. The tools in the first set of tools are used to convert content input by a user into a structured data store. The tools included in the first set of tools are not specifically limited in the embodiments of the present application. The embodiment of the present application is not described in detail in relation to how to convert the content input by the user into the structured data store.
S102: displaying the first set of tools in a toolbar of a current page.
In the embodiment of the present application, it is considered that currently, when a user performs editing, it is more customary to select a corresponding tool from a toolbar. Therefore, in the embodiment of the application, when the first tool set is displayed, the editing habit of the user is fully considered, and the first tool set is displayed on the toolbar of the current page, so that the user can select a tool which the user wants to use from the first tool set displayed by the toolbar, and the editing of the structured data is completed.
As can be seen from the above description, the tool display method based on structured data provided in the embodiment of the present application fully considers the editing habits of users, so that the user experience can be improved.
In one implementation of the embodiments of the present application, it is contemplated that for the current page, the editor will typically display its preset tools in the toolbar, e.g., display a second set of tools. Wherein the second set of tools is used to format the content entered by the user, e.g. to bold the characters entered by the user. In other words, in one example, the toolbar of the current page may display the second set of tools prior to performing S101-S102. For this case, when the S102 is implemented specifically, there may be a plurality of implementations.
In one implementation, the first set of tools and the second set of tools may be displayed simultaneously.
In yet another implementation, the first set of tools may replace the second set of tools displayed on the toolbar, considering that a user may use tools in the first set of tools when editing structured data. For this case, the first set of tools is displayed on the toolbar of the current page, and the second set of tools is no longer displayed. It can be understood that, compared with the first implementation manner, the second implementation manner has fewer tools displayed on the toolbar, so that the user can select the tool which the user wants to use more conveniently, and the efficiency of editing the structured data by the user is improved.
In embodiments of the present application, it is contemplated that the tools it is capable of operating may differ for different structured data. For example, for structured data A, it can operate tool 1, tool 2, and tool 3 in the first set of tools, and for structured data B, it can operate tool 1, tool 3, and tool 5 in the first set of tools. To further increase the efficiency of a user editing structured data, in one example, actionable tools and non-actionable tools may be displayed in different ways while the user is editing structured data. Specifically, the operable tools may be displayed in a first display manner, and the inoperable tools may be displayed in a second display manner. In other words:
in one example, when a user triggers an editing operation on first structured data, at least one tool corresponding to the first structured data in the first tool set is displayed in a first display mode, and other tools except the at least one tool in the first tool set are displayed in a second display mode.
For example, the following steps are carried out: when the user is editing the structured data A, the tools 1, 2 and 3 in the first tool set are displayed in a first display mode, and other tools in the first tool set are displayed in a second display mode.
The first display mode and the second display mode are not particularly limited in the embodiments of the present application. For example, the first display mode is normal display, and the second display mode is gray scale display.
In one example, to facilitate a user in determining that a tool displayed in the second display manner is inoperable, a prompt such as "inoperable" may be displayed when the user positions a cursor to an area where the tool displayed in the second display manner is located.
In some embodiments, it is contemplated that after the user completes editing the structured data, the tools in the first set of tools need not be reused. In addition, as described above, the content displayed in the preset area of the current page is the structured data editing area, and it can be considered that the user has a need to edit the structured data. On the contrary, if the content displayed in the preset area of the current page is not the structured data editing area, it indicates that the user does not have the requirement for editing the structured data, that is: the user need not reuse tools in the first set of tools.
For this case, if the user edits the structured data, the toolbar of the current page only displays the first set of tools, but does not display the second set of tools. The first tool set displayed on the toolbar may be replaced with the second tool set in the case that the user completes editing of the structured data or the content displayed in the preset area of the current page is not the structured data editing area. In this way, if the user needs to continue editing other data, the tools in the second set of tools can be used to format the content entered by the user.
Exemplary device
Based on the method provided by the above embodiment, the embodiment of the present application further provides an apparatus, which is described below with reference to the accompanying drawings.
Referring to fig. 2, the drawing is a schematic structural diagram of a tool presentation device based on structured data according to an embodiment of the present application. The apparatus 200 may specifically include, for example: an acquisition unit 201 and a display unit 202.
An obtaining unit 201, configured to obtain, in response to a requirement of a user for editing structured data, a first tool set corresponding to the structured data, where the first tool set includes a plurality of tools;
a display unit 202, configured to display the first tool set in a toolbar of a current page.
Optionally, the display unit 202 is configured to:
replacing the first set of tools with a second set of tools displayed on the toolbar.
Optionally, the responding to the requirement of the user to edit the structured data includes:
in response to an editing operation triggered by a user at an input field of the structured data.
Optionally, the responding to the requirement of the user to edit the structured data includes:
and responding to the content displayed in the preset area of the current page as a structured data editing area.
Optionally, the display unit 202 is configured to:
when a user triggers an editing operation on first structured data, displaying at least one tool corresponding to the first structured data in the first tool set in a first display mode, and displaying other tools except the at least one tool in the first tool set in a second display mode, wherein the first display mode is a display mode corresponding to an operable tool, and the second display mode is a display mode corresponding to an inoperable tool.
Optionally, the first tool set is configured to convert the content input by the user into a structured data store, and the second tool set is configured to perform format adjustment on the content input by the user.
Optionally, the apparatus further comprises:
and the replacing unit is used for replacing the first tool set displayed on the toolbar with the second tool set if the user finishes editing the structured data or the content displayed in the preset area of the current page is not the structured data editing area.
Since the apparatus 200 is an apparatus corresponding to the method provided in the above method embodiment, and the specific implementation of each unit of the apparatus 200 is the same as that of the above method embodiment, for the specific implementation of each unit of the apparatus 200, reference may be made to the description part of the above method embodiment, and details are not repeated here.
The method provided by the embodiment of the present application may be executed by a client or a server, and the client and the server that execute the method are described below separately.
Fig. 3 shows a block diagram of a client 300. For example, the client 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 3, client 300 may include one or more of the following components: processing component 302, memory 304, power component 306, multimedia component 308, audio component 310, input/output (I/O) interface 33, sensor component 314, and communication component 316.
The processing component 302 generally controls overall operation of the client 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 302 may include one or more processors 320 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 302 can include one or more modules that facilitate interaction between the processing component 302 and other components. For example, the processing component 302 can include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
The memory 304 is configured to store various types of data to support operations at the client 300. Examples of such data include instructions for any application or method operating on the client 300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 304 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 306 provides power to the various components of the client 300. The power components 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the client 300.
The multimedia component 308 comprises a screen providing an output interface between the client 300 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the client 300 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 310 is configured to output and/or input audio signals. For example, the audio component 310 includes a Microphone (MIC) configured to receive external audio signals when the client 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 304 or transmitted via the communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
The I/O interface provides an interface between the processing component 302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor component 314 includes one or more sensors for providing status assessment of various aspects to client 300. For example, sensor component 314 may detect an open/closed state of device 300, the relative positioning of components, such as a display and keypad of client 300, sensor component 314 may also detect a change in the position of client 300 or a component of client 300, the presence or absence of user contact with client 300, client 300 orientation or acceleration/deceleration, and a change in the temperature of client 300. Sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate communications between the client 300 and other devices in a wired or wireless manner. The client 300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication section 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the client 300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the following methods:
responding to the requirement of a user for editing the structured data, and acquiring a first tool set corresponding to the structured data, wherein the first tool set comprises a plurality of tools;
displaying the first set of tools in a toolbar of a current page.
Optionally, the displaying the tool set in the toolbar of the current page includes:
replacing the first set of tools with a second set of tools displayed on the toolbar.
Optionally, the responding to the requirement of the user to edit the structured data includes:
in response to an editing operation triggered by a user at an input field of the structured data.
Optionally, the responding to the requirement of the user to edit the structured data includes:
and responding to the content displayed in the preset area of the current page as a structured data editing area.
Optionally, displaying the first set of tools in a toolbar of the current page, including:
when a user triggers an editing operation on first structured data, displaying at least one tool corresponding to the first structured data in the first tool set in a first display mode, and displaying other tools except the at least one tool in the first tool set in a second display mode, wherein the first display mode is a display mode corresponding to an operable tool, and the second display mode is a display mode corresponding to an inoperable tool.
Optionally, the first tool set is configured to convert the content input by the user into a structured data store, and the second tool set is configured to perform format adjustment on the content input by the user.
Optionally, the method further includes:
and if the user finishes the editing of the structured data, or the content displayed in the preset area of the current page is not the structured data editing area, replacing the first tool set displayed on the toolbar with the second tool set.
Fig. 4 is a schematic structural diagram of a server in an embodiment of the present application. The server 400 may vary significantly due to configuration or performance, and may include one or more Central Processing Units (CPUs) 422 (e.g., one or more processors) and memory 432, one or more storage media 430 (e.g., one or more mass storage devices) storing applications 442 or data 444. Wherein the memory 432 and storage medium 430 may be transient or persistent storage. The program stored on the storage medium 430 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 422 may be arranged to communicate with the storage medium 430, and execute a series of instruction operations in the storage medium 430 on the server 400.
Still further, the central processor 422 may perform the following method:
responding to the requirement of a user for editing the structured data, and acquiring a first tool set corresponding to the structured data, wherein the first tool set comprises a plurality of tools;
displaying the first set of tools in a toolbar of a current page.
Optionally, the displaying the tool set in the toolbar of the current page includes:
replacing the first set of tools with a second set of tools displayed on the toolbar.
Optionally, the responding to the requirement of the user to edit the structured data includes:
in response to an editing operation triggered by a user at an input field of the structured data.
Optionally, the responding to the requirement of the user to edit the structured data includes:
and responding to the content displayed in the preset area of the current page as a structured data editing area.
Optionally, displaying the first set of tools in a toolbar of the current page, including:
when a user triggers an editing operation on first structured data, displaying at least one tool corresponding to the first structured data in the first tool set in a first display mode, and displaying other tools except the at least one tool in the first tool set in a second display mode, wherein the first display mode is a display mode corresponding to an operable tool, and the second display mode is a display mode corresponding to an inoperable tool.
Optionally, the first tool set is configured to convert the content input by the user into a structured data store, and the second tool set is configured to perform format adjustment on the content input by the user.
Optionally, the method further includes:
and if the user finishes the editing of the structured data, or the content displayed in the preset area of the current page is not the structured data editing area, replacing the first tool set displayed on the toolbar with the second tool set.
The server 400 may also include one or more power supplies 426, one or more wired or wireless network interfaces 450, one or more input-output interfaces 456, one or more keyboards 456, and/or one or more operating systems 441, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
Embodiments of the present application also provide a computer-readable medium having stored thereon instructions that, when executed by one or more processors, cause an apparatus to perform a method of:
responding to the requirement of a user for editing the structured data, and acquiring a first tool set corresponding to the structured data, wherein the first tool set comprises a plurality of tools;
displaying the first set of tools in a toolbar of a current page.
Optionally, the displaying the tool set in the toolbar of the current page includes:
replacing the first set of tools with a second set of tools displayed on the toolbar.
Optionally, the responding to the requirement of the user to edit the structured data includes:
in response to an editing operation triggered by a user at an input field of the structured data.
Optionally, the responding to the requirement of the user to edit the structured data includes:
and responding to the content displayed in the preset area of the current page as a structured data editing area.
Optionally, displaying the first set of tools in a toolbar of the current page, including:
when a user triggers an editing operation on first structured data, displaying at least one tool corresponding to the first structured data in the first tool set in a first display mode, and displaying other tools except the at least one tool in the first tool set in a second display mode, wherein the first display mode is a display mode corresponding to an operable tool, and the second display mode is a display mode corresponding to an inoperable tool.
Optionally, the first tool set is configured to convert the content input by the user into a structured data store, and the second tool set is configured to perform format adjustment on the content input by the user.
Optionally, the method further includes:
and if the user finishes the editing of the structured data, or the content displayed in the preset area of the current page is not the structured data editing area, replacing the first tool set displayed on the toolbar with the second tool set.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A tool presentation method based on structured data is characterized by comprising the following steps:
responding to the requirement of a user for editing the structured data, and acquiring a first tool set corresponding to the structured data, wherein the first tool set comprises a plurality of tools;
displaying the first set of tools in a toolbar of a current page.
2. The method of claim 1, wherein displaying the tool set in a toolbar of a current page comprises:
replacing the first set of tools with a second set of tools displayed on the toolbar.
3. The method of claim 1, wherein responding to a user's need to edit structured data comprises:
in response to an editing operation triggered by a user at an input field of the structured data.
4. The method of claim 1, wherein responding to a user's need to edit structured data comprises:
and responding to the content displayed in the preset area of the current page as a structured data editing area.
5. The method of claim 1, wherein displaying the first set of tools in a toolbar of a current page comprises:
when a user triggers an editing operation on first structured data, displaying at least one tool corresponding to the first structured data in the first tool set in a first display mode, and displaying other tools except the at least one tool in the first tool set in a second display mode, wherein the first display mode is a display mode corresponding to an operable tool, and the second display mode is a display mode corresponding to an inoperable tool.
6. The method of claim 2, wherein the first set of tools is configured to convert user-entered content into a structured data store, and wherein the second set of tools is configured to format user-entered content.
7. The method of claim 2, further comprising:
and if the user finishes the editing of the structured data, or the content displayed in the preset area of the current page is not the structured data editing area, replacing the first tool set displayed on the toolbar with the second tool set.
8. A tool presentation device based on structured data, the device comprising:
the system comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for responding to the requirement of a user for editing structured data and acquiring a first tool set corresponding to the structured data, and the first tool set comprises a plurality of tools;
and the display unit is used for displaying the first tool set in a toolbar of the current page.
9. The apparatus of claim 8, wherein the display unit is configured to:
replacing the first set of tools with a second set of tools displayed on the toolbar.
10. The apparatus of claim 8, wherein the responding to a user's desire to edit structured data comprises:
in response to an editing operation triggered by a user at an input field of the structured data.
11. The apparatus of claim 8, wherein the responding to a user's desire to edit structured data comprises:
and responding to the content displayed in the preset area of the current page as a structured data editing area.
12. The apparatus of claim 8, wherein the display unit is configured to:
when a user triggers an editing operation on first structured data, displaying at least one tool corresponding to the first structured data in the first tool set in a first display mode, and displaying other tools except the at least one tool in the first tool set in a second display mode, wherein the first display mode is a display mode corresponding to an operable tool, and the second display mode is a display mode corresponding to an inoperable tool.
13. The apparatus of claim 9, further comprising:
and the replacing unit is used for replacing the first tool set displayed on the toolbar with the second tool set if the user finishes editing the structured data or the content displayed in the preset area of the current page is not the structured data editing area.
14. A tool showing apparatus based on structured data, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors comprise a tool showing method based on structured data according to any one of claims 1 to 7.
15. A computer-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform the method for structured data based tool presentation of any one of claims 1 to 7.
CN202111138655.1A 2021-09-27 2021-09-27 Tool display method and device based on structured data Pending CN113687903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111138655.1A CN113687903A (en) 2021-09-27 2021-09-27 Tool display method and device based on structured data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111138655.1A CN113687903A (en) 2021-09-27 2021-09-27 Tool display method and device based on structured data

Publications (1)

Publication Number Publication Date
CN113687903A true CN113687903A (en) 2021-11-23

Family

ID=78587384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111138655.1A Pending CN113687903A (en) 2021-09-27 2021-09-27 Tool display method and device based on structured data

Country Status (1)

Country Link
CN (1) CN113687903A (en)

Similar Documents

Publication Publication Date Title
CN107153541B (en) Browsing interaction processing method and device
EP3454192B1 (en) Method and device for displaying page
CN105955607B (en) Content sharing method and device
US11086482B2 (en) Method and device for displaying history pages in application program and computer-readable medium
US10509540B2 (en) Method and device for displaying a message
EP3128411B1 (en) Interface display method, terminal, computer program and recording medium
US9661132B2 (en) Method, apparatus, and storage medium for displaying a conversation interface
US20160210726A1 (en) Method and device for adjusting page display
CN108804179B (en) Method, device, terminal and storage medium for displaying notification bar message
CN110704053B (en) Style information processing method and device
US20150116368A1 (en) Method and device for adjusting characters of application
JP2016524763A (en) Tag creation method, apparatus, terminal, program, and recording medium
CN106504295B (en) Method and device for rendering picture
US11367232B2 (en) Method and device for generating stickers
CN110968364A (en) Method and device for adding shortcut plug-in and intelligent equipment
CN113238752A (en) Code generation method and device, electronic equipment and storage medium
CN107729098B (en) User interface display method and device
CN112199552B (en) Video image display method and device, electronic equipment and storage medium
CN105260088B (en) Information classification display processing method and device
CN108829473B (en) Event response method, device and storage medium
CN107885571B (en) Display page control method and device
CN111092971A (en) Display method and device for displaying
EP3185515A1 (en) Method and device for inputting information
CN113687903A (en) Tool display method and device based on structured data
CN110008135B (en) Information processing method and device and electronic equipment

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