General data labeling method and device, electronic equipment and storage medium

By monitoring page URL changes in real time and generating an independent tagging function portal, the problem that data tagging function needs to be deeply embedded in each page in the existing technology is solved, and a general data tagging method with rapid integration with various business systems and simple maintenance is realized.

CN120144884APending Publication Date: 2025-06-13GUANGZHOU MINGTAI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510218691.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

In the data processing process of the prior art, the data volume is large and it is difficult to accurately find the required data, which leads to the data labeling function that needs to be deeply embedded in each data production and query page, resulting in duplication of labor and is not conducive to system maintenance. Especially when the labeling function needs to be added to the developed system, the original system needs to be code-transformed, which is very inconvenient.

Method used

Provide a general data labeling method, by monitoring the URL changes of the current page in real time, determining whether the first data interface is implemented, generating and outputting the tagging function entrance of the external component independent of the current page, and tagging the current page in response to user requests.

Benefits of technology

It realizes a general data labeling tool independent of specific business function pages, which can quickly and conveniently integrate with various business systems, listen to business function page labeling requirements according to the agreed specifications, and obtains data that needs to be labeled, which is simple to use and convenient to maintain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120144884A_ABST
    Figure CN120144884A_ABST
Patent Text Reader

Abstract

The invention discloses a general data labeling method and device, electronic equipment and a storage medium. The method comprises the steps that URL changes of a current page are monitored in real time; when the URL of the current page changes, determining whether the current page corresponding to the changed URL realizes a first data interface or not; when it is determined that the first data interface is achieved in the current page, a tagging function entry covering at least part of the area of the current page is generated and output, and the tagging function entry is an external component independent of the current page; and in response to a received labeling request sent by the user based on the labeling function entry, labeling the current page. According to the method and the system, code improvement on the system is not needed, only the URL change of the current page needs to be monitored in real time, so that the method and the system can be integrated with databases such as various business systems and website webpages, the data needing to be labeled in the page can be obtained as long as the page is provided with a data interface for opening corresponding agreed specifications, and the method and the system are high in applicability, simple to use and convenient to maintain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular, to a general data tagging method, apparatus, electronic device, and storage medium. Background Art

[0002] With the development of information technology, the amount of data to be processed in all walks of life is also increasing. It often happens that the amount of data is too large to accurately find the required data. Therefore, data tagging has emerged. Data tagging is an important basis for the effective and efficient utilization of data resources and an important enabling means for the digital transformation of enterprises and governments. Data is generated from various business systems and various business function pages of business systems. For each data production and query page, a data tagging function may be required. However, if the data tagging function is deeply embedded in each data production and query page, it is repetitive labor in system development, and deep embedding is also not conducive to system maintenance in code logic. Especially for a developed system, if it is necessary to add a tagging function, it is very inconvenient to modify the original system code. Summary of the Invention

[0003] Embodiments of the present invention provide a general data tagging method, apparatus, electronic device, and storage medium to implement a general data tagging tool independent of specific business function pages, which can be quickly and conveniently integrated with various business systems, listen for the data tagging requirements of business function pages according to agreed specifications, obtain the data to be tagged, and is simple to use and easy to maintain.

[0004] In a first aspect, an embodiment of the present invention provides a general data tagging method, including:

[0005] Real-time monitoring of changes in the URL of the current page;

[0006] When the URL of the current page changes, determining whether the current page corresponding to the changed URL implements a first data interface;

[0007] When it is determined that the current page implements a first data interface, generating and outputting a tagging function entry covering at least a part of the current page, where the tagging function entry is an external component independent of the current page;

[0008] Responding to a tagging request sent by a user based on the tagging function entry, performing a tagging process on the current page.

[0009] In a second aspect, an embodiment of the present invention provides a general data tagging apparatus, including:

[0010] A monitoring module for real-time monitoring of changes in the URL of the current page;

[0011] A data interface detection module, configured to determine whether a current page corresponding to a changed URL implements a first data interface when the URL of the current page changes;

[0012] A function entry display module, configured to generate and output a tagged function entry that covers at least a partial area of the current page when it is determined that the current page implements a first data interface, wherein the tagged function entry is an external component independent of the current page;

[0013] A tagging module, configured to perform a tagging process on the current page in response to receiving a tagging request sent by a user based on the tagged function entry.

[0014] In a third aspect, an embodiment of the present invention provides an electronic device, including: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the steps of the general data tagging method in the first aspect above.

[0015] In a fourth aspect, an embodiment of the present invention provides a storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the steps of the general data tagging method in the first aspect above.

[0016] The general data tagging method of the present invention does not require code improvement of the system, but is independent of each specific business function page. It only needs to monitor the change of the current page URL in real time. Therefore, it can be integrated with various business systems, websites, web pages, etc. databases. As long as the current page has an open corresponding agreed specification data interface, the data to be tagged on the page can be obtained, so that the data to be tagged on the current page obtained can be tagged by a tagging tool, which is simple to use and convenient to maintain. Description of the Drawings

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0018] Figure 1 It is a flowchart of the general data tagging method according to an embodiment of the present invention;

[0019] Figure 2 It is a flowchart of step S14 in the general data tagging method according to an embodiment of the present invention;

[0020] Figure 3 Flow chart of the general data tagging method according to another embodiment of the present invention;

[0021] Figure 4 Principle block diagram of the general data tagging device according to an embodiment of the present invention;

[0022] Figure 5 Principle block diagram of the general data tagging device according to another embodiment of the present invention;

[0023] Figure 6 Structure diagram of an embodiment of the electronic device according to the present invention. Specific embodiments

[0024] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts shall fall within the protection scope of the present invention.

[0025] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments may be combined with each other.

[0026] The present invention may be described in the general context of computer-executable instructions executable by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media including storage devices.

[0027] In the present invention, "module", "device", "system", etc. refer to related entities applied to a computer, such as hardware, a combination of hardware and software, software, or software in execution, etc. Specifically, for example, an element can be, but is not limited to, a process running on a processor, a processor, an object, an executable element, an execution thread, a program, and / or a computer. Also, an application program or a script program running on a server, and the server can both be elements. One or more elements can be in an execution process and / or thread, and the elements can be localized on one computer and / or distributed between two or more computers, and can be run by various computer-readable media. The elements can also communicate through local and / or remote processes according to a signal having one or more data packets, for example, a signal from data that interacts with another element in a local system, a distributed system, and / or interacts with other systems through a signal on a network of the Internet.

[0028] Finally, it should also be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including" not only include those elements, but also include other elements not explicitly listed, or also include elements inherent to such a process, method, article, or device. Without more limitations, the elements defined by the statement "including..." do not exclude the existence of additional identical elements in the process, method, article, or device including the said elements.

[0029] The present invention will be further described in detail below with reference to the accompanying drawings.

[0030] Figure 1 Schematically shows the flow of a general data tagging method according to an embodiment of the present invention. Referring to Figure 1 as shown, the method specifically includes the following steps:

[0031] Step S11: Monitor the change of the URL of the current page in real time;

[0032] Step S12: When the URL of the current page changes, determine whether the current page corresponding to the changed URL implements a first data interface;

[0033] Step S13: When it is determined that the current page implements a first data interface, generate and output a tagging function entry that covers at least a part of the area of the current page, wherein the tagging function entry is an external component independent of the current page;

[0034] Step S14: In response to receiving a tagging request sent by the user based on the tagging function entry, perform a tagging process on the current page.

[0035] In step S11, the current page is the page currently being displayed, which can be a database system page or a browser page, etc. that requires tag operation. It can be understood that for each current page, there is a corresponding URL. When the current page changes, such as when the current page jumps to another page or switches to another page, the URL of the current page will change. Therefore, by monitoring the change of the URL of the current page, it can be determined whether the current page has jumped or switched. Exemplarily, when monitoring the change of the URL of the current page, the hashchange event can be used to monitor the change of the URL, or the popstate event can be used to monitor the change of the URL, or the History API can be used to monitor the change of the URL, etc. The above methods are all commonly used methods in the prior art for monitoring the change of the URL, and will not be elaborated here.

[0036] Step S12 is the step executed when it is monitored that the URL of the current page has changed. In step S12, when it is monitored that the URL of the current page has changed, it means that the page currently being displayed has changed. Therefore, it is necessary to re-determine whether the current page meets the requirements for using the general data tagging method of the present invention. Specifically, it is necessary to determine whether the current page after the URL change implements the first data interface. The first data interface is a data interface provided by the tagging tool according to the agreed specifications in the embodiments of the present invention. The corresponding URL page needs to implement this data interface in advance and perform corresponding association configuration according to the agreed specifications corresponding to the data interface. Thus, the tagging tool provided by the embodiments of the present invention (i.e., the data tagging device described below) can determine whether the URL of the current page implements the first data interface by monitoring the URL. Exemplarily, the first data interface can be a publicly available Interface type API interface or a RESTful API interface, etc., and its implementation and configuration can refer to the corresponding agreed regulations. As a possible implementation manner, when determining whether the current page after the URL change implements the first data interface, an API interface monitoring tool can be used for determination, such as using existing tool software such as apimonitor, Runscope, and Uptrends.

[0037] Step S13 is the step executed when it is determined that the first data interface is implemented on the current page. In step S13, when it is determined that the first data interface is implemented on the current page, a display tagging function entry is generated and output. Among them, the tagging function entry is a function entry used to start the tagging function in response to user interaction. As a possible implementation, the tagging function entry can be a button that floats independently on the current page, and it can only cover a part of the current page, making it easier for users to view the page content. Specifically, the tagging function entry can float in the upper right position of the current page for the convenience of users to use and click. It can be understood that since the method of the present invention does not modify the code of the system or the page, the displayed tagging function entry is not to add an interactive function entry to the system or the page, but an interactive function entry constructed and floated on the current page through a GUI component independent of the system where the current page is located. As a possible implementation, when it is determined that the first data interface is not implemented on the current page, the tagging function entry should be hidden to avoid the situation where the user interacts with the tagging function entry but the tagging function cannot be implemented.

[0038] Step 14 is the step of starting the tagging function in response to a user's instruction for the tagging function entry to tag the data on the current page. Figure 2 Schematically shows the process of step S14 of the general data tagging method according to an embodiment of the present invention. Refer to Figure 2 As shown, the method can be specifically implemented as including the following steps:

[0039] Step S21: In response to receiving a first user instruction issued by the user for the tagging function entry, obtain the data to be tagged on the current page through the second data interface;

[0040] Step S22: Output and display the data to be tagged;

[0041] Step S23: In response to receiving a second user instruction issued by the user for the output and displayed data to be tagged, tag the corresponding data to be tagged.

[0042] In step S21, the first user instruction is an instruction for issuing the tagging function entry. Among them, the first user instruction may include instructions such as clicking and selecting for the tagging function entry. When the first user instruction issued by the user is received, the data to be tagged on the current page is obtained through the second data interface. The second data interface is a data interface for obtaining page data from the current page, and it is also a data interface provided by the tagging tool according to the agreed specifications in the embodiments of the present invention. The corresponding URL page needs to implement this data interface in advance. When implementing this data interface in the corresponding URL page, specifically, the second data interface can be implemented to be able to obtain all the data of the current page (such as through the get function provided by the current page). That is to say, the data to be tagged here is all the page data information of the current page. Preferably, the second data interface is further implemented to encapsulate all the data of the current page obtained, such as encapsulating it into data formats such as json or xml. Exemplarily, when obtaining the data to be tagged on the current page through the second data interface, the page data can be obtained from the current page by calling the second data interface pre-implemented on the current page, and then the obtained page data is encapsulated into a data format such as json or xml.

[0043] Step S22 is a step of outputting and displaying the data to be tagged obtained in step S21. Through this step, the user can better select the relevant data to be tagged that needs to be tagged. As a possible implementation manner, in step S22, a first window may be generated and popped up to cover the current page, and then the obtained data to be tagged is displayed on the first window. When the obtained data to be tagged is displayed on the first window, the encapsulated data obtained can be parsed to be converted into table data for output and display on the first window. The first window is generated by a component independent of the system where the current page is located. By outputting and displaying the obtained data to be tagged in the form of a pop-up window, not only can the obtained data to be tagged be better displayed, but also the operation of the current page can be not affected, and there is no need to deeply embed the code logic into the page or system. In this implementation manner, the first window is a sub-window covering the current page, and it can be a Drawer. When the drawer pops up, it can float and cover the current page and slide in from the edge of the current page to cover part of the content of the parent form (the current page). With this setting, the user does not need to leave the current page when operating on the data to be tagged displayed in the first window, and after the operation is completed, the user can smoothly return to the current page to achieve the tagging operation without affecting the current page.

[0044] Step S23 is the step executed when the second user instruction for the to-be-tagged data presented in the output is received. Among them, the second user instruction may include instructions such as clicking and selecting for the to-be-tagged data. Since the second user instruction is for the to-be-tagged data presented in the output, the to-be-tagged data selected by the user for tagging can be determined according to the second user instruction, and then the corresponding to-be-tagged data is tagged. Specifically, the second user instruction may include a tag mark corresponding to the to-be-tagged data. The tag mark may be a tag mark preset and stored in the library, or a tag mark formed by the user's real-time input. The tag mark may be formed by a combination of text, numbers, symbols, etc. Thus, after receiving the second user instruction issued by the user for the to-be-tagged data presented in the output, the tagging data can be generated and stored according to the to-be-tagged data, the tag mark corresponding to the to-be-tagged data, and the URL of the current page. When generating the tagging data, the to-be-tagged data, the tag mark corresponding to the to-be-tagged data, and the URL of the current page can be associated. The specific tagging method can refer to the relevant methods in the prior art and will not be elaborated too much here.

[0045] It can be understood that when the user completes step S14 and tags the to-be-tagged data, the tag mark after tagging and its associated data content will be stored. After storage, the user can search for the tag mark at any time as needed to find the tagged data and view the relevant data. In some possible implementation manners, when the user searches for the tag mark, the user can enter the tag search interface through the tagging function entry displayed on the page, and search for the corresponding tag mark according to the search instruction issued by the user to implement the search for the tag mark. In this implementation manner, since the search interface is also displayed on the page, the tag mark content searched and displayed may only be the tag marks on the current page. Of course, it can also be the tag marks on all stored pages. In other possible implementation manners, when the user searches for the tag mark, it can be displayed in the user interface provided by the tagging tool itself, so that the corresponding search entry can be directly opened in the tool to search for all tag marks.

[0046] In some possible implementation manners, referring to Figure 3 as shown, the general data tagging method of the present invention may further include the following steps:

[0047] Step S15: In response to receiving a third user instruction issued by a user, based on the association relationship between the data to be tagged in the stored tagging data, the tag marking of the data to be tagged, and the URL of the current page, obtain the URL associated with the tag marking that matches the third user instruction, open the page corresponding to the URL, and display the corresponding tag marking on the corresponding page.

[0048] Step S15 is a step process for the user to re-find the corresponding tag marking in the subsequent process after completing the tagging of the data in the page, so as to re-find the corresponding page and data content through the tag marking. Specifically, in Step S15, it is a step executed in response to receiving a third user instruction issued by a user. Among them, the third user instruction may include instructions such as clicking and selecting for the tag marking. Since when tagging data, the data to be tagged, the tag marking corresponding to the data to be tagged, and the URL of the current page are associated with each other, the URL associated with the tag marking that matches the third user instruction is obtained, so as to open the page corresponding to the URL, and thus display the corresponding tag marking and the corresponding data information marked by the tag marking on the corresponding page.

[0049] The general data tagging method of the present invention does not require code improvement of the system, but is independent of each specific business function page. It only needs to monitor the change of the current page URL in real time. Therefore, it can be integrated with various business systems, websites, web pages, etc. databases. As long as the current page has an open corresponding convention-based data interface, the data to be tagged on the current page can be obtained, so that the obtained data to be tagged on the current page can be tagged through a tagging tool. It is simple to use and convenient to maintain.

[0050] Figure 4 Schematically shows a general data tagging device according to an embodiment of the present invention. Referring to Figure 4 as shown, the device includes:

[0051] A monitoring module 1 for monitoring the change of the URL of the current page in real time;

[0052] A data interface detection module 2 for determining whether the current page corresponding to the changed URL implements a first data interface when the URL of the current page changes;

[0053] A function entry display module 3 for generating and outputting a tagging function entry that covers at least part of the area of the current page when it is determined that the current page implements a first data interface, where the tagging function entry is an external component independent of the current page;

[0054] The tagging module 4 is used to perform tagging processing on the current page in response to receiving a tagging request sent by the user based on the tagging function entry.

[0055] Referring Figure 5 As shown, in some possible implementation manners, it may further include:

[0056] The tag management module 5 is used to, in response to receiving a third user instruction sent by the user, based on the association relationship between the data to be tagged in the stored tagging data, the tag marking of the data to be tagged, and the URL of the current page, obtain the URL associated with the tag marking matching the third user instruction, open the page corresponding to the corresponding URL, and display the corresponding tag marking on the corresponding page.

[0057] Specifically, the tag management module 5 can be implemented as an independently opened window interface to be able to display the tags corresponding to the tagged data stored. A search box can also be set in this window interface to facilitate the user to search for the tagged data. And since each tag is associated with the URL of the page corresponding to the tagged data, it can then respond to the instruction for interacting with the tag sent by the user to open the URL associated with the corresponding tag, realizing quick browsing of the corresponding data in the corresponding page corresponding to the tag.

[0058] As a possible implementation manner, the tagging module 4 may include:

[0059] The data acquisition unit 41 is used to, in response to receiving a first user instruction sent by the user for the tagging function entry, obtain the data to be tagged in the current page through the second data interface;

[0060] The data display unit 42 is used to output and display the data to be tagged;

[0061] The tagging unit 43 is used to, in response to receiving a second user instruction sent by the user for the data to be tagged output and displayed, perform tagging on the data to be tagged corresponding to the second user instruction.

[0062] It should be noted that the implementation process and implementation principle of the general data tagging device in the embodiments of the present invention can be specifically referred to the corresponding descriptions in the above method embodiments, such as the corresponding descriptions of the method for listening to the URL of the current page, the method for determining whether the current page implements the first data interface, and the method for performing tagging on the current page in the method embodiment part, so they will not be elaborated here. Exemplarily, the general data tagging device in the embodiments of the present invention can be any intelligent device or device with a processor, including but not limited to a computer, a smart phone, a personal computer, a robot, a cloud server, etc.

[0063] In some embodiments, an embodiment of the present invention provides a non-volatile computer-readable storage medium, in which one or more programs including execution instructions are stored, and the execution instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to execute the general data tagging method of any one of the above embodiments of the present invention.

[0064] In some embodiments, an embodiment of the present invention further provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to execute the general data tagging method of any one of the above embodiments.

[0065] In some embodiments, an embodiment of the present invention further provides an electronic device, which includes: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the general data tagging method of any one of the above embodiments.

[0066] In some embodiments, an embodiment of the present invention further provides a storage medium, on which a computer program is stored, and characterized in that when the program is executed by a processor, the general data tagging method of any one of the above embodiments is implemented.

[0067] Figure 6 is a schematic hardware structure diagram of an electronic device for executing the general data tagging method provided by another embodiment of the present application, as Figure 6 shown, the device includes:

[0068] One or more processors 610 and a memory 620, Figure 6 Taking one processor 610 as an example.

[0069] The device for executing the general data tagging method may further include: an input device 630 and an output device 640.

[0070] The processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, Figure 6 Taking connection by a bus as an example.

[0071] The memory 620, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions / modules corresponding to the general data tagging method in the embodiments of the present application. The processor 610 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions, and modules stored in the memory 620, that is, implements the general data tagging method in the above method embodiments.

[0072] The memory 620 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the general data tagging method, etc. In addition, the memory 620 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 620 may optionally include a memory remotely set relative to the processor 610, and these remote memories can be connected to the electronic device through a network. Examples of the above network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0073] The input device 630 can receive input digital or character information, and generate signals related to user settings and function control of the image processing device. The output device 640 may include a display device such as a display screen.

[0074] The one or more modules are stored in the memory 620, and when executed by the one or more processors 610, implement the general data tagging method in any of the above method embodiments.

[0075] The above product can execute the method provided in the embodiments of the present application, and has functional modules and beneficial effects corresponding to the execution of the method. For technical details not described in detail in this embodiment, reference can be made to the method provided in the embodiments of the present application.

[0076] The electronic device in the embodiments of the present application exists in various forms, including but not limited to:

[0077] (1) Mobile communication devices: These devices are characterized by having mobile communication functions and mainly aim to provide voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones, etc.

[0078] (2) Ultra-mobile personal computer devices: These devices belong to the category of personal computers, have computing and processing functions, and generally also have the characteristic of mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, etc., such as iPad.

[0079] (3) Portable entertainment devices: Such devices can display and play multimedia content. This type of device includes: audio and video players (such as iPods), handheld game consoles, e-books, as well as smart toys and portable in-vehicle navigation devices.

[0080] (4) Servers: Devices that provide computing services. The composition of a server includes a processor, hard disk, memory, system bus, etc. Servers are similar to general computer architectures, but due to the need to provide highly reliable services, they have higher requirements in terms of processing power, stability, reliability, security, scalability, manageability, etc.

[0081] (5) Other electronic devices with data interaction functions.

[0082] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0083] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the essence of the above technical solutions or the part that contributes to the related technologies can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A general data labeling method, characterized in that: include: Monitor the URL changes of the current page in real time; When the URL of the current page changes, determining whether the current page corresponding to the changed URL implements the first data interface; When it is determined that the current page implements the first data interface, generating and outputting a tagging function entry covering at least a portion of the current page, wherein the tagging function entry is an external component independent of the current page; In response to receiving a tagging request issued by a user based on the tagging function entry, tagging is performed on the current page.

2. The method according to claim 1, characterized in that The step of performing tagging processing on the current page in response to receiving a tagging request sent by a user includes: In response to receiving a first user instruction issued by a user for a tagging function entry, acquiring the to-be-tagged data in the current page through a second data interface; Output and display the data to be labeled; In response to receiving a second user instruction issued by a user for outputting and displaying the data to be tagged, the corresponding data to be tagged is tagged.

3. The method according to claim 2, characterized in that The output shows the data to be labeled, including: Generate a first window and pop it up to cover the current page, wherein the first window is an external component independent of the current page; The acquired data to be labeled is displayed in the first window.

4. The method according to claim 2, characterized in that: The step of labeling the corresponding data to be labeled includes: Obtaining a label mark of the corresponding data to be labeled according to the second user instruction; The tagging data storage is generated according to the data to be tagged, the tag mark corresponding to the data to be tagged, and the URL of the current page.

5. The method according to claim 1, characterized in that Also includes: In response to receiving a third user instruction issued by a user, based on the association between the data to be tagged in the stored tagging data, the tag mark of the data to be tagged and the URL of the current page, the URL associated with the tag mark matching the third user instruction is obtained, the page corresponding to the corresponding URL is opened, and the corresponding tag mark is displayed on the corresponding page.

6. A general data labeling device, characterized in that: include: The monitoring module is used to monitor the URL changes of the current page in real time; A data interface detection module, used to determine whether the current page corresponding to the changed URL implements the first data interface when the URL of the current page changes; A function entry display module, configured to generate and output a tagging function entry covering at least a portion of the current page when it is determined that the current page implements the first data interface, wherein the tagging function entry is an external component independent of the current page; The tagging module is used to tag the current page in response to receiving a tagging request issued by the user based on the tagging function entrance.

7. The device according to claim 6, characterized in that Also includes: The tag management module is used to respond to receiving a third user instruction issued by a user, based on the association between the to-be-tagged data in the stored tagging data, the tag mark of the to-be-tagged data and the URL of the current page, obtain the URL associated with the tag mark that matches the third user instruction, open the page corresponding to the corresponding URL, and display the corresponding tag mark on the corresponding page.

8. The device according to claim 6, characterized in that The labeling module includes: A data acquisition unit, configured to acquire the to-be-labeled data in the current page through a second data interface in response to receiving a first user instruction issued by a user for a labeling function entry; A data display unit, used to output and display the data to be labeled; The labeling unit is used to label the corresponding data to be labeled in response to receiving a second user instruction issued by the user for the data to be labeled for output display.

9. An electronic device, characterized in that: include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the method described in any one of claims 1 to 5.

10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented.