[go: up one dir, main page]

CN110650210B - Image data acquisition method, device and storage medium - Google Patents

Image data acquisition method, device and storage medium Download PDF

Info

Publication number
CN110650210B
CN110650210B CN201910974450.3A CN201910974450A CN110650210B CN 110650210 B CN110650210 B CN 110650210B CN 201910974450 A CN201910974450 A CN 201910974450A CN 110650210 B CN110650210 B CN 110650210B
Authority
CN
China
Prior art keywords
data
client
image data
type
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910974450.3A
Other languages
Chinese (zh)
Other versions
CN110650210A (en
Inventor
李和意
李�浩
陈永健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Digital Medical Technology Co.,Ltd.
Original Assignee
Qingdao Hisense Medical Equipment 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 Qingdao Hisense Medical Equipment Co Ltd filed Critical Qingdao Hisense Medical Equipment Co Ltd
Priority to CN201910974450.3A priority Critical patent/CN110650210B/en
Publication of CN110650210A publication Critical patent/CN110650210A/en
Application granted granted Critical
Publication of CN110650210B publication Critical patent/CN110650210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The application discloses an image data acquisition method and device, and belongs to the technical field of computers. In the application, one or more image data identifiers can be extracted from a plurality of data packets transmitted between a first client and a server, and the extracted image data identifiers are sent to a second client, so that the second client can obtain corresponding image data according to the received image data identifiers. Because the image data identification is extracted from the data packet transmitted between the first client and the server, the accuracy is relatively high, the condition that the identification cannot be realized does not exist, the success rate of acquiring the image data by the second client is ensured, and the diagnosis efficiency is improved.

Description

影像数据获取方法、装置及存储介质Image data acquisition method, device and storage medium

技术领域technical field

本申请涉及计算机技术领域,特别涉及一种影像数据获取方法、装置及存储介质。The present application relates to the field of computer technology, and in particular, to a method, device and storage medium for acquiring image data.

背景技术Background technique

随着数字化信息时代的来临和人工智能的发展,医疗行业也得到了很大的进步,例如,诊断成像设备可以得到人身体内的各个部位的影像数据,在医生对得到的影像数据进行检查时,可以通过人工智能辅助诊断系统对影像数据进行辅助分析,从而实现更加方便和准确的治疗。With the advent of the digital information age and the development of artificial intelligence, the medical industry has also made great progress. For example, diagnostic imaging equipment can obtain image data of various parts of the human body. When doctors examine the obtained image data , which can assist in the analysis of image data through the artificial intelligence-aided diagnosis system, so as to achieve more convenient and accurate treatment.

相关技术中,终端可以通过医学影像信息系统的客户端从医学影像信息系统的服务器中获取影像数据并进行显示,通过人工智能辅助诊断系统的客户端对显示的影像数据进行辅助分析。由于医学影像信息系统和人工智能辅助诊断系统属于两个不同的系统,因此,直接将医学影像信息系统显示的影像数据在人工智能辅助诊断系统中显示的难度较大。在这种情况下,终端可以通过光学字符识别的方式识别出医学影像信息系统的客户端当前显示的影像数据的标识,之后,通过该标识下载影像数据,并在人工智能辅助诊断系统的客户端显示下载的影像数据,从而进行辅助分析。In the related art, the terminal can obtain image data from the server of the medical image information system through the client of the medical image information system and display it, and use the client of the artificial intelligence aided diagnosis system to perform auxiliary analysis on the displayed image data. Since the medical imaging information system and the artificial intelligence assisted diagnosis system belong to two different systems, it is difficult to directly display the image data displayed by the medical imaging information system in the artificial intelligence assisted diagnosis system. In this case, the terminal can identify the identification of the image data currently displayed by the client of the medical imaging information system by means of optical character recognition, and then download the image data through the identification, and display it on the client of the artificial intelligence aided diagnosis system. The downloaded image data is displayed for auxiliary analysis.

当前,相关技术中终端通过光学字符识别的方式来识别影像数据标识时,存在识别错误或无法识别的情况,这将影响人工智能辅助诊断系统的客户端获取影像数据,从而降低诊断的效率。At present, in the related art, when the terminal uses optical character recognition to recognize the image data identifier, there is a situation of recognition error or inability to recognize, which will affect the client of the artificial intelligence-aided diagnosis system to obtain image data, thereby reducing the efficiency of diagnosis.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种影像数据获取方法、装置及存储介质,解决了通过光学字符识别的方式来识别影像数据标识时,存在识别错误或无法识别的问题。所述技术方案如下:Embodiments of the present application provide an image data acquisition method, device, and storage medium, which solve the problem of recognition errors or inability to recognize image data identifiers by means of optical character recognition. The technical solution is as follows:

一方面,提供了一种影像数据获取方法,所述方法包括:In one aspect, a method for acquiring image data is provided, the method comprising:

获取第一客户端与服务器之间传输的多个数据包,所述第一客户端为医学影像信息系统的客户端,所述服务器为所述医学影像信息系统的服务器;acquiring a plurality of data packets transmitted between a first client and a server, where the first client is a client of a medical imaging information system, and the server is a server of the medical imaging information system;

从所述多个数据包中提取一个或多个影像数据标识;extracting one or more image data identifiers from the plurality of data packets;

将所述一个或多个影像数据标识发送至第二客户端,以使所述第二客户端根据所述一个或多个影像数据标识获取对应的影像数据,所述第二客户端为人工智能辅助诊断系统的客户端。Sending the one or more image data identifiers to a second client, so that the second client obtains corresponding image data according to the one or more image data identifiers, and the second client is artificial intelligence Auxiliary diagnostic system client.

可选地,所述从所述多个数据包中提取一个或多个影像数据标识,包括:Optionally, the extracting one or more image data identifiers from the multiple data packets includes:

对所述多个数据包进行筛选,得到一个或多个目标数据包,所述一个或多个目标数据包为所述第一客户端向所述服务器请求数据时发送的数据包;Screening the plurality of data packets to obtain one or more target data packets, where the one or more target data packets are data packets sent when the first client requests data from the server;

根据所述一个或多个目标数据包,确定所述一个或多个影像数据标识。The one or more image data identifiers are determined based on the one or more target data packets.

可选地,所述对所述多个数据包进行筛选,得到一个或多个目标数据包,包括:Optionally, screening the multiple data packets to obtain one or more target data packets, including:

从每个数据包的数据包信息中获取每个数据包的数据包类型;Get the packet type of each packet from the packet information of each packet;

将数据包类型为第一类型的一个或多个数据包作为所述一个或多个目标数据包,所述第一类型为所述第一客户端向所述服务器请求数据时发送的数据包的类型。One or more data packets whose data packet type is the first type are used as the one or more target data packets, and the first type is the data packet sent when the first client requests data from the server. type.

可选地,所述根据所述一个或多个目标数据包,确定所述一个或多个影像数据标识,包括:Optionally, the determining the one or more image data identifiers according to the one or more target data packets includes:

从每个目标数据包中提取每个目标数据包的应用层信息;Extract the application layer information of each target data packet from each target data packet;

将每个目标数据包的应用层信息进行切分,得到每个目标数据包的多个数据切片;Divide the application layer information of each target data packet to obtain multiple data slices of each target data packet;

从每个目标数据包的多个数据切片中获取切片类型为第二类型和第三类型的数据切片;Obtain data slices whose slice types are the second type and the third type from the multiple data slices of each target data packet;

根据获取的数据切片,确定所述一个或多个影像数据标识。The one or more image data identifiers are determined according to the acquired data slices.

可选地,所述根据获取的数据切片,确定所述一个或多个影像数据标识,包括:Optionally, determining the one or more image data identifiers according to the acquired data slices includes:

从每个目标数据包的多个数据切片中的切片类型为所述第二类型的数据切片中,提取第一地址段,所述第一地址段用于指示相应数据包所对应的影像数据的存储路径;Extract a first address segment from the data slices whose slice type is the second type in the multiple data slices of each target data packet, where the first address segment is used to indicate the image data corresponding to the corresponding data packet. Storage path;

从每个目标数据包的多个数据切片中的切片类型为所述第三类型的数据切片中,提取第二地址段,所述第二地址段为所述服务器的地址信息;Extracting a second address segment from the data slices whose slice types are the third type in the multiple data slices of each target data packet, where the second address segment is the address information of the server;

根据从每个目标数据包中提取的所述第一地址段和所述第二地址段,生成每个目标数据包对应的影像数据标识。According to the first address segment and the second address segment extracted from each target data packet, an image data identifier corresponding to each target data packet is generated.

另一方面,提供了一种影像数据获取装置,所述装置包括:In another aspect, a device for acquiring image data is provided, the device comprising:

获取模块,用于获取第一客户端与服务器之间传输的多个数据包,所述第一客户端为医学影像信息系统的客户端,所述服务器为所述医学影像信息系统的服务器;an acquisition module, configured to acquire a plurality of data packets transmitted between a first client and a server, where the first client is a client of the medical imaging information system, and the server is a server of the medical imaging information system;

提取模块,用于从所述多个数据包中提取一个或多个影像数据标识;an extraction module for extracting one or more image data identifiers from the plurality of data packets;

发送模块,用于将所述一个或多个影像数据标识发送至第二客户端,以使所述第二客户端根据所述一个或多个影像数据标识获取对应的影像数据,所述第二客户端为人工智能辅助诊断系统的客户端。a sending module, configured to send the one or more image data identifiers to a second client, so that the second client obtains corresponding image data according to the one or more image data identifiers, the second The client is the client of the artificial intelligence aided diagnosis system.

可选地,所述提取模块,包括:Optionally, the extraction module includes:

筛选单元,用于对所述多个数据包进行筛选,得到一个或多个目标数据包,所述一个或多个目标数据包为所述第一客户端向所述服务器请求数据时发送的数据包;A screening unit, configured to screen the plurality of data packets to obtain one or more target data packets, where the one or more target data packets are data sent when the first client requests data from the server Bag;

确定单元,用于根据所述一个或多个目标数据包,确定所述一个或多个影像数据标识。A determining unit, configured to determine the one or more image data identifiers according to the one or more target data packets.

可选地,所述筛选单元具体用于:Optionally, the screening unit is specifically used for:

从每个数据包的数据包信息中获取每个数据包的数据包类型;Get the packet type of each packet from the packet information of each packet;

将数据包类型为第一类型的一个或多个数据包作为所述一个或多个目标数据包,所述第一类型为所述第一客户端向所述服务器请求数据时发送的数据包的类型。One or more data packets whose data packet type is the first type are used as the one or more target data packets, and the first type is the data packet sent when the first client requests data from the server. type.

可选地,所述确定单元,包括:Optionally, the determining unit includes:

提取子单元,用于从每个目标数据包中提取每个目标数据包的应用层信息;an extraction subunit, used for extracting the application layer information of each target data packet from each target data packet;

切分子单元,用于将每个目标数据包的应用层信息进行切分,得到每个目标数据包的多个数据切片;The sub-slicing unit is used to segment the application layer information of each target data packet to obtain multiple data slices of each target data packet;

获取子单元,用于从每个目标数据包的多个数据切片中获取切片类型为第二类型和第三类型的数据切片;an obtaining subunit, used to obtain data slices whose slice types are the second type and the third type from the multiple data slices of each target data packet;

确定子单元,用于根据获取的数据切片,确定所述一个或多个影像数据标识。A determination subunit, configured to determine the one or more image data identifiers according to the acquired data slices.

可选地,所述确定子单元具体用于:Optionally, the determining subunit is specifically used for:

从每个目标数据包的多个数据切片中的切片类型为所述第二类型的数据切片中,提取第一地址段,所述第一地址段用于指示相应数据包所对应的影像数据的存储路径;Extract a first address segment from the data slices whose slice type is the second type in the multiple data slices of each target data packet, where the first address segment is used to indicate the image data corresponding to the corresponding data packet. Storage path;

从每个目标数据包的多个数据切片中的切片类型为所述第三类型的数据切片中,提取第二地址段,所述第二地址段为所述服务器的地址信息;Extracting a second address segment from the data slices whose slice types are the third type in the multiple data slices of each target data packet, where the second address segment is the address information of the server;

根据从每个目标数据包中提取的所述第一地址段和所述第二地址段,生成每个目标数据包对应的影像数据标识。According to the first address segment and the second address segment extracted from each target data packet, an image data identifier corresponding to each target data packet is generated.

另一方面,提供了一种影像数据获取装置,所述装置包括处理器、通信接口、存储器和通信总线;In another aspect, an image data acquisition device is provided, the device includes a processor, a communication interface, a memory and a communication bus;

其中,所述处理器、所述通信接口和所述存储器通过所述通信总线完成相互间的通信;Wherein, the processor, the communication interface and the memory communicate with each other through the communication bus;

所述存储器用于存放计算机程序;The memory is used to store computer programs;

所述处理器用于执行所述存储器上所存放的程序,以实现前述提供影像数据获取方法。The processor is used for executing the program stored in the memory, so as to realize the foregoing method for obtaining image data.

另一方面,提供了一种计算机可读存储介质,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现前述提供的影像数据获取方法的步骤。In another aspect, a computer-readable storage medium is provided, and a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the image data acquisition method provided above are implemented.

本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided in the embodiments of the present application include at least:

在本申请实施例中,可以从第一客户端和服务器之间传输的多个数据包中提取一个或多个影像数据标识,并将提取到的影像数据标识发送至第二客户端,这样,第二客户端就可以根据接收到的影像数据标识来获取对应的影像数据。由于该影像数据标识是从第一客户端和服务器之间传输的数据包中提取的,因此,准确率相对较高,且不存在无法识别的情况,保证了第二客户端获取影像数据的成功率,提高了诊断的效率。In this embodiment of the present application, one or more image data identifiers may be extracted from multiple data packets transmitted between the first client and the server, and the extracted image data identifiers are sent to the second client, thus, The second client can acquire corresponding image data according to the received image data identifier. Since the image data identifier is extracted from the data packet transmitted between the first client and the server, the accuracy rate is relatively high, and there is no unidentifiable situation, which ensures the success of the second client to obtain the image data rate and improve the efficiency of diagnosis.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.

图1是本申请实施例提供的一种影像数据获取的系统构架图;FIG. 1 is a system architecture diagram of an image data acquisition provided by an embodiment of the present application;

图2是本申请实施例提供的一种影像数据获取方法的流程图;FIG. 2 is a flowchart of a method for acquiring image data provided by an embodiment of the present application;

图3是本申请实施例提供的一种影像数据获取装置的结构示意图;FIG. 3 is a schematic structural diagram of an image data acquisition device provided by an embodiment of the present application;

图4是本申请实施例提供的一种影像数据获取终端的结构框图。FIG. 4 is a structural block diagram of an image data acquisition terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

在对本申请实施例进行详细的解释说明之前,先对本申请实施例涉及的应用场景予以介绍。Before the detailed explanation of the embodiments of the present application, the application scenarios involved in the embodiments of the present application are introduced.

当前在医院进行检查的时候,可以使用诊断成像设备获取检查部位的影像数据,之后,终端可以通过医学影像信息系统的客户端从医学影像信息系统的服务器中获取该影像数据并进行显示,人工智能辅助诊断系统的客户端可以通过获取当前医学影像信息系统的客户端显示的影像数据的标识显示该影像数据,并进行辅助分析。本申请实施例提供的影像数据获取方法,即可以用于在上述场景中,通过获取影像数据的标识,在人工智能辅助诊断系统的客户端显示该影像数据,并对影像数据进行辅助分析。During the current inspection in the hospital, the diagnostic imaging equipment can be used to obtain the image data of the inspection site. After that, the terminal can obtain the image data from the server of the medical image information system through the client of the medical image information system and display it. Artificial intelligence The client of the auxiliary diagnosis system can display the image data by acquiring the identifier of the image data displayed by the client of the current medical image information system, and perform auxiliary analysis. The image data acquisition method provided by the embodiment of the present application can be used in the above scenario, by acquiring the image data identifier, display the image data on the client side of the artificial intelligence aided diagnosis system, and perform auxiliary analysis on the image data.

接下来对本申请实施例提供的影像数据获取方法所涉及的系统架构进行介绍。Next, the system architecture involved in the image data acquisition method provided by the embodiment of the present application is introduced.

图1是本申请实施例提供的一种影像数据获取方法所涉及的系统架构图。如图1所示,该系统100包括服务器101和终端102。服务器101和终端102之间通过无线或有线方式连接以进行通信。FIG. 1 is a system architecture diagram involved in a method for acquiring image data provided by an embodiment of the present application. As shown in FIG. 1 , the system 100 includes a server 101 and a terminal 102 . The server 101 and the terminal 102 are connected by wireless or wired for communication.

其中,终端102上安装有第一客户端1021和第二客户端1022,第一客户端1021为医学影像信息系统的客户端,第二客户端1022为人工智能辅助诊断系统的客户端,由于医学影像信息系统与人工智能辅助诊断系统为不同的系统,因此,第一客户端1021显示的影像数据不能直接在第二客户端1022中显示。The first client 1021 and the second client 1022 are installed on the terminal 102, the first client 1021 is the client of the medical imaging information system, and the second client 1022 is the client of the artificial intelligence aided diagnosis system. The image information system and the artificial intelligence aided diagnosis system are different systems. Therefore, the image data displayed by the first client 1021 cannot be directly displayed in the second client 1022 .

终端102还包括网络分析模块1023,可选的,网络分析模块1023可以是安装在终端102中的一个应用,可以是终端102中保存的一段可以执行的代码,也可以是终端102从外部的硬件中获取的一段代码。The terminal 102 also includes a network analysis module 1023. Optionally, the network analysis module 1023 may be an application installed in the terminal 102, a piece of executable code saved in the terminal 102, or an external hardware of the terminal 102. A piece of code obtained from .

终端102通过第一客户端1021向服务器101发送影像数据获取请求,并接收服务器101返回的影像数据获取响应,之后,可以从影像数据获取响应中得到所请求的影像数据,并通过第一客户端1021将该影像数据进行显示。The terminal 102 sends an image data acquisition request to the server 101 through the first client 1021, and receives the image data acquisition response returned by the server 101. After that, the requested image data can be obtained from the image data acquisition response, and the first client 1021 displays the image data.

在这个过程中,终端102可以通过网络分析模块1023获取第一客户端1021请求的影像数据的影像数据标识,并将该影像数据标识发送给第二客户端1022,使得第二客户端1022通过影像数据标识从服务器101中获取该影像数据,将该影像数据进行显示。In this process, the terminal 102 can obtain the image data identifier of the image data requested by the first client 1021 through the network analysis module 1023, and send the image data identifier to the second client 1022, so that the second client 1022 can pass the image The data identifier acquires the image data from the server 101 and displays the image data.

其中,影像数据标识可以为任意一个能够唯一标识影像数据的标识,例如,影像数据标识可以为影像数据的地址、影像数据的id等。The image data identifier may be any identifier that can uniquely identify the image data, for example, the image data identifier may be the address of the image data, the id of the image data, and the like.

服务器101是医学影像信息系统的服务器,可以接收终端102发送的影像数据获取请求,影像获取请求中携带有终端102请求的影像数据的标识,服务器101可以根据该影像数据标识获取终端请求的影像数据,之后,服务器101可以向终端102返回携带有所请求的影像数据的影像数据获取响应。The server 101 is the server of the medical imaging information system, and can receive the image data acquisition request sent by the terminal 102. The image acquisition request carries the identifier of the image data requested by the terminal 102, and the server 101 can acquire the image data requested by the terminal according to the image data identifier. , and then, the server 101 may return to the terminal 102 an image data acquisition response carrying the requested image data.

在本申请实施例中,服务器101可以是一台服务器或者一个服务器集群。终端102可以为平板电脑、台式电脑等设备,本申请实施例对此不做限定。In this embodiment of the present application, the server 101 may be a server or a server cluster. The terminal 102 may be a tablet computer, a desktop computer, or other devices, which are not limited in this embodiment of the present application.

接下来对本申请实施例提供的影像数据获取方法进行介绍。Next, the image data acquisition method provided by the embodiment of the present application will be introduced.

图2是本申请实施例提供的一种影像数据获取方法的流程图。该方法可以应用于图1中的网络分析模块。如图2所示,该方法包括以下步骤:FIG. 2 is a flowchart of a method for acquiring image data provided by an embodiment of the present application. This method can be applied to the network analysis module in Figure 1. As shown in Figure 2, the method includes the following steps:

步骤201:获取第一客户端与服务器之间传输的多个数据包。Step 201: Acquire multiple data packets transmitted between the first client and the server.

其中,第一客户端为医学影像信息系统的客户端,服务器为医学影像信息系统的服务器。The first client is the client of the medical image information system, and the server is the server of the medical image information system.

在获取第一客户端与服务器之间传输的多个数据包时,网络分析模块可以根据数据包的源地址和目的地址,从第一客户端所在的终端发送和接收的所有数据包中,获取该终端和第一客户端的服务器之间传输的数据包。When acquiring a plurality of data packets transmitted between the first client and the server, the network analysis module can acquire, according to the source address and destination address of the data packets, from all the data packets sent and received by the terminal where the first client is located, Data packets transmitted between the terminal and the server of the first client.

示例性地,网络分析模块可以将第一客户端所在终端的地址作为源地址,将医学影像信息系统服务器的地址作为目的地址,获取由第一客户端传输给医学影像信息系统服务器的所有数据包。当然,也可以将医学影像信息系统服务器的地址作为源地址,将第一客户端终端的地址作为目的地址,获取由医学影像信息系统服务器传输给第一客户端的所有数据包。网络分析模块可以根据第一客户端所在的终端的地址和第一客户端对应的服务器的地址,获取该终端和服务器之间传输的所有数据包。Exemplarily, the network analysis module may use the address of the terminal where the first client is located as the source address, and the address of the medical imaging information system server as the destination address, and obtain all data packets transmitted by the first client to the medical imaging information system server. . Of course, the address of the medical imaging information system server may also be used as the source address, and the address of the first client terminal may be used as the destination address to acquire all data packets transmitted by the medical imaging information system server to the first client. The network analysis module may acquire all data packets transmitted between the terminal and the server according to the address of the terminal where the first client is located and the address of the server corresponding to the first client.

可选地,在一种可能的情况中,网络分析模块也可以通过设置监听的端口,获取第一客户端与服务器之间传输的多个数据包。其中,端口是终端与外部进行通信的出入口,端口可以按照端口号分为3类:公认端口、注册端口、动态和/或私有端口。Optionally, in a possible situation, the network analysis module may also acquire multiple data packets transmitted between the first client and the server by setting a listening port. Among them, the port is the entrance and exit for the terminal to communicate with the outside, and the ports can be divided into three categories according to the port number: recognized ports, registered ports, dynamic and/or private ports.

在本申请实施例中,网络分析模块可以设置监听第一客户端所在终端的所有端口,获取通过每个端口传输的数据包。也即,网络分析模块可以获取终端发送和接收的所有数据包。之后,网络分析模块可以根据获取到的所有数据包的源地址和目的地址对所有数据包进行筛选,将源地址或目的地址中任意一个为第一客户端对应的服务器的地址的数据包保留,删除其余的数据包。这样,可以从获取到的所有数据包中获取该终端和第一客户端对应的服务器之间传输的数据包。In this embodiment of the present application, the network analysis module may be set to monitor all ports of the terminal where the first client is located, and obtain data packets transmitted through each port. That is, the network analysis module can obtain all data packets sent and received by the terminal. After that, the network analysis module can filter all the data packets according to the source addresses and destination addresses of all the obtained data packets, and reserve the data packets whose source address or destination address is the address of the server corresponding to the first client, Delete the rest of the packets. In this way, the data packets transmitted between the terminal and the server corresponding to the first client can be acquired from all the acquired data packets.

或者,由于在使用不同的协议进行不同的服务时,会通过不同的端口传输数据包,而每个服务都有相应的默认端口,因此,可以根据该终端与第一客户端的服务器之间传输数据包的协议,将使用该协议传输数据包时使用的默认端口作为监听的端口。这样可以防止监听所有端口获取的数据包数量过多的问题,减少了数据分析的工作量。在这种情况下,网络分析模块可以实时的监听该端口是否有数据包传输。当终端通过该端口发送数据包或者是接收数据包时,网络分析模块可以抓取发送或接收的数据包,此时,抓取到的数据包即为该终端与该服务器之间传输的数据包。Or, when using different protocols for different services, data packets will be transmitted through different ports, and each service has a corresponding default port. Therefore, data can be transmitted between the terminal and the server of the first client according to the The protocol of the packet, which will use the default port used to transmit packets as the listening port. This can prevent the problem of too many packets obtained by listening to all ports and reduce the workload of data analysis. In this case, the network analysis module can monitor whether there is data packet transmission on the port in real time. When the terminal sends or receives data packets through this port, the network analysis module can capture the data packets sent or received. At this time, the captured data packets are the data packets transmitted between the terminal and the server. .

需要说明的是,第一客户端可以通过向服务器发送HTTP(HTTP-Hypertexttransfer protocol,超文本传输协议)请求来获取影像数据,相应地,服务器可以通过发送HTTP响应来向第一客户端反馈影像数据。也即,第一客户端和服务器之间传输的用于获取影像数据的数据包可以为HTTP数据包。其中,由于采用HTTP协议传输HTTP数据包时使用的默认端口通常为80端口,因此,可以将80端口作为监听的端口,并将通过80端口传输的HTTP数据包作为该终端与第一客户端的服务器之间传输的数据包。It should be noted that the first client can obtain image data by sending an HTTP (HTTP-Hypertexttransfer protocol, hypertext transfer protocol) request to the server, and accordingly, the server can send back the image data to the first client by sending an HTTP response . That is, the data packets transmitted between the first client and the server for acquiring image data may be HTTP data packets. Among them, since the default port used when using the HTTP protocol to transmit HTTP data packets is usually port 80, port 80 can be used as the listening port, and the HTTP data packets transmitted through port 80 can be used as the terminal and the first client server. packets transmitted between.

可选地,在某些情况下,终端也可以不使用默认端口传输,而是重新开放一个新的不为公认端口的端口,将该端口作为传输HTTP数据包的端口。基于此,终端可以监听该端口,获取通过该端口传输的数据包作为该终端与第一客户端的服务器之间传输的数据包。需要说明的是,在这种情况下,通过地址访问网页的时候,需要在地址的端口字段里写入该端口的端口号,使终端不再使用默认端口传输HTTP数据包,而使用该端口传输HTTP数据包。Optionally, in some cases, the terminal may not use the default port for transmission, but reopen a new port that is not a recognized port, and use the port as the port for transmitting HTTP data packets. Based on this, the terminal can monitor the port, and obtain the data packet transmitted through the port as the data packet transmitted between the terminal and the server of the first client. It should be noted that in this case, when accessing a web page through an address, the port number of the port needs to be written in the port field of the address, so that the terminal no longer uses the default port to transmit HTTP packets, but uses this port to transmit HTTP packets.

另外,在本申请实施例中,第一客户端可以向服务器申请注册一个账号和密码,服务器会保存账号和密码,并生成该账号和密码的对应关系。当第一客户端从该服务器中获取影像数据时,第一客户端可以通过该账号和密码登录该服务器。In addition, in this embodiment of the present application, the first client can apply to the server to register an account and password, and the server will save the account and password, and generate a corresponding relationship between the account and password. When the first client obtains image data from the server, the first client can log in to the server through the account and password.

可选地,网络分析模块中可以存储有第一客户端获取影像数据时,影像数据相关信息的组织格式。这样,网络分析模块可以根据该信息格式,更为准确和快捷的从第一客户端发送的数据包中获取到影像数据标识。Optionally, the network analysis module may store the organization format of the image data related information when the first client acquires the image data. In this way, the network analysis module can acquire the image data identifier from the data packet sent by the first client more accurately and quickly according to the information format.

进一步地,网络分析模块可以对应有一个数据库,该数据库中可以存储有网络分析模块获取到的影像数据标识。需要说明的是,该数据库具有一个存储上限值,也即能够存储的影像数据标识的最大数目。Further, the network analysis module may correspond to a database, and the database may store the image data identifiers obtained by the network analysis module. It should be noted that the database has a storage upper limit, that is, the maximum number of image data identifiers that can be stored.

步骤202:从多个数据包中提取一个或多个影像数据标识。Step 202: Extract one or more image data identifiers from multiple data packets.

在获取到多个数据包后,网络分析模块可以对多个数据包进行筛选,得到一个或多个目标数据包,一个或多个目标数据包为第一客户端向服务器请求数据时发送的数据包;根据一个或多个目标数据包,确定一个或多个影像数据标识。After acquiring multiple data packets, the network analysis module can filter the multiple data packets to obtain one or more target data packets, and the one or more target data packets are the data sent when the first client requests data from the server Packet; according to one or more target data packets, determine one or more image data identifiers.

其中,由前述步骤201中的介绍可知,获取的多个数据包可以为第一客户端和服务器之间传输的多个HTTP数据包,该多个HTTP数据包中包括第一客户端发送给服务器的获取影像数据的多个请求数据包,以及服务器发送给第一客户端的返回影像数据的多个响应数据包。基于此,网络分析模块可以从多个数据包中获取一个或多个请求数据包,将获取到的一个或多个请求数据包作为一个或多个目标数据包。Wherein, it can be known from the introduction in the foregoing step 201 that the acquired multiple data packets may be multiple HTTP data packets transmitted between the first client and the server, and the multiple HTTP data packets include the first client to send to the server. multiple request packets for acquiring image data, and multiple response packets for returning image data sent by the server to the first client. Based on this, the network analysis module can obtain one or more request data packets from multiple data packets, and use the obtained one or more request data packets as one or more target data packets.

在一种可能的实现方式中,网络分析模块可以根据多个数据包的数据包信息来从多个数据包中获取一个或多个请求数据包。在这种情况下,网络分析模块可以获取多个数据包中每个数据包的数据包信息,从每个数据包的数据包信息中获取每个数据包的数据包类型;将数据包类型为第一类型的一个或多个数据包作为一个或多个目标数据包,第一类型为第一客户端向服务器请求数据时发送的数据包的类型。In a possible implementation manner, the network analysis module may acquire one or more request data packets from the plurality of data packets according to the data packet information of the plurality of data packets. In this case, the network analysis module can obtain the data packet information of each data packet in multiple data packets, and obtain the data packet type of each data packet from the data packet information of each data packet; set the data packet type as One or more data packets of the first type are used as one or more target data packets, and the first type is the type of data packets sent when the first client requests data from the server.

需要说明的是,多个数据包的数据包信息通常是以列表的形式组织的,每一行信息为一个数据包的数据包信息,每一行数据包信息包括该行数据包信息所对应的数据包的编号、时间戳、源地址、目的地址、协议、长度、数据包类型、存储路径以及协议版本。It should be noted that the data packet information of multiple data packets is usually organized in the form of a list, each row of information is the data packet information of one data packet, and each row of data packet information includes the data packet corresponding to the row of data packet information. number, timestamp, source address, destination address, protocol, length, packet type, storage path, and protocol version.

其中,编号为相应数据包在获取到的多个数据包中的排序位置,时间戳为网络分析模块从开始抓取数据包的时刻起到获取到相应数据包的时刻之间的时间差,源地址为发送相应数据包的第一客户端所在的终端的地址,目的地址为接收相应数据包的第一客户端对应的服务器的地址,协议为发送相应数据包时使用的协议,在此可以为HTTP协议,数据包类型为获取影像数据使用的方法,存储路径为影像数据在服务器中存储的位置。Among them, the number is the sorting position of the corresponding data packet in the obtained multiple data packets, the time stamp is the time difference between the time when the network analysis module starts to grab the data packet and the time when the corresponding data packet is obtained, and the source address is is the address of the terminal where the first client that sends the corresponding data packet is located, the destination address is the address of the server corresponding to the first client that receives the corresponding data packet, and the protocol is the protocol used when sending the corresponding data packet, which can be HTTP here Protocol, the packet type is the method used to obtain the image data, and the storage path is the location where the image data is stored in the server.

示例性地,列表中某一行数据包信息为2 0.000038 192.168.10.202192.168.10.176HTTP 553GET/Images/img_sid/save2.png HTTP/1.1,则该行数据包信息对应的数据包的编号为2,该数据包是在开始获取数据包后的0.000038秒获取到的,该数据包的源地址为192.168.10.202,目的地址为192.168.10.176,发送该数据包使用的协议为HTTP协议,数据包的长度为553。并且,该数据包的数据包类型为GET,存储路径为/Images/img_sid/save2.png,发送使用的HTTP协议为1.1版本。Exemplarily, a row of packet information in the list is 2 0.000038 192.168.10.202192.168.10.176HTTP 553GET/Images/img_sid/save2.png HTTP/1.1, then the packet number corresponding to the row of packet information is 2, and the The data packet is obtained 0.000038 seconds after starting to obtain the data packet. The source address of the data packet is 192.168.10.202 and the destination address is 192.168.10.176. The protocol used to send the data packet is the HTTP protocol, and the length of the data packet is 553. In addition, the data packet type of the data packet is GET, the storage path is /Images/img_sid/save2.png, and the HTTP protocol used for sending is version 1.1.

在获取到每个数据包的数据包信息后,网络分析模块可以从每个数据包的数据包信息中提取数据包类型。After acquiring the data packet information of each data packet, the network analysis module can extract the data packet type from the data packet information of each data packet.

需要说明的是,常用的HTTP请求数据包的数据包类型有GET、POST和HEAD,GET类型用于请求获取URL(Uniform Resource Locator,统一资源定位符)所标识的影像数据;POST类型用于在URL所标识的影像数据后附加新的数据;HEAD类型用于请求获取由URL所标识的影像数据的响应报头。并且同一个第一客户端与服务器之间传输数据包时只会使用一种数据包类型。It should be noted that the commonly used data packet types of HTTP request packets are GET, POST and HEAD. The GET type is used to request the image data identified by the URL (Uniform Resource Locator); the POST type is used in the New data is appended to the image data identified by the URL; the HEAD type is used to request the response header of the image data identified by the URL. And only one data packet type is used when transmitting data packets between the same first client and the server.

由于获取的多个数据包中可能包括上述的各种类型的数据包,因此,网络分析模块可以从抓取到的多个数据包中的每个数据包的数据包信息中获取每个数据包的数据包类型,并统计当前获取的多个数据包中,每一种数据包类型的数据包的数量,将数据包数量最多的数据包类型作为第一类型。之后,可以从获取的多个数据包中删除数据包类型不为第一类型的数据包,只获取数据包类型为第一类型的数据包,并将数据包类型为第一类型的数据包作为目标数据包。Since the obtained data packets may include the above-mentioned various types of data packets, the network analysis module can obtain each data packet from the data packet information of each data packet in the captured plurality of data packets and count the number of data packets of each data packet type among the currently acquired multiple data packets, and use the data packet type with the largest number of data packets as the first type. After that, the data packets whose data packet type is not the first type can be deleted from the obtained multiple data packets, only the data packets whose data packet type is the first type can be obtained, and the data packets whose data packet type is the first type can be used as destination packet.

通过上述方法对多个数据包进行筛选,可以进一步的减少获取的目标数据包的数量,减少了对数据包进行分析时占用的运算资源,也降低了数据包所占用终端的存储资源,从而可以减少终端的运算和存储开销。Screening multiple data packets by the above method can further reduce the number of acquired target data packets, reduce the computing resources occupied when analyzing the data packets, and also reduce the storage resources of the terminal occupied by the data packets, so that the Reduce the computing and storage overhead of the terminal.

在获取到一个或多个目标数据包后,网络分析模块可以从每个目标数据包中提取每个目标数据包的应用层信息;将每个目标数据包的应用层信息进行切分,得到每个目标数据包的多个数据切片;从每个目标数据包的多个数据切片中获取切片类型为第二类型和第三类型的数据切片;根据获取的数据切片,确定一个或多个影像数据标识。After acquiring one or more target data packets, the network analysis module can extract the application layer information of each target data packet from each target data packet; A plurality of data slices of each target data packet; obtain data slices whose slice types are the second type and the third type from the plurality of data slices of each target data packet; determine one or more image data slices according to the obtained data slices logo.

需要说明的是,数据包是按照物理层、数据链路层、网络层、传输层和应用层这五层网络模型封装得到的。其中,最后一层封装为应用层封装,由于影像数据标识位于应用层封装的应用层信息中,因此,可以从每个目标数据包中提取应用层信息。It should be noted that the data packet is obtained by encapsulation according to the five-layer network model of physical layer, data link layer, network layer, transport layer and application layer. The last layer of encapsulation is the application layer encapsulation. Since the image data identifier is located in the application layer information of the application layer encapsulation, the application layer information can be extracted from each target data packet.

在本申请实施例中,应用层信息包括HTTP请求的请求行、请求头、空行和请求主体这四部分。请求行包含有请求使用的数据包类型、存储路径和协议版本,并且,在请求行末尾包括一个回车换行符号。请求头中可以包括第一客户端向服务器发送请求的附加信息以及第一客户端自身的信息,请求头包括的信息根据情况的不同而不定。请求主体包括内容根据数据包类型的不同而不同。In this embodiment of the present application, the application layer information includes four parts: a request line, a request header, a blank line and a request body of the HTTP request. The request line contains the packet type, storage path, and protocol version used by the request, and includes a carriage return line feed at the end of the request line. The request header may include additional information of the request sent by the first client to the server and information of the first client itself, and the information included in the request header may vary according to different situations. The content of the request body varies according to the packet type.

示例性地,HTTP请求的请求行为Method Request-URL HTTP-VersionCRLF,Method表示请求使用的数据包类型,Request-URL表示存储路径,HTTP-Version表示请求的协议版本,CRLF表示回车和换行。假设,一个HTTP请求的请求行为GET/Images/img_sid/save2.pngHTTP/1.1(CRLF),该请求使用的数据包类型为GET,存储路径为/Images/img_sid/save2.png,使用的协议版本为HTTP1.1。Exemplarily, the request behavior of the HTTP request is Method Request-URL HTTP-VersionCRLF, where Method represents the data packet type used by the request, Request-URL represents the storage path, HTTP-Version represents the requested protocol version, and CRLF represents carriage return and line feed. Suppose, the request behavior of an HTTP request is GET/Images/img_sid/save2.pngHTTP/1.1(CRLF), the data packet type used by this request is GET, the storage path is /Images/img_sid/save2.png, and the protocol version used is HTTP1.1.

请求头可以包括Accept、User-Agent、Host、Content-Length、Accept-Encoding和Accept-Langeuage等字段。Accept字段指第一客户端使用的浏览器可以接收的多用途互联网邮件扩展的文件格式;User-Agent字段是指是第一客户端可以使用的浏览器的类型;Host字段是指请求的服务器的域名和端口号;Content-Length字段指请求主体的长度;Accept-Encoding字段指第一客户端使用的浏览器可以支持的服务器返回的影像数据压缩编码类型;Accept-Langeuage字段指第一客户端使用的浏览器可以接受的语言种类。The request header can include fields such as Accept, User-Agent, Host, Content-Length, Accept-Encoding, and Accept-Langeuage. The Accept field refers to the file format of the multi-purpose Internet mail extension that can be received by the browser used by the first client; the User-Agent field refers to the type of browser that the first client can use; the Host field refers to the requested server Domain name and port number; the Content-Length field refers to the length of the request body; the Accept-Encoding field refers to the image data compression encoding type returned by the server supported by the browser used by the first client; The languages accepted by your browser.

示例性地,一个HTTP请求的请求头为:Exemplarily, the request header of an HTTP request is:

Host:localhost:8030Host:localhost:8030

Content-Length:16Content-Length: 16

User-Agent:Mozilla/5.0(Windows NT 6.1;Win64;x64)AppleWebKit/537.36(KHTML,like Gecko)Chrome/66.0.3359.181Safari/537.36User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181Safari/537.36

Accept:image/gif,image/x-xbitmap,image/jepg,image/pjpeg,*/*Accept: image/gif, image/x-xbitmap, image/jepg, image/pjpeg, */*

Accept-Encoding:gzip,deflate,brAccept-Encoding: gzip,deflate,br

Accept-Language:zh-CN,zh-ENAccept-Language:zh-CN,zh-EN

其中,HOST字段表示请求的服务器的域名为localhost,端口号为8030;Content-Length字段表示请求主体的长度为16;User-Agent字段表示第一客户端使用的浏览器的类型可以为Mozilla、AppleWebKit、Chrome和Safari;Accept字段表示第一客户端使用的浏览器可以接收的图像格式为gif、x-xbitmap、jepg和pjpeg;Accept-Encoding字段表示第一客户端使用的浏览器可以支持压缩编码类型为gzip、deflate和br;Accept-Language字段表示第一客户端使用的浏览器可以接受的语言为中文和英文。Among them, the HOST field indicates that the domain name of the requested server is localhost and the port number is 8030; the Content-Length field indicates that the length of the request body is 16; the User-Agent field indicates that the type of browser used by the first client can be Mozilla, AppleWebKit , Chrome, and Safari; the Accept field indicates that the image formats that the browser used by the first client can receive are gif, x-xbitmap, jepg, and pjpeg; the Accept-Encoding field indicates that the browser used by the first client can support compression encoding types are gzip, deflate, and br; the Accept-Language field indicates that the languages acceptable to the browser used by the first client are Chinese and English.

根据数据包类型的不同,请求主体包含的内容也不同。其中,当数据包类型为GET时,请求主体为空,第一客户端向服务器发送的数据写在请求行的存储地址之后,作为存储地址的一部分发送给服务器,在这种情况下,第一客户端向服务器发送的数据量不能过大。当数据包类型为POST时,请求主体包括第一客户端向服务器发送的数据,且对数据量没有限制。Depending on the packet type, the content of the request body varies. Among them, when the data packet type is GET, the request body is empty, and the data sent by the first client to the server is written after the storage address of the request line and sent to the server as part of the storage address. In this case, the first The amount of data sent by the client to the server cannot be too large. When the data packet type is POST, the request body includes the data sent by the first client to the server, and there is no limit to the amount of data.

从每个目标数据包中提取出每个目标数据包的应用层信息后,可以将每个目标数据包的应用层信息进行切分。其中,对每个目标数据包的应用层信息切分的方法可以为根据换行符将应用层信息的每一行进行切分,也即将应用层信息的每一行对应的数据作为一个数据切片。由于在终端中数据是使用二进制或十六进制表示的,因此,换行符在数据中可以表示为“0d 0a”。之后,根据“0d0a”将每个目标数据包的应用层信息进行切分,得到每个目标数据包的多个数据切片。After the application layer information of each target data packet is extracted from each target data packet, the application layer information of each target data packet can be segmented. The method for segmenting the application layer information of each target data packet may be segmenting each row of the application layer information according to the line break, that is, taking the data corresponding to each row of the application layer information as a data slice. Since the data is represented in binary or hexadecimal in the terminal, the newline character can be represented as "0d 0a" in the data. After that, the application layer information of each target data packet is divided according to "0d0a", and multiple data slices of each target data packet are obtained.

将每个目标数据包的多个数据切片分别进行分类,可以按照前述的应用层信息包括的四个部分中的每个字段的内容进行分类,并根据每一个数据切片对应的字段来标记每一个数据切片的类型,也即该数据切片属于的字段。示例性地,数据切片的类型可以为请求行、HOST和Content-Length等。The multiple data slices of each target data packet are classified separately, which can be classified according to the content of each field in the four parts included in the foregoing application layer information, and each data slice is marked according to the corresponding field. The type of the data slice, that is, the field to which the data slice belongs. Exemplarily, the type of the data slice may be request line, HOST, Content-Length, and so on.

在得到每个目标数据包的多个数据切片之后,网络分析模块可以从每个目标数据包的多个数据切片中,获取类型为第二类型和第三类型的数据切片,并根据第二类型和第三类型的数据切片,进一步得到每个目标数据包对应的影像数据标识。After obtaining multiple data slices of each target data packet, the network analysis module can obtain data slices of the second type and the third type from the multiple data slices of each target data packet, and analyze the data slices according to the second type and the third type of data slice, and further obtain the image data identifier corresponding to each target data packet.

其中,第二类型是指包含有影像数据的存储路径的字段所标记的类型,第三类型是指包含有服务器信息的字段所标记的类型。由前述可知,请求行类型的数据切片中包括请求使用的数据包类型、存储路径和协议版本,基于此,在本申请实施例中,第二类型可以是指请求行类型;另外,由于HOST类型的数据切片中包括请求的服务器的域名和端口号,因此,在本申请实施例中,第三类型可以是指HOST类型。The second type refers to the type marked by the field containing the storage path of the image data, and the third type refers to the type marked by the field containing the server information. It can be seen from the foregoing that the data slice of the request line type includes the data packet type, storage path and protocol version used by the request. Based on this, in the embodiment of the present application, the second type may refer to the request line type; in addition, since the HOST type The data slice includes the domain name and port number of the requested server. Therefore, in this embodiment of the present application, the third type may refer to the HOST type.

在获取第二类型和第三类型的数据切片后,由于第二类型的数据切片中包含有存储路径,第三类型的数据切片中包含有服务器信息,因此,可以从每个目标数据包的多个数据切片中的切片类型为第二类型的数据切片中,提取第一地址段,第一地址段用于指示相应数据包所对应的影像数据的存储路径;从每个目标数据包的多个数据切片中的切片类型为第三类型的数据切片中,提取第二地址段,第二地址段为所述服务器的地址信息;之后,根据从每个目标数据包中提取的第一地址段和第二地址段,生成每个目标数据包对应的影像数据标识。其中,服务器的地址信息可以是指服务器的域名和端口号。After acquiring the data slices of the second type and the third type, since the data slice of the second type contains the storage path and the data slice of the third type contains the server information, the data slices of each target data packet can be retrieved from the In the data slices of which the slice type is the second type, the first address segment is extracted, and the first address segment is used to indicate the storage path of the image data corresponding to the corresponding data packet; The slice type in the data slice is the data slice of the third type, extract the second address segment, and the second address segment is the address information of the server; then, according to the first address segment extracted from each target data packet and The second address segment generates an image data identifier corresponding to each target data packet. The address information of the server may refer to the domain name and port number of the server.

在本申请实施例中,由于第一客户端是通过影像数据的地址向服务器请求获取该影像数据,而网络中的地址有规定的固定组成格式,该固定组成格式为域名、端口号和存储路径,因此,可以将域名、端口号和存储路径的组成格式作为一个模板,与获取到的第二类型和第三类型的数据切片进行对比匹配,从而可以在第二类型的数据切片中识别到影像数据的存储路径,获取识别到的影像数据的存储路径,并将影像数据的存储路径作为第一地址段。同样的,可以在第三类型的数据切片中识别到域名和端口号,获取识别到的域名和端口号,将域名和端口号作为第二地址段。In the embodiment of the present application, since the first client requests the server to obtain the image data through the address of the image data, and the address in the network has a prescribed fixed composition format, the fixed composition format is a domain name, a port number, and a storage path. , therefore, the composition format of the domain name, port number and storage path can be used as a template to compare and match the acquired data slices of the second type and the third type, so that the images can be identified in the second type of data slices. For the storage path of the data, the identified storage path of the image data is acquired, and the storage path of the image data is used as the first address segment. Similarly, the domain name and port number can be identified in the data slice of the third type, the identified domain name and port number can be obtained, and the domain name and port number can be used as the second address segment.

在获取到第一地址段和第二地址段之后,可以根据前述网络中规定的地址的固定组成格式:域名、端口号和存储路径,将获得的第一地址段和第二地址段进行组合,也即,将第一地址段放置于第二地址段之后,从而可以得到每个目标数据包对应的影像数据标识。此时,该影像数据标识为用于标识该影像数据的URL。After obtaining the first address segment and the second address segment, the obtained first address segment and the second address segment can be combined according to the fixed composition format of addresses specified in the aforementioned network: domain name, port number and storage path, That is, the first address segment is placed after the second address segment, so that the image data identifier corresponding to each target data packet can be obtained. At this time, the image data is identified as a URL for identifying the image data.

其中,为了使网络分析模块可以识别影像数据的存储路径、域名和端口号,该网络分析模块可以包含有一个根据大量固定组成格式的地址训练得到的神经网络。网络分析模块可以通过该神经网络,从第二类型的数据切片中识别影像数据的存储路径,从第三类型的切片数据中识别服务器的域名和端口号。之后,网络分析模块将影像数据的存储路径、域名和端口号进行组合,得到每个目标数据包相应的影像数据标识。Wherein, in order for the network analysis module to identify the storage path, domain name and port number of the image data, the network analysis module may include a neural network trained according to a large number of addresses in a fixed composition format. The network analysis module can identify the storage path of the image data from the data slice of the second type, and identify the domain name and port number of the server from the slice data of the third type through the neural network. After that, the network analysis module combines the storage path, domain name and port number of the image data to obtain the image data identifier corresponding to each target data packet.

可选地,第二类型的数据切片中的影像数据的存储路径部分还可以包括参数,该参数为所要获取的影像数据的ID((Identity,标识)。该ID可以唯一标识一个影像数据,基于此,网络分析模块也可以获取影像数据的存储路径中的ID,并将该ID作为影像数据标识。Optionally, the storage path part of the image data in the data slice of the second type may also include a parameter, and the parameter is the ID ((Identity, identification) of the image data to be acquired. The ID can uniquely identify an image data, based on Therefore, the network analysis module can also obtain the ID in the storage path of the image data, and use the ID as the image data identifier.

上述仅是本申请实施例中给出的几种影像数据标识可能的实现方式,在本申请实施例中,也可以获取每个目标数据包中的任意可以标识唯一一个影像数据的信息作为影像数据标识,在此不做限定。The above are only several possible implementations of image data identification given in the embodiments of the present application. In the embodiments of the present application, any information that can identify a unique image data in each target data packet can also be obtained as the image data. identification, which is not limited here.

需要说明的是,数据包在终端或服务器中均是以二进制或十六进制的形式进行传输和存储的。因此在获取影像数据标识时,可以对数据包进行编码,将数据包中二进制或十六进制的数据可视化为字符形式的信息,进而从可视化的信息中获取影像数据标识。对数据包进行编码的方法可以为前述Accept-Encoding字段中支持的编码方式的任意一种,在此不做限定。It should be noted that data packets are transmitted and stored in the terminal or server in binary or hexadecimal form. Therefore, when obtaining the image data identifier, the data packet can be encoded, and the binary or hexadecimal data in the data packet can be visualized as information in the form of characters, and then the image data identifier can be obtained from the visualized information. The method for encoding the data packet may be any one of the encoding methods supported in the aforementioned Accept-Encoding field, which is not limited herein.

上述实施例中主要介绍了将一个或多个请求数据包作为目标数据包,进而从目标数据包中获取影像数据标识的实现过程。在另一种可能的实现方式中,也可以将一个或多个响应数据包作为目标数据包,进而从中确定一个或多个影像数据标识。响应数据包的应用层信息包括状态行、响应头、空行和响应正文这四部分。状态行的开头为服务器使用的HTTP协议的版本、以空格分开,后面为服务器发回的响应状态代码和状态代码的文本描述;响应头与请求头类似,为响应数据包添加了一些附加信息;响应正文为处理结果,第一客户端使用的浏览器可以将正文内容中的数据取出来,生成相应的影像数据。由于响应正文中包含有影像数据的相关信息,因此,网络分析模块可以从响应数据包的响应正文中提取一个或多个影像数据标识,本申请实施例在此不再赘述。The above-mentioned embodiments mainly introduce the implementation process of using one or more request data packets as target data packets, and then acquiring the image data identifier from the target data packets. In another possible implementation manner, one or more response data packets may also be used as target data packets, and then one or more image data identifiers are determined therefrom. The application layer information of the response packet includes four parts: status line, response header, blank line and response body. The beginning of the status line is the version of the HTTP protocol used by the server, separated by spaces, followed by the response status code and text description of the status code sent back by the server; the response header is similar to the request header, adding some additional information to the response packet; The response body is the processing result, and the browser used by the first client can extract the data in the body content to generate corresponding image data. Since the response body contains the relevant information of the image data, the network analysis module can extract one or more image data identifiers from the response body of the response data packet, which is not repeated in this embodiment of the present application.

可选地,在获得影像数据标识后,可以将影像数据标识存储于前述的网络分析模块对应的数据库中。当存储的影像数据标识的数目等于数据块的存储上限值时,若后续还有要存储的影像数据标识,可以按照各个影像数据标识的存储先后顺序,对之前存储的影像数据标识依次删除,进而将新获取的影像数据标识存储进数据库。Optionally, after obtaining the image data identifier, the image data identifier may be stored in the database corresponding to the aforementioned network analysis module. When the number of stored image data identifiers is equal to the storage upper limit of the data block, if there are image data identifiers to be stored subsequently, the previously stored image data identifiers can be deleted in sequence according to the storage sequence of each image data identifier. Then, the newly acquired image data identification is stored in the database.

步骤203:将提取的一个或多个影像数据标识发送至第二客户端,以使第二客户端根据一个或多个影像数据标识获取对应的影像数据。Step 203: Send the extracted one or more image data identifiers to the second client, so that the second client acquires corresponding image data according to the one or more image data identifiers.

其中,第二客户端为人工智能辅助诊断系统的客户端。Wherein, the second client is the client of the artificial intelligence aided diagnosis system.

在一些实施例中,第一客户端与第二客户端为两个独立的客户端,此时,当第二客户端需要对第一客户端当前显示的影像数据进行辅助分析时,可以打开第二客户端,网络分析模块可以将获取到的第一客户端当前显示的影像数据的影像数据标识发送给第二客户端,第二客户端可以显示接收的网络分析模块最新得到的影像数据标识,并根据接该影像数据标识获取影像数据,进而显示影像数据,对该影像数据进行辅助分析。In some embodiments, the first client and the second client are two independent clients. In this case, when the second client needs to perform auxiliary analysis on the image data currently displayed by the first client, the first client can be opened. Second client, the network analysis module can send the acquired image data identifier of the image data currently displayed by the first client to the second client, and the second client can display the received image data identifier newly obtained by the network analysis module, and acquire image data according to the image data identifier, and then display the image data, and perform auxiliary analysis on the image data.

示例性地,如果第二客户端接收的影像数据标识为该影像数据的地址,则第二客户端可以通过影像数据标识从服务器获取该影像数据;如果第二客户端接收的影像数据标识为该影像数据的id,此时,可以通过第一客户端提供的下载接口,根据影像数据的id从第一客户端中下载该影像数据。Exemplarily, if the image data received by the second client is identified as the address of the image data, the second client can obtain the image data from the server through the image data identifier; if the image data received by the second client is identified as the The id of the image data. At this time, the image data can be downloaded from the first client according to the id of the image data through the download interface provided by the first client.

在另一些实施例中,当第一客户端为互联网客户端时,第一客户端可以通过浏览器显示影像数据,此时,可以将第二客户端作为插件封装在该浏览器中。当需要对第一客户端当前显示的影像数据进行辅助分析时,可以调用以插件形式封装在浏览器中的第二客户端,此时,第二客户端可以直接获取网络分析模块最近一次获取到的影像数据标识,并从获取到的影像数据标识中确定第一客户端当前显示的影像数据的标识,之后,根据该影响数据标识显示第一客户端当前显示的影像数据,并对该影像数据进行辅助分析。In other embodiments, when the first client is an Internet client, the first client can display image data through a browser, and at this time, the second client can be encapsulated in the browser as a plug-in. When it is necessary to perform auxiliary analysis on the image data currently displayed by the first client, the second client encapsulated in the browser in the form of a plug-in can be called. At this time, the second client can directly obtain the most recent data obtained by the network analysis module. the image data identifier of the first client, and determine the identifier of the image data currently displayed by the first client from the acquired image data identifier, and then display the image data currently displayed by the first client according to the influence data identifier, and use the image data Perform auxiliary analysis.

在一种可能的情况下,每当第一客户端通过浏览器打开一个页面显示一个影像数据时,可以通过点击该页面中的第二客户端对应的功能按钮来调用第二客户端,第二客户端可以获取当前页面中显示的影像数据的标识,进而通过该影像数据的标识获取相应地影像数据进行辅助分析。In a possible situation, whenever the first client opens a page through the browser to display a piece of image data, the second client can be called by clicking the function button corresponding to the second client in the page, and the second client The client can acquire the identifier of the image data displayed on the current page, and then acquire the corresponding image data through the identifier of the image data for auxiliary analysis.

在本申请实施例中,可以从第一客户端和服务器之间传输的多个数据包中提取一个或多个影像数据标识,并将提取到的影像数据标识发送至第二客户端,这样,第二客户端就可以根据接收到的影像数据标识来获取对应的影像数据。由于该影像数据标识是从第一客户端和服务器之间传输的数据包中提取的,因此,准确率相对较高,且不存在无法识别的情况,保证了第二客户端获取影像数据的成功率,提高了诊断的效率。In this embodiment of the present application, one or more image data identifiers may be extracted from multiple data packets transmitted between the first client and the server, and the extracted image data identifiers are sent to the second client, thus, The second client can acquire corresponding image data according to the received image data identifier. Since the image data identifier is extracted from the data packet transmitted between the first client and the server, the accuracy rate is relatively high, and there is no unidentifiable situation, which ensures the success of the second client to obtain the image data rate and improve the efficiency of diagnosis.

参见图3,本申请实施例提供了一种影像数据获取装置300,该影像数据获取装置可以应用于终端中,该装置300包括:Referring to FIG. 3 , an embodiment of the present application provides an apparatus 300 for acquiring image data. The apparatus for acquiring image data can be applied to a terminal. The apparatus 300 includes:

获取模块301,用于获取第一客户端与服务器之间传输的多个数据包,第一客户端为医学影像信息系统的客户端,服务器为医学影像信息系统的服务器;The obtaining module 301 is configured to obtain a plurality of data packets transmitted between a first client and a server, where the first client is a client of the medical imaging information system, and the server is a server of the medical imaging information system;

提取模块302,用于从多个数据包中提取一个或多个影像数据标识;an extraction module 302, configured to extract one or more image data identifiers from a plurality of data packets;

发送模块303,用于将一个或多个影像数据标识发送至第二客户端,以使第二客户端根据一个或多个影像数据标识获取对应的影像数据,第二客户端为人工智能辅助诊断系统的客户端。The sending module 303 is configured to send one or more image data identifiers to the second client, so that the second client can obtain corresponding image data according to the one or more image data identifiers, and the second client is artificial intelligence-assisted diagnosis system client.

可选地,该提取模块302,包括:Optionally, the extraction module 302 includes:

筛选单元,用于对多个数据包进行筛选,得到一个或多个目标数据包,一个或多个目标数据包为第一客户端向服务器请求数据时发送的数据包;A screening unit, configured to screen multiple data packets to obtain one or more target data packets, where the one or more target data packets are data packets sent when the first client requests data from the server;

确定单元,用于根据一个或多个目标数据包,确定一个或多个影像数据标识。The determining unit is configured to determine one or more image data identifiers according to the one or more target data packets.

可选地,该筛选单元具体用于:Optionally, the screening unit is specifically used for:

从每个数据包的数据包信息中获取每个数据包的数据包类型;Get the packet type of each packet from the packet information of each packet;

将数据包类型为第一类型的一个或多个数据包作为一个或多个目标数据包,第一类型为第一客户端向服务器请求数据时发送的数据包的类型。One or more data packets whose data packet type is the first type is used as one or more target data packets, and the first type is the type of the data packet sent when the first client requests data from the server.

可选地,该确定单元,包括:Optionally, the determining unit includes:

提取子单元,用于从每个目标数据包中提取每个目标数据包的应用层信息;an extraction subunit, used for extracting the application layer information of each target data packet from each target data packet;

切分子单元,用于将每个目标数据包的应用层信息进行切分,得到每个目标数据包的多个数据切片;The sub-slicing unit is used to segment the application layer information of each target data packet to obtain multiple data slices of each target data packet;

获取子单元,用于从每个目标数据包的多个数据切片中获取切片类型为第二类型和第三类型的数据切片;an obtaining subunit, used to obtain data slices whose slice types are the second type and the third type from the multiple data slices of each target data packet;

确定子单元,用于根据获取的数据切片,确定一个或多个影像数据标识。The determining subunit is configured to determine one or more image data identifiers according to the acquired data slices.

可选地,该确定子单元具体用于:Optionally, the determining subunit is specifically used for:

从每个目标数据包的多个数据切片中的切片类型为第二类型的数据切片中,提取第一地址段,第一地址段用于指示相应数据包所对应的影像数据的存储路径;Extracting a first address segment from a data slice whose slice type is the second type in the plurality of data slices of each target data packet, where the first address segment is used to indicate the storage path of the image data corresponding to the corresponding data packet;

从每个目标数据包的多个数据切片中的切片类型为第三类型的数据切片中,提取第二地址段,第二地址段为服务器的地址信息;Extracting a second address segment from a data slice whose slice type is the third type in the multiple data slices of each target data packet, where the second address segment is the address information of the server;

根据从每个目标数据包中提取的第一地址段和第二地址段,生成每个目标数据包对应的影像数据标识。According to the first address segment and the second address segment extracted from each target data packet, an image data identifier corresponding to each target data packet is generated.

在本申请实施例中,可以从第一客户端和服务器之间传输的多个数据包中提取一个或多个影像数据标识,并将提取到的影像数据标识发送至第二客户端,这样,第二客户端就可以根据接收到的影像数据标识来获取对应的影像数据。由于该影像数据标识是从第一客户端和服务器之间传输的数据包中提取的,因此,准确率相对较高,且不存在无法识别的情况,保证了第二客户端获取影像数据的成功率,提高了诊断的效率。In this embodiment of the present application, one or more image data identifiers may be extracted from multiple data packets transmitted between the first client and the server, and the extracted image data identifiers are sent to the second client, thus, The second client can acquire corresponding image data according to the received image data identifier. Since the image data identifier is extracted from the data packet transmitted between the first client and the server, the accuracy rate is relatively high, and there is no unidentifiable situation, which ensures the success of the second client to obtain the image data rate and improve the efficiency of diagnosis.

需要说明的是:上述实施例提供的影像数据获取装置在获取影像数据时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的影像数据获取方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the image data acquisition apparatus provided in the above embodiments acquires image data, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions may be allocated to different functional modules as required. , that is, dividing the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the image data acquisition method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.

图4是根据一示例性实施例示出的一种影像数据获取终端400的结构框图。其中,该终端400可以是笔记本电脑、台式电脑等。FIG. 4 is a structural block diagram of a terminal 400 for acquiring image data according to an exemplary embodiment. The terminal 400 may be a notebook computer, a desktop computer, or the like.

通常,终端400包括有:处理器401和存储器402。Generally, the terminal 400 includes: a processor 401 and a memory 402 .

处理器401可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器401可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器401也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器401可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器401还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 401 may use at least one hardware form of DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), and PLA (Programmable Logic Array, programmable logic array). accomplish. The processor 401 may also include a main processor and a coprocessor. The main processor is a processor used to process data in a wake-up state, also called a CPU (Central Processing Unit, central processing unit); A low-power processor for processing data in a standby state. In some embodiments, the processor 401 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 401 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.

存储器402可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器402还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器402中的非暂态的计算机可读存储介质用于存储至少一个指令,其中,该至少一个指令用于被处理器401所执行以实现本申请中方法实施例提供的影像数据获取方法。Memory 402 may include one or more computer-readable storage media, which may be non-transitory. Memory 402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, a non-transitory computer-readable storage medium in the memory 402 is used to store at least one instruction, wherein the at least one instruction is used to be executed by the processor 401 to implement the methods provided by the method embodiments in this application. Image data acquisition method.

在一些实施例中,终端400还可选包括有:外围设备接口403和至少一个外围设备。处理器401、存储器402和外围设备接口403之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口403相连。具体地,外围设备包括:射频电路404、显示屏405、摄像头组件406、音频电路407、定位组件408和电源409中的至少一种。In some embodiments, the terminal 400 may optionally further include: a peripheral device interface 403 and at least one peripheral device. The processor 401, the memory 402 and the peripheral device interface 403 may be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 403 through a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 404 , a display screen 405 , a camera assembly 406 , an audio circuit 407 , a positioning assembly 408 and a power source 409 .

外围设备接口403可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器401和存储器402。在一些实施例中,处理器401、存储器402和外围设备接口403被集成在同一芯片或电路板上;在一些其他实施例中,处理器401、存储器402和外围设备接口403中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The peripheral device interface 403 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 401 and the memory 402 . In some embodiments, processor 401, memory 402, and peripherals interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 401, memory 402, and peripherals interface 403 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.

射频电路404用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路404通过电磁信号与通信网络以及其他通信设备进行通信。射频电路404将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路404包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路404可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路404还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。The radio frequency circuit 404 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 404 communicates with the communication network and other communication devices via electromagnetic signals. The radio frequency circuit 404 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 404 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 404 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, Wireless Fidelity) network. In some embodiments, the radio frequency circuit 404 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.

显示屏405用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏405是触摸显示屏时,显示屏405还具有采集在显示屏405的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器401进行处理。此时,显示屏405还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏405可以为一个,设置终端400的前面板;在另一些实施例中,显示屏405可以为至少两个,分别设置在终端400的不同表面或呈折叠设计;在再一些实施例中,显示屏405可以是柔性显示屏,设置在终端400的弯曲表面上或折叠面上。甚至,显示屏405还可以设置成非矩形的不规则图形,也即异形屏。显示屏405可以采用LCD(LiquidCrystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。需要说明的是,在本申请实施例中,当该终端400为横屏终端时,该终端400的显示屏的宽高比大于1,例如,该终端400的显示屏的宽高比可以为16:9或4:3。当该终端400为竖屏终端时,则该终端400的显示屏的宽高比小于1,例如,该终端400的显示屏的宽高比可以为9:18或3:4等。The display screen 405 is used for displaying UI (User Interface, user interface). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 405 is a touch display screen, the display screen 405 also has the ability to acquire touch signals on or above the surface of the display screen 405 . The touch signal may be input to the processor 401 as a control signal for processing. At this time, the display screen 405 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, there may be one display screen 405, which is provided on the front panel of the terminal 400; in other embodiments, there may be at least two display screens 405, which are respectively arranged on different surfaces of the terminal 400 or in a folded design; In still other embodiments, the display screen 405 may be a flexible display screen, which is disposed on a curved surface or a folding surface of the terminal 400 . Even, the display screen 405 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 405 can be made of materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode). It should be noted that, in this embodiment of the present application, when the terminal 400 is a horizontal screen terminal, the aspect ratio of the display screen of the terminal 400 is greater than 1, for example, the aspect ratio of the display screen of the terminal 400 may be 16 :9 or 4:3. When the terminal 400 is a vertical screen terminal, the aspect ratio of the display screen of the terminal 400 is less than 1, for example, the aspect ratio of the display screen of the terminal 400 may be 9:18 or 3:4.

摄像头组件406用于采集图像或视频。可选地,摄像头组件406包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件406还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。The camera assembly 406 is used to capture images or video. Optionally, the camera assembly 406 includes a front camera and a rear camera. Usually, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions. In some embodiments, camera assembly 406 may also include a flash. The flash can be a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.

音频电路407可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器401进行处理,或者输入至射频电路404以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端400的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器401或射频电路404的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路407还可以包括耳机插孔。Audio circuitry 407 may include a microphone and speakers. The microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals, and input them to the processor 401 for processing, or to the radio frequency circuit 404 to realize voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively disposed in different parts of the terminal 400 . The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 401 or the radio frequency circuit 404 into sound waves. The loudspeaker can be a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for distance measurement and other purposes. In some embodiments, audio circuitry 407 may also include a headphone jack.

定位组件408用于定位终端400的当前地理位置,以实现导航或LBS(LocationBased Service,基于位置的服务)。定位组件408可以是基于美国的GPS(GlobalPositioning System,全球定位系统)、中国的北斗系统或欧盟的伽利略系统的定位组件。The positioning component 408 is used to locate the current geographic location of the terminal 400 to implement navigation or LBS (Location Based Service, location-based service). The positioning component 408 may be a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China, or the Galileo system of the European Union.

电源409用于为终端400中的各个组件进行供电。电源409可以是交流电、直流电、一次性电池或可充电电池。当电源409包括可充电电池时,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。The power supply 409 is used to power various components in the terminal 400 . The power source 409 may be alternating current, direct current, disposable batteries or rechargeable batteries. When the power source 409 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. Wired rechargeable batteries are batteries that are charged through wired lines, and wireless rechargeable batteries are batteries that are charged through wireless coils. The rechargeable battery can also be used to support fast charging technology.

在一些实施例中,终端400还包括有一个或多个传感器410。该一个或多个传感器410包括但不限于:加速度传感器411、陀螺仪传感器412、压力传感器413、指纹传感器414、光学传感器415以及接近传感器416。In some embodiments, the terminal 400 also includes one or more sensors 410 . The one or more sensors 410 include, but are not limited to, an acceleration sensor 411 , a gyro sensor 412 , a pressure sensor 413 , a fingerprint sensor 414 , an optical sensor 415 and a proximity sensor 416 .

加速度传感器411可以检测以终端400建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器411可以用于检测重力加速度在三个坐标轴上的分量。处理器401可以根据加速度传感器411采集的重力加速度信号,控制显示屏405以横向视图或纵向视图进行用户界面的显示。加速度传感器411还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 411 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 400 . For example, the acceleration sensor 411 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 401 may control the display screen 405 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 411 . The acceleration sensor 411 can also be used for game or user movement data collection.

陀螺仪传感器412可以检测终端400的机体方向及转动角度,陀螺仪传感器412可以与加速度传感器411协同采集用户对终端400的3D动作。处理器401根据陀螺仪传感器412采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyroscope sensor 412 can detect the body direction and rotation angle of the terminal 400 , and the gyroscope sensor 412 can cooperate with the acceleration sensor 411 to collect 3D actions of the user on the terminal 400 . The processor 401 can implement the following functions according to the data collected by the gyro sensor 412 : motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

压力传感器413可以设置在终端400的侧边框和/或显示屏405的下层。当压力传感器413设置在终端400的侧边框时,可以检测用户对终端400的握持信号,由处理器401根据压力传感器413采集的握持信号进行左右手识别或快捷操作。当压力传感器413设置在显示屏405的下层时,由处理器401根据用户对显示屏405的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 413 may be disposed on the side frame of the terminal 400 and/or the lower layer of the display screen 405 . When the pressure sensor 413 is disposed on the side frame of the terminal 400 , the user's holding signal of the terminal 400 can be detected, and the processor 401 can perform left and right hand identification or quick operation according to the holding signal collected by the pressure sensor 413 . When the pressure sensor 413 is disposed on the lower layer of the display screen 405, the processor 401 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 405. The operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

指纹传感器414用于采集用户的指纹,由处理器401根据指纹传感器414采集到的指纹识别用户的身份,或者,由指纹传感器414根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器401授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器414可以被设置终端400的正面、背面或侧面。当终端400上设置有物理按键或厂商Logo时,指纹传感器414可以与物理按键或厂商Logo集成在一起。The fingerprint sensor 414 is used to collect the user's fingerprint, and the processor 401 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 414, or the fingerprint sensor 414 identifies the user's identity according to the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 401 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 414 may be provided on the front, back or side of the terminal 400 . When the terminal 400 is provided with a physical button or a manufacturer's logo, the fingerprint sensor 414 may be integrated with the physical button or the manufacturer's logo.

光学传感器415用于采集环境光强度。在一个实施例中,处理器401可以根据光学传感器415采集的环境光强度,控制显示屏405的显示亮度。具体地,当环境光强度较高时,调高显示屏405的显示亮度;当环境光强度较低时,调低显示屏405的显示亮度。在另一个实施例中,处理器401还可以根据光学传感器415采集的环境光强度,动态调整摄像头组件406的拍摄参数。Optical sensor 415 is used to collect ambient light intensity. In one embodiment, the processor 401 may control the display brightness of the display screen 405 according to the ambient light intensity collected by the optical sensor 415 . Specifically, when the ambient light intensity is high, the display brightness of the display screen 405 is increased; when the ambient light intensity is low, the display brightness of the display screen 405 is decreased. In another embodiment, the processor 401 may also dynamically adjust the shooting parameters of the camera assembly 406 according to the ambient light intensity collected by the optical sensor 415 .

接近传感器416,也称距离传感器,通常设置在终端400的前面板。接近传感器416用于采集用户与终端400的正面之间的距离。在一个实施例中,当接近传感器416检测到用户与终端400的正面之间的距离逐渐变小时,由处理器401控制显示屏405从亮屏状态切换为息屏状态;当接近传感器416检测到用户与终端400的正面之间的距离逐渐变大时,由处理器401控制显示屏405从息屏状态切换为亮屏状态。A proximity sensor 416 , also called a distance sensor, is usually provided on the front panel of the terminal 400 . The proximity sensor 416 is used to collect the distance between the user and the front of the terminal 400 . In one embodiment, when the proximity sensor 416 detects that the distance between the user and the front of the terminal 400 is gradually decreasing, the processor 401 controls the display screen 405 to switch from the bright screen state to the off screen state; when the proximity sensor 416 detects When the distance between the user and the front of the terminal 400 gradually increases, the processor 401 controls the display screen 405 to switch from the closed screen state to the bright screen state.

也即是,本申请实施例不仅提供了一种终端,包括处理器和用于存储处理器可执行指令的存储器,其中,处理器被配置为执行图3所示的影像数据获取方法,而且,本申请实施例还提供了一种计算机可读存储介质,该存储介质内存储有计算机程序,该计算机程序被处理器执行时可以实现图3所示的影像数据获取方法。That is, the embodiments of the present application not only provide a terminal, including a processor and a memory for storing instructions executable by the processor, wherein the processor is configured to execute the image data acquisition method shown in FIG. 3 , but also, Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the image data acquisition method shown in FIG. 3 can be implemented.

本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述图3所示实施例提供的影像数据获取方法。The embodiment of the present application also provides a computer program product including instructions, which, when running on a computer, enables the computer to execute the image data acquisition method provided by the embodiment shown in FIG. 3 above.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.

以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only optional embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (9)

1. The image data acquisition method is applied to a network analysis module of a terminal, wherein a first client and a second client are installed on the terminal, and the method comprises the following steps:
acquiring a plurality of data packets transmitted between the first client and a server, wherein the first client is a client of a medical image information system, and the server is a server of the medical image information system;
screening the plurality of data packets to obtain one or more target data packets, wherein the one or more target data packets are data packets sent when the first client requests data from the server;
determining the one or more image data identifiers according to the one or more target data packets;
and sending the one or more image data identifiers to the second client so that the second client can obtain corresponding image data according to the one or more image data identifiers, wherein the second client is a client of an artificial intelligence auxiliary diagnosis system.
2. The method of claim 1, wherein the filtering the plurality of packets to obtain one or more target packets comprises:
acquiring the data packet type of each data packet from the data packet information of each data packet;
and taking one or more data packets with the data packet type of a first type as the one or more target data packets, wherein the first type is the type of the data packet sent when the first client requests data from the server.
3. The method of claim 1, wherein said determining the one or more image data identifiers from the one or more destination data packets comprises:
extracting application layer information of each target data packet from each target data packet;
segmenting the application layer information of each target data packet to obtain a plurality of data slices of each target data packet;
acquiring data slices of which the slice types are a second type and a third type from a plurality of data slices of each target data packet, wherein the second type is a type marked by a field containing a storage path of the image data, and the third type is a type marked by a field containing server information;
determining the one or more image data identifiers from the acquired data slices.
4. The method of claim 3, wherein determining the one or more image data identifications from the acquired data slices comprises:
extracting a first address field from the data slice with the second type in the slice type in the plurality of data slices of each target data packet, wherein the first address field is used for indicating a storage path of image data corresponding to the corresponding data packet;
extracting a second address field from the data slice with the slice type of the third type in the plurality of data slices of each target data packet, wherein the second address field is address information of the server;
and generating an image data identifier corresponding to each target data packet according to the first address field and the second address field extracted from each target data packet.
5. The utility model provides an image data acquisition device, its characterized in that is arranged in the network analysis module of terminal, install first client and second client on the terminal, the device includes:
the acquisition module is used for acquiring a plurality of data packets transmitted between the first client and the server, wherein the first client is a client of a medical image information system, and the server is a server of the medical image information system;
the extraction module is used for extracting one or more image data identifications from the plurality of data packets;
wherein the extraction module comprises:
the screening unit is used for screening the plurality of data packets to obtain one or more target data packets, and the one or more target data packets are data packets sent when the first client requests data from the server;
a determining unit, configured to determine the one or more image data identifiers according to the one or more target data packets;
and the sending module is used for sending the one or more image data identifiers to the second client so that the second client can obtain corresponding image data according to the one or more image data identifiers, and the second client is a client of an artificial intelligence auxiliary diagnosis system.
6. The apparatus according to claim 5, wherein the screening unit is specifically configured to:
acquiring the data packet type of each data packet from the data packet information of each data packet;
and taking one or more data packets with the data packet type of a first type as the one or more target data packets, wherein the first type is the type of the data packet sent when the first client requests data from the server.
7. The apparatus of claim 5, wherein the determining unit comprises:
an extraction subunit, configured to extract application layer information of each target packet from each target packet;
the segmentation subunit is used for segmenting the application layer information of each target data packet to obtain a plurality of data slices of each target data packet;
an obtaining subunit, configured to obtain, from the multiple data slices of each target data packet, data slices of a second type and a third type, where the second type is a type marked by a field including a storage path of the image data, and the third type is a type marked by a field including server information;
and the determining subunit is used for determining the one or more image data identifications according to the acquired data slices.
8. The apparatus of claim 7, wherein the determining subunit is specifically configured to:
extracting a first address field from the data slice with the second type in the slice type in the plurality of data slices of each target data packet, wherein the first address field is used for indicating a storage path of image data corresponding to the corresponding data packet;
extracting a second address field from the data slice with the slice type of the third type in the plurality of data slices of each target data packet, wherein the second address field is address information of the server;
and generating an image data identifier corresponding to each target data packet according to the first address field and the second address field extracted from each target data packet.
9. A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, which computer program, when being executed by a processor, carries out the steps of the method of one of the claims 1 to 4.
CN201910974450.3A 2019-10-14 2019-10-14 Image data acquisition method, device and storage medium Active CN110650210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910974450.3A CN110650210B (en) 2019-10-14 2019-10-14 Image data acquisition method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910974450.3A CN110650210B (en) 2019-10-14 2019-10-14 Image data acquisition method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110650210A CN110650210A (en) 2020-01-03
CN110650210B true CN110650210B (en) 2022-06-17

Family

ID=69012843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910974450.3A Active CN110650210B (en) 2019-10-14 2019-10-14 Image data acquisition method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110650210B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111599482A (en) * 2020-05-14 2020-08-28 青岛海信医疗设备股份有限公司 Electronic case recommendation method and server
CN111883233B (en) * 2020-07-14 2025-01-07 上海商汤善萃医疗科技有限公司 Image acquisition method and device, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681196A (en) * 2016-01-12 2016-06-15 中国联合网络通信集团有限公司 Service processing method, forwarder and classifier
CN106845076A (en) * 2016-12-20 2017-06-13 杭州联众医疗科技股份有限公司 A kind of remote image diagnostic system
CN108447549A (en) * 2018-03-16 2018-08-24 沈阳东软医疗系统有限公司 A kind of method and device of cooperation reading image
CN109686424A (en) * 2018-12-27 2019-04-26 管伟 Medical image information storage and exchange intelligent medical system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7047235B2 (en) * 2002-11-29 2006-05-16 Agency For Science, Technology And Research Method and apparatus for creating medical teaching files from image archives

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681196A (en) * 2016-01-12 2016-06-15 中国联合网络通信集团有限公司 Service processing method, forwarder and classifier
CN106845076A (en) * 2016-12-20 2017-06-13 杭州联众医疗科技股份有限公司 A kind of remote image diagnostic system
CN108447549A (en) * 2018-03-16 2018-08-24 沈阳东软医疗系统有限公司 A kind of method and device of cooperation reading image
CN109686424A (en) * 2018-12-27 2019-04-26 管伟 Medical image information storage and exchange intelligent medical system

Also Published As

Publication number Publication date
CN110650210A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
CN111327694B (en) File uploading method and device, storage medium and electronic equipment
CN110059686B (en) Character recognition method, device, equipment and readable storage medium
CN111092809B (en) Method and device for pushing information in real time, computer equipment and storage medium
CN110457571B (en) Method, device and equipment for acquiring interest point information and storage medium
CN111159604A (en) Picture resource loading method and device
CN113191117A (en) Editing method, device and equipment of electronic document and storage medium
CN111459466B (en) Code generation method, device, equipment and storage medium
CN111625315A (en) Page display method and device, electronic equipment and storage medium
CN112052419B (en) Picture loading method, device, equipment and readable storage medium
CN110650210B (en) Image data acquisition method, device and storage medium
CN108038232B (en) Webpage editing method, device and system and storage medium
CN112257006A (en) Page information configuration method, device, equipment and computer readable storage medium
CN112910722B (en) Network request testing method, device, terminal and storage medium
CN110795660B (en) Data analysis method, data analysis device, electronic device, and medium
CN114143280B (en) Session display method and device, electronic equipment and storage medium
CN112783533B (en) Version information updating method, device, terminal and storage medium
CN118214779A (en) Device access method and computer storage medium
CN111294320B (en) Data conversion method and device
CN112699906B (en) Methods, devices and storage media for obtaining training data
CN113934878A (en) Method and device for auditing labeled data, terminal and storage medium
CN113076452A (en) Application classification method, device, equipment and computer readable storage medium
CN112260845A (en) Method and device for accelerating data transmission
CN114186151B (en) Skeleton screen processing method, device, equipment and storage medium
CN112235231A (en) Method, device and storage medium for determining forbidden IP address of network accelerator
CN113204548B (en) Data storage method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250717

Address after: 266000 Shandong Province, Qingdao City, Laoshan District, Songling Road 399, Room B3F3-307

Patentee after: Qingdao Hisense Digital Medical Technology Co.,Ltd.

Country or region after: China

Address before: 266100 Shandong Province, Qingdao city Laoshan District Songling Road No. 399

Patentee before: QINGDAO HISENSE MEDICAL EQUIPMENT Co.,Ltd.

Country or region before: China