CN114995699B - Interface interaction method and device - Google Patents

Interface interaction method and device Download PDF

Info

Publication number
CN114995699B
CN114995699B CN202210693336.5A CN202210693336A CN114995699B CN 114995699 B CN114995699 B CN 114995699B CN 202210693336 A CN202210693336 A CN 202210693336A CN 114995699 B CN114995699 B CN 114995699B
Authority
CN
China
Prior art keywords
text
target text
target
user
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210693336.5A
Other languages
Chinese (zh)
Other versions
CN114995699A (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.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rajax Network Technology Co Ltd filed Critical Rajax Network Technology 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

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

Abstract

The specification provides an interface interaction method and device, wherein the method comprises the following steps: responding to a locking operation for a target text triggered by a user in a background editing interface, and dividing the target text into a plurality of text fragments; the target text comprises editable text displayed on a foreground; the locking operation is used for closing the text editing authority of at least part of text fragments in the target text when the target text is displayed on 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 fragment selected by the user to a server so that the server closes the text editing authority of the target text fragment when the target text is displayed on a 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 APP (Application), website and the like can provide more and more 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 drop-down menu for selecting a specific content may be output in the user interface, and a user may select a desired content by interacting with the drop-down menu.
Accordingly, developers are often required to design a large number of user interfaces. However, if each user interface is individually designed, not only is the workload greater, but also the problem may occur that the user interfaces are not uniform and are not beautiful enough. Therefore, the design flow of the user interface is generally divided into two parts, namely a template design flow and a template editing flow, firstly, a background administrator designs the user interface template containing the editable elements, and then 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 technical solutions:
according to a first aspect of embodiments of the present disclosure, an interface interaction method is disclosed, including:
responding to a locking operation for a target text triggered by a user in a background editing interface, and dividing the target text into a plurality of text fragments; the target text comprises editable text displayed on a foreground; the locking operation is used for closing the text editing authority of at least part of text fragments in the target text when the target text is displayed on 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 fragment selected by the user to a server so that the server closes the text editing authority of the target text fragment when the target text is displayed on a foreground.
According to a second aspect of embodiments of the present specification, an interface interaction device is disclosed, comprising:
the segmentation unit is used for responding to the locking operation for the target text triggered by the user in the background editing interface and segmenting the target text into a plurality of text fragments; the target text comprises editable text displayed on a foreground; the locking operation is used for closing the text editing authority of at least part of text fragments in the target text when the target text is displayed on the foreground;
the selecting unit is used for acquiring at least one target text segment to be locked 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 fragment selected by the user to a server side so that the server side closes the text editing authority of the target text fragment when the target text is displayed in the foreground.
According to a third aspect of the present specification, there is provided an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor implements the steps of the method as described in any of the preceding claims 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 described in any of the above.
In the above technical solution, for any editable text displayed in the foreground, a user may 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 plurality of 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 authority of the text segment to be locked when the editable text is displayed in the foreground.
By means of the interface interaction mode, the text fragments to be locked can be selected from a plurality of text fragments obtained by dividing the editable text, and the text editing authorities of the text fragments to be locked when the editable text is displayed in the foreground are closed, so that the text editing authorities of a part of texts in the editable text displayed in the foreground can be selectively opened, and the text editing authorities of the editable texts 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 specification and together with the description, serve to explain the principles of the specification.
FIG. 1 is a flow chart of an interface interaction method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a background editing interface shown in an exemplary embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another background editing interface shown in an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a text segment selection interface shown in an exemplary embodiment of the present disclosure;
FIG. 5 is a schematic diagram of another text segment selection interface shown in an exemplary embodiment of the present disclosure;
FIG. 6 is a schematic diagram of another background editing interface shown in an exemplary embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a foreground display effect shown in an exemplary embodiment of the present disclosure;
FIG. 8 is a schematic diagram of an apparatus according to an exemplary embodiment of the present disclosure;
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 exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to 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 aspects of one or more embodiments of the present description as detailed in the accompanying claims.
It should be noted that: in other embodiments, the steps of the corresponding method 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 described in this specification. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; while various 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 individually designed, not only is the workload greater, but also the problem may occur that the user interfaces are not uniform and are not beautiful enough. Therefore, the design flow of the user interface is generally divided into two parts, namely a template design flow and a template editing flow, firstly, a background administrator designs the user interface template containing the editable elements, and then 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 uniformity of the user interface in the display effect, a background administrator typically sets the sizes (for example, the number of characters of the text, the size of the picture, etc.), the number, the positions, etc. of the elements such as the text, the picture, etc. to be displayed in the user interface template, and uses the elements as editable elements, opens editing rights of the editable elements to a foreground user, so that the foreground user can edit the content of the editable elements, for example: modifying the characters and format of the text, replacing the picture, etc.
In the related art, for any one of the editable elements, the editing authority thereof corresponds to the entirety of the 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 make any modification to the editable element.
For example, assuming that the editable element is a text of "the price of a shirt is 15 yuan", the background administrator can only open the entire editing rights of the text to the foreground user so that the foreground user can arbitrarily modify the characters in the text.
However, to avoid unreasonable editing of the editable element by the foreground user, and also to reduce the workload of the foreground user, the background administrator typically wishes to selectively open editing rights for a portion of the content in the editable element to the foreground user so that the foreground user can modify a portion of the content in the editable element, but cannot modify other content in the editable element.
Continuing to take the text of "the price of a shirt is 15 yuan" as an example, the background manager only wants the foreground person to modify "15", but does not want the foreground person to modify "the price of a shirt is" yuan ".
Based on this, the present disclosure provides a technical solution for interface interaction, and for any editable text displayed in the foreground, a user may 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 plurality of text segments, so that after submitting the editable text and the text segment to be locked to a server, the server may close a text editing authority of the text segment to be locked when the editable text is displayed in the foreground.
In a specific implementation, a user interface template that is presented in the foreground may be presented in the background editing interface. The user interface template may include a plurality of editable text that is available for editing by a foreground user when presented in the foreground. For any editable text, a user as a background administrator can set text editing rights of text clips 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 authority of the text segment in the target text in the background editing interface, specifically, a locking operation can be triggered for the target text in the background editing interface, so that the electronic equipment can respond to the locking operation to divide the target text into a plurality of text segments.
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 may obtain 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 may close the text editing rights of the at least one target text segment when the target text is presented in the foreground.
By means of the interface interaction mode, the text fragments to be locked can be selected from a plurality of text fragments obtained by dividing the editable text, and the text editing authorities of the text fragments to be locked when the editable text is displayed in the foreground are closed, so that the text editing authorities of a part of texts in the editable text displayed in the foreground can be selectively opened, and the text editing authorities of the editable texts can be accurately managed according to actual requirements.
The following describes the specific embodiments in detail with reference to 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 described above may be applied to an electronic device that may be used by a user, for example: cell phones, tablet devices, notebook computers, palm top computers (PDAs, personal Digital Assistants), wearable devices (e.g., smart glasses, smart watches, etc.), and the like. The electronic device may access the server through various types of wired or wireless networks. The server can run on a server; the server may be a physical server comprising an independent host, or a virtual server, cloud server, etc. hosted by a host cluster.
The user may specifically be the background manager.
The electronic device may output a background editing interface to the user. Wherein the background editing interface may be a user interface for designing a user interface template; that is, the user may design a user interface template through the background editing interface, for example: setting elements in the user interface template, and setting editing authorities of the elements. Accordingly, when the user interface template is presented in the foreground, the foreground user can edit the editable element of the user interface template, which is opened with the editing authority.
In practical application, 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 rights of each editable element in the user interface template when the foreground is exposed, that is, maintain the state of the editing rights of each editable element when the foreground is exposed.
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 as shown in fig. 2, a user interface template that is presented in the foreground may be presented. 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 provided as editable elements that are presented in the foreground.
When the user selects any element in the user interface template, an element setting interface corresponding to the element can be entered, and the element can be further set through the element setting interface. Taking the text element 1 as an example, when the user selects the text element 1, entering an element setting interface corresponding to the text element 1, and further setting the text element 1 through the element setting interface; for example, the tag of the text element 1 is set, the text of the text element 1 is set in a locked manner, the maximum length of the text in the text element 1 is set, the text style of the text in the text element 1 is set, and so on.
The element setting interface may include setting options corresponding to the setting functions, and may include setting options corresponding to other setting functions, for example: the text size, the text pitch, and the like are set, and this specification is not limited thereto.
The interface interaction method may include the following steps:
step 102, responding to a locking operation for a target text triggered by a user in a background editing interface, and dividing the target text into a plurality of text fragments; the target text comprises editable text displayed on a foreground; the locking operation is used for closing the text editing authority of at least part of text fragments in the target text when the target text is displayed in the foreground.
In this embodiment, the user interface template that is displayed in the foreground may be displayed in the background editing interface. The user interface template may include a plurality of editable text that is available for editing by a foreground user when presented in the foreground. For any editable text, the user can set the text editing authority 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 input again by the user, which is not limited in this specification.
Taking the electronic device as an example, when the user sets the text editing authority of the text segment in the target text in the background editing interface, specifically, a locking operation may be triggered for the target text in the background editing interface first, so that the electronic device may respond to the locking operation to divide the target text into a plurality of text segments.
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, so as to segment the target text into a plurality of single-character texts. Wherein each single character text may be provided as a text segment. 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 may be partitioned into" this, "yes," "one," "text," "book," "element," "plain," and "text. ", 9 text fragments in total.
In another embodiment, the electronic device may perform text word segmentation processing on the target text according to a corresponding text word segmentation processing algorithm, so as to segment the target text into a plurality of text words. Wherein each text word may be a text segment. For example, assume that the target text is "this is a text element. The target text may be divided into "yes", "one", "text", "element", "after the word segmentation process is performed on the target text. ", a total of 6 text fragments.
In addition, the electronic device may divide the target text into word segments 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 authority of at least a portion of the text segment in the target text when the target text is displayed in the foreground. For the text fragments with the text editing rights closed, the foreground user can not edit the text fragments any more; for the text fragments which are not closed with the text editing authority, the foreground user can continuously edit the text fragments.
For example, assume that the target text is "this is a text element". "and the target text is divided into" this "," yes "," one "," text "," book "," element "," by single character division. "the 9 text pieces; further assume that "this", "yes", "element", "prime", is turned off. "the text editing authority of the 5 text fragments, the foreground user can not edit the 5 text fragments any more, and can edit the 4 text fragments of" one "," text "and" text "continuously.
In one embodiment, the background editing interface may further include an interactive identifier; the interactive identifier can be used for triggering and closing text editing authorities of at least part of text fragments in the target text when the target text is displayed in the foreground.
The specific form of the interactive identifier may be a lock type icon which can give the user a visual feeling, or other icons or characters which are 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 interactive identification; that is, the target text locking operation triggered by the user in the background editing interface may specifically be a triggering operation for the interactive identifier. Correspondingly, the electronic equipment can respond to the triggering operation of the user for the interactive identification triggered in the background editing interface to divide the target text into a plurality of text fragments.
Specific forms of the triggering 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 as shown in fig. 3, a user interface template that is 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, an element setting interface corresponding to the text element 1 may be entered. In the element setting interface, a text locking setting option for locking and setting the text of the text element 1 can be output, and an interaction identifier corresponding to the text element 1 is output at a position corresponding to the text locking setting option; such as the lock type icon shown in fig. 3. The user can directly click the locking icon to trigger the locking setting of the text element 1, namely, trigger the closing of the text editing authority of at least part of text fragments in the text when the text of the text element 1 is displayed in the foreground.
Step 104, obtaining at least one target text segment to be locked 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 may obtain at least one target text segment to be locked.
Specifically, the electronic device may display the plurality of text segments to the user through the background editing interface. The user can select at least one target text segment to be locked from the 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 dividing the target text can be output in the background editing interface in the forms of entry, linked list, picture 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, in the background editing interface, the text segments may be output in other modes that enable the user to view and select; the present specification is not limited thereto.
In one embodiment, the electronic device may divide the target text into text segments in response to the locking operation, and jump to a user interface for selecting a text segment to be locked, to output the text segments in the user interface; at this time, the user interface may be referred to as a text segment selection interface. The user can select at least one target text segment to be locked from the text segments through the text segment selection interface.
In this case, the electronic device may acquire at least one target text segment to be locked selected by the user in the text segment selection interface.
In practical application, in the text segment selection interface, a selection box corresponding to the text segment may be output at a position corresponding to the text segment; in this case, any text segment is taken as an example, and the position corresponding to the text segment may be the left side or the right side of the text segment, or may be 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 segment selection interface according to an exemplary embodiment of the present disclosure.
As shown in fig. 3, when the user selects the text element 1, an element setting interface corresponding to the 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 performs a triggering operation for the interactive identifier corresponding to the text element 1. Accordingly, the electronic device may divide the text of the text element 1 into a plurality of text segments in response to the triggering operation.
Taking the above-described way of single-character text segmentation as an example, this may be "one text element". "split into" this "," yes "," one "," text "," book "," element ",". "the 9 text pieces, and pop up the text piece selection interface shown in fig. 4. In the text segment selection interface, "this," "yes," "one," "text," "book," "element," "plain," after segmentation can be developed. "the 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 the target text segment to be locked by checking the selection box; for example, in the text segment selection interface shown in fig. 4, the user selects 4 text segments of "this", "element", "prime" as the target text segment to be locked.
Referring to fig. 5, fig. 5 is a schematic diagram of another text segment selection interface according to an exemplary embodiment of the present disclosure.
As shown in fig. 3, when the user selects the text element 1, an element setting interface corresponding to the 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 performs a triggering operation for the interactive identifier corresponding to the text element 1. Accordingly, the electronic device may divide the text of the text element 1 into a plurality of text segments in response to the triggering operation.
Taking the above-described manner of text word segmentation processing as an example, this may be "one text element". "split into" this is "one", "text", "element", ". "these 6 text pieces, and pop up the text piece selection interface shown in fig. 5. In the text segment selection interface, the segmented "this is", "one", "text", "element", "can be revealed. "the 6 text segments, and on the left side of each text segment, a selection box corresponding to the text segment is output for the user to select the text segment. The user can select the text segment as the target text segment to be locked by checking the selection box; for example, in the text segment selection interface shown in fig. 5, the user selects 3 text segments of "yes", "element" as the target text segment to be locked.
And 106, submitting the target text and at least one target text segment selected by the user to a server side so that the server side closes the text editing authority of the target text segment when the target text is displayed in the foreground.
In this embodiment, 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 may close the text editing authority of the at least one target text segment when the target text is displayed in the foreground, i.e. switch the maintained text editing authority of the at least one target text segment to a closed state when the target text is displayed in the foreground.
In an embodiment, after the user selects the target text segment to be locked, before submitting the target text and the target 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 display modes. The display mode may be a font color, a font size, a font style, etc. 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 as shown in fig. 6, a user interface template that is 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, an element setting interface corresponding to the 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 performs a triggering operation for the interactive identifier corresponding to the text element 1. Accordingly, the electronic device may divide the text of the text element 1 into a plurality of text segments in response to the triggering operation.
Let it be assumed that this is a text element for text element 1. "this text is divided into" this "," yes "," one "," text "," book "," element ",". "the 9 pieces of text, and assuming that the above-described user selects the 4 pieces of text," the "," the element "as the target text pieces to be locked, in the background editing interface as shown in fig. 6, the font color of the 4 text segments shown as" this "," one "," meta "," plain "can be switched to black, and the text segments shown as" yes "," one "," text "," book ". "the font color of these 5 text pieces 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 pieces are the text pieces that select locking, and which text pieces are the text pieces that do not select locking.
In one embodiment, the user may 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 section of the at least one target text section when the target text is displayed in the foreground.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating a foreground display effect according to an exemplary embodiment of the present disclosure.
Assume that this is a text element to be the editable element presented in the foreground. "this text is divided into" this "," yes "," one "," text "," book "," element ",". The 9 text fragments, and assuming that the user selects the 4 text fragments of "the", "the element" and "the element" as target text fragments to be locked, can submit the text and the 4 text fragments to the server, and the server closes the text editing authority of the 4 text fragments when the text is presented in the foreground. As shown in fig. 7, when the text is presented in the foreground, the foreground user cannot edit the 4 text pieces, "the" text "and can only edit the other text pieces in the blank section.
In the above technical solution, for any editable text displayed in the foreground, a user may 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 plurality of 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 authority of the text segment to be locked when the editable text is displayed in the foreground.
By means of the interface interaction mode, the text fragments to be locked can be selected from a plurality of text fragments obtained by dividing the editable text, and the text editing authorities of the text fragments to be locked when the editable text is displayed in the foreground are closed, so that the text editing authorities of a part of texts in the editable text displayed in the foreground can be selectively opened, and the text editing authorities of the editable texts 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 structural view of an apparatus according to an exemplary embodiment of the present specification. Referring to fig. 8, at the hardware level, the device includes a processor 802, an internal bus 804, a network interface 806, a memory 808, and a non-volatile storage 810, although other tasks may be performed. One or more embodiments of the present description may be implemented in a software-based manner, such as by the processor 802 reading a corresponding computer program from the non-volatile memory 810 into the memory 809 and then running. Of course, in addition to software implementation, one or more embodiments of the present disclosure do not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but may also be hardware or a logic device.
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 device may be applied to the apparatus shown in fig. 8 to implement the technical solution of the present specification. Wherein, this interface interaction device can include:
the segmentation unit 901 is used for responding to a locking operation for a target text triggered by a user in a background editing interface and segmenting the target text into a plurality of text fragments; the target text comprises editable text displayed on a foreground; the locking operation is used for closing the text editing authority of at least part of text fragments in the target text when the target text is displayed on the foreground;
A selecting unit 902, configured to obtain at least one target text segment to be locked selected by the user from the plurality of text segments;
and the submitting unit 903 is 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 the text editing authority of the target text segment when the target text is displayed in the foreground.
Optionally, the selecting unit 902 is specifically configured to:
jumping 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 by the user in the text segment selection interface.
Optionally, the background editing interface further includes an interaction identifier for triggering closing the text editing authority; the locking operation comprises a triggering operation of the user for the interactive identification;
the dividing unit 901 is specifically configured to:
and responding to a triggering operation for the interaction identifier, which is triggered by a user in a background editing interface, and dividing the target text into a plurality of text fragments.
Optionally, the text segments are single character text;
The dividing 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 word segmentation;
the dividing unit 901 is specifically configured to:
and carrying out text word segmentation processing on the target text so as to divide the target text into text word segments.
Optionally, the apparatus further includes:
and the display unit 904 is configured to switch the text segments included in the target text and other text segments except the target text segment to different display modes respectively 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 fragments contained in the target text and other text fragments except the target text fragments into different character colors.
The implementation process of the functions and roles of each unit in the above device is detailed in the implementation process of the corresponding steps in the above method, and will not be described herein again.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email 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 volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
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 storage media for a computer 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, read only compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by the computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can 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 are also possible or may be advantageous.
The terminology used in the one or more embodiments of the specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the specification. As used in this specification, one or more embodiments 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 or 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, these 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 of the present description. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The foregoing description of the preferred embodiment(s) is (are) merely intended to illustrate the embodiment(s) of the present invention, and it is not intended to limit the embodiment(s) of the present invention to the particular embodiment(s) described.

Claims (14)

1. An interface interaction method, which is suitable for UI template design, comprises the following steps:
responding to locking operation which is triggered by a user in a background editing interface and aims at target texts in editable elements, and dividing the target texts into a plurality of text fragments; the method comprises the steps that a target text comprises an editable text displayed on a foreground, a user interface template is displayed on a background editing interface, when a user selects the target text, a setting interface corresponding to the target text is entered, in the setting interface, a text locking setting option and an interactive identifier for locking and setting the target text are output, and the interactive identifier is used for triggering and closing text editing authorities of at least part of text fragments in the target text when the target text is displayed on the foreground;
Jumping to a text segment selection interface, and outputting the text segments on the text segment selection interface;
acquiring at least one target text segment to be locked selected by the user in the text segment selection interface;
and submitting the target text and at least one target text fragment selected by the user to a server so that the server closes the text editing authority of the target text fragment when the target text is displayed on a foreground.
2. The method of claim 1, wherein the locking operation comprises a triggering operation of the user for the interactive identification;
the responding to the locking operation for the target text triggered by the user in the background editing interface, the target text is divided into a plurality of text fragments, and the method comprises the following steps:
and responding to a triggering operation for the interaction identifier, which is triggered by a user in a background editing interface, and dividing the target text into a plurality of text fragments.
3. The method of claim 1, wherein the number of text segments are single character text;
the segmenting the target text into text segments comprises:
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.
4. The method of claim 1, wherein the plurality of text segments are text tokens;
the segmenting the target text into text segments comprises:
and carrying out text word segmentation processing on the target text so as to divide the target text into text word segments.
5. The method of claim 1, wherein before 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 fragments contained in the target text and other text fragments except the target text fragment into different display modes.
6. The method according to claim 5, wherein switching the text segments included in the target text and the text segments other than the target text segment to different presentation modes respectively includes:
and respectively switching the target text fragments contained in the target text and other text fragments except the target text fragments into different character colors.
7. An interface interaction device, suitable for UI template design, comprising:
the segmentation unit is used for responding to the locking operation of the target text in the editable element triggered by the user in the background editing interface and segmenting the target text into a plurality of text fragments; the method comprises the steps that a target text comprises an editable text displayed on a foreground, a user interface template is displayed on a background editing interface, when a user selects the target text, a setting interface corresponding to the target text is entered, in the setting interface, a text locking setting option and an interactive identifier for locking and setting the target text are output, and the interactive identifier is used for triggering and closing text editing authorities of at least part of text fragments in the target text when the target text is displayed on the foreground;
the selecting unit is used for jumping to a text segment selecting interface and outputting the text segments on the text segment selecting interface; acquiring at least one target text segment to be locked selected by the user in the text segment selection interface;
and the submitting unit is used for submitting the target text and at least one target text fragment selected by the user to a server side so that the server side closes the text editing authority of the target text fragment when the target text is displayed in the foreground.
8. The apparatus of claim 7, wherein the locking operation comprises a triggering operation by the user for the interactive identification;
the dividing unit is specifically configured to:
and responding to a triggering operation for the interaction identifier, which is triggered by a user in a background editing interface, and dividing the target text into a plurality of text fragments.
9. The apparatus of claim 7, wherein the plurality of text segments are single character text;
the dividing unit 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.
10. The apparatus of claim 7, wherein the plurality of text segments are text tokens;
the dividing unit is specifically configured to:
and carrying out text word segmentation processing on the target text so as to divide the target text into text word segments.
11. The apparatus of claim 7, wherein the apparatus further comprises:
and the display unit is used for respectively switching the text fragments contained in the target text and other text fragments except the target text fragments into different display modes before submitting the target text and at least one target text fragment selected by the user to a server.
12. The device according to claim 11, wherein the display unit is specifically configured to:
and respectively switching the target text fragments contained in the target text and other text fragments except the target text fragments into different character colors.
13. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any one of claims 1 to 7 by executing the executable instructions.
14. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of any 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 CN114995699A (en) 2022-09-02
CN114995699B true 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)

Families Citing this family (1)

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

Citations (6)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664201B (en) * 2017-03-29 2021-12-28 北京搜狗科技发展有限公司 Text editing method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN114995699A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
TWI808393B (en) Page processing method, device, apparatus and storage medium
JP7013466B2 (en) Application data processing methods, equipment, and computer programs
US9870362B2 (en) Interactive data-driven presentations
RU2645276C2 (en) Creation of variations when converting data to consumer content
US10402470B2 (en) Effecting multi-step operations in an application in response to direct manipulation of a selected object
US20160085786A1 (en) Transforming data into consumable content
US9804767B2 (en) Light dismiss manager
WO2018130085A1 (en) Method and apparatus for page presentation
CN107590205A (en) A kind of service showing method, device and equipment
US20130036196A1 (en) Method and system for publishing template-based content
TW201435713A (en) Preserving layout of region of content during modification
CN114995699B (en) Interface interaction method and device
CN106970758B (en) Electronic document operation processing method and device and electronic equipment
CN111897607A (en) Application interface loading and interaction method, device and storage medium
CN113655999A (en) Rendering method, device and equipment of page control and storage medium
CN109313662B (en) Deconstruction and presentation of web pages into a native application experience
WO2023236795A1 (en) Encyclopedia entry processing method and apparatus, and electronic device, medium and program product
US20180300301A1 (en) Enhanced inking capabilities for content creation applications
US20180090174A1 (en) Video generation of project revision history
CN115698988A (en) System and method for viewing incompatible web pages via remote browser instances
US20160147741A1 (en) Techniques for providing a user interface incorporating sign language
US10423712B2 (en) Creating and managing chattels to control design asset behaviors
Jackson et al. Android UI Layout Conventions, Differences and Approaches
CN114861099A (en) Page font processing method and device, electronic equipment and storage medium
Hunt et al. Introduction to Computer Graphics

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