CN111625161A - Label processing method and device and electronic equipment - Google Patents

Label processing method and device and electronic equipment Download PDF

Info

Publication number
CN111625161A
CN111625161A CN202010317689.6A CN202010317689A CN111625161A CN 111625161 A CN111625161 A CN 111625161A CN 202010317689 A CN202010317689 A CN 202010317689A CN 111625161 A CN111625161 A CN 111625161A
Authority
CN
China
Prior art keywords
tag
label
target
list
editable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010317689.6A
Other languages
Chinese (zh)
Other versions
CN111625161B (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.)
Wuhan Kuangshi Jinzhi Technology Co ltd
Beijing Kuangshi Technology Co Ltd
Beijing Megvii Technology Co Ltd
Original Assignee
Wuhan Kuangshi Jinzhi Technology Co ltd
Beijing Kuangshi 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 Wuhan Kuangshi Jinzhi Technology Co ltd, Beijing Kuangshi Technology Co Ltd filed Critical Wuhan Kuangshi Jinzhi Technology Co ltd
Priority to CN202010317689.6A priority Critical patent/CN111625161B/en
Publication of CN111625161A publication Critical patent/CN111625161A/en
Priority to PCT/CN2020/119631 priority patent/WO2021212761A1/en
Application granted granted Critical
Publication of CN111625161B publication Critical patent/CN111625161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

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

Abstract

The application provides a tag processing method, a tag processing device and electronic equipment, wherein in the method, tags in a tag list of the electronic equipment are configured with editable attributes, and the method comprises the following steps: responding to a tag search request aiming at the tag list, and searching a to-be-selected tag corresponding to the tag information from the tag list; the tag search request carries tag information which is input by a user and aims at a first target object; setting the editable attribute of the target label to be in an editable state in response to the setting operation of the editable attribute of the target label in the to-be-selected label; in an editable state, in response to the editing operation on the target label, replacing the target label in the label list with the label content corresponding to the editing operation, and modifying the label of the target object marked with the target label in the object library into the label content. The method and the device can realize online editing and batch updating of the label, facilitate maintenance of the label and reduce operation cost of a user.

Description

Label processing method and device and electronic equipment
Technical Field
The present application relates to the technical field of tag classification, and in particular, to a tag processing method and apparatus, and an electronic device.
Background
In the existing label classification method, classification labels of certain fixed scenes are determined firstly, and then the fixed labels are selected in a searching mode or new labels are removed when people are classified. The method has no way to modify the inherent label, and if the label of the person who has already marked the label is to be modified, the database or the code must be modified in other ways, so that the process is tedious and inefficient.
Disclosure of Invention
In view of this, an object of the present application is to provide a method and an apparatus for processing a tag, and an electronic device, which can implement online editing and batch updating of the tag, facilitate maintenance of the tag, and reduce operation cost of a user.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for processing a tag, where the method is applied to an electronic device, a tag in a tag list of the electronic device is configured with an editable attribute, and the tag in the tag list is used for classifying and labeling a target object in an object library, and the method includes: responding to a tag search request aiming at the tag list, and searching a to-be-selected tag corresponding to the tag information from the tag list; the tag search request carries tag information which is input by a user and aims at a first target object; setting the editable attribute of the target label to be in an editable state in response to the setting operation of the editable attribute of the target label in the to-be-selected label; in an editable state, in response to the editing operation on the target label, replacing the target label in the label list with the label content corresponding to the editing operation, and modifying the label of the target object marked with the target label in the object library into the label content.
Further, the method further comprises: receiving a tag setting request for a first target object; displaying a tag search input box and a tag list based on the tag setting request; and obtaining a tag search request based on the tag information input in the tag search input box by the user.
Further, the step of searching for the to-be-selected tag corresponding to the tag information from the tag list includes: performing regular matching or fuzzy matching on the labels in the label list according to the label information; and taking the matched label as a candidate label.
Further, the method further comprises: processing the same characters in the label to be selected and the label information in a preset format; and/or adding the labels to be selected to the search result list according to a preset sequence.
Further, the tag list and the search result list are both configured with hidden attributes; the method further comprises the following steps: responding to the label information input aiming at the label search input box, modifying the value of the hidden attribute into a preset first value, displaying a search result list and hiding the label list; and when the value of the hidden attribute is the preset second value, the search result list is in a hidden state, and the label list is in a display state.
Further, after the above-mentioned responding to the tag search request for the tag list and searching for the to-be-selected tag corresponding to the tag information from the tag list, the method further includes: if the to-be-selected label corresponding to the label information is not searched from the label list, displaying first prompt information for creating a new label by using the label information; in response to a click operation for the first prompt message, creating a new tag in the tag list; the content of the new tag is tag information.
Further, the method further comprises: and marking the first target object with a new label.
Further, the step of setting the editable attribute of the target tag to an editable state in response to the setting operation on the editable attribute of the target tag in the to-be-selected tag includes: when detecting that a mouse cursor is suspended on a target label in the labels to be selected, displaying an editing option and a deleting option corresponding to the target label; and if the user clicks the editing option, setting the editable attribute of the target label to be in an editable state.
Further, after the step of displaying the editing option and the deleting option corresponding to the target tag, the method further includes: responding to the click operation aiming at the deletion option, and displaying second prompt information for confirming whether the deletion is confirmed; and clearing the label of the target object marked with the target label in the object library in response to the confirmation operation aiming at the second prompt message.
Further, after the step of setting the editable attribute of the target tag to the editable state, the method further includes: monitoring whether an event not to be concerned is triggered in an editable state; if yes, displaying a third prompt message; the third prompt message is used for prompting the user whether the current message is not stored and whether the execution is continued or not; responding to the confirmation operation aiming at the third prompt message, and continuously setting the editable attribute of the target label to be in an editable state; and restoring the target label in the label list in response to the unconfirming operation for the third prompt message.
Further, after the step of replacing the target tag in the tag list with the tag content corresponding to the editing operation in response to the editing operation on the target tag, the method further includes: detecting whether a storage instruction aiming at the label content is triggered; if so, replacing the target label in the label list with the label content corresponding to the editing operation, and modifying the label of the target object marked with the target label in the object library into the label content; and if not, canceling the label content corresponding to the editing operation to recover the target label.
In a second aspect, an embodiment of the present application further provides a device for processing a tag, where the device is applied to an electronic device, a tag in a tag list of the electronic device is configured with an editable attribute, and the tag in the tag list is used to classify and label a target object in an object library, and the device includes: the tag searching module is used for responding to a tag searching request aiming at the tag list and searching candidate tags corresponding to the tag information from the tag list; the tag search request carries tag information which is input by a user and aims at a first target object; the state setting module is used for responding to setting operation aiming at the editable attribute of the target label and setting the editable attribute of the target label into an editable state; and the tag updating module is used for responding to the editing operation aiming at the target tag in the tags to be selected in an editable state, replacing the target tag in the tag list with the tag content corresponding to the editing operation, and modifying the tag of the target object marked with the target tag in the object library into the tag content.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operated, the processor executing the machine-readable instructions to perform the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method in the first aspect.
In the tag processing method provided by the embodiment of the application, the tags in the tag list of the electronic device are configured with editable attributes, and when the setting operation for the editable attributes of the target tags is responded, the editable attributes of the target tags can be set to be in an editable state; in this editable state, in response to an editing operation on a target tag, the target tag in the tag list may be replaced with a tag content corresponding to the editing operation, and a tag of a target object marked with the target tag in the object library may be modified into the tag content. The method can realize online editing and batch updating of the label, is convenient for maintaining the label and reduces the operation cost of a user.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 2 is a flowchart illustrating a processing method of a tag according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating a request generation method provided by an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a working process in a tag processing method according to an embodiment of the present application;
fig. 5 is a block diagram illustrating a structure of a tag processing apparatus according to an embodiment of the present application;
fig. 6 shows a block diagram of another tag processing apparatus according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In consideration of the existing label classification method, if the labels of the people who have already marked the labels are to be modified, the database or the codes must be modified in other ways, so that the process is complicated and inefficient. In order to improve this problem, embodiments of the present application provide a method and an apparatus for processing a tag, and for understanding, the embodiments of the present application are described in detail below.
The first embodiment is as follows:
first, an example electronic device for implementing the tag processing method and apparatus according to the embodiment of the present application is described with reference to fig. 1.
As shown in fig. 1, an electronic device 100 includes one or more processors 102 and one or more storage devices 104. These components are interconnected by a bus system 112 and/or other form of connection mechanism (not shown). Optionally, the electronic device may further include an input device 106, an output device 108, and an image acquisition device 110. It should be noted that the components and structure of the electronic device 100 shown in fig. 1 are only exemplary and not limiting, and the electronic device may have some of the components shown in fig. 1 and may also have other components and structures not shown in fig. 1, as desired.
The processor 102 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 100 to perform desired functions.
The storage 104 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. On which one or more computer program instructions may be stored that may be executed by processor 102 to implement client-side functionality (implemented by the processor) and/or other desired functionality in embodiments of the invention described below. Various applications and various data, such as various data used and/or generated by the applications, may also be stored in the computer-readable storage medium.
The input device 106 may be a device used by a user to input instructions and may include one or more of a keyboard, a mouse, a microphone, a touch screen, and the like.
The output device 108 may output various information (e.g., images or sounds) to the outside (e.g., a user), and may include one or more of a display, a speaker, and the like.
The image capture device 110 may take images (e.g., photographs, videos, etc.) desired by the user and store the taken images in the storage device 104 for use by other components.
For example, an example electronic device for implementing the tag processing method and apparatus according to the embodiments of the present application may be implemented on a smart terminal such as a server, a monitoring device, a smart phone, a tablet computer, a computer, and the like.
Example two:
referring to a flowchart of a processing method of a tag shown in fig. 2, the method is applied to an electronic device, which may be a server or other electronic devices such as a gate inhibition machine. Labels in a label list of the electronic device are configured with editable attributes, the labels in the label list are used for classifying and labeling target objects in an object library, the target objects can be employees of a company or staff of a hospital, and the classification can be classification of identity information or job ranks of the employees or the staff. The processing method of the label comprises the following steps:
step S202, responding to the tag search request aiming at the tag list, and searching the to-be-selected tag corresponding to the tag information from the tag list.
The tag search request carries tag information which is input by a user and aims at the first target object. In specific implementation, when a user wants to perform tag setting on a certain target object, tag information to be searched can be input in the tag search input box, so that a tag search request for the tag list can be initiated, and meanwhile, the electronic device can respond to the tag search request for the tag list and search for a to-be-selected tag corresponding to the tag information from the tag list.
The function of searching for the tag here has various implementation manners, such as regular matching or fuzzy matching, and on the basis of the matching, there are usually a plurality of searched tags, and the information of the plurality of searched tags is used as the tags to be selected for the user to select or edit.
Step S204, in response to the setting operation aiming at the editable attribute of the target label in the to-be-selected label, setting the editable attribute of the target label to be in an editable state.
The electronic device may set the editable attribute of the target tag to an editable state in response to the setting operation for the editable attribute of the target tag. The setting operation of the editable property of the target tag may include various ways, which are not specifically limited herein.
In the editable state, in response to the editing operation on the target tag, replacing the target tag in the tag list with the tag content corresponding to the editing operation, and modifying the tag of the target object marked with the target tag in the object library into the tag content.
In an editable state, after a user edits a target tag, the electronic device replaces the target tag in the tag list with the edited tag content, and modifies the tag of the target object marked with the target tag in the object library into the tag content.
In the tag processing method provided by the embodiment of the application, the tags in the tag list of the electronic device are configured with editable attributes, and when the setting operation aiming at the editable attributes of the target tags is responded, the editable attributes of the target tags can be set to be in an editable state; in this editable state, in response to the editing operation on the target tag, the target tag in the tag list may be replaced with the tag content corresponding to the editing operation, and the tag of the target object marked with the target tag in the object library may be modified into the tag content. The method can realize online editing and batch updating of the label, is convenient for maintaining the label and reduces the operation cost of a user.
In order to set or modify the tag of the target object, the method may further include the following steps, referring to the flowchart shown in fig. 3 and the tag processing operation process diagram shown in fig. 4:
step S302, a tag setting request for the first target object is received.
In step S304, based on the tag setting request, the tag search input box and the tag list are displayed.
Step S306, obtaining a label search request based on the label information input by the user in the label search input box.
A user firstly initiates a tag setting request for a first target object, for example, a tag item is clicked in personal information of a certain employee of a company, electronic equipment responds to the tag setting request for the first target object, and then a tag search input box and a tag list are displayed based on the tag setting request; namely, a tag search input box and a tag list are displayed on the right side of the personal information table, as shown in fig. 4, one tag search input box is displayed above the tag list, when there is a lot of tag data, the tag list can be screened, and a change of a searchValue value of the tag search input box corresponding to the binding and a focused onfocus event of the tag search input box are monitored. When the user writes the tag information which is desired to be set in the search input box, a tag search request for the tag list is initiated to the electronic device.
In order to quickly retrieve the tag desired by the user, the step of searching the tag list for the to-be-selected tag corresponding to the tag information may be implemented as follows:
performing regular matching or fuzzy matching on the labels in the label list according to the label information; and taking the matched label as a candidate label.
When the mouse cursor is focused on the label search input box and the value of the label search input box changes, the server automatically matches the labels in all the lists according to the principles of regular matching and front-back fuzzy matching.
In order to improve the visual experience of the user, after the tags to be selected are matched, the following steps can be further executed: processing the same characters in the label to be selected and the label information in a preset format; and/or adding the labels to be selected to the search result list according to a preset sequence.
The preset format may be font bolding, font color changing, and the like, and is not particularly limited herein. Since there are usually a plurality of matched tags, the plurality of tags may be sorted by one, and the most matched tag is placed at the top position in the search result list, for example, the preset order may be sorted from large to small according to the number of the same characters in the matched tags, or sorted from small to multiple rows according to the total number of characters in the tags in case of the same number of characters, and the like.
An example of displaying the text on the match by bolding is listed below:
for example, if the existing tag is a courier and the value input in the tag search input box is a courier, the matching tag is displayed: and if a plurality of matched couriers exist, displaying by adopting a list structure according to the same mode. Through font modification of a preset format, a user can more clearly see the label with the highest matching degree.
In addition, the display states of the tag list and the search result list can be adjusted, the tag list and the search result list in the embodiment of the application are both configured with hidden attributes, the electronic device can respond to tag information input by aiming at the tag search input frame, modify the value of the hidden attributes into a preset first value, display the search result list and hide the tag list; and when the value of the hidden attribute is the preset second value, the search result list is in a hidden state, and the label list is in a display state.
The preset first value and the preset second value may be represented by 1 and 0, respectively, may also be represented by "true (true/T)" and "false (false/F)", and may also be represented by other values as long as the values are distinguished from each other, which is not limited in this embodiment of the present invention.
In order to achieve a better display effect, in this embodiment, the content displayed by the page is switched by using a search page parameter, that is, the value of the hidden attribute (showSearch), for example, whether the value of the search page parameter, such as the showSearch, is true is detected, that is, the preset first value is obtained; the search page parameter is used for defining the content of a search page; and if the value of the showSearch is true, displaying the search result list and hiding the label list. And if the value of the showSearch is false, namely the preset second value, displaying the label list and hiding the search result list. The showSearch value is false by default.
Therefore, after the matching of the tag information is completed, the electronic device changes the value of showSearch to true, and the tag list is hidden and displays the search result list.
After searching is completed based on the label information input by the user to generate a search result list, when the electronic equipment detects that a mouse cursor is suspended on a target label in labels to be selected, displaying an editing option and a deleting option corresponding to the target label; and if receiving the clicking operation of the user for the editing option, responding to the setting operation for the editable attribute of the target label.
Specifically, each tag in the tag list can control whether to enter an editable state through a canEdit parameter, a default value of the canEdit is false, when a user hover is on a target tag of the tag list, and then clicks an editing option, the value of the canEdit is set to true, and at this time, the tag enters the editable state.
If the user clicks the deletion option, the electronic equipment responds to the clicking operation aiming at the deletion option and displays second prompt information for confirming whether the deletion is confirmed; and then, in response to the confirmation operation aiming at the second prompt message, clearing the label of the target object marked with the target label in the object library.
Specifically, if some tags in the tag list do not need to be used continuously, for example, the user needs to clear the target tag, the user directly clicks the delete option on the target tag. In order to avoid unnecessary trouble caused by clicking errors, a popup window for secondary confirmation can be popped up when a deletion option is clicked again to guide a user to perform secondary confirmation, the popup window for secondary confirmation can prompt the user to delete a target label and remove label information of all people marked with the target label, and whether the user continues current deletion operation is determined, for example, the popup window comprises a Y control and an N control, wherein the Y control is used for indicating that the current deletion operation is continued, and the N control indicates that the current deletion operation is cancelled. When the user selects to continue the current deleting operation, the label of the target object marked with the target label in the object library is cleared; when the user selects to cancel the current deleting operation, the label deleting operation is stopped, and the original label list is restored, namely the label list before the deleting option is clicked.
In a preferred embodiment, after the editable attribute of the target tag is set to the editable state, a processing procedure of an error operation may be further included, specifically including the following steps:
monitoring whether an event not to be concerned is triggered in an editable state; if yes, displaying a third prompt message; the third prompt message is used for prompting the user whether the current information is not stored and whether the execution is continued or not; responding to the confirmation operation aiming at the third prompt message, and continuously setting the editable attribute of the target label to be in an editable state; and restoring the target label in the label list in response to the unconfirming operation for the third prompt message.
In specific implementation, when the target tag is in an editable state, by monitoring an onblu event of the target tag edit box input, if the target tag is clicked to another place by misoperation, the onblu event is triggered, that is, the mouse cursor is not focused in the tag edit box, and then a popup box appears to prompt that "is the current information of the user not stored and is continued? ", to make a second confirmation by the user. And if the user confirms to continue, automatically focusing the mouse cursor to the tag editing frame to edit the target tag, and if the selection is not, restoring the target tag, restoring the hover effect of other tags and performing other normal operations.
In addition, after the step of replacing the target tag in the tag list with the tag content corresponding to the editing operation in response to the editing operation on the target tag, the method may further include the following steps: detecting whether a storage instruction aiming at the label content is triggered; if so, replacing the target label in the label list with the label content corresponding to the editing operation, and modifying the label of the target object marked with the target label in the object library into the label content; and if not, canceling the label content corresponding to the editing operation to recover the target label.
Specifically, when the target tag is in an editable state, the mouse cursor automatically moves to the tag edit box Input, and at this time, the target tag can be edited, and the hover states of all other tags can be cancelled, so that a plurality of tags cannot be edited simultaneously. The current label information currentTag is stored before editing, when a user edits the label but does not click to store, the original label content can be recovered under the condition that a request is not sent any more when the click is cancelled, namely, the target label is recovered.
After the editing is finished, the modified tag information, namely the tag content corresponding to the editing operation, can be stored by clicking the right storage button. At this time, the label information of all the persons marked with the target labels in the object library is modified. For example, the Zhang Sanyuan original label is a takeaway, and then the manager changes the takeaway label into a takeaway-beauty group, so that the label of Zhang Sanyuan is changed into the takeaway-beauty group, and the label of the person marked with the takeaway label in the object library is changed into the takeaway-beauty group, so that the consistency of data is ensured, and dirty data cannot be generated.
The above processes are all realized under the condition that a tag to be selected corresponding to the tag information is searched from the tag list in response to a tag search request aiming at the tag list, and if the tag to be selected corresponding to the tag information is not searched from the tag list, first prompt information for creating a new tag by the tag information is displayed; then responding to the click operation aiming at the first prompt message, and creating a new label in the label list; the content of the new tag is the above tag information.
Referring to fig. 4, the tag information that the user wants to find is a government affairs visit, but there is no tag matching the government affairs visit in the tag list, so when the user inputs the government affairs visit, the user is prompted to create a tag of "government affairs visit" in the search result column. Clicking the prompt can directly send a request to create a new government affair access label, and meanwhile, the edited key personnel are labeled with the government affair access label, so that the operation of labeling the new label for the target object is realized.
The tag processing method provided by the embodiment of the application can directly perform the operations of adding, deleting, modifying and checking the tags on the display page of the tags, and simultaneously perform batch operation on tag information of personnel, so that the operation cost of a user can be effectively reduced. The operations of increasing, deleting, modifying and checking can be all realized in one panel, the operations of increasing, deleting, modifying and checking all the labels are realized in the same panel, the rapid classification of the user on the personnel can be facilitated when the user is in the management of the personnel, and the maintenance efficiency of the labels is improved.
Example three:
based on the foregoing method embodiment, an embodiment of the present application further provides a tag processing apparatus, where a tag in a tag list applied to an electronic device is configured with an editable attribute, and the tag in the tag list is used to classify and label a target object in an object library, as shown in fig. 5, the apparatus includes:
a tag searching module 502, configured to search for a to-be-selected tag corresponding to tag information from a tag list in response to a tag search request for the tag list; the tag search request carries tag information which is input by a user and aims at a first target object;
a state setting module 504, configured to set an editable attribute of the target tag to an editable state in response to a setting operation for the editable attribute of the target tag in the to-be-selected tag;
and a tag updating module 506, configured to, in an editable state, respond to the editing operation on the target tag, replace the target tag in the tag list with the tag content corresponding to the editing operation, and modify the tag of the target object marked with the target tag in the object library into the tag content.
In another embodiment, the apparatus may further include, in addition to the tag search module 602, the status setting module 604 and the tag update module 606 similar to the previous embodiment: a request generation module 608, a list generation module 610, a label creation module 612, a display adjustment module 614, a label deletion module 616, an misoperation processing module 618 and a label storage module 620, as shown in fig. 6.
In another embodiment, the request generating module 608 is configured to receive a tag setting request for a first target object; displaying a tag search input box and a tag list based on the tag setting request; and obtaining a tag search request based on the tag information input in the tag search input box by the user.
In another embodiment, the tag search module 602 is further configured to: performing regular matching or fuzzy matching on the labels in the label list according to the label information; and taking the matched label as a candidate label.
In another embodiment, the list generating module 610 is further configured to: processing the same characters in the label to be selected and the label information in a preset format; and/or adding the labels to be selected to the search result list according to a preset sequence.
In another embodiment, the tag list and the search result list are both configured with hidden attributes; the display adjustment module 614 is further configured to: responding to the label information input aiming at the label search input box, modifying the value of the hidden attribute into a preset first value, displaying a search result list and hiding the label list; and when the value of the hidden attribute is the preset second value, the search result list is in a hidden state, and the label list is in a display state.
In another embodiment, the tag creation module 612 is configured to: if the to-be-selected label corresponding to the label information is not searched from the label list, displaying first prompt information for creating a new label by using the label information; in response to a click operation for the first prompt message, creating a new tag in the tag list; the content of the new tag is tag information.
In another embodiment, the label creating module 612 is further configured to label the first target object with a new label.
In another embodiment, the status setting module 604 is further configured to: when detecting that a mouse cursor is suspended on a target label in the labels to be selected, displaying an editing option and a deleting option corresponding to the target label; and if the user clicks the editing option, setting the editable attribute of the target label to be in an editable state.
In another embodiment, the tag deleting module 616 is configured to: responding to the click operation aiming at the deletion option, and displaying second prompt information for confirming whether the deletion is confirmed; and clearing the label of the target object marked with the target label in the object library in response to the confirmation operation aiming at the second prompt message.
In another embodiment, the misoperation processing module 618 is configured to: monitoring whether an event not to be concerned is triggered in an editable state; if yes, displaying a third prompt message; the third prompt message is used for prompting the user whether the current message is not stored and whether the execution is continued or not; responding to the confirmation operation aiming at the third prompt message, and continuously setting the editable attribute of the target label to be in an editable state; and restoring the target label in the label list in response to the unconfirming operation for the third prompt message.
In another embodiment, the tag saving module 620 is configured to: detecting whether a storage instruction aiming at the label content is triggered; if so, replacing the target label in the label list with the label content corresponding to the editing operation, and modifying the label of the target object marked with the target label in the object library into the label content; and if not, canceling the label content corresponding to the editing operation to recover the target label.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
The present embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processing device to perform the steps of the method provided by the above-mentioned method embodiment.
The tag processing method and apparatus and the computer program product of the electronic device provided in the embodiments of the present application include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A tag processing method is applied to an electronic device, wherein tags in a tag list of the electronic device are configured with editable attributes, and the tags in the tag list are used for performing classification labeling on target objects in an object library, and the method comprises the following steps:
responding to a tag search request aiming at the tag list, and searching a to-be-selected tag corresponding to tag information from the tag list; the tag search request carries tag information which is input by a user and aims at a first target object;
setting an editable attribute of a target label in the to-be-selected label into an editable state in response to setting operation for the editable attribute of the target label;
in the editable state, in response to the editing operation on the target tag, replacing the target tag in the tag list with tag content corresponding to the editing operation, and modifying the tag of the target object marked with the target tag in the object library into the tag content.
2. The method of claim 1, further comprising:
receiving a tag setting request for a first target object;
displaying a tag search input box and a tag list based on the tag setting request;
and obtaining the label search request based on the label information input in the label search input box by the user.
3. The method according to claim 1, wherein the step of searching the tag list for the to-be-selected tag corresponding to the tag information comprises:
performing regular matching or fuzzy matching on the labels in the label list according to the label information;
and taking the matched label as the label to be selected.
4. The method according to any one of claims 1-3, further comprising:
processing the same characters in the label to be selected and the label information in a preset format; and/or the presence of a gas in the gas,
and adding the tags to be selected to a search result list according to a preset sequence.
5. The method of claim 4, wherein the tag list and the search result list are each configured with hidden attributes;
the method further comprises the following steps:
in response to the tag information input aiming at the tag search input box, modifying the value of the hidden attribute to be a preset first value, displaying the search result list and hiding the tag list; and when the value of the hidden attribute is the preset second value, the search result list is in a hidden state, and the tag list is in a display state.
6. The method according to claim 1, wherein after searching for the candidate tag corresponding to the tag information from the tag list in response to the tag search request for the tag list, the method further comprises:
if the to-be-selected label corresponding to the label information is not searched from the label list, displaying first prompt information for creating a new label by using the label information;
creating a new label in the label list in response to a click operation for the first prompt message; the content of the new tag is the tag information.
7. The method of claim 6, further comprising:
and marking the new label for the first target object.
8. The method according to claim 1, wherein the step of setting the editable attribute of the target tag to an editable state in response to the setting operation for the editable attribute of the target tag in the tags to be selected comprises:
when detecting that a mouse cursor is suspended on a target label in the labels to be selected, displaying an editing option and a deleting option corresponding to the target label;
and if receiving the clicking operation of the user for the editing option, setting the editable attribute of the target tag to be in an editable state.
9. The method of claim 8, wherein after the step of displaying the edit option and the delete option corresponding to the target tag, further comprising:
responding to the click operation aiming at the deletion option, and displaying second prompt information for confirming whether the deletion is confirmed;
and clearing the label of the target object marked with the target label in the object library in response to the confirmation operation aiming at the second prompt message.
10. The method of claim 1, wherein after the step of setting the editable property of the target tag to an editable state, further comprising:
monitoring whether an event not to be concerned is triggered in the editable state;
if yes, displaying a third prompt message; the third prompt message is used for prompting the user whether the current information is not stored and whether the execution is continued or not;
in response to a confirmation operation for the third prompt message, continuously setting the editable attribute of the target tag to be in an editable state;
restoring the target tag in the tag list in response to a non-confirmation operation for the third prompt message.
11. The method according to claim 1, wherein after the step of replacing the target tag in the tag list with the tag content corresponding to the editing operation in response to the editing operation on the target tag, further comprising:
detecting whether a storage instruction aiming at the label content is triggered;
if so, replacing the target label in the label list with the label content corresponding to the editing operation, and modifying the label of the target object marked with the target label in the object library into the label content;
and if not, canceling the label content corresponding to the editing operation to recover the target label.
12. An apparatus for processing tags, the apparatus being applied to an electronic device, wherein tags in a tag list of the electronic device are configured with editable attributes, and the tags in the tag list are used for performing classification labeling on target objects in an object library, the apparatus comprising:
the tag searching module is used for responding to a tag searching request aiming at the tag list, and searching candidate tags corresponding to the tag information from the tag list; the tag search request carries tag information which is input by a user and aims at a first target object;
a state setting module, configured to set an editable attribute of the target tag to an editable state in response to a setting operation for the editable attribute of the target tag;
and the tag updating module is used for responding to the editing operation of a target tag in the tags to be selected in the editable state, replacing the target tag in the tag list with the tag content corresponding to the editing operation, and modifying the tag of the target object marked with the target tag in the object library into the tag content.
13. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method according to any one of claims 1 to 11.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of the preceding claims 1 to 11.
CN202010317689.6A 2020-04-21 2020-04-21 Label processing method and device and electronic equipment Active CN111625161B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010317689.6A CN111625161B (en) 2020-04-21 2020-04-21 Label processing method and device and electronic equipment
PCT/CN2020/119631 WO2021212761A1 (en) 2020-04-21 2020-09-30 Tag processing method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010317689.6A CN111625161B (en) 2020-04-21 2020-04-21 Label processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111625161A true CN111625161A (en) 2020-09-04
CN111625161B CN111625161B (en) 2021-06-22

Family

ID=72259113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010317689.6A Active CN111625161B (en) 2020-04-21 2020-04-21 Label processing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN111625161B (en)
WO (1) WO2021212761A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287177A (en) * 2020-11-25 2021-01-29 城云科技(中国)有限公司 Method and device for creating, changing, displaying and inquiring object label
CN112631481A (en) * 2020-12-30 2021-04-09 航天信息软件技术有限公司 Interaction method and system under editable list
CN113297827A (en) * 2021-02-08 2021-08-24 上海连尚网络科技有限公司 Method and equipment for presenting content information
WO2021212761A1 (en) * 2020-04-21 2021-10-28 武汉旷视金智科技有限公司 Tag processing method and apparatus, and electronic device
CN113723062A (en) * 2021-08-31 2021-11-30 远光软件股份有限公司 Report label editing method and device, storage medium and terminal equipment
CN114594889A (en) * 2022-02-24 2022-06-07 联想(北京)有限公司 Control method and device
CN113297827B (en) * 2021-02-08 2024-06-04 上海连尚网络科技有限公司 Method and equipment for presenting content information

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114117050B (en) * 2021-11-30 2022-08-05 济南农村商业银行股份有限公司 Full-automatic accounting flow popup window processing method, device and system
CN115129200A (en) * 2022-07-07 2022-09-30 金蝶软件(中国)有限公司 Processing method, device and equipment for list content items and storage medium
CN116821523B (en) * 2023-08-30 2023-11-24 山西合力思创科技股份有限公司 Personnel matching logic verification method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150066380A1 (en) * 2013-08-30 2015-03-05 Shimadzu Corporation Mass spectrometoric data analyzing apparatus and analyzing method
CN106484763A (en) * 2015-09-02 2017-03-08 雅虎公司 system and method for merging data
CN107194573A (en) * 2017-05-18 2017-09-22 郝继英 Asset source manages method concentratedly
CN109242417A (en) * 2018-08-20 2019-01-18 中国平安财产保险股份有限公司 Declaration form batch modification method, apparatus, computer equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677870A (en) * 2016-01-11 2016-06-15 浙江慧脑信息科技有限公司 Side classified index setting method
US10157332B1 (en) * 2016-06-06 2018-12-18 A9.Com, Inc. Neural network-based image manipulation
CN110543477B (en) * 2019-07-16 2022-07-05 武汉烽火众智数字技术有限责任公司 Label construction system and method
CN111625161B (en) * 2020-04-21 2021-06-22 武汉旷视金智科技有限公司 Label processing method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150066380A1 (en) * 2013-08-30 2015-03-05 Shimadzu Corporation Mass spectrometoric data analyzing apparatus and analyzing method
CN106484763A (en) * 2015-09-02 2017-03-08 雅虎公司 system and method for merging data
CN107194573A (en) * 2017-05-18 2017-09-22 郝继英 Asset source manages method concentratedly
CN109242417A (en) * 2018-08-20 2019-01-18 中国平安财产保险股份有限公司 Declaration form batch modification method, apparatus, computer equipment and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021212761A1 (en) * 2020-04-21 2021-10-28 武汉旷视金智科技有限公司 Tag processing method and apparatus, and electronic device
CN112287177A (en) * 2020-11-25 2021-01-29 城云科技(中国)有限公司 Method and device for creating, changing, displaying and inquiring object label
CN112287177B (en) * 2020-11-25 2021-07-13 城云科技(中国)有限公司 Method and device for creating, changing, displaying and inquiring object label
CN112631481A (en) * 2020-12-30 2021-04-09 航天信息软件技术有限公司 Interaction method and system under editable list
CN113297827A (en) * 2021-02-08 2021-08-24 上海连尚网络科技有限公司 Method and equipment for presenting content information
CN113297827B (en) * 2021-02-08 2024-06-04 上海连尚网络科技有限公司 Method and equipment for presenting content information
CN113723062A (en) * 2021-08-31 2021-11-30 远光软件股份有限公司 Report label editing method and device, storage medium and terminal equipment
CN114594889A (en) * 2022-02-24 2022-06-07 联想(北京)有限公司 Control method and device

Also Published As

Publication number Publication date
WO2021212761A1 (en) 2021-10-28
CN111625161B (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN111625161B (en) Label processing method and device and electronic equipment
US11392556B1 (en) Digital processing systems and methods for draft and time slider for presentations in collaborative work systems
US8943400B2 (en) Document processing apparatus, document processing method and storage medium storing document processing program
US8201079B2 (en) Maintaining annotations for distributed and versioned files
JP4093012B2 (en) Hypertext inspection apparatus, method, and program
US7689578B2 (en) Dealing with annotation versioning through multiple versioning policies and management thereof
JP4682284B2 (en) Document difference detection device
JP6237168B2 (en) Information processing apparatus and information processing program
US20160078115A1 (en) Interactive System and Method for Processing On-Screen Items of Textual Interest
JP2008310582A (en) Maintenance work support apparatus and system, and maintenance work support method
JP2011128777A (en) Operation monitoring apparatus
CN106484853A (en) document analysis method and device
US10580177B2 (en) Visualization of provenance data
US20120102397A1 (en) Safety methods for non-programmatic integration systems
US20120102118A1 (en) Collaboration methods for non-programmatic integration systems
JP2008181218A (en) Input support method and device
US20070220439A1 (en) Information Management Device
JP7053219B2 (en) Document retrieval device and method
JP2014102634A (en) Method and apparatus for supporting user operation
JP2017215714A (en) Information processor and information processing program
JP7000997B2 (en) Search device, search method and search program
CN111767693A (en) Information processing apparatus, information processing method, and computer-readable recording medium
US11886530B2 (en) Systems and methods for website segmentation and quality analysis
JP2018151805A (en) Data item name estimating apparatus, data item name estimating method, and program
JP4607443B2 (en) Document display device and document display method

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