CN111324905A - Image data labeling method and device, computer equipment and storage medium - Google Patents

Image data labeling method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111324905A
CN111324905A CN202010097613.7A CN202010097613A CN111324905A CN 111324905 A CN111324905 A CN 111324905A CN 202010097613 A CN202010097613 A CN 202010097613A CN 111324905 A CN111324905 A CN 111324905A
Authority
CN
China
Prior art keywords
task
key
user terminal
image file
cloud
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.)
Pending
Application number
CN202010097613.7A
Other languages
Chinese (zh)
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.)
Shenzhen Ping An Smart Healthcare Technology Co ltd
Original Assignee
Ping An International Smart City 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202010097613.7A priority Critical patent/CN111324905A/en
Priority to PCT/CN2020/097412 priority patent/WO2021164161A1/en
Publication of CN111324905A publication Critical patent/CN111324905A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present application relates to the field of data security, and in particular, to a method and an apparatus for labeling image data, a computer device, and a storage medium. The method comprises the following steps: receiving a task marking request sent by a user terminal, wherein the task marking request carries a task identifier; inquiring a storage address and a first key of an image file corresponding to the task identifier from a task list stored in a local database; sending the first key to a storage address in a cloud, wherein the cloud is used for verifying the first key, and returning the desensitized image file after successful verification; sending the desensitized image file to a user terminal so that the user terminal can analyze the image file to obtain pixel information and desensitization information and display the obtained pixel information and desensitization information; and receiving the structured data after the pixel information is labeled by the user terminal, and uploading the structured data to the cloud end so as to perform associated storage with the image file stored in the cloud end. By adopting the method, the data security can be improved.

Description

Image data labeling method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of big data technologies, and in particular, to a method and an apparatus for labeling image data, a computer device, and a storage medium.
Background
Data annotation is an important ring in the field of artificial intelligence, and is an essential stage for establishing an algorithm model and improving the accuracy of the algorithm, and for data annotation, an annotation platform provides a basic annotation function to provide data annotation service for the algorithm.
Only for image labeling, the conventional labeling tool product is generally implemented based on a client, and as the client has complete functions and good user experience, particularly, the performance of loading a local file is superior, but the conventional labeling tool product also has the problem of data security: when a large number of users use these client products to label data, there is a high risk of revealing labeled data because the data needs to be loaded locally.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device and a storage medium for annotating video data, which can ensure data security.
An image data labeling method, the method comprising:
receiving a task marking request sent by a user terminal, wherein the task marking request carries a task identifier;
inquiring a storage address and a first key of the image file corresponding to the task identifier from a task list stored in a local database;
sending the first key to the storage address in a cloud, wherein the cloud is used for verifying the first key and returning the desensitized image file in a binary stream mode after the verification is successful;
receiving an image file returned by the cloud end in a binary stream manner after desensitization, and sending the image file after desensitization to the user terminal in a binary stream manner, so that the user terminal analyzes the image file to obtain pixel information and desensitization information, and displaying the obtained pixel information and desensitization information;
and receiving the structured data marked by the pixel information by the user terminal, and uploading the structured data to the cloud end so as to perform associated storage with the image file stored in the cloud end.
In one embodiment, before receiving the task annotation request sent by the user terminal, the method further includes:
receiving a marking request sent by a user terminal, and inquiring a task list stored in a first database according to the marking request to obtain a task in a state to be marked;
and sending the task in the state to be marked to the user terminal, wherein the task in the state to be marked is used for the user terminal to select.
In one embodiment, after uploading the structured data to the cloud for associated storage with an image file stored in the cloud, the method further includes:
receiving a second key corresponding to the structured data returned by the cloud, storing the second key into a corresponding task in the task list, and modifying the state of the corresponding task in the task list into a state to be audited;
receiving an audit request sent by an audit terminal, and inquiring a task with a state to be audited in the task list according to the audit request;
the task in the state to be audited is obtained and returned to the auditing terminal, and the selected task returned by the auditing terminal is received;
and inquiring a second key corresponding to the selected task, returning the second key to the auditing terminal, wherein the second key is used for the auditing terminal to download the structured data from the cloud end and audit, and storing an auditing result to the local database.
In one embodiment, after storing the audit result in the local database, the method further includes:
and sending the task corresponding to the structural data passing the auditing result and the corresponding second key to a research and development platform for storage, wherein the task and the second key stored to the research and development platform are used for being inquired by a research and development terminal to obtain the second key corresponding to the task, and downloading the structural data corresponding to the task passing the auditing from the cloud end through the second key.
In one embodiment, the querying, from a task list stored in a local database, a task address and a first key corresponding to the task identifier includes:
and selecting a processor to execute through a load balancing algorithm, and inquiring a task address and a first key corresponding to the task identifier from a task list stored in a local database.
An image data annotation device, the device comprising:
the first receiving module is used for receiving a task marking request sent by a user terminal, wherein the task marking request carries a task identifier;
the first query module is used for querying a storage address and a first key of the image file corresponding to the task identifier from a task list stored in a local database;
the first sending module is used for sending the first secret key to the storage address in a cloud, the cloud is used for verifying the first secret key, and after verification is successful, the desensitized image file is returned in a binary stream mode;
the second receiving module is used for receiving the desensitized image file returned by the cloud in a binary stream mode, and sending the desensitized image file to the user terminal in a binary stream mode, so that the user terminal analyzes the image file to obtain pixel information and desensitization information and displays the obtained pixel information and desensitization information;
and the second sending module is used for receiving the structured data after the pixel information is labeled by the user terminal, and uploading the structured data to the cloud end so as to perform associated storage with the image file stored in the cloud end.
In one embodiment, the apparatus further comprises:
the third receiving module is used for receiving a marking request sent by the user terminal and inquiring a task list stored in the first database according to the marking request to obtain a task with a state to be marked;
and the third sending module is used for sending the task in the state to be marked to the user terminal, and the task in the state to be marked is used for the user terminal to select.
In one embodiment, the apparatus further comprises:
the fourth receiving module is used for receiving a second key corresponding to the structured data returned by the cloud, storing the second key into a corresponding task in the task list, and modifying the state of the corresponding task in the task list into a state to be checked;
the second query module is used for receiving an audit request sent by an audit terminal and querying the task with the state to be audited in the task list according to the audit request;
the selection module is used for acquiring the task with the state to be audited, returning the task to the audit terminal and receiving the selected task returned by the audit terminal;
and the auditing module is used for inquiring a second key corresponding to the selected task, returning the second key to the auditing terminal, downloading the structured data from the cloud end by the auditing terminal, auditing and storing an auditing result in the local database.
A computer device comprising a memory storing a computer program and a processor implementing the steps of any of the methods described above when the processor executes the computer program.
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 of the above.
According to the image data labeling method, the image data labeling device, the computer equipment and the storage medium, by introducing the cloud end, when a user labels the image data, the image data is only returned to the image file in a binary stream, wherein the image file only comprises the pixel information and desensitization information after desensitization, and therefore the safety of the image file can be guaranteed. In the whole process, the user terminal is isolated from the image file in the whole process, and the user cannot acquire the user information in the image file, so that the safety of the image file is ensured. In addition, the marked data are uploaded to the cloud, and the risk of data leakage is avoided.
Drawings
FIG. 1 is a diagram illustrating an exemplary embodiment of a method for annotating image data;
FIG. 2 is a flowchart illustrating an image data labeling method according to an embodiment;
FIG. 3 is an interface diagram of a callout page in one embodiment;
FIG. 4 is a block diagram illustrating an exemplary embodiment of an apparatus for annotating image data;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The image data labeling method provided by the application can be applied to the application environment shown in fig. 1. The user terminal 102 and the server 104 communicate with each other through a network, and the server 104 communicates with a cloud. The user terminal 102 may download the task list from the server 104, select a task to execute, send a task tagging request to the server 104 after selecting the task, and the server 104 queries, from the task list stored in the local database 108, the storage address and the first key of the image file corresponding to the task identifier, and sends the first key to the storage address in the cloud, so that the cloud may verify the first key, and return the desensitized image file in a binary stream manner after successful verification. The server 104 sends the desensitized image file to the user terminal 102 in a binary stream manner, so that the user terminal 102 analyzes the image file to obtain pixel information and desensitization information, and displays the obtained pixel information and desensitization information; therefore, the user terminal 102 generates structured data after labeling the pixel information, returns the labeled structured data to the server 104, and the server 104 uploads the structured data to the cloud for associated storage with the image file stored in the cloud. And the system further comprises a review terminal 106 used for reviewing the marked structured data. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, an image data annotation method is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
s202: and receiving a task marking request sent by a user terminal, wherein the task marking request carries a task identifier.
Specifically, the task annotation request is generated by the user terminal, and carries the tasks that the user terminal wants to perform the annotation operation, and each task stored in the task list has a unique identifier. In practical application, the task marking request is generated after the user terminal receives a selection instruction of the user for the task displayed by the terminal. The user terminal displays the tasks in a list mode and the like, and the user selects the task to be processed through click operation and the like, so that the terminal can inquire the task identifier of the task selected by the user, generate a task marking request according to the task identifier and send the task marking request to the server for processing.
S204: and inquiring the storage address and the first key of the image file corresponding to the task identifier from a task list stored in a local database.
Specifically, the local database refers to a database corresponding to the annotation platform, and a task list is stored in the local database, where various tasks are stored, including a task state, a task identifier, a storage address of an image file corresponding to the task, and a first key. The task state comprises a state to be marked, a state to be checked and a marking completion state. The first key is an image file corresponding to the task, namely the first key generated when the dicom file is stored in the public cloud, the image file stored in the public cloud can be obtained through the first key, namely the server uploads the first key to the public cloud obs, then the public cloud obs judges whether the first key is accurate, and if the first key is accurate, image information is returned; when the data source is an internal client, the key is a key consisting of the nas path, the file name and some other information, and the corresponding nas file is found and converted into a file stream to be returned after the key is acquired during downloading. After receiving the task identifier, the server may query the task list according to the task identifier to obtain a corresponding storage address and a first key. The adding mode of the tasks in the task list in the local database may include: when the image file dicom is uploaded to a private cloud through an internal client or the image file dicom is uploaded to a public cloud through an image platform (the internal client places the image file on nas of medical services, and the image platform uploads the image file to obs), the cloud updates the file storage address in the database corresponding to the internal research and development platform according to the newly added image file dicom, so that the server can actively inquire whether the database of the internal research and development platform has the updated file storage address of the image file dicom, if so, the file storage address is imported to the server, and the import refers to importing the file storage path, namely the storage address into the server, and the whole image file dicom is not imported. Above-mentioned image data storage strengthens data security management and control at the high in the clouds, guarantees the image data and the result security after the mark, avoids the data to reveal the risk.
The user terminal only uploads the task identifier to the server, so that the server can query the task list stored in the local database to obtain the corresponding storage address and the first secret key, and the server can go to the public cloud to obtain the image file.
S206: and sending the first key to a storage address in the cloud, wherein the cloud is used for verifying the first key, and returning the desensitized image file in a binary stream mode after the verification is successful.
Specifically, the image file is composed of pixel information of the image and a lot of tag information, and the tag contains a lot of names and sexes of patients. The server removes the corresponding storage address through the first key to perform the operation of taking the image file, namely the cloud firstly verifies the first key, if the first key is verified successfully, the cloud inquires the corresponding image file dicom, identifies the information to be desensitized in the image file dicom, then desensitizes the information to be desensitized to obtain desensitized information, namely the information to be desensitized is modified to 'x', and then sends the desensitized information to the server in a binary stream mode.
S208: and the receiving cloud returns the desensitized image file in a binary stream mode, and sends the desensitized image file to the user terminal in a binary stream mode, so that the user terminal analyzes the image file to obtain pixel information and desensitization information and displays the obtained pixel information and desensitization information.
Specifically, the server receives the image file in the form of the binary stream returned by the cloud, and then returns the received binary stream to the user terminal, so that the user terminal can analyze the binary stream to obtain pixel information and desensitization information, then performs rendering display on the pixel information after calculation, and displays the desensitization information. Specifically, as shown in fig. 3, fig. 3 is an interface diagram of the labeling page in an embodiment, in which pixel information is rendered and displayed, and desensitization information is directly displayed, so that it is ensured that names and genders of patients in the image file dicom are not acquired by the user, and the information is only stored in the cloud, and the entire labeling process is not acquired.
The user terminal is shown in fig. 3, so that the user can draw the focus features on the page, print a focus label, generate structured data according to the focus information marked by the user, and return the structured data and the corresponding task identifier to the server.
S210: and receiving the structured data after the pixel information is labeled by the user terminal, and uploading the structured data to the cloud end so as to perform associated storage with the image file stored in the cloud end.
Specifically, after the server receives the structured data returned by the user terminal, namely json data, the structured data is uploaded to the public cloud, the public cloud generates a second key, the second key is returned to the server and is stored in the local database, and therefore when a user needs to check the marked structured data, the user can inquire the marked structured data through the second key.
According to the image data labeling method, the cloud end is introduced, when a user labels the image data, the image data is only returned to the image file in a binary stream mode, and the safety of the image file can be guaranteed due to the fact that the image file comprises the pixel information and desensitization information after desensitization. In the whole process, the user terminal is isolated from the image file in the whole process, and the user cannot acquire the user information in the image file, so that the safety of the image file is ensured. In addition, the marked data are uploaded to the cloud, and the risk of data leakage is avoided.
In one embodiment, before receiving a task annotation request sent by a user terminal, the method further includes: receiving a labeling request sent by a user terminal, and inquiring a task list stored in a first database according to the labeling request to obtain a task in a state to be labeled; and sending the task in the state to be marked to the user terminal, wherein the task in the state to be marked is used for the user terminal to select.
Specifically, the server receives a labeling request sent by the user terminal, queries a task list in a local database according to the labeling request to obtain a task in a state to be labeled, and returns the task in the state to be labeled to the user terminal, so that the user terminal selects the task in the state to be labeled and generates a task labeling request according to a task identifier of the selected task.
When a user wants to label data, a label request can be sent to a server, after the label request is received by the server, a local database can be inquired to obtain a task in a state to be labeled, the task is returned to a user terminal, and therefore the user terminal can display the tasks so as to be convenient for the user to select, and after the user selects, the user terminal generates a task label request and sends the task label request to the server.
In addition, in this embodiment, the user terminal may log in the server through the web page to the second level to obtain the task list, and the annotator may start the annotation only by performing account registration through the web page of the server without specially setting a client and the like.
In the embodiment, the user can select the interested task to be annotated from the task list in the server for processing, so that the task processing efficiency can be improved.
In one embodiment, after uploading the structured data to the cloud for associated storage with an image file stored in the cloud, the method further includes: receiving a second key corresponding to the structured data returned by the cloud, storing the second key into a corresponding task in the task list, and modifying the state of the corresponding task in the task list into a state to be checked; receiving an audit request sent by an audit terminal, and inquiring a task with a state to be audited in a task list according to the audit request; the task in the state to be audited is obtained and returned to the audit terminal, and the selected task returned by the audit terminal is received; and querying a second key corresponding to the selected task, returning the second key to the auditing terminal, wherein the second key is used for the auditing terminal to download the structured data from the cloud end and audit, and storing an auditing result in a local database.
Specifically, after the annotation is finished, an auditing step may further be included, that is, the auditing terminal sends an auditing request to the server, the server queries a task in the local database in a state to be audited and returns the task to the auditing terminal, the auditing terminal selects the task to be audited and sends a task identifier of the task to be audited to the server, the server queries a corresponding second key according to the task identifier and returns the second key to the auditing terminal, the auditing terminal obtains corresponding structured data from the public cloud through the second key and performs auditing, after the auditing is passed, the server sends information that the auditing is passed to the local database and sends the structured data and the information that the auditing is passed to the research and development platform, so that the task and the information that the auditing is passed are stored in the database corresponding to the research and development platform.
In the above embodiment, after the labeling is completed, the method further includes an auditing process for the labeled structured data, so that the accuracy of the labeled structured data is ensured, and thus the accuracy of the original data can be ensured in the subsequent algorithm training process, and the accuracy of the algorithm is further improved.
In one embodiment, after storing the audit result in the local database, the method further includes: and sending the task corresponding to the structural data passing the auditing result and the corresponding second key to a research and development platform for storage, wherein the task and the second key stored to the research and development platform are used for the research and development terminal to inquire the second key corresponding to the task, and downloading the structural data corresponding to the task passing the auditing from the cloud end through the second key.
Specifically, the research and development terminal sends a data acquisition request to the research and development platform, the research and development platform queries a task in a corresponding database, acquires a second key, returns the second key to the research and development terminal, and the research and development terminal acquires corresponding structured data from the cloud through the second key to further perform processing such as algorithm training.
In the above embodiment, after the labeling is completed, the method further includes an auditing process for the labeled structured data, so that the accuracy of the labeled structured data is ensured, and thus the accuracy of the original data can be ensured in the subsequent algorithm training process, and the accuracy of the algorithm is further improved.
In one embodiment, querying a task address and a first key corresponding to a task identifier from a task list stored in a local database includes: and selecting a processor to execute through a load balancing algorithm, and inquiring a task address and a first key corresponding to the task identifier from a task list stored in a local database.
Specifically, the embodiment mainly emphasizes load balancing, that is, after receiving a tagging request sent by a user terminal, a server selects a corresponding processor in a tagging platform for processing through a load balancing algorithm, where the load balancing algorithm may be an ngnix algorithm.
In the embodiment, the task marking request is processed through the load balancing algorithm, so that the data processing efficiency can be improved.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, an image data annotation device is provided, which includes: a first receiving module 100, a first query module 200, a first sending module 300, a second receiving module 400, and a second sending module 500, wherein:
the first receiving module 100 is configured to receive a task tagging request sent by a user terminal, where the task tagging request carries a task identifier.
The first query module 200 is configured to query, from a task list stored in the local database, a storage address and a first key of an image file corresponding to the task identifier.
The first sending module 300 is configured to send the first key to a storage address in a cloud, where the cloud is configured to verify the first key, and return the desensitized image file in a binary stream manner after the verification is successful.
The second receiving module 400 is configured to receive the image file that is returned by the cloud in the binary stream manner after desensitization, and send the image file to the user terminal in the binary stream manner after desensitization, so that the user terminal analyzes the image file to obtain pixel information and desensitization information, and displays the obtained pixel information and desensitization information.
The second sending module 500 is configured to receive the structured data after the pixel information is labeled by the user terminal, and upload the structured data to the cloud, so as to perform associated storage with the image file stored in the cloud.
In one embodiment, the image data labeling apparatus further includes:
and the third receiving module is used for receiving the marking request sent by the user terminal and inquiring the task list stored in the first database according to the marking request to obtain the task with the state to be marked.
And the third sending module is used for sending the task in the state to be marked to the user terminal, and the task in the state to be marked is used for the user terminal to select.
In one embodiment, the image data labeling apparatus further includes:
and the fourth receiving module is used for receiving a second key corresponding to the structured data returned by the cloud, storing the second key into a corresponding task in the task list, and modifying the state of the corresponding task in the task list into a state to be audited.
And the second query module is used for receiving the audit request sent by the audit terminal and querying the task with the state to be audited in the task list according to the audit request.
And the selection module is used for acquiring the task in the state to be audited, returning the task to the audit terminal and receiving the selected task returned by the audit terminal.
And the auditing module is used for inquiring a second key corresponding to the selected task and returning the second key to the auditing terminal, and the second key is used for the auditing terminal to download the structured data from the cloud end and audit and store the auditing result in the local database.
In one embodiment, the image data labeling apparatus further includes:
and the storage module is used for sending the task corresponding to the structural data passing the audit result and the corresponding second key to the research and development platform for storage, the task and the second key stored to the research and development platform are used for the research and development terminal to inquire the second key corresponding to the task, and the structural data corresponding to the task passing the audit is downloaded from the cloud end through the second key.
In one embodiment, the first query module 200 includes:
and the load balancing unit is used for selecting the processor to execute through a load balancing algorithm, and inquiring the task address and the first key corresponding to the task identifier from the task list stored in the local database.
For the specific limitation of the image data labeling apparatus, reference may be made to the above limitation of the image data labeling method, which is not described herein again. All or part of the modules in the image data labeling device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing image data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an image data labeling method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: receiving a task marking request sent by a user terminal, wherein the task marking request carries a task identifier; inquiring a storage address and a first key of an image file corresponding to the task identifier from a task list stored in a local database; sending a first key to a storage address in a cloud, wherein the cloud is used for verifying the first key and returning a desensitized image file in a binary stream mode after the verification is successful; the receiving cloud returns the desensitized image file in a binary stream mode, and sends the desensitized image file to the user terminal in a binary stream mode, so that the user terminal analyzes the image file to obtain pixel information and desensitization information and displays the obtained pixel information and desensitization information; and receiving the structured data after the pixel information is labeled by the user terminal, and uploading the structured data to the cloud end so as to perform associated storage with the image file stored in the cloud end.
In one embodiment, before receiving a task annotation request sent by a user terminal, the processor, implemented when executing the computer program, further includes: receiving a labeling request sent by a user terminal, and inquiring a task list stored in a first database according to the labeling request to obtain a task in a state to be labeled; and sending the task in the state to be marked to the user terminal, wherein the task in the state to be marked is used for the user terminal to select.
In one embodiment, after the uploading the structured data to the cloud end for associated storage with the image file stored in the cloud end is implemented when the processor executes the computer program, the method further includes: receiving a second key corresponding to the structured data returned by the cloud, storing the second key into a corresponding task in the task list, and modifying the state of the corresponding task in the task list into a state to be checked; receiving an audit request sent by an audit terminal, and inquiring a task with a state to be audited in a task list according to the audit request; the task in the state to be audited is obtained and returned to the audit terminal, and the selected task returned by the audit terminal is received; and querying a second key corresponding to the selected task, returning the second key to the auditing terminal, wherein the second key is used for the auditing terminal to download the structured data from the cloud end and audit, and storing an auditing result in a local database.
In one embodiment, after the storing the audit result to the local database, the processor, when executing the computer program, further includes: and sending the task corresponding to the structural data passing the auditing result and the corresponding second key to a research and development platform for storage, wherein the task and the second key stored to the research and development platform are used for the research and development terminal to inquire the second key corresponding to the task, and downloading the structural data corresponding to the task passing the auditing from the cloud end through the second key.
In one embodiment, the querying of the task address and the first key corresponding to the task identification from the task list stored in the local database, as implemented by the processor when executing the computer program, comprises: and selecting a processor to execute through a load balancing algorithm, and inquiring a task address and a first key corresponding to the task identifier from a task list stored in a local database.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving a task marking request sent by a user terminal, wherein the task marking request carries a task identifier; inquiring a storage address and a first key of an image file corresponding to the task identifier from a task list stored in a local database; sending a first key to a storage address in a cloud, wherein the cloud is used for verifying the first key and returning a desensitized image file in a binary stream mode after the verification is successful; the receiving cloud returns the desensitized image file in a binary stream mode, and sends the desensitized image file to the user terminal in a binary stream mode, so that the user terminal analyzes the image file to obtain pixel information and desensitization information and displays the obtained pixel information and desensitization information; and receiving the structured data after the pixel information is labeled by the user terminal, and uploading the structured data to the cloud end so as to perform associated storage with the image file stored in the cloud end.
In one embodiment, before the task annotation request sent by the user terminal is received, the computer program, when executed by the processor, further includes: receiving a labeling request sent by a user terminal, and inquiring a task list stored in a first database according to the labeling request to obtain a task in a state to be labeled; and sending the task in the state to be marked to the user terminal, wherein the task in the state to be marked is used for the user terminal to select.
In one embodiment, the uploading of the structured data to the cloud for associated storage with the image file stored in the cloud when the computer program is executed by the processor further includes: receiving a second key corresponding to the structured data returned by the cloud, storing the second key into a corresponding task in the task list, and modifying the state of the corresponding task in the task list into a state to be checked; receiving an audit request sent by an audit terminal, and inquiring a task with a state to be audited in a task list according to the audit request; the task in the state to be audited is obtained and returned to the audit terminal, and the selected task returned by the audit terminal is received; and querying a second key corresponding to the selected task, returning the second key to the auditing terminal, wherein the second key is used for the auditing terminal to download the structured data from the cloud end and audit, and storing an auditing result in a local database.
In one embodiment, the storing of the audit result to the local database, when performed by the processor, further comprises: and sending the task corresponding to the structural data passing the auditing result and the corresponding second key to a research and development platform for storage, wherein the task and the second key stored to the research and development platform are used for the research and development terminal to inquire the second key corresponding to the task, and downloading the structural data corresponding to the task passing the auditing from the cloud end through the second key.
In one embodiment, a computer program implemented when executed by a processor to query a task address and a first key corresponding to a task identification from a task list stored in a local database, comprises: and selecting a processor to execute through a load balancing algorithm, and inquiring a task address and a first key corresponding to the task identifier from a task list stored in a local database.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An image data labeling method, the method comprising:
receiving a task marking request sent by a user terminal, wherein the task marking request carries a task identifier;
inquiring a storage address and a first key of the image file corresponding to the task identifier from a task list stored in a local database;
sending the first key to the storage address in a cloud, wherein the cloud is used for verifying the first key and returning the desensitized image file in a binary stream mode after the verification is successful;
receiving an image file returned by the cloud end in a binary stream manner after desensitization, and sending the image file after desensitization to the user terminal in a binary stream manner, so that the user terminal analyzes the image file to obtain pixel information and desensitization information, and displaying the obtained pixel information and desensitization information;
and receiving the structured data marked by the pixel information by the user terminal, and uploading the structured data to the cloud end so as to perform associated storage with the image file stored in the cloud end.
2. The method according to claim 1, wherein before receiving the task annotation request sent by the user terminal, the method further comprises:
receiving a marking request sent by a user terminal, and inquiring a task list stored in a first database according to the marking request to obtain a task in a state to be marked;
and sending the task in the state to be marked to the user terminal, wherein the task in the state to be marked is used for the user terminal to select.
3. The method of claim 1, wherein after uploading the structured data to the cloud for associated storage with the image file stored in the cloud, further comprising:
receiving a second key corresponding to the structured data returned by the cloud, storing the second key into a corresponding task in the task list, and modifying the state of the corresponding task in the task list into a state to be audited;
receiving an audit request sent by an audit terminal, and inquiring a task with a state to be audited in the task list according to the audit request;
the task in the state to be audited is obtained and returned to the auditing terminal, and the selected task returned by the auditing terminal is received;
and inquiring a second key corresponding to the selected task, returning the second key to the auditing terminal, wherein the second key is used for the auditing terminal to download the structured data from the cloud end and audit, and storing an auditing result to the local database.
4. The method of claim 3, wherein after storing the audit results to the local database, further comprising:
and sending the task corresponding to the structural data passing the auditing result and the corresponding second key to a research and development platform for storage, wherein the task and the second key stored to the research and development platform are used for being inquired by a research and development terminal to obtain the second key corresponding to the task, and downloading the structural data corresponding to the task passing the auditing from the cloud end through the second key.
5. The method according to any one of claims 1 to 4, wherein the querying a task address and a first key corresponding to the task identifier from a task list stored in a local database comprises:
and selecting a processor to execute through a load balancing algorithm, and inquiring a task address and a first key corresponding to the task identifier from a task list stored in a local database.
6. An apparatus for annotating image data, the apparatus comprising:
the first receiving module is used for receiving a task marking request sent by a user terminal, wherein the task marking request carries a task identifier;
the first query module is used for querying a storage address and a first key of the image file corresponding to the task identifier from a task list stored in a local database;
the first sending module is used for sending the first secret key to the storage address in a cloud, the cloud is used for verifying the first secret key, and after verification is successful, the desensitized image file is returned in a binary stream mode;
the second receiving module is used for receiving the desensitized image file returned by the cloud in a binary stream mode, and sending the desensitized image file to the user terminal in a binary stream mode, so that the user terminal analyzes the image file to obtain pixel information and desensitization information and displays the obtained pixel information and desensitization information;
and the second sending module is used for receiving the structured data after the pixel information is labeled by the user terminal, and uploading the structured data to the cloud end so as to perform associated storage with the image file stored in the cloud end.
7. The apparatus of claim 6, further comprising:
the third receiving module is used for receiving a marking request sent by the user terminal and inquiring a task list stored in the first database according to the marking request to obtain a task with a state to be marked;
and the third sending module is used for sending the task in the state to be marked to the user terminal, and the task in the state to be marked is used for the user terminal to select.
8. The apparatus of claim 6, further comprising:
the fourth receiving module is used for receiving a second key corresponding to the structured data returned by the cloud, storing the second key into a corresponding task in the task list, and modifying the state of the corresponding task in the task list into a state to be checked;
the second query module is used for receiving an audit request sent by an audit terminal and querying the task with the state to be audited in the task list according to the audit request;
the selection module is used for acquiring the task with the state to be audited, returning the task to the audit terminal and receiving the selected task returned by the audit terminal;
and the auditing module is used for inquiring a second key corresponding to the selected task, returning the second key to the auditing terminal, downloading the structured data from the cloud end by the auditing terminal, auditing and storing an auditing result in the local database.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. 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 claims 1 to 5.
CN202010097613.7A 2020-02-17 2020-02-17 Image data labeling method and device, computer equipment and storage medium Pending CN111324905A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010097613.7A CN111324905A (en) 2020-02-17 2020-02-17 Image data labeling method and device, computer equipment and storage medium
PCT/CN2020/097412 WO2021164161A1 (en) 2020-02-17 2020-06-22 Image data labeling method and apparatus, and computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010097613.7A CN111324905A (en) 2020-02-17 2020-02-17 Image data labeling method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111324905A true CN111324905A (en) 2020-06-23

Family

ID=71172780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010097613.7A Pending CN111324905A (en) 2020-02-17 2020-02-17 Image data labeling method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN111324905A (en)
WO (1) WO2021164161A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797430A (en) * 2020-06-30 2020-10-20 平安国际智慧城市科技股份有限公司 Data verification method, device, server and storage medium
CN112686009A (en) * 2020-12-23 2021-04-20 中国人民解放军战略支援部队信息工程大学 Voice marking system and method
CN113839953A (en) * 2021-09-27 2021-12-24 上海商汤科技开发有限公司 Labeling method and device, electronic equipment and storage medium
WO2022012687A1 (en) * 2020-07-17 2022-01-20 武汉联影医疗科技有限公司 Medical data processing method and system
CN114040223A (en) * 2021-11-05 2022-02-11 湖北亿咖通科技有限公司 Image processing method and system
CN115622819A (en) * 2022-12-20 2023-01-17 首都医科大学附属北京胸科医院 Image file processing method and system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113919300A (en) * 2021-09-02 2022-01-11 用友网络科技股份有限公司 Data labeling method and device and readable storage medium
CN113935068A (en) * 2021-10-21 2022-01-14 深圳市瑞云科技有限公司 Data desensitization method for mass file transmission system
CN114282882B (en) * 2021-11-15 2023-04-14 深圳市东信时代信息技术有限公司 Material work order auditing method, device and equipment and storage medium
CN114828007A (en) * 2022-04-30 2022-07-29 佛山技研智联科技有限公司 Data processing method, device and system based on edge gateway and edge gateway
CN117938857B (en) * 2024-03-21 2024-06-14 锱云(上海)物联网科技有限公司 Synchronous management method and system for object model

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979595B (en) * 2017-11-23 2020-11-13 储明 Private data protection method and gateway system
CN109410073B (en) * 2018-09-26 2024-04-30 平安健康保险股份有限公司 Image file desensitizing method, device, computer equipment and storage medium
CN109686423A (en) * 2018-11-06 2019-04-26 众安信息技术服务有限公司 A kind of medical imaging mask method and system
CN110677411B (en) * 2019-09-27 2022-07-19 浙江宇视科技有限公司 Data sharing method and system based on cloud storage

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797430A (en) * 2020-06-30 2020-10-20 平安国际智慧城市科技股份有限公司 Data verification method, device, server and storage medium
CN111797430B (en) * 2020-06-30 2023-10-03 平安国际智慧城市科技股份有限公司 Data verification method, device, server and storage medium
WO2022012687A1 (en) * 2020-07-17 2022-01-20 武汉联影医疗科技有限公司 Medical data processing method and system
CN112686009A (en) * 2020-12-23 2021-04-20 中国人民解放军战略支援部队信息工程大学 Voice marking system and method
CN113839953A (en) * 2021-09-27 2021-12-24 上海商汤科技开发有限公司 Labeling method and device, electronic equipment and storage medium
CN114040223A (en) * 2021-11-05 2022-02-11 湖北亿咖通科技有限公司 Image processing method and system
CN114040223B (en) * 2021-11-05 2023-11-24 亿咖通(湖北)技术有限公司 Image processing method and system
CN115622819A (en) * 2022-12-20 2023-01-17 首都医科大学附属北京胸科医院 Image file processing method and system
CN115622819B (en) * 2022-12-20 2023-05-05 首都医科大学附属北京胸科医院 Image file processing method and system

Also Published As

Publication number Publication date
WO2021164161A1 (en) 2021-08-26

Similar Documents

Publication Publication Date Title
CN111324905A (en) Image data labeling method and device, computer equipment and storage medium
CN108573371B (en) Data approval method, device, computer equipment and storage medium
CN110620812B (en) Interactive information pushing method and device, computer equipment and storage medium
CN109542529B (en) Function name-based point burying method and device, computer equipment and storage medium
CN109740137B (en) Name card generation method, device, computer equipment and storage medium
CN111143462A (en) Data export method and device, computer equipment and storage medium
CN109474456B (en) Configuration data processing method, device, computer equipment and storage medium
CN108959384B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN111475376A (en) Method and device for processing test data, computer equipment and storage medium
CN108803996B (en) Graphic file processing method and device, computer equipment and storage medium
CN111460394A (en) Copyright file verification method and device and computer readable storage medium
CN112035114A (en) Page rollback method, device, equipment and medium
CN111177121A (en) Order data feedback method and device, computer equipment and storage medium
CN112416458A (en) Preloading method and device based on ReactNative, computer equipment and storage medium
CN111708971A (en) Page configuration method and device, computer equipment and storage medium
CN111898102A (en) Authority configuration method and device, computer equipment and storage medium
CN111552535A (en) Interface picture replacing method and device, computer equipment and storage medium
CN112527357A (en) Service hot loading updating method and device, computer equipment and storage medium
CN109992730B (en) Method, device, computer equipment and storage medium for generating active page URL
CN113609147B (en) Data sharing method and device and electronic equipment
CN112783866A (en) Data reading method and device, computer equipment and storage medium
US20230351050A1 (en) Method and apparatus for custom development of payment application, computer device, and storage medium
CN112257000A (en) Picture generation method and device, computer equipment and storage medium
CN113157754B (en) Method, device and equipment for displaying flow form data and storage medium
CN111985446A (en) Face recognition method and system

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
TA01 Transfer of patent application right

Effective date of registration: 20220921

Address after: Room 2601 (Unit 07), Qianhai Free Trade Building, No. 3048, Xinghai Avenue, Nanshan Street, Qianhai Shenzhen-Hong Kong Cooperation Zone, Shenzhen, Guangdong 518000

Applicant after: Shenzhen Ping An Smart Healthcare Technology Co.,Ltd.

Address before: 1-34 / F, Qianhai free trade building, 3048 Xinghai Avenue, Mawan, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong 518000

Applicant before: Ping An International Smart City Technology Co.,Ltd.

TA01 Transfer of patent application right