CN114995699A - Interface interaction method and device - Google Patents
Interface interaction method and device Download PDFInfo
- 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
- target
- user
- segments
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, 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 present specification provides an interface interaction method and device. The method includes: in response to a locking operation for target text triggered by a user in a background editing interface, dividing the target text into several text segments; wherein, the target text Including editable text displayed in the foreground; the locking operation is used to close the text editing authority of at least some text fragments in the target text when the target text is displayed in the foreground; At least one target text fragment to be locked selected from the fragment; submit the target text and at least one target text fragment selected by the user to the server, so that the server closes the target text when it is displayed in the foreground The text editing permission of the target text segment.
Description
技术领域technical field
本说明书涉及计算机技术领域,尤其涉及一种界面交互方法及装置。The present specification relates to the field of computer technology, and in particular, to an interface interaction method and device.
背景技术Background technique
随着互联网技术的发展,APP(Application,应用程序)、网站等互联网产品能够为用户提供的功能越来越丰富。通常,用户可以与APP或网站的用户界面进行交互,使得APP或网站可以根据用户与用户界面的交互行为,为用户提供对应的功能;例如,用户界面中可以输出用于选择特定内容的下拉菜单,用户可以通过与该下拉菜单进行交互,选择所需的内容。With the development of Internet technology, Internet products such as APP (Application, application program), website and other Internet products can provide users with more and more rich functions. Usually, the user can interact with the user interface of the APP or website, so that the APP or website can provide the user with corresponding functions according to the user's interaction behavior with the user interface; for example, the user interface can output a drop-down menu for selecting specific content , the user can select the desired content by interacting with the drop-down menu.
与之相应地,开发人员通常需要设计大量的用户界面。然而,如果对每个用户界面都进行单独设计,不仅工作量较大,而且可能出现用户界面不统一而不够美观的问题。因此,通常将用户界面的设计流程分为模板设计流程和模板编辑流程两部分,首先由后台管理员设计包含可编辑元素的用户界面模板,再由前台用户对用户界面模板中的可编辑元素进行编辑,从而可以将编辑后的用户界面模板作为最终向用户展示的用户界面。Correspondingly, developers usually need to design a large number of user interfaces. However, if each user interface is individually designed, it will not only require a lot of work, but also the problem of inconsistent user interface and not aesthetically pleasing may occur. Therefore, the design process of the user interface is usually divided into two parts: the template design process and the template editing process. First, the background administrator designs the user interface template containing editable elements, and then the front-end user designs the editable elements in the user interface template. Edit, so that the edited user interface template can be used as the user interface finally displayed to the user.
发明内容SUMMARY OF THE INVENTION
本说明书一个或多个实施例提供技术方案如下:One or more embodiments of this specification provide technical solutions as follows:
根据本说明书实施例的第一方面,公开了一种界面交互方法,包括:According to a first aspect of the embodiments of this specification, an interface interaction method is disclosed, including:
响应于用户在后台编辑界面中触发的针对目标文本的锁定操作,将所述目标文本分割为若干文本片段;其中,所述目标文本包括在前台进行展示的可编辑文本;所述锁定操作用于关闭所述目标文本在前台进行展示时所述目标文本中的至少部分文本片段的文本编辑权限;In response to a locking operation for the target text triggered by the user in the background editing interface, the target text is divided into several text segments; wherein, the target text includes editable text displayed in the foreground; the locking operation is used for Disabling the text editing authority of at least some text fragments in the target text when the target text is displayed in the foreground;
获取所述用户从所述若干文本片段中选择的至少一个待锁定的目标文本片段;acquiring at least one target text segment to be locked selected by the user from the several text segments;
将所述目标文本以及所述用户选择的至少一个目标文本片段提交至服务端,以使所述服务端关闭所述目标文本在前台进行展示时所述目标文本片段的文本编辑权限。Submit the target text and at least one target text segment selected by the user to the server, so that the server closes the text editing authority of the target text segment when the target text is displayed in the foreground.
根据本说明书实施例的第二方面,公开了一种界面交互装置,包括:According to a second aspect of the embodiments of the present specification, an interface interaction device is disclosed, including:
分割单元,用于响应于用户在后台编辑界面中触发的针对目标文本的锁定操作,将所述目标文本分割为若干文本片段;其中,所述目标文本包括在前台进行展示的可编辑文本;所述锁定操作用于关闭所述目标文本在前台进行展示时所述目标文本中的至少部分文本片段的文本编辑权限;a segmentation unit, configured to split the target text into several text segments in response to a locking operation for the target text triggered by the user in the background editing interface; wherein, the target text includes editable text displayed in the foreground; The locking operation is used to close the text editing authority of at least some text fragments in the target text when the target text is displayed in the foreground;
选择单元,用于获取所述用户从所述若干文本片段中选择的至少一个待锁定的目标文本片段;a selection unit, configured to acquire at least one target text segment to be locked selected by the user from the several text segments;
提交单元,用于将所述目标文本以及所述用户选择的至少一个目标文本片段提交至服务端,以使所述服务端关闭所述目标文本在前台进行展示时所述目标文本片段的文本编辑权限。A submission unit, configured to submit the target text and at least one target text fragment selected by the user to the server, so that the server closes the text editing of the target text fragment when the target text is displayed in the foreground permissions.
根据本说明书的第三方面,提出了一种电子设备,包括:According to a third aspect of the present specification, an electronic device is proposed, comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器通过运行所述可执行指令以实现如上述中任一项所述方法的步骤。Wherein, the processor executes the executable instructions to implement the steps of any one of the above-mentioned methods.
根据本说明书的第四方面,提出了一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现如上述中任一项所述方法的步骤。According to a fourth aspect of the present specification, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, implement the steps of the method according to any one of the above.
在上述技术方案中,针对在前台进行展示的任一可编辑文本,可以先由用户在后台编辑界面中触发针对该可编辑文本的锁定操作,使得该可编辑文本被分割为若干文本片段,再由用户从这若干文本片段中选择出待锁定的文本片段,从而可以在将该可编辑文本和待锁定的文本片段提交给服务端后,由该服务端关闭该可编辑文本在前台进行展示时待锁定的文本片段的文本编辑权限。In the above technical solution, for any editable text displayed in the foreground, the user can first trigger a locking operation for the editable text in the background editing interface, so that the editable text is divided into several text fragments, and then The user selects the text fragment to be locked from the several text fragments, so that after submitting the editable text and the text fragment to be locked to the server, the server closes the editable text when it is displayed in the foreground Text editing permissions for the text fragment to be locked.
通过上述界面交互的方式,由于可以从对可编辑文本进行分割得到的若干文本片段中选择出待锁定的文本片段,并关闭该可编辑文本在前台进行展示时待锁定的文本片段的文本编辑权限,从而可以实现选择性地开放在前台进行展示的可编辑文本中的一部分文本的文本编辑权限,根据实际需求对这些可编辑文本的文本编辑权限进行精准的权限管理。Through the above interface interaction method, the text segment to be locked can be selected from several text segments obtained by dividing the editable text, and the text editing authority of the text segment to be locked when the editable text is displayed in the foreground is closed. , so that the text editing authority of a part of the editable text displayed in the foreground can be selectively opened, and the text editing authority of these editable texts can be accurately managed according to actual needs.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本说明书的实施例,并与说明书一起用于解释本说明书的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this specification and together with the description serve to explain the principles of this specification.
图1是本说明书一示例性实施例示出的一种界面交互方法的流程图;FIG. 1 is a flowchart of an interface interaction method shown in an exemplary embodiment of the present specification;
图2是本说明书一示例性实施例示出的一种后台编辑界面的示意图;2 is a schematic diagram of a background editing interface shown in an exemplary embodiment of the present specification;
图3是本说明书一示例性实施例示出的另一种后台编辑界面的示意图;3 is a schematic diagram of another background editing interface shown in an exemplary embodiment of the present specification;
图4是本说明书一示例性实施例示出的一种文本片段选择界面示意图;4 is a schematic diagram of a text segment selection interface shown in an exemplary embodiment of the present specification;
图5是本说明书一示例性实施例示出的另一种文本片段选择界面示意图;FIG. 5 is a schematic diagram of another text segment selection interface shown in an exemplary embodiment of the present specification;
图6是本说明书一示例性实施例示出的另一种后台编辑界面的示意图;6 is a schematic diagram of another background editing interface shown in an exemplary embodiment of the present specification;
图7是本说明书一示例性实施例示出的一种前台展示效果的示意图;7 is a schematic diagram of a foreground display effect shown in an exemplary embodiment of the present specification;
图8是本说明书一示例性实施例示出的一种设备的结构示意图;FIG. 8 is a schematic structural diagram of a device shown in an exemplary embodiment of this specification;
图9是本说明书一示例性实施例示出的一种界面交互装置的框图。FIG. 9 is a block diagram of an interface interaction apparatus shown in an exemplary embodiment of the present specification.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书一个或多个实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书一个或多个实施例的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatus and methods consistent with some aspects of one or more embodiments of this specification, as recited in the appended claims.
需要说明的是:在其他实施例中并不一定按照本说明书示出和描述的顺序来执行相应方法的步骤。在一些其他实施例中,其方法所包括的步骤可以比本说明书所描述的更多或更少。此外,本说明书中所描述的单个步骤,在其他实施例中可能被分解为多个步骤进行描述;而本说明书中所描述的多个步骤,在其他实施例中也可能被合并为单个步骤进行描述。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 described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may also be combined into a single step in other embodiments. describe.
随着互联网的发展,开发人员通常需要设计大量的用户界面。然而,如果对每个用户界面都进行单独设计,不仅工作量较大,而且可能出现用户界面不统一而不够美观的问题。因此,通常将用户界面的设计流程分为模板设计流程和模板编辑流程两部分,首先由后台管理员设计包含可编辑元素的用户界面模板,再由前台用户对用户界面模板中的可编辑元素进行编辑,从而可以将编辑后的用户界面模板作为最终向用户展示的用户界面。With the development of the Internet, developers often need to design a large number of user interfaces. However, if each user interface is individually designed, it will not only require a lot of work, but also the problem of inconsistent user interface and not aesthetically pleasing may occur. Therefore, the design process of the user interface is usually divided into two parts: the template design process and the template editing process. First, the background administrator designs the user interface template containing editable elements, and then the front-end user designs the editable elements in the user interface template. Edit, so that the edited user interface template can be used as the user interface finally displayed to the user.
为了保证用户界面在展示效果上的统一性,后台管理员通常会在用户界面模板中设置好需要展示在用户界面中的文本、图片等元素的大小(例如:文本的字符数、图片的尺寸等)、数量、位置等,并将这些元素本身作为可编辑元素,向前台用户开放可编辑元素的编辑权限,使得前台用户可以对可编辑元素的内容进行编辑,例如:对文本的字符和格式进行修改、对图片进行替换等。In order to ensure the uniformity of the display effect of the user interface, the background administrator usually sets the size of the text, pictures and other elements that need to be displayed in the user interface in the user interface template (for example: the number of characters of the text, the size of the picture, etc. ), quantity, position, etc., and use these elements themselves as editable elements to open the editing rights of the editable elements to the front-end users, so that the front-end users can edit the content of the editable elements, such as: editing the characters and formats of the text. Modify, replace pictures, etc.
相关技术中,对于任一可编辑元素而言,其编辑权限是与该可编辑元素的整体对应的。在这种情况下,后台管理员只能向前台用户开放可编辑元素的整体编辑权限,使得前台用户可以对该可编辑元素进行任意修改。In the related art, for any editable element, its editing authority corresponds to the whole of the editable element. In this case, the background administrator can only open the overall editing authority of the editable element to the foreground user, so that the foreground user can arbitrarily modify the editable element.
例如,假设可编辑元素为“衬衫的价格是15元”这一文本,后台管理员只能向前台用户开放该文本的整体编辑权限,使得前台用户可以任意修改该文本中的字符。For example, assuming that the editable element is the text "The price of the shirt is 15 yuan", the background administrator can only open the overall editing authority of the text to the front-end user, so that the front-end user can arbitrarily modify the characters in the text.
然而,为了避免前台用户对可编辑元素的不合理编辑,也为了减少前台用户的工作量,后台管理员通常希望选择性地向前台用户开放可编辑元素中的一部分内容的编辑权限,使得前台用户可以修改该可编辑元素中的一部分内容,但无法修改该可编辑元素中的其他内容。However, in order to avoid unreasonable editing of editable elements by front-end users, and to reduce the workload of front-end users, the back-end administrator usually hopes to selectively open the editing rights of part of the editable elements to the front-end users, so that the front-end users can Some content in this editable element can be modified, but no other content in this editable element can be modified.
继续以“衬衫的价格是15元”这一文本为例,后台管理员只希望前台人员对“15”进行修改,而不希望前台人员修改“衬衫的价格是”、“元”。Continuing to take the text "the price of the shirt is 15 yuan" as an example, the background administrator only wants the front desk staff to modify "15", but does not want the front desk staff to modify "the price of the shirt is" and "yuan".
基于此,本说明书提供一种用于界面交互的技术方案,针对在前台进行展示的任一可编辑文本,可以先由用户在后台编辑界面中触发针对该可编辑文本的锁定操作,使得该可编辑文本被分割为若干文本片段,再由用户从这若干文本片段中选择出待锁定的文本片段,从而可以在将该可编辑文本和待锁定的文本片段提交给服务端后,由该服务端关闭该可编辑文本在前台进行展示时待锁定的文本片段的文本编辑权限。Based on this, this specification provides a technical solution for interface interaction. For any editable text displayed in the foreground, the user can first trigger a locking operation for the editable text in the background editing interface, so that the editable text can be locked. The editing text is divided into several text segments, and the user selects the text segment to be locked from the several text segments, so that after submitting the editable text and the text segment to be locked to the server, the server Disable the text editing permission of the text fragment to be locked when the editable text is displayed in the foreground.
在具体实现时,后台编辑界面中可以展示在前台进行展示的用户界面模板。该用户界面模板可以包括在前台进行展示时可供前台用户编辑的多个可编辑文本。对于其中任一可编辑文本而言,作为后台管理员的用户可以在该后台编辑界面中对该可编辑文本中的文本片段的文本编辑权限进行设置;此时,可以将该可编辑文本称为目标文本。During 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 that can be edited by a user in the foreground when presented in the foreground. For any of the editable texts, the user who is the background administrator can set the text editing authority of the text fragment in the editable text in the background editing interface; at this time, the editable text can be called as target text.
上述用户在上述后台编辑界面中对上述目标文本中的文本片段的文本编辑权限进行设置时,具体可以先在该后台编辑界面中针对该目标文本触发锁定操作,使得电子设备可以响应于该锁定操作,将该目标文本分割为若干文本片段。When the above-mentioned user sets the text editing authority of the text fragment in the above-mentioned target text in the above-mentioned background editing interface, specifically, a locking operation may be triggered for the target text in the background editing interface, so that the electronic device can respond to the locking operation. , segment the target text into several text segments.
上述用户可以根据实际的文本锁定需求,从上述若干文本片段中选择至少一个待锁定的文本片段;此时,可以将该文本片段称为目标文本片段。该电子设备可以获取到至少一个待锁定的目标文本片段。The above-mentioned user may select at least one text segment to be locked from the above-mentioned several text segments according to actual text locking requirements; 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 fragment to be locked, the electronic device may submit the target text and at least one target text fragment to the server. Correspondingly, the server can disable the text editing authority of the at least one target text segment when the target text is displayed in the foreground.
通过上述界面交互的方式,由于可以从对可编辑文本进行分割得到的若干文本片段中选择出待锁定的文本片段,并关闭该可编辑文本在前台进行展示时待锁定的文本片段的文本编辑权限,从而可以实现选择性地开放在前台进行展示的可编辑文本中的一部分文本的文本编辑权限,根据实际需求对这些可编辑文本的文本编辑权限进行精准的权限管理。Through the above interface interaction method, the text segment to be locked can be selected from several text segments obtained by dividing the editable text, and the text editing authority of the text segment to be locked when the editable text is displayed in the foreground is closed. , so that the text editing authority of a part of the editable text displayed in the foreground can be selectively opened, and the text editing authority of these editable texts can be accurately managed according to actual needs.
下面通过具体实施例并结合具体的应用场景进行详细描述。The following describes in detail through specific embodiments and in conjunction with specific application scenarios.
请参见图1,图1是本说明书一示例性实施例示出的一种界面交互方法的流程图。Please refer to FIG. 1. FIG. 1 is a flowchart of an interface interaction method shown in an exemplary embodiment of the present specification.
在本实施例中,上述界面交互方法可以应用于用户可以使用的电子设备,例如:手机、平板设备、笔记本电脑、掌上电脑(PDAs,Personal Digital Assistants)、可穿戴设备(如智能眼镜、智能手表等)等。该电子设备可以通过多种类型的有线或无线网络接入服务端。该服务端可以运行在服务器上;该服务器可以为包含一独立主机的物理服务器,或者主机集群承载的虚拟服务器、云服务器等。In this embodiment, the above interface interaction method can be applied to electronic devices that users can use, such as: mobile phones, tablet devices, notebook computers, PDAs (Personal Digital Assistants), wearable devices (such as smart glasses, smart watches) and many more. The electronic device can access the server through various types of wired or wireless networks. The server can run on a server; the server can be a physical server including an independent host, or a virtual server, cloud server, etc. carried by a host cluster.
上述用户具体可以是上述后台管理员。The above-mentioned user may specifically be the above-mentioned background administrator.
上述电子设备可以向上述用户输出后台编辑界面。其中,该后台编辑界面可以是用于设计用户界面模板的用户界面;也即,该用户可以通过该后台编辑界面,对用户界面模板进行设计,例如:设置用户界面模板中的元素,并对各元素的编辑权限进行设置。相应地,当用户界面模板在前台进行展示时,前台用户可以对该用户界面模板中被开放了编辑权限的可编辑元素进行编辑。The aforementioned electronic device may output a background editing interface to the aforementioned user. Wherein, the background editing interface may be a user interface for designing a user interface template; that is, the user can design a user interface template through the background editing interface, for example: setting elements in the user interface template, and designing each user interface template. Edit permissions for the element are set. Correspondingly, when the user interface template is displayed in the foreground, the user in the foreground can edit the editable elements in the user interface template to which the editing authority has been opened.
在实际应用中,在上述用户完成了上述用户界面模板的设计后,上述电子设备可以将该用户界面模板发送至上述服务端,由该服务端将该用户界面模板发送至前台进行展示。在这种情况下,该服务端可以对用户界面模板中的各个可编辑元素在前台进行展示时的编辑权限进行管理,即维护各个可编辑元素在前台进行展示时的编辑权限的状态。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 can manage the editing authority of each editable element in the user interface template when it is displayed in the foreground, that is, maintain the state of the editing authority of each editable element when it is displayed in the foreground.
请参见图2,图2是本说明书一示例性实施例示出的一种后台编辑界面的示意图。Please refer to FIG. 2 , which is a schematic diagram of a background editing interface shown in an exemplary embodiment of the present specification.
如图2所示的后台编辑界面中,可以展示在前台进行展示的用户界面模板。该用户界面模板可以包括多种类型的元素;比如,文字元素1,文字元素2,图片元素1,图片元素2,等等。这些元素都可以作为在前台进行展示的可编辑元素。In the background editing interface shown in FIG. 2 , the user interface template displayed in the foreground can be displayed. The user interface template may include various types of elements; for example, text element 1,
当上述用户选中上述用户界面模板中的任一元素时,可以进入与该元素对应的元素设置界面,并通过该元素设置界面对该元素进行进一步设置。以文字元素1为例,当该用户选中文字元素1时,可以进入与文字元素1对应的元素设置界面,并通过该元素设置界面对文字元素1进行进一步设置;比如,对文字元素1的标签进行设置,对文字元素1的文本进行锁定设置,设置文字元素1中的文本的最大长度,设置文字元素1中的文本的文字样式,等等。When the above-mentioned user selects any element in the above-mentioned user interface template, he can enter the element setting interface corresponding to the element, and further set the element through the element setting interface. Taking text element 1 as an example, when the user selects text element 1, he can enter the element setting interface corresponding to text element 1, and further set text element 1 through the element setting interface; Make settings, lock the text of text element 1, set the maximum length of the text in text element 1, set the text style of the text in text element 1, and so on.
需要说明的是,在上述元素设置界面中,除了可以包括与上述设置功能对应的设置选项之外,还可以包括与其他设置功能对应的设置选项,例如:设置文字大小、设置文字间距等,本说明书对此不作限定。It should be noted that, in the above element setting interface, in addition to the setting options corresponding to the above setting functions, it may also include setting options corresponding to other setting functions, such as: setting text size, setting text spacing, etc. The manual does not limit this.
上述界面交互方法可以包括以下步骤:The above interface interaction method may include the following steps:
步骤102,响应于用户在后台编辑界面中触发的针对目标文本的锁定操作,将所述目标文本分割为若干文本片段;其中,所述目标文本包括在前台进行展示的可编辑文本;所述锁定操作用于关闭所述目标文本在前台进行展示时所述目标文本中的至少部分文本片段的文本编辑权限。Step 102: In response to a locking operation for the target text triggered by the user in the background editing interface, the target text is divided into several text segments; wherein, the target text includes editable text displayed in the foreground; the locking The operation is for disabling the text editing authority of at least some text segments in the target text when the target text is displayed in the foreground.
在本实施例中,上述后台编辑界面中可以展示在前台进行展示的上述用户界面模板。该用户界面模板可以包括在前台进行展示时可供前台用户编辑的多个可编辑文本。对于其中任一可编辑文本而言,上述用户可以在该后台编辑界面中对该可编辑文本中的文本片段的文本编辑权限进行设置;此时,可以将该可编辑文本称为目标文本。In this embodiment, the above-mentioned user interface template displayed in the foreground may be displayed in the above-mentioned background editing interface. The user interface template may include a plurality of editable texts that can be edited by a user in the foreground when presented in the foreground. For any of the editable texts, the above-mentioned 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 can be called the target text.
上述目标文本具体可以是该用户界面模板中原有的文本,也可以是用户重新输入的文本,本说明书对此不作限定。The above-mentioned target text may specifically be the original text in the user interface template, or may be the text re-input by the user, which is not limited in this specification.
以上述电子设备为例,上述用户在上述后台编辑界面中对上述目标文本中的文本片段的文本编辑权限进行设置时,具体可以先在该后台编辑界面中针对该目标文本触发锁定操作,使得该电子设备可以响应于该锁定操作,将该目标文本分割为若干文本片段。Taking the above-mentioned electronic device as an example, when the above-mentioned user sets the text editing authority of the text fragment in the above-mentioned target text in the above-mentioned background editing interface, specifically, a locking operation can be triggered for the target text in the background editing interface first, so that the The electronic device may segment the target text into several text segments in response to the locking operation.
上述锁定操作的具体形式可以是点击操作、双击操作、长按操作或拖拽操作等,本说明书对此不作限定。The specific form of the above-mentioned locking operation may be a click operation, a double-click operation, a long-press operation, or a drag operation, etc., which is not limited in this specification.
具体地,在示出的一种实施方式中,上述电子设备可以根据相应的单字符文本分割算法,对目标文本进行单字符文本分割,将目标文本分割为若干单字符文本。其中,每个单字符文本都可以作为一个文本片段。例如,假设该目标文本为“这是一个文本元素。”,则在对该目标文本进行单字符分割后,可以将该目标文本分割为“这”、“是”、“一”、“个”、“文”、“本”、“元”、“素”、“。”,一共9个文本片段。Specifically, in the illustrated embodiment, the electronic device may perform single-character text segmentation on the target text according to a corresponding single-character text segmentation algorithm, and divide the target text into several single-character texts. Among them, each single-character text can be used as a text fragment. For example, if the target text is "This is a text element.", after single-character segmentation of the target text, the target text can be divided into "this", "is", "one", "one" , "Wen", "Ben", "Yuan", "Su", ".", a total of 9 text fragments.
在示出的另一种实施方式中,上述电子设备可以根据相应的文本分词处理算法,对目标文本进行文本分词处理,将目标文本分割为若干文本分词。其中,每个文本分词都可以作为一个文本片段。例如,假设该目标文本为“这是一个文本元素。”,则在对该目标文本进行分词处理后,可以将该目标文本分割为“这是”、“一”、“个”、“文本”、“元素”、“。”,一共6个文本片段。In another illustrated embodiment, the electronic device may perform text segmentation processing on the target text according to a corresponding text segmentation processing algorithm, and divide the target text into several text segmentations. Among them, each text segmentation can be used as a text fragment. For example, assuming that the target text is "This is a text element.", after the word segmentation process is performed on the target text, the target text can be divided into "this", "one", "one", "text" , "element", ".", a total of 6 text fragments.
除此之外,上述电子设备还可以根据用户设置将目标文本分割为特定形式的分词或单字符,本说明书对此不作限定。Besides, the above-mentioned electronic device can also divide the target text into specific forms of word segmentation or single character according to user settings, which is not limited in this specification.
需要说明的是,上述锁定操作可以用于关闭上述目标文本在前台进行展示时该目标文本中的至少部分文本片段的文本编辑权限。对于被关闭了文本编辑权限的文本片段而言,前台用户无法再对这些文本片段进行编辑;而对于未被关闭文本编辑权限的文本片段而言,前台用户则可以继续对这些文本片段进行编辑。It should be noted that, the above locking operation may be used to disable the text editing authority of at least some text segments in the target text when the target text is displayed in the foreground. For the text segments whose text editing permission is disabled, the foreground user can no longer edit these text segments; and for the text segments whose text editing permission is not disabled, the foreground user can continue to edit these text segments.
举例来说,假设上述目标文本为“这是一个文本元素。”,并通过单字符分割,将该目标文本分割为“这”、“是”、“一”、“个”、“文”、“本”、“元”、“素”、“。”这9个文本片段;进一步假设关闭了“这”、“是”、“元”、“素”、“。”这5个文本片段的文本编辑权限,则前台用户无法再对这5个文本片段进行编辑,而可以继续对“一”、“个”、“文”、“本”这4个文本片段进行编辑。For example, suppose the above target text is "This is a text element.", and through single-character segmentation, the target text is divided into "this", "is", "one", "a", "text", The 9 text fragments of "ben", "yuan", "element", and "." are further assumed to be closed. If the text editing permission is granted, the foreground user can no longer edit these 5 text fragments, but can continue to edit the 4 text fragments of "One", "One", "Wen" and "Ben".
在示出的一种实施方式中,上述后台编辑界面还可以包括交互标识;其中,该交互标识可以用于触发关闭上述目标文本在前台进行展示时该目标文本中的至少部分文本片段的文本编辑权限。In the illustrated embodiment, the background editing interface may further include an interaction indicator; wherein the interaction indicator may be used to trigger closing the text editing of at least some text segments in the target text when the target text is displayed in the foreground permissions.
上述交互标识的具体形式可以是能够给予用户直观感受的锁型图标,或是用户自定义设置的其他图标或文字,本说明书对此不作限定。The specific form of the above-mentioned interactive identification may be a lock-shaped icon that can give the user an intuitive feeling, or other icons or characters customized by the user, which are not limited in this specification.
在这种情况下,上述锁定操作可以包括上述用户针对上述交互标识的触发操作;也即,上述用户在上述后台编辑界面中触发的针对上述目标文本锁定操作,具体可以是针对该互动标识的触发操作。相应地,上述电子设备可以响应于该用户在该后台编辑界面中触发的针对该互动标识的触发操作,将该目标文本分割为若干文本片段。In this case, the above-mentioned locking operation may include the above-mentioned triggering operation of the above-mentioned user on the above-mentioned interactive logo; that is, the above-mentioned locking operation on the above-mentioned target text triggered by the above-mentioned user in the above-mentioned background editing interface may specifically be a triggering on the interactive logo. operate. Correspondingly, the above-mentioned electronic device may divide the target text into several text segments in response to a triggering operation for the interactive identification triggered by the user in the background editing interface.
针对上述互动标识的触发操作的具体形式可以是点击交互标识的操作、双击交互标识的操作、长按交互标识的操作或拖拽交互标识的操作等,本说明书对此不作限定。The specific form of the triggering operation for the above-mentioned interactive logo may be the operation of clicking on the interactive logo, the operation of double-clicking the interactive logo, the operation of long-pressing the interactive logo, or the operation of dragging the interactive logo, etc., which are not limited in this specification.
请参见图3,图3是本说明书一示例性实施例示出的另一种后台编辑界面的示意图。Please refer to FIG. 3 , which is a schematic diagram of another background editing interface shown in an exemplary embodiment of the present specification.
如图3所示的后台编辑界面中,可以展示在前台进行展示的用户界面模板。该用户界面模板可以包括作为在前台进行展示的可编辑元素的文字元素1。In the background editing interface shown in FIG. 3 , a user interface template displayed in the foreground can be displayed. The user interface template may include text element 1 as an editable element for presentation in the foreground.
当上述用户选中文字元素1时,可以进入与文字元素1对应的元素设置界面。在该元素设置界面中,可以输出用于对文字元素1的文本进行锁定设置的文本锁定设置选项,并在与该文本锁定设置选项对应的位置上,输出与文字元素1对应的交互标识;比如,图3中示出的锁型图标。用户可以直接点击该锁定图标,触发对文字元素1的文本的锁定设置,即触发关闭文字元素1的文本在前台进行展示时该文本中的至少部分文本片段的文本编辑权限。When the above-mentioned 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 text lock setting option used to lock the text of text element 1 can be output, and at the position corresponding to the text lock setting option, the interaction logo corresponding to text element 1 can be output; for example , the lock icon shown in Figure 3. The user can directly click the lock icon to trigger the lock setting of the text of the text element 1, that is, to trigger the closing of the text editing permission of at least some text fragments in the text when the text of the text element 1 is displayed in the foreground.
步骤104,获取所述用户从所述若干文本片段中选择的至少一个待锁定的目标文本片段。Step 104: Acquire at least one target text segment to be locked selected by the user from the several text segments.
在本实施例中,可以由上述电子设备将上述目标文本分割为若干文本片段,而上述用户则可以根据实际的文本锁定需求,从这若干文本片段中选择至少一个待锁定的文本片段;此时,可以将该文本片段称为目标文本片段。该电子设备可以获取到至少一个待锁定的目标文本片段。In this embodiment, the above-mentioned target text can be divided into several text fragments by the above-mentioned electronic device, and the above-mentioned user can select at least one text fragment to be locked from the several text fragments according to the actual text locking requirement; , the text segment can be called the target text segment. The electronic device can acquire at least one target text segment to be locked.
具体地,上述电子设备可以通过上述后台编辑界面,将上述若干文本片段展示给上述用户。而该用户则可以通过该后台编辑界面,根据实际的文本锁定需求,从这若干文本片段中选择至少一个待锁定的目标文本片段,使得该电子设备可以获取到至少一个待锁定的目标文本片段。Specifically, the above-mentioned electronic device may display the above-mentioned several text fragments to the above-mentioned user through the above-mentioned background editing interface. The user can select at least one target text fragment to be locked from the text fragments according to the actual text locking requirement through the background editing interface, so that the electronic device can obtain at least one target text fragment to be locked.
在实际应用中,可以在上述后台编辑界面中,以词条、链表、图片等形式输出对上述目标文本进行分割得到的若干文本片段,以供用户查看这若干文本片段,并从这若干文本片段中选择至少一个待锁定的目标文本片段;或者,也可以在上述后台编辑界面中,通过其他能够使用户查看并选择的方式,输出这若干文本片段;本说明书对此不作限定。In practical applications, in the above background editing interface, several text fragments obtained by segmenting the above target text can be output in the form of entries, linked lists, pictures, etc., so that users can view these several text fragments, and from these several text fragments Select at least one target text segment to be locked in the above-mentioned background editing interface; alternatively, in the above background editing interface, the several text segments can be output by other methods that enable the user to view and select; this specification does not limit this.
在示出的一种实施方式中,上述电子设备可以响应于上述锁定操作,将上述目标文本分割为若干文本片段,并跳转至用于选择待锁定的文本片段的用户界面,以该用户界面中输出这若干文本片段;此时,可以将该用户界面称为文本片段选择界面。而上述用户则可以通过该文本片段选择界面,从这若干文本片段中选择至少一个待锁定的目标文本片段。In the illustrated embodiment, the electronic device may, in response to the locking operation, divide the target text into several text segments, and jump to a user interface for selecting a text segment to be locked, and use the user interface These several text fragments are output in ; at this time, the user interface can be called a text fragment selection interface. The above-mentioned user can select at least one target text segment to be locked from the several 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 applications, in the above-mentioned text fragment selection interface, a selection box corresponding to the text fragment may be output at the position corresponding to the text fragment; wherein, taking any text fragment as an example, the position corresponding to the text fragment, It may be the left or right side of the text segment, or other positions that can uniquely represent the text segment, which are not limited in this specification. The above-mentioned user may select the text segment as the target text segment to be locked by checking the selection box.
请参见图4,图4是本说明书一示例性实施例示出的一种文本片段选择界面示意图。Please refer to FIG. 4 , which is a schematic diagram of a text segment selection interface shown in an exemplary embodiment of the present specification.
如图3所示,当上述用户选中文字元素1时,可以进入与文字元素1对应的元素设置界面。在该元素设置界面中,该用户可以将文字元素1重新编辑为“这是一个文本元素。”,并针对与文字元素1对应的交互标识执行触发操作。相应地,上述电子设备可以响应于该触发操作,将文字元素1的文本分割为若干文本片段。As shown in FIG. 3 , when the above-mentioned 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 perform a trigger operation for the interaction identifier corresponding to the text element 1. Correspondingly, the above-mentioned electronic device may, in response to the triggering operation, divide the text of the text element 1 into several text segments.
以上述单字符文本分割的方式为例,可以将“这是一个文本元素。”分割为“这”、“是”、“一”、“个”、“文”、“本”、“元”、“素”、“。”这9个文本片段,并弹出如图4所示的文本片段选择界面。在该文本片段选择界面中,可以展出分割后的“这”、“是”、“一”、“个”、“文”、“本”、“元”、“素”、“。”这9个文本片段,并在各个文本片段的左侧,输出与该文本片段对应的、用于供用户选择文本片段的选择框。上述用户可以通过勾选选择框的方式,选择文本片段作为待锁定的目标文本片段;比如,图4示出的文本片段选择界面中,用户选择了“这”、“个”、“元”、“素”这4个文本片段作为待锁定的目标文本片段。Taking the above single-character text segmentation method as an example, "this is a text element." can be divided into "this", "is", "one", "one", "text", "ben", "yuan" , "Element", "." These 9 text fragments, and the text fragment selection interface shown in Figure 4 pops up. In the text segment selection interface, the segmented "this", "is", "one", "one", "text", "ben", "yuan", "element", "." can be displayed There are 9 text fragments, and on the left side of each text fragment, a selection box corresponding to the text fragment for the user to select the text fragment is output. The above-mentioned user can select the text fragment as the target text fragment to be locked by checking the selection box; for example, in the text fragment selection interface shown in FIG. These 4 text fragments of "element" are used as the target text fragments to be locked.
请参见图5,图5是本说明书一示例性实施例示出的另一种文本片段选择界面示意图。Please refer to FIG. 5, which is a schematic diagram of another text segment selection interface shown in an exemplary embodiment of the present specification.
如图3所示,当上述用户选中文字元素1时,可以进入与文字元素1对应的元素设置界面。在该元素设置界面中,该用户可以将文字元素1重新编辑为“这是一个文本元素。”,并针对与文字元素1对应的交互标识执行触发操作。相应地,上述电子设备可以响应于该触发操作,将文字元素1的文本分割为若干文本片段。As shown in FIG. 3 , when the above-mentioned 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 perform a trigger operation for the interaction identifier corresponding to the text element 1. Correspondingly, the above-mentioned electronic device may, in response to the triggering operation, divide the text of the text element 1 into several text segments.
以上述文本分词处理的方式为例,可以将“这是一个文本元素。”分割为“这是”、“一”、“个”、“文本”、“元素”、“。”这6个文本片段,并弹出如图5所示的文本片段选择界面。在该文本片段选择界面中,可以展出分割后的“这是”、“一”、“个”、“文本”、“元素”、“。”这6个文本片段,并在各个文本片段的左侧,输出与该文本片段对应的、用于供用户选择文本片段的选择框。上述用户可以通过勾选选择框的方式,选择文本片段作为待锁定的目标文本片段;比如,图5示出的文本片段选择界面中,用户选择了“这是”、“个”、“元素”这3个文本片段作为待锁定的目标文本片段。Taking the above text segmentation processing method as an example, "this is a text element." can be divided into "this", "one", "a", "text", "element", "." These six texts fragment, and the text fragment selection interface shown in Figure 5 pops up. In the text segment selection interface, the segmented 6 text segments of "this", "one", "a", "text", "element", and "." can be displayed and displayed in each text segment. On the left side, a selection box corresponding to the text segment for the user to select the text segment is output. The above-mentioned 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. These three text fragments are used as target text fragments to be locked.
步骤106,将所述目标文本以及所述用户选择的至少一个目标文本片段提交至服务端,以使所述服务端关闭所述目标文本在前台进行展示时所述目标文本片段的文本编辑权限。Step 106: Submit the target text and at least one target text segment selected by the user to the server, so that the server 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. Correspondingly, the server can close the text editing authority of the at least one target text fragment when the target text is displayed in the foreground, that is, switch the text editing authority of the maintained at least one target text fragment to the closed state when the target text is displayed in the foreground. .
在示出的一种实施方式中,上述用户选择待锁定的目标文本片段后,将上述目标文本以及上述待锁定的文本片段提交至服务端之前,可以将待锁定的目标文本片段和目标文本片段以外的其他文本片段,分别切换为不同的展示模式。其中,上述展示模式可以是供用户区分的字体颜色、字体大小、字体样式等等,本说明书对此不作限定。In the illustrated embodiment, after the user selects the target text fragment to be locked, and before submitting the target text and the text fragment to be locked to the server, the target text fragment to be locked and the target text fragment can be Except for other text fragments, switch to different display modes respectively. Wherein, the above-mentioned display mode may be font color, font size, font style, etc. for the user to distinguish, which is not limited in this specification.
请参见图6,图6是本说明书一示例性实施例示出的另一种后台编辑界面的示意图。Please refer to FIG. 6, which is a schematic diagram of another background editing interface shown in an exemplary embodiment of the present specification.
如图6所示的后台编辑界面中,可以展示在前台进行展示的用户界面模板。该用户界面模板可以包括作为在前台进行展示的可编辑元素的文字元素1。In the background editing interface shown in FIG. 6 , the user interface template displayed in the foreground can be displayed. The user interface template may include text element 1 as an editable element for presentation in the foreground.
当上述用户选中文字元素1时,可以进入与文字元素1对应的元素设置界面。在该元素设置界面中,该用户可以将文字元素1重新编辑为“这是一个文本元素。”,并针对与文字元素1对应的交互标识执行触发操作。相应地,上述电子设备可以响应于该触发操作,将文字元素1的文本分割为若干文本片段。When the above-mentioned 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 perform a trigger operation for the interaction identifier corresponding to the text element 1. Correspondingly, the above-mentioned electronic device may, in response to the triggering operation, divide the text of the text element 1 into several text segments.
假设将文字元素1的“这是一个文本元素。”这一文本分割为“这”、“是”、“一”、“个”、“文”、“本”、“元”、“素”、“。”这9个文本片段,并假设上述用户选择了“这”、“个”、“元”、“素”这4个文本片段作为待锁定的目标文本片段,则在如图6所示的后台编辑界面中,可以将所展示的“这”、“个”、“元”、“素”这4个文本片段的字体颜色切换为黑色,将所展示的“是”、“一”、“文”、“本”、“。”这5个文本片段的字体颜色切换为灰色,并将该文本显示在元素设置界面中的文本锁定设置选项中,使得用户可以明确哪些文本片段为选择锁定的文本片段,哪些文本片段为没有选择锁定的文本片段。Assume that "this is a text element." of text element 1 is divided into "this", "is", "one", "one", "text", "ben", "yuan", "element" , "." and 9 text segments, and assuming that the above-mentioned user has selected the 4 text segments "this", "a", "yuan", and "element" as the target text segments to be locked, as shown in Figure 6 In the background editing interface shown, you can switch the font color of the displayed four text segments, "this", "one", "yuan" and "su" to black, and change the displayed "yes", "one" , "Text", "This", "." The font color of these five text fragments 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 specify which text fragments are selected. Locked text fragments, which text fragments are not selected locked text fragments.
在示出的一种实施方式中,上述用户还可以通过上述后台编辑界面,预览在关闭上述目标文本在前台进行展示时上述至少一个目标文本片段的文本编辑片段后,该目标文本在前台进行展示时的展示效果。In the illustrated embodiment, the above-mentioned user can also use the above-mentioned background editing interface to preview that after closing the text editing segment of the above-mentioned at least one target text segment when the above-mentioned target text is displayed in the foreground, the target text will be displayed in the foreground. display effect.
请参见图7,图7是本说明书一示例性实施例示出的一种前台展示效果的示意图。Please refer to FIG. 7 , which is a schematic diagram of a foreground display effect shown in an exemplary embodiment of the present specification.
假设将作为在前台进行展示的可编辑元素的“这是一个文本元素。”这一文本分割为“这”、“是”、“一”、“个”、“文”、“本”、“元”、“素”、“。”这9个文本片段,并假设上述用户选择了“这”、“个”、“元”、“素”这4个文本片段作为待锁定的目标文本片段,则可以将该文本和这4个文本片段提交至上述服务端,由该服务端关闭该文本在前台进行展示时这4个文本片段的文本编辑权限。如图7所示,该文本在前台进行展示时,前台用户无法对“这”、“个”、“元”、“素”这4个文本片段进行编辑,只能对空白部分中的其他文本片段进行编辑。Assume that "this is a text element", which is an editable element displayed in the foreground, is divided into "this", "is", "one", "one", "text", "this", " Meta, "Element", and "." These 9 text fragments, and it is assumed that the above-mentioned user has selected the 4 text fragments of "This", "A", "Yuan", "Element" as the target text fragment to be locked, Then, the text and the four text fragments can be submitted to the above-mentioned server, and the server closes the text editing authority of the four text fragments when the text is displayed in the foreground. As shown in Figure 7, when the text is displayed in the foreground, the foreground user cannot edit the four text segments "this", "one", "yuan" and "element", but can only edit other texts in the blank part clips for editing.
在上述技术方案中,针对在前台进行展示的任一可编辑文本,可以先由用户在后台编辑界面中触发针对该可编辑文本的锁定操作,使得该可编辑文本被分割为若干文本片段,再由用户从这若干文本片段中选择出待锁定的文本片段,从而可以在将该可编辑文本和待锁定的文本片段提交给服务端后,由该服务端关闭该可编辑文本在前台进行展示时待锁定的文本片段的文本编辑权限。In the above technical solution, for any editable text displayed in the foreground, the user can first trigger a locking operation for the editable text in the background editing interface, so that the editable text is divided into several text fragments, and then The user selects the text fragment to be locked from the several text fragments, so that after submitting the editable text and the text fragment to be locked to the server, the server closes the editable text when it is displayed in the foreground Text editing permissions for the text fragment to be locked.
通过上述界面交互的方式,由于可以从对可编辑文本进行分割得到的若干文本片段中选择出待锁定的文本片段,并关闭该可编辑文本在前台进行展示时待锁定的文本片段的文本编辑权限,从而可以实现选择性地开放在前台进行展示的可编辑文本中的一部分文本的文本编辑权限,根据实际需求对这些可编辑文本的文本编辑权限进行精准的权限管理。Through the above interface interaction method, the text segment to be locked can be selected from several text segments obtained by dividing the editable text, and the text editing authority of the text segment to be locked when the editable text is displayed in the foreground is closed. , so that the text editing authority of a part of the editable text displayed in the foreground can be selectively opened, and the text editing authority of these editable texts can be accurately managed according to actual needs.
在本说明书的示例性实施例中,还提供了一种能够实现上述方法的设备。In an exemplary embodiment of the present specification, a device capable of implementing the above method is also provided.
图8是本说明书一示例性实施例示出的一种设备的结构示意图。请参考图8,在硬件层面,该设备包括处理器802、内部总线804、网络接口806、内存808以及非易失性存储器810,当然还可能包括其他任务所需要的硬件。本说明书一个或多个实施例可以基于软件方式来实现,比如由处理器802从非易失性存储器810中读取对应的计算机程序到内存809中然后运行。当然,除了软件实现方式之外,本说明书一个或多个实施例并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。FIG. 8 is a schematic structural diagram of a device shown in an exemplary embodiment of the present specification. Referring to FIG. 8 , at the hardware level, the device includes a
图9是本说明书一示例性实施例示出的一种界面交互装置的框图。请参考图9,界面交互装置可以应用于如图8所示的设备中,以实现本说明书的技术方案。其中,该界面交互装置可以包括:FIG. 9 is a block diagram of an interface interaction apparatus shown in an exemplary embodiment of the present specification. Referring to FIG. 9 , the interface interaction apparatus can be applied to the device shown in FIG. 8 to realize the technical solution of this specification. Wherein, the interface interaction device may include:
分割单元901,用于响应于用户在后台编辑界面中触发的针对目标文本的锁定操作,将所述目标文本分割为若干文本片段;其中,所述目标文本包括在前台进行展示的可编辑文本;所述锁定操作用于关闭所述目标文本在前台进行展示时所述目标文本中的至少部分文本片段的文本编辑权限;A dividing
选择单元902,用于获取所述用户从所述若干文本片段中选择的至少一个待锁定的目标文本片段;A
提交单元903,用于将所述目标文本以及所述用户选择的至少一个目标文本片段提交至服务端,以使所述服务端关闭所述目标文本在前台进行展示时所述目标文本片段的文本编辑权限。Submitting
可选的,所述选择单元902具体用于:Optionally, the
跳转至文本片段选择界面,并在所述文本片段选择界面输出所述若干文本片段;Jumping to the text fragment selection interface, and outputting the several text fragments on the text fragment selection interface;
获取所述用户在所述文本片段选择界面中选择的至少一个待锁定的目标文本片段。At least one target text segment to be locked selected by the user in the text segment selection interface is acquired.
可选的,所述后台编辑界面还包括用于触发关闭所述文本编辑权限的交互标识;所述锁定操作包括所述用户针对所述交互标识的触发操作;Optionally, the background editing interface further includes an interaction identifier for triggering closing of the text editing authority; the locking operation includes a triggering operation by the user for the interaction identifier;
所述分割单元901具体用于:The
响应于用户在后台编辑界面中触发的针对所述交互标识的触发操作,将所述目标文本分割为若干文本片段。In response to a triggering operation for the interaction identification triggered by the user in the background editing interface, the target text is divided into several text segments.
可选的,所述若干文本片段为单字符文本;Optionally, the several text fragments are single-character text;
所述分割单元901具体用于:The dividing
针对所述目标文本进行单字符文本分割,以将所述目标文本分割为若干单字符文本。Single-character text segmentation is performed on the target text to segment the target text into several single-character texts.
可选的,所述若干文本片段为文本分词;Optionally, the several text fragments are text segmentation;
所述分割单元901具体用于:The dividing
针对所述目标文本进行文本分词处理,以将所述目标文本分割为文本分词。A text segmentation process is performed on the target text to segment the target text into text segmentation.
可选的,所述装置还包括:Optionally, the device further includes:
展示单元904,用于在将所述目标文本以及所述用户选择的至少一个目标文本片段提交至服务端之前,将所述目标文本包含的文本片段,以及所述目标文本片段以外的其它文本片段,分别切换为不同的展示模式。The displaying
可选的,所述展示单元904具体用于:Optionally, the
将所述目标文本包含的所述目标文本片段,以及所述目标文本片段以外的其它文本片段,分别切换为不同的字符颜色。The target text segment included in the target text and other text segments other than the target text segment are respectively switched to different character colors.
上述装置中各个单元的功能和作用的实现过程详见上述方法中对应步骤的实现过程,在此不再赘述。For the implementation process of the functions and functions of each unit in the above device, please refer to the implementation process of the corresponding steps in the above method, which will not be repeated here.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The systems, devices, modules or units described in the above embodiments may be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementing device is a computer, which may be in the form of a personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation device, email sending and receiving device, game control desktop, tablet, wearable device, or a combination of any of these devices.
在一个典型的配置中,计算机包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带、磁盘存储、量子存储器、基于石墨烯的存储介质或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, 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 Disc (DVD) or other optical storage, Magnetic tape cartridges, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture, or device that includes the element.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the 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 one or more embodiments of this specification is for the purpose of describing a particular embodiment only and is not intended to limit the one or more embodiments of this specification. As used in this specification and in the appended claims, the singular forms "a," "said," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes 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 this specification to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information without departing from the scope of one or more embodiments of the present specification. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."
以上所述仅为本说明书一个或多个实施例的较佳实施例而已,并不用以限制本说明书一个或多个实施例,凡在本说明书一个或多个实施例的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书一个或多个实施例保护的范围之内。The above descriptions are only preferred embodiments of one or more embodiments of this specification, and are not intended to limit one or more embodiments of this specification. All within the spirit and principles of one or more embodiments of this specification, Any modifications, equivalent replacements, improvements, etc. made should be included within the protection scope of one or more embodiments of this specification.
Claims (10)
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 (2)
| 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 |
| US20240281105A1 (en) * | 2022-06-30 | 2024-08-22 | Capital One Services, Llc | User-specific graphical user interface based on a graphical user interface template |
Citations (7)
| 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 |
-
2022
- 2022-06-17 CN CN202210693336.5A patent/CN114995699B/en active Active
Patent Citations (7)
| 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 (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20240281105A1 (en) * | 2022-06-30 | 2024-08-22 | Capital One Services, Llc | User-specific graphical user interface based on a graphical user interface template |
| 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 |
|---|---|---|
| US11287967B2 (en) | Graphical user interface list content density adjustment | |
| US20170031563A1 (en) | Method and apparatus for display control and electronic device | |
| US9298338B2 (en) | Multiple displays for displaying workspaces | |
| US10402470B2 (en) | Effecting multi-step operations in an application in response to direct manipulation of a selected object | |
| US9002808B1 (en) | Using a web application as the default handler of local content | |
| US9804767B2 (en) | Light dismiss manager | |
| SG188304A1 (en) | Concurrent editing of online drawings | |
| CN114995699B (en) | Interface interaction method and device | |
| WO2017003971A1 (en) | Metamorphic documents | |
| US20210225059A1 (en) | Customizable animation experience | |
| CN110634168A (en) | Method and device for generating group portraits | |
| CN114880289A (en) | File grouping display method and computing device | |
| CN109313662B (en) | Deconstruction and presentation of web pages into a native application experience | |
| CN106970758A (en) | Electronic document operation processing method, device and electronic equipment | |
| WO2025036168A1 (en) | Method and apparatus for presenting media item, and device and readable storage medium | |
| US8959444B2 (en) | Presenting a navigation order of shapes | |
| US11450043B2 (en) | Element association and modification | |
| CN111427487A (en) | Vehicle-mounted multimedia host system and control method of small assembly of application program thereof | |
| CN116594724A (en) | Content presenting method, device, device and storage medium | |
| CN116306491A (en) | Document catalog processing method and related equipment | |
| CN114817781A (en) | Method and device for determining content displayed on an interface | |
| CN113741743A (en) | Display method and device, equipment and storage medium | |
| WO2021073549A1 (en) | Screen rotation picture display method and apparatus, computer device, and storage medium | |
| CN108351888A (en) | Generate deferrable data streams | |
| US12443640B1 (en) | Database document visualization and manipulation engine apparatuses, methods, systems and media |
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 |