CN114995699A - Interface interaction method and device - Google Patents

Interface interaction method and device Download PDF

Info

Publication number
CN114995699A
CN114995699A CN202210693336.5A CN202210693336A CN114995699A CN 114995699 A CN114995699 A CN 114995699A CN 202210693336 A CN202210693336 A CN 202210693336A CN 114995699 A CN114995699 A CN 114995699A
Authority
CN
China
Prior art keywords
text
target text
user
target
segment
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.)
Granted
Application number
CN202210693336.5A
Other languages
Chinese (zh)
Other versions
CN114995699B (en
Inventor
杨罡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lazas Network Technology Shanghai Co Ltd
Original Assignee
Lazas Network Technology Shanghai 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 Lazas Network Technology Shanghai Co Ltd filed Critical Lazas Network Technology Shanghai Co Ltd
Priority to CN202210693336.5A priority Critical patent/CN114995699B/en
Publication of CN114995699A publication Critical patent/CN114995699A/en
Application granted granted Critical
Publication of CN114995699B publication Critical patent/CN114995699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The specification provides an interface interaction method and device, and the method comprises the following steps: the method comprises the steps that a target text is segmented into a plurality of text segments in response to a locking operation which is triggered by a user in a background editing interface and aims at the target text; wherein the target text comprises editable text displayed in the foreground; the locking operation is used for closing the text editing permission of at least part of text segments in the target text when the target text is displayed in the foreground; acquiring at least one target text fragment to be locked, which is selected from the text fragments by the user; and submitting the target text and at least one target text segment selected by the user to a server, so that the server closes the text editing permission of the target text segment when the target text is displayed in the foreground.

Description

Interface interaction method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an interface interaction method and apparatus.
Background
With the development of internet technology, internet products such as APPs (applications), websites and the like can provide more and more abundant functions for users. Generally, a user can interact with a user interface of an APP or a website, so that the APP or the website can provide corresponding functions for the user according to the interaction behavior of the user and the user interface; for example, a pull-down menu for selecting a specific content may be output in the user interface, and the user may select a desired content by interacting with the pull-down menu.
Accordingly, developers are often required to design a large number of user interfaces. However, if each user interface is designed separately, not only is the workload great, but also the problem that the user interface is not uniform and not beautiful enough may occur. Therefore, the design process of the user interface is generally divided into a template design process and a template editing process, wherein a background administrator designs a user interface template containing editable elements, and a foreground user edits the editable elements in the user interface template, so that the edited user interface template can be used as a user interface finally displayed to the user.
Disclosure of Invention
One or more embodiments of the present disclosure provide the following:
according to a first aspect of embodiments of the present specification, an interface interaction method is disclosed, including:
the method comprises the steps of responding to locking operation aiming at a target text triggered by a user in a background editing interface, and dividing the target text into a plurality of text segments; wherein the target text comprises editable text displayed in the foreground; the locking operation is used for closing the text editing permission of at least part of text segments in the target text when the target text is displayed in the foreground;
acquiring at least one target text segment to be locked selected from the text segments by the user;
and submitting the target text and at least one target text segment selected by the user to a server, so that the server closes the text editing permission of the target text segment when the target text is displayed in the foreground.
According to a second aspect of embodiments of the present specification, there is disclosed an interface interaction apparatus, comprising:
the segmentation unit is used for responding to locking operation aiming at a target text triggered in a background editing interface by a user, and segmenting the target text into a plurality of text segments; wherein the target text comprises editable text displayed in the foreground; the locking operation is used for closing the text editing permission of at least part of text segments in the target text when the target text is displayed in the foreground;
the selection unit is used for acquiring at least one target text segment to be locked, which is selected from the text segments by the user;
and the submitting unit is used for submitting the target text and at least one target text segment selected by the user to a server so that the server closes the text editing permission of the target text segment when the target text is displayed in a foreground.
According to a third aspect of the present specification, there is provided an electronic apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor implements the steps of the method as described in any one of the above by executing the executable instructions.
According to a fourth aspect of the present description, a computer-readable storage medium is presented, having stored thereon computer instructions which, when executed by a processor, implement the steps of the method as defined in any one of the above.
In the technical scheme, for any editable text displayed in the foreground, the locking operation for the editable text can be triggered in a background editing interface by a user, so that the editable text is divided into a plurality of text segments, and then the text segment to be locked is selected from the plurality of text segments by the user, so that after the editable text and the text segment to be locked are submitted to the server, the text editing permission of the text segment to be locked when the editable text is displayed in the foreground can be closed by the server.
Through the interface interaction mode, the text segment to be locked can be selected from the text segments obtained by segmenting the editable text, and the text editing permission of the text segment to be locked when the editable text is displayed in the foreground is closed, so that the text editing permission of a part of text in the editable text displayed in the foreground can be selectively opened, and the text editing permission of the editable text can be accurately managed according to actual requirements.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present specification and together with the description, serve to explain the principles of the specification.
FIG. 1 is a flow chart of a method of interface interaction shown in an exemplary embodiment of the present description;
FIG. 2 is a diagram of a back editing interface, shown in an exemplary embodiment of the present description;
FIG. 3 is a schematic diagram of another backstage editing interface shown in an exemplary embodiment of the present specification;
FIG. 4 is a schematic diagram of a text passage selection interface shown in an exemplary embodiment of the present description;
FIG. 5 is a schematic diagram of another text passage selection interface shown in an exemplary embodiment of the present description;
FIG. 6 is a diagram of another background editing interface shown in an exemplary embodiment of the present description;
FIG. 7 is a diagram illustrating a foreground presentation effect in accordance with an exemplary embodiment of the present description;
FIG. 8 is a schematic diagram of an apparatus shown in an exemplary embodiment of the present description;
fig. 9 is a block diagram of an interface interaction device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of one or more embodiments of the specification, as detailed in the claims that follow.
It should be noted that: in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps for description in other embodiments; multiple steps described in this specification may be combined into a single step in other embodiments.
With the development of the internet, developers are often required to design a large number of user interfaces. However, if each user interface is designed separately, not only is the workload great, but also the problem that the user interface is not uniform and not beautiful enough may occur. Therefore, the design process of the user interface is generally divided into a template design process and a template editing process, wherein a background administrator designs a user interface template containing editable elements, and a foreground user edits the editable elements in the user interface template, so that the edited user interface template can be used as a user interface finally displayed to the user.
In order to ensure the uniformity of the user interface in the display effect, a background administrator usually sets the sizes (e.g., the number of characters of a text, the size of a picture, etc.), the number, the positions, etc. of elements such as a text and a picture that need to be displayed in the user interface in a user interface template, and uses the elements as editable elements themselves, and opens the editing authority of the editable elements to a foreground user, so that the foreground user can edit the contents of the editable elements, for example: modifying characters and formats of text, replacing pictures, etc.
In the related art, for any editable element, the editing authority corresponds to the whole editable element. In this case, the background administrator can only open the entire editing authority of the editable element to the foreground user, so that the foreground user can modify the editable element arbitrarily.
For example, assuming that the editable element is a text "the price of shirt is 15 yuan", the background administrator can only open the entire editing authority of the text to the foreground user, so that the foreground user can arbitrarily modify the characters in the text.
However, in order to avoid the unreasonable editing of the editable elements by the foreground user and to reduce the workload of the foreground user, the background administrator usually wants to selectively open the editing authority of a part of the contents in the editable elements to the foreground user, so that the foreground user can modify a part of the contents in the editable elements but cannot modify other contents in the editable elements.
Continuing with the text "shirt price is 15 yuan" as an example, the backend administrator only wants the foreground personnel to modify "15", but not "shirt price is" yuan ".
Based on this, the present specification provides a technical solution for interface interaction, and for any editable text displayed in a foreground, a user may first trigger a locking operation on the editable text in a background editing interface, so that the editable text is divided into a plurality of text segments, and then the user selects a text segment to be locked from the plurality of text segments, so that after submitting the editable text and the text segment to be locked to a server, the server closes a text editing permission of the text segment to be locked when the editable text is displayed in the foreground.
In specific implementation, the user interface template displayed in the foreground can be displayed in the background editing interface. The user interface template may include a plurality of editable texts editable by a foreground user when presented in the foreground. For any editable text, a user serving as a background administrator can set the text editing permission of the text segment in the editable text in the background editing interface; at this time, the editable text may be referred to as target text.
When the user sets the text editing permission of the text segment in the target text in the background editing interface, specifically, a locking operation may be triggered in the background editing interface for the target text, so that the electronic device may divide the target text into a plurality of text segments in response to the locking operation.
The user can select at least one text segment to be locked from the text segments according to the actual text locking requirement; at this time, the text segment may be referred to as a target text segment. The electronic device can acquire at least one target text segment to be locked.
After the user selects the target text segment to be locked, the electronic device may submit the target text and at least one target text segment to the server. Accordingly, the server can close the text editing authority of the at least one target text segment when the target text is displayed in the foreground.
Through the interface interaction mode, the text segment to be locked can be selected from the text segments obtained by segmenting the editable text, and the text editing permission of the text segment to be locked when the editable text is displayed in the foreground is closed, so that the text editing permission of a part of text in the editable text displayed in the foreground can be selectively opened, and the text editing permission of the editable text can be accurately managed according to actual requirements.
The following is described in detail by using specific embodiments and in conjunction with specific application scenarios.
Referring to fig. 1, fig. 1 is a flowchart illustrating an interface interaction method according to an exemplary embodiment of the present disclosure.
In this embodiment, the interface interaction method may be applied to an electronic device that a user can use, for example: mobile phones, tablet devices, notebook computers, Personal Digital Assistants (PDAs), wearable devices (such as smart glasses, smart watches, etc.), and the like. The electronic equipment can be accessed to the server side through various types of wired or wireless networks. The server can run on a server; the server may be a physical server including an independent host, or a virtual server, a cloud server, etc. carried by a host cluster.
The user may specifically be the background administrator.
The electronic device can output a background editing interface to the user. The background editing interface can be a user interface for designing a user interface template; that is, the user can design a user interface template through the backstage editing interface, for example: and setting elements in the user interface template, and setting the editing authority of each element. Correspondingly, when the user interface template is displayed in the foreground, the foreground user can edit the editable elements with the editing authority opened in the user interface template.
In practical applications, after the user completes the design of the user interface template, the electronic device may send the user interface template to the server, and the server sends the user interface template to the foreground for display. In this case, the server may manage the editing right of each editable element in the user interface template when being displayed in the foreground, that is, maintain the state of the editing right of each editable element when being displayed in the foreground.
Referring to fig. 2, fig. 2 is a schematic diagram of a background editing interface according to an exemplary embodiment of the present disclosure.
In the background editing interface shown in fig. 2, a user interface template displayed in the foreground may be displayed. The user interface template may include multiple types of elements; such as text element 1, text element 2, picture element 1, picture element 2, etc. These elements may all be editable elements that are exposed in the foreground.
When the user selects any element in the user interface template, the element setting interface corresponding to the element can be entered, and the element is further set through the element setting interface. Taking the text element 1 as an example, when the user selects the text element 1, the user can enter an element setting interface corresponding to the text element 1, and further set the text element 1 through the element setting interface; for example, setting a tag of the text element 1, setting a lock of the text element 1, setting a maximum length of the text in the text element 1, setting a text style of the text in the text element 1, and the like.
It should be noted that, in the element setting interface, in addition to the setting options corresponding to the setting functions, setting options corresponding to other setting functions may also be included, for example: the size of the characters, the distance between the characters, etc. are set, which is not limited in this specification.
The interface interaction method can comprise the following steps:
step 102, in response to a locking operation which is triggered in a background editing interface and aims at a target text by a user, dividing the target text into a plurality of text segments; wherein the target text comprises editable text displayed in the foreground; and the locking operation is used for closing the text editing permission of at least part of text segments in the target text when the target text is displayed in the foreground.
In this embodiment, the user interface template displayed in the foreground may be displayed in the background editing interface. The user interface template may include a plurality of editable texts editable by a foreground user when presented in the foreground. For any editable text, the user can set the text editing permission of the text segment in the editable text in the background editing interface; at this time, the editable text may be referred to as target text.
The target text may be an original text in the user interface template, or may be a text re-entered by the user, which is not limited in this specification.
Taking the electronic device as an example, when the user sets the text editing permission of the text segment in the target text in the background editing interface, specifically, a locking operation may be triggered in the background editing interface for the target text, so that the electronic device may divide the target text into a plurality of text segments in response to the locking operation.
The specific form of the locking operation may be a click operation, a double click operation, a long press operation, a drag operation, or the like, which is not limited in this specification.
Specifically, in one embodiment shown, the electronic device may perform single-character text segmentation on the target text according to a corresponding single-character text segmentation algorithm, and segment the target text into a plurality of single-character texts. Wherein each single-character text can be used as a text fragment. For example, assume that the target text is "this is a text element. After the target text is subjected to single-character segmentation, the target text can be segmented into "this", "is", "one", "text", "element", and "single". ", for a total of 9 text segments.
In another illustrated embodiment, the electronic device may perform text word segmentation on the target text according to a corresponding text word segmentation algorithm, and divide the target text into a plurality of text words. Wherein each text participle can be used as a text fragment. For example, assume that the target text is "this is a text element. After the word segmentation processing is performed on the target text, the target text can be segmented into "this is", "one", "text", "element", "and". ", for a total of 6 text segments.
In addition, the electronic device may further divide the target text into words or single characters in a specific form according to user settings, which is not limited in this specification.
It should be noted that the locking operation may be used to close the text editing permission of at least part of the text segments in the target text when the target text is displayed in the foreground. For the text segments with the closed text editing authority, the foreground user can not edit the text segments any more; for the text segments with the text editing permission not closed, the foreground user can continue to edit the text segments.
For example, assume that the target text is "this is a text element. "and the target text is divided into" this "," yes "," one "," text "," element ", and" by single character division. "these 9 text segments; further assume that "this", "yes", "element", "elemental", "off" is turned off. The text editing authority of the 5 text segments means that the foreground user can not edit the 5 text segments any more, and can continue to edit the 4 text segments of the 'one', 'text' and 'text'.
In an illustrated embodiment, the background editing interface may further include an interaction identifier; the interactive identifier may be used to trigger a text editing permission for closing at least part of text segments in the target text when the target text is displayed in the foreground.
The specific form of the interactive identifier may be a lock icon capable of giving a user an intuitive feeling, or other icons or characters set by the user in a user-defined manner, which is not limited in this specification.
In this case, the locking operation may include a triggering operation of the user for the interaction identifier; that is, the target text locking operation triggered in the background editing interface by the user may specifically be a triggering operation for the interaction identifier. Correspondingly, the electronic device may segment the target text into a plurality of text segments in response to a triggering operation for the interaction identifier, which is triggered by the user in the background editing interface.
The specific form of the trigger operation for the interactive identifier may be an operation of clicking the interactive identifier, an operation of double-clicking the interactive identifier, an operation of long-pressing the interactive identifier, or an operation of dragging the interactive identifier, which is not limited in this specification.
Referring to fig. 3, fig. 3 is a schematic diagram of another background editing interface according to an exemplary embodiment of the present disclosure.
In the background editing interface shown in fig. 3, a user interface template displayed in the foreground may be displayed. The user interface template may include a text element 1 as an editable element to be presented in the foreground.
When the user selects the text element 1, the element setting interface corresponding to the text element 1 can be entered. In the element setting interface, a text locking setting option for locking and setting the text of the character element 1 can be output, and an interactive identifier corresponding to the character element 1 is output at a position corresponding to the text locking setting option; such as the lock icon shown in fig. 3. The user can directly click the locking icon to trigger the locking setting of the text element 1, namely, the text editing permission of at least part of text segments in the text is triggered to close when the text of the text element 1 is displayed in the foreground.
And 104, acquiring at least one target text segment to be locked, which is selected from the text segments by the user.
In this embodiment, the electronic device may divide the target text into a plurality of text segments, and the user may select at least one text segment to be locked from the plurality of text segments according to an actual text locking requirement; at this time, the text segment may be referred to as a target text segment. The electronic device can acquire at least one target text segment to be locked.
Specifically, the electronic device may display the text segments to the user through the background editing interface. And the user can select at least one target text segment to be locked from the plurality of text segments according to the actual text locking requirement through the background editing interface, so that the electronic equipment can acquire the at least one target text segment to be locked.
In practical application, a plurality of text segments obtained by segmenting the target text can be output in the background editing interface in the forms of entries, linked lists, pictures and the like so that a user can view the text segments, and at least one target text segment to be locked is selected from the text segments; or, the text segments can be output in the background editing interface in other modes which can be viewed and selected by the user; this is not a limitation of the present specification.
In an embodiment shown, the electronic device may, in response to the locking operation, segment the target text into a plurality of text segments, and jump to a user interface for selecting a text segment to be locked, so as to output the text segments in the user interface; at this time, the user interface may be referred to as a text fragment selection interface. And the user can select at least one target text segment to be locked from the plurality of text segments through the text segment selection interface.
In this case, the electronic device may acquire at least one target text fragment to be locked, which is selected by the user in the text fragment selection interface.
In practical application, in the text segment selection interface, a selection box corresponding to a text segment can be output at a position corresponding to the text segment; in this embodiment, the position corresponding to any text segment is, for example, the left side or the right side of the text segment, or another position capable of uniquely representing the text segment, which is not limited in this specification. The user can select the text segment as the target text segment to be locked by checking the selection box.
Referring to fig. 4, fig. 4 is a schematic diagram of a text fragment selection interface according to an exemplary embodiment of the present disclosure.
As shown in fig. 3, when the user selects text element 1, an element setting interface corresponding to text element 1 may be entered. In the element setting interface, the user can re-edit the text element 1 to "this is a text element. And executing a trigger operation aiming at the interactive identification corresponding to the character element 1. Accordingly, the electronic device may divide the text of the text element 1 into text segments in response to the trigger operation.
Taking the above-mentioned way of single-character text segmentation as an example, "this may be one text element. "split into" this "," is "," one "," text "," element ". "these 9 text pieces, and pop up the text piece selection interface as shown in fig. 4. In the text segment selection interface, the segmented "this", "yes", "one", "text", "element" and "can be displayed. "these 9 text segments, and on the left side of each text segment, a selection box corresponding to the text segment for the user to select the text segment is output. The user can select the text segment as a target text segment to be locked in a mode of checking the selection box; for example, in the text segment selection interface shown in fig. 4, the user selects 4 text segments of "this", "one", "element" as the target text segments to be locked.
Referring to fig. 5, fig. 5 is a schematic diagram of another text fragment selection interface according to an exemplary embodiment of the present disclosure.
As shown in fig. 3, when the user selects text element 1, an element setting interface corresponding to text element 1 may be entered. In the element setting interface, the user can re-edit the text element 1 to "this is a text element. And executing a trigger operation aiming at the interactive identification corresponding to the character element 1. Accordingly, the electronic device may divide the text of the text element 1 into text segments in response to the trigger operation.
Taking the above text word segmentation processing manner as an example, it may be possible to use "this is one text element. "split into" this is "one", "text", "element". "these 6 text pieces, and pop up the text piece selection interface as shown in fig. 5. In the text segment selection interface, segmented "this is", "one", "text", "element" may be displayed. "these 6 text segments, and on the left side of each text segment, a selection box corresponding to the text segment for the user to select the text segment is output. The user can select the text segment as a target text segment to be locked in a mode of checking the selection box; for example, in the text segment selection interface shown in fig. 5, the user selects 3 text segments of "this is", "one", and "element" as the target text segment to be locked.
Step 106, submitting the target text and at least one target text segment selected by the user to a server, so that the server closes the text editing permission of the target text segment when the target text is displayed in a foreground.
In this embodiment, after the user selects a target text segment to be locked, the electronic device may submit the target text and at least one target text segment to the server. Accordingly, the server may close the text editing right of the at least one target text segment when the target text is displayed in the foreground, that is, switch the maintained text editing right of the at least one target text segment when displayed in the foreground to a closed state.
In an embodiment shown, after the user selects a target text segment to be locked, before submitting the target text and the text segment to be locked to the server, the target text segment to be locked and other text segments except the target text segment may be respectively switched to different presentation modes. The display mode may be a font color, a font size, a font style, and the like for the user to distinguish, which is not limited in this specification.
Referring to fig. 6, fig. 6 is a schematic diagram of another background editing interface according to an exemplary embodiment of the present disclosure.
In the background editing interface shown in fig. 6, a user interface template presented in the foreground may be presented. The user interface template may include a text element 1 as an editable element presented in the foreground.
When the user selects the text element 1, the element setting interface corresponding to the text element 1 can be entered. In the element setting interface, the user can re-edit the text element 1 to "this is a text element. And executing a trigger operation aiming at the interactive identification corresponding to the character element 1. Accordingly, the electronic device may divide the text of the text element 1 into text segments in response to the trigger operation.
Suppose that "this of the text element 1 is one text element. "this text is divided into" this "," is "," one "," text "," element ". "these 9 text segments, and assuming that the user selects 4 text segments of" this "," meta ", and" prime "as the target text segment to be locked, in the background editing interface shown in fig. 6, the font colors of the 4 text segments of" this "," meta ", and" prime "shown may be switched to black, and" yes "," one "," text "," this ", and" shown may be switched. "the font color of these 5 text segments is switched to gray and the text is displayed in the text lock setting option in the element setting interface, so that the user can make clear which text segments are the ones that are selected to be locked and which are the ones that are not selected to be locked.
In an embodiment shown in the foregoing, the user may further preview, through the background editing interface, a display effect of the target text when the target text is displayed in the foreground after closing the text editing segment of the at least one target text segment when the target text is displayed in the foreground.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating a foreground displaying effect according to an exemplary embodiment of the present disclosure.
Suppose that "this is a text element that is to be an editable element presented in the foreground. "this text is divided into" this "," is "," one "," text "," element ". The 9 text segments are assumed, and the user selects the 4 text segments of "this", "element" and "element" as the target text segment to be locked, the text and the 4 text segments can be submitted to the server, and the server closes the text editing authority of the 4 text segments when the text is displayed in the foreground. As shown in fig. 7, when the text is displayed in the foreground, the foreground user cannot edit the 4 text segments of "this", "one", "element", and "element", but only edits other text segments in the blank portion.
In the above technical solution, for any editable text displayed in the foreground, a user may first trigger a locking operation for the editable text in a background editing interface, so that the editable text is divided into a plurality of text segments, and then the user selects a text segment to be locked from the text segments, so that after submitting the editable text and the text segment to be locked to a server, the server may close the text editing permission of the text segment to be locked when the editable text is displayed in the foreground.
Through the interface interaction mode, the text segment to be locked can be selected from the text segments obtained by segmenting the editable text, and the text editing permission of the text segment to be locked when the editable text is displayed in the foreground is closed, so that the text editing permission of a part of text in the editable text displayed in the foreground can be selectively opened, and the text editing permission of the editable text can be accurately managed according to actual requirements.
In an exemplary embodiment of the present specification, there is also provided an apparatus capable of implementing the above method.
Fig. 8 is a schematic diagram of a device according to an exemplary embodiment of the present disclosure. Referring to fig. 8, at the hardware level, the apparatus includes a processor 802, an internal bus 804, a network interface 806, a memory 808, and a non-volatile memory 810, although it may include hardware required for other tasks. One or more embodiments of the present description can be implemented based on software, such as the processor 802 reading a corresponding computer program from the non-volatile storage 810 into the memory 809 and then running the computer program. Of course, besides software implementation, the one or more embodiments in this specification do not exclude other implementations, such as logic devices or combinations of software and hardware, and so on, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
Fig. 9 is a block diagram of an interface interaction device according to an exemplary embodiment of the present disclosure. Referring to fig. 9, the interface interaction apparatus may be applied to the device shown in fig. 8 to implement the technical solution of the present specification. Wherein, the interface interaction device may include:
a dividing unit 901, configured to divide a target text into a plurality of text segments in response to a locking operation for the target text triggered by a user in a background editing interface; wherein the target text comprises editable text displayed in the foreground; the locking operation is used for closing the text editing permission of at least part of text segments in the target text when the target text is displayed in the foreground;
a selecting unit 902, configured to obtain at least one target text segment to be locked, which is selected by the user from the text segments;
a submitting unit 903, configured to submit the target text and the at least one target text segment selected by the user to a server, so that the server closes a text editing permission of the target text segment when the target text is displayed in a foreground.
Optionally, the selecting unit 902 is specifically configured to:
skipping to a text segment selection interface, and outputting the text segments on the text segment selection interface;
and acquiring at least one target text segment to be locked selected in the text segment selection interface by the user.
Optionally, the background editing interface further includes an interaction identifier for triggering to close the text editing permission; the locking operation comprises a triggering operation of the user for the interaction identifier;
the segmentation unit 901 is specifically configured to:
and in response to a triggering operation for the interaction identifier, which is triggered by a user in a background editing interface, the target text is segmented into a plurality of text segments.
Optionally, the text segments are single-character texts;
the segmentation unit 901 is specifically configured to:
and carrying out single-character text segmentation on the target text so as to segment the target text into a plurality of single-character texts.
Optionally, the text segments are text participles;
the segmentation unit 901 is specifically configured to:
and performing text word segmentation processing on the target text to segment the target text into text words.
Optionally, the apparatus further comprises:
a display unit 904, configured to switch text segments included in the target text and text segments other than the target text segment into different display modes before submitting the target text and the at least one target text segment selected by the user to a server.
Optionally, the display unit 904 is specifically configured to:
and respectively switching the target text segment contained in the target text and other text segments except the target text segment into different character colors.
The implementation process of the functions and actions of each unit in the above device is detailed in the implementation process of the corresponding steps in the above method, and is not described again here.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission medium, that may be used to store information that may be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in one or more embodiments of the present description to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of one or more embodiments herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.

Claims (10)

1. An interface interaction method, the method comprising:
the method comprises the steps of responding to locking operation aiming at a target text triggered by a user in a background editing interface, and dividing the target text into a plurality of text segments; wherein the target text comprises editable text displayed in the foreground; the locking operation is used for closing the text editing permission of at least part of text segments in the target text when the target text is displayed in the foreground;
acquiring at least one target text segment to be locked selected from the text segments by the user;
and submitting the target text and at least one target text segment selected by the user to a server, so that the server closes the text editing permission of the target text segment when the target text is displayed in the foreground.
2. The method of claim 1, wherein the obtaining at least one target text segment to be locked selected by the user from the text segments comprises:
skipping to a text segment selection interface, and outputting the text segments on the text segment selection interface;
and acquiring at least one target text segment to be locked selected in the text segment selection interface by the user.
3. The method of claim 1, wherein the backstage editing interface further comprises an interaction identifier for triggering closing of the text editing right; the locking operation comprises a triggering operation of the user for the interaction identifier;
the step of segmenting the target text into a plurality of text segments in response to a locking operation for the target text triggered by a user in a background editing interface comprises the following steps:
and in response to a triggering operation, triggered in a background editing interface by a user, aiming at the interaction identifier, the target text is divided into a plurality of text segments.
4. The method of claim 1, wherein the text segments are single-character text;
the segmenting the target text into a plurality of text segments includes:
and carrying out single-character text segmentation on the target text so as to segment the target text into a plurality of single-character texts.
5. The method of claim 1, wherein the text segments are text segments;
the segmenting the target text into a plurality of text segments includes:
and performing text word segmentation processing on the target text to segment the target text into text words.
6. The method of claim 1, wherein before the submitting the target text and the at least one target text segment selected by the user to a server, the method further comprises:
and respectively switching the text segments contained in the target text and other text segments except the target text segments into different display modes.
7. The method according to claim 6, wherein the switching of the text segment included in the target text and the text segments other than the target text segment into different presentation modes respectively comprises:
and respectively switching the target text segment contained in the target text and other text segments except the target text segment into different character colors.
8. An interface interaction apparatus, comprising:
the segmentation unit is used for responding to locking operation aiming at a target text triggered in a background editing interface by a user, and segmenting the target text into a plurality of text segments; wherein the target text comprises editable text displayed in the foreground; the locking operation is used for closing the text editing permission of at least part of text segments in the target text when the target text is displayed in the foreground;
the selection unit is used for acquiring at least one target text segment to be locked, which is selected from the text segments by the user;
and the submitting unit is used for submitting the target text and at least one target text segment selected by the user to a server so that the server closes the text editing permission of the target text segment when the target text is displayed in a foreground.
9. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor implements the method of any one of claims 1 to 7 by executing the executable instructions.
10. A computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of any one of claims 1 to 7.
CN202210693336.5A 2022-06-17 2022-06-17 Interface interaction method and device Active CN114995699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210693336.5A CN114995699B (en) 2022-06-17 2022-06-17 Interface interaction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210693336.5A CN114995699B (en) 2022-06-17 2022-06-17 Interface interaction method and device

Publications (2)

Publication Number Publication Date
CN114995699A true CN114995699A (en) 2022-09-02
CN114995699B CN114995699B (en) 2024-02-27

Family

ID=83035580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210693336.5A Active CN114995699B (en) 2022-06-17 2022-06-17 Interface interaction method and device

Country Status (1)

Country Link
CN (1) CN114995699B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115188013A (en) * 2022-09-14 2022-10-14 泰豪信息技术有限公司 Risk prevention and control method, system, storage medium and equipment for decision book

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108008940A (en) * 2017-12-29 2018-05-08 成都邦永科技有限公司 A kind of software customized platform of service management and its method for customizing
CN109426662A (en) * 2017-08-25 2019-03-05 阿里巴巴集团控股有限公司 Exchange method and equipment
CN109871210A (en) * 2019-01-17 2019-06-11 平安城市建设科技(深圳)有限公司 Web page element amending method, device, equipment and storage medium
CN110347390A (en) * 2018-04-03 2019-10-18 武汉斗鱼网络科技有限公司 A kind of method quickly generating WEB page, storage medium, equipment and system
US20200042582A1 (en) * 2017-03-29 2020-02-06 Beijing Sogou Technology Development Co., Ltd. Text editing method, device, and electronic apparatus
CN111767563A (en) * 2020-08-03 2020-10-13 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for setting authority of online document
CN113642304A (en) * 2021-07-16 2021-11-12 珠海金山办公软件有限公司 Template-based document editing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200042582A1 (en) * 2017-03-29 2020-02-06 Beijing Sogou Technology Development Co., Ltd. Text editing method, device, and electronic apparatus
CN109426662A (en) * 2017-08-25 2019-03-05 阿里巴巴集团控股有限公司 Exchange method and equipment
CN108008940A (en) * 2017-12-29 2018-05-08 成都邦永科技有限公司 A kind of software customized platform of service management and its method for customizing
CN110347390A (en) * 2018-04-03 2019-10-18 武汉斗鱼网络科技有限公司 A kind of method quickly generating WEB page, storage medium, equipment and system
CN109871210A (en) * 2019-01-17 2019-06-11 平安城市建设科技(深圳)有限公司 Web page element amending method, device, equipment and storage medium
CN111767563A (en) * 2020-08-03 2020-10-13 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for setting authority of online document
CN113642304A (en) * 2021-07-16 2021-11-12 珠海金山办公软件有限公司 Template-based document editing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115188013A (en) * 2022-09-14 2022-10-14 泰豪信息技术有限公司 Risk prevention and control method, system, storage medium and equipment for decision book

Also Published As

Publication number Publication date
CN114995699B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
JP7013466B2 (en) Application data processing methods, equipment, and computer programs
CN107957831B (en) Data processing method, device and processing equipment for displaying interface content
RU2645276C2 (en) Creation of variations when converting data to consumer content
US9208216B2 (en) Transforming data into consumable content
US9870362B2 (en) Interactive data-driven presentations
US9507480B1 (en) Interface optimization application
US10402470B2 (en) Effecting multi-step operations in an application in response to direct manipulation of a selected object
US9804767B2 (en) Light dismiss manager
CN107590205A (en) A kind of service showing method, device and equipment
CN106484726B (en) A kind of page display method and device
US10812568B2 (en) Graphical user interface facilitating uploading of electronic documents to shared storage
US20230229302A1 (en) Methods and Systems for Positioning Animated Images Within a Dynamic Keyboard Interface
CN107766421A (en) Information displaying method, device and electronic equipment
CN107391535A (en) The method and device of document is searched in document application
CN106970758B (en) Electronic document operation processing method and device and electronic equipment
CN110968314A (en) Page generation method and device
CN114995699B (en) Interface interaction method and device
CN111897607A (en) Application interface loading and interaction method, device and storage medium
CN109313662B (en) Deconstruction and presentation of web pages into a native application experience
US20180300301A1 (en) Enhanced inking capabilities for content creation applications
US20150149897A1 (en) Apparatus and method for editing document
US11061892B2 (en) Techniques for automated database query generation
US12118207B2 (en) Virtual keyboard interface input management
US20240126577A1 (en) Visualization of application capabilities
US20240111951A1 (en) Generating a personal corpus

Legal Events

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