CN114496176B - Picture storage and extraction method, system and storage medium - Google Patents

Picture storage and extraction method, system and storage medium Download PDF

Info

Publication number
CN114496176B
CN114496176B CN202210353137.XA CN202210353137A CN114496176B CN 114496176 B CN114496176 B CN 114496176B CN 202210353137 A CN202210353137 A CN 202210353137A CN 114496176 B CN114496176 B CN 114496176B
Authority
CN
China
Prior art keywords
picture
data
stored
picture data
storage
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
CN202210353137.XA
Other languages
Chinese (zh)
Other versions
CN114496176A (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.)
Guangzhou Side Medical Technology Co ltd
Original Assignee
Guangzhou Side Medical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Side Medical Technology Co ltd filed Critical Guangzhou Side Medical Technology Co ltd
Priority to CN202210353137.XA priority Critical patent/CN114496176B/en
Publication of CN114496176A publication Critical patent/CN114496176A/en
Application granted granted Critical
Publication of CN114496176B publication Critical patent/CN114496176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G16H30/20ICT specially adapted for the handling or processing of medical images for handling medical images, e.g. DICOM, HL7 or PACS
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Radiology & Medical Imaging (AREA)
  • Software Systems (AREA)
  • Epidemiology (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Television Signal Processing For Recording (AREA)
  • Endoscopes (AREA)

Abstract

The invention provides a picture storage and extraction method, a system and a storage medium, wherein the method comprises the following steps: sequentially processing each picture data to be stored to obtain each formatted picture characteristic; storing each formatted picture characteristic to a preset text file; the invention records all picture data into a text file based on the picture data management of the general file system module, and the general file system module only needs to manage the text file and store the text file according to a specific data format, thereby obviously reducing the pressure of the general file system module, reducing the resource consumption of a processor and improving the capacity of managing the picture data.

Description

Picture storage and extraction method, system and storage medium
Technical Field
The invention relates to the technical field of picture storage, in particular to a picture storage and extraction method, a picture storage and extraction system and a storage medium.
Background
At present, a capsule endoscope system mainly comprises three parts, namely a capsule endoscope with shooting and image wireless transmission functions, an in vitro receiving instrument capable of receiving and transmitting data and a workstation for controlling and displaying images shot by the capsule. After the examinee swallows the capsule endoscope, due to natural peristalsis of digestive tract organs, the capsule can automatically move and send the shot picture to the outside of the body, an external receiver can display the image in real time after receiving the image data, meanwhile, the picture can be stored in a memory, and after the examination is finished, a doctor can read the image data through a workstation and make medical diagnosis according to the image.
The capsule endoscope system generally has a data picture recorder for storing pictures generated in real time in the examination process, the number of the pictures generated in each second is at least 3, the number of the pictures generated in the whole examination process is at least ten thousand, even tens of thousands, and the management of the pictures is generally realized based on a general file system module.
The universal file system module system is not a real-time file system, the process of creating a folder or a file sometimes exceeds hundreds of milliseconds, the more pictures are managed, the larger the picture list managed by the file system is, the longer the file operation time becomes, for a processor with weak computing power and a small memory, the real-time storage and management of a large amount of picture data are obviously impossible, and the picture data are likely to be lost.
Under the condition that tens of thousands of pictures exist in a capsule endoscope system, even tens of thousands of pictures need to be processed, the universal file system module system is adopted to operate files at the same time, so that the speed is slower and faster, the working efficiency is greatly reduced, and at present, a technical scheme capable of solving the technical problems is not provided, and particularly, a picture storage and extraction method, a picture storage and extraction system and a picture storage medium are not provided.
Disclosure of Invention
The invention aims to provide a picture storage method, which comprises the following steps:
sequentially processing each picture data to be stored to obtain each formatted picture characteristic;
storing each formatted picture characteristic to a preset text file;
the formatted picture features at least comprise a picture identification.
According to the picture storage method provided by the invention, before each picture data to be stored is sequentially processed to obtain each formatted picture characteristic, the picture generation device is controlled to sequentially generate the picture data to be stored, and the method specifically comprises the following steps:
controlling the picture generation device to acquire original picture data in real time, so that the picture generation device sequentially generates picture identifications related to each original picture data according to the generation time of the original picture data;
controlling the picture generation device to determine picture data to be stored, wherein the picture data to be stored at least comprises original picture data and picture identification related to the original picture data.
According to the picture storage method provided by the invention, before each picture data to be stored is processed in sequence to obtain each formatted picture characteristic, the method comprises the following steps:
receiving each image data to be stored in sequence based on the short-range communication module;
each picture data to be stored is parsed to obtain original picture data and a picture identifier associated with the original picture data.
According to the picture storage method provided by the invention, the formatted picture characteristics comprise at least one of the following characteristics:
the picture identification byte characteristic is used for representing the unique attribute of the picture;
the picture length byte characteristic is used for recording the byte number of the picture data to be stored;
the data packet quantity byte characteristic is used for recording the data packet quantity;
the data packet length byte characteristic is used for recording the byte number of the data packet;
the data packet unique identification byte characteristic is used for representing the unique attribute of the data packet;
and creating a time byte characteristic for recording the writing time of the picture data to be stored.
According to the picture storage method provided by the invention, before or after each formatted picture feature is stored in a preset text file, the method comprises the following steps:
determining the storage position of each to-be-stored picture data corresponding to each formatted picture feature in a preset text file based on each picture identification and a preset maximum picture length value;
and storing each picture data to be stored to a corresponding storage position.
According to the image storage method provided by the invention, the step of storing each image data to be stored to the corresponding storage position comprises the following steps:
and storing each data packet to a corresponding storage position based on the unique identification byte characteristics of the data packet and the length of the data packet.
The invention also provides a picture extraction method for extracting the picture stored by the storage method, which comprises the following steps:
receiving a request instruction of an intelligent terminal;
determining to-be-extracted picture data in a storage position corresponding to the to-be-extracted picture based on the picture identification in the request instruction;
and transmitting the picture data to be extracted to the intelligent terminal through the short-range communication module.
The present invention also provides a picture storage system, comprising:
the picture recorder comprises a universal file system module, a storage module and a processing module, wherein the universal file system module is used for sequentially processing each picture data to be stored so as to obtain each formatted picture characteristic;
the intelligent terminal is used for extracting the pictures in the picture recorder;
the picture generating device is used for generating the picture data to be stored with the unique identifier of each picture;
wherein, the picture record appearance still includes:
a storage medium for storing a preset text file;
and the short-range communication module is used for generating data interaction with the intelligent terminal and the picture generation device.
According to the picture storage system provided by the invention, the picture generation device is a capsule endoscope.
According to the picture storage system provided by the invention, the preset text file is stored in a general file system module or a storage medium.
The invention also provides electronic equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the steps of the picture storage method when executing the program.
The invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the picture storage method.
The invention provides a picture storage and extraction method, a system and a storage medium, which are used for acquiring each formatted picture characteristic by sequentially processing each picture data to be stored, and then storing each formatted picture characteristic to a preset text file.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for storing pictures according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a process of controlling a picture generating apparatus to sequentially generate picture data to be stored according to the present invention;
FIG. 3 is a second flowchart illustrating a method for storing pictures according to the present invention;
FIG. 4 is a third schematic flowchart of a picture storing method according to the present invention;
FIG. 5 is a schematic flow chart of a method for extracting an image according to the present invention;
FIG. 6 is a schematic structural diagram of a picture storage system according to the present invention;
FIG. 7 is a schematic diagram of a storage location of each picture data to be stored in a preset text file according to the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Embodiments of the present invention are described below in conjunction with fig. 1-8.
Fig. 1 is a schematic flow diagram of a picture storage method according to the present invention, which is intended to convert a large amount of picture data to be processed into identification data and store the identification data in a specified text file, so that a general file system module does not need operations such as creating, opening, closing, searching, and the like when processing the picture data, thereby saving processor resources.
As shown in fig. 1, the present invention provides a picture storage method, including:
firstly, step S101 is entered, each image data to be stored is processed in sequence to obtain each formatted image feature, and the image data to be stored is the image data which is received by the image recorder in the present invention and needs to be processed.
The formatted picture features are information features representing virtual position information of the picture data to be stored and basic information of the image, and have the characteristics of easiness in obtaining, small memory occupation and the like, for example, the formatted picture features comprise picture identification byte features and are used for representing the unique attribute of the picture; the picture length byte characteristic is used for recording the byte number of the picture data to be stored; the data packet quantity byte characteristic is used for recording the data packet quantity; the data packet length byte characteristic is used for recording the byte number of the data packet; the data packet unique identification byte characteristic is used for representing the unique attribute of the data packet; the invention relates to a method for recording the writing time of picture data to be stored, which comprises the steps of creating time byte characteristics and recording the writing time of the picture data to be stored, wherein the formatted picture characteristics comprise picture identification byte characteristics, picture length byte characteristics, data packet quantity byte characteristics, data packet length byte characteristics, data packet unique identification byte characteristics and creating time byte characteristics.
Then, step S102 is performed, and each formatted picture feature is stored in a preset text file, in the present invention, a text file for storing the formatted picture features is created by the picture recorder, and the obtained formatted picture features are subdivided into individual data packets according to the following data format, as shown in the following figure:
Figure 252830DEST_PATH_IMAGE001
the formatted picture features at least comprise picture identifications, wherein the picture identifications are generated when the capsule endoscope takes a picture, are unique, are positive integers and are generated sequentially. The picture length byte characteristic refers to the number of bytes of picture data to be stored, the data packet number byte characteristic is obtained by dividing the picture length by the data packet length, in a preferred embodiment, if the data packet length cannot be divided completely, the divided data result is added with one to serve as the data packet number, the data packet length is preferably set to be not more than the maximum packet length transmitted by a short-range communication module, the subsequent direct transmission of the data packet is facilitated, the unique identification byte characteristic of the data packet is also generated when the capsule endoscope takes a picture, and the creation time byte characteristic is the time characteristic of writing the picture data to be stored into a preset text file.
Because the formatted picture features have the characteristics of easy acquisition, small memory occupation and the like, the method stores each formatted picture feature into the preset text file so as to realize convenient and efficient storage and reading.
The technical scheme shown in the figure 1 of the invention ensures that the efficiency of storing the picture data in real time in the capsule endoscope system is obviously improved, excessive precious processor resources are not occupied, but a universal file system module is reserved at the same time so as to realize the management capability of the text file.
The text file has the main function of storing a data file, mainly plays a role of a carrier for receiving picture data to be stored, and can be a txt or other data files.
The method comprises the steps of creating only one text file in the writing process of picture data to be stored, opening the text file only once, synchronizing the converted formatted picture characteristics to the text file after receiving one piece of picture data to be stored, synchronizing the picture data to be stored to the text file, preventing the stored data from being lost due to an accident in other variation examples, and synchronizing the picture data to be stored to a storage medium directly without closing the current text file, wherein the subsequent picture data to be stored is continuously written into a corresponding space by using an additional method. In the prior art, a conventional method is adopted, each picture is created into a file, and then the file needs to be created, opened, closed and searched.
Fig. 2 is a schematic flowchart of a process for controlling a picture generation apparatus to sequentially generate picture data to be stored according to the present invention, and fig. 2 shows specific steps of controlling the picture generation apparatus to sequentially generate the picture data to be stored before sequentially processing each picture data to be stored to obtain each feature of a formatted picture, including:
firstly, step S201 is entered, the picture generation device is controlled to obtain the original picture data in real time, so that the picture generation device sequentially generates picture identifications related to each original picture data according to the generation time of the original picture data, the picture generation means is preferably a capsule endoscope, which acquires raw picture data in real time, when each picture is generated, recording the generation time of the original picture data, and sequentially generating picture identifications related to each original picture data based on different sequence of the generation time of the original picture data, for example, picture identifications 0001, 0002, 0003, 0004 … 0050 may be generated for each original picture data in turn in the order of the original picture data generation time from early to late, and each picture identification may be associated with the corresponding original picture data.
Then, step S202 is entered, and the picture generating device is controlled to determine picture data to be stored, where the picture data to be stored at least includes original picture data and a picture identifier related to the original picture data, and in such an embodiment, the original picture data and the picture identifier related to the original picture data are jointly used as the picture data to be stored.
Fig. 3 is a second flowchart of a picture storing method according to the present invention, before sequentially processing each picture data to be stored to obtain each formatted picture feature, the method includes:
firstly, step S301 is entered, each to-be-stored picture data is received in sequence based on a short-range communication module, the short-range communication module is preferably SUB-1G frequency band transmission, and in other embodiments, the short-range communication module can also be a bluetooth module, WiFi, cellular network, Zigbee, and the like, which do not affect the implementation of the technical solution of the present invention, the present invention aims to receive each to-be-stored picture data in sequence, that is, the to-be-stored picture data is received in sequence regularly according to a certain sequence, and the benefit of this is to reduce the parallel processing operation of the processor, and further improve the processing efficiency of the processor, however, in other embodiments, a plurality of to-be-processed picture data can also be used as a processing unit to process in the sequence of the processing units, and at this time, the plurality of to-be-processed picture data will realize parallel processing, and the benefit of this operation is at the expense of reducing the operation capability of the processor, the processing time is shortened.
Then, step S302 is performed, each picture data to be stored is analyzed to obtain original picture data and a picture identifier related to the original picture data, the original picture data and the picture identifier related to each original picture data are obtained in real time by controlling the picture generation device, the original picture data and the picture identifier are converted into the picture data to be stored and then transmitted to a picture recorder based on a SUB-1G frequency band, the picture recorder receives each picture data to be stored, the obtained picture data to be stored is file data in an unresolved state, and at this time, the picture data to be stored can be analyzed to obtain the original picture data and the picture identifier related to the original picture data.
Fig. 4 is a third schematic flowchart of a picture storing method provided by the present invention, and a specific operation before or after storing each formatted picture feature in a preset text file, that is, the process shown in fig. 4 may be completed before storing each formatted picture feature in the preset text file, or after storing each formatted picture feature in the preset text file, specifically, the present invention includes:
firstly, step S401 is entered, the storage location of each to-be-stored picture data in the preset text file is determined based on each picture identifier and the preset value of the maximum length of the picture, as a preferred embodiment of the present invention, the product of each picture identifier and the preset value of the maximum length of the picture is used as the storage address offset of the to-be-stored picture data, further, the storage address offset of each picture in the storage medium is determined based on the value of the picture identifier multiplied by the preset value of the maximum length of the picture, the preset value of the maximum length of the picture is a reasonable value set according to the evaluation of the size of the picture generated by capsule endoscopy, which can cover the maximum value of the picture generated by capsule endoscopy, and simultaneously considers the utilization of storage resources.
Then, step S402 is executed to store each of the to-be-stored picture data to a corresponding storage location. Fig. 7 is a schematic diagram of a storage location of each to-be-stored picture data in the preset text file provided by the present invention, in conjunction with fig. 4 and fig. 7, in a preferred embodiment, the picture identifier of the to-be-stored picture data is 10, the maximum value of the preset picture is 100KB, the storage offset address of the to-be-stored picture data is 10 × 100KB, and the spatial range from 10 × 100KB to 11 × 100KB-1 is used to store the to-be-stored picture data, even if the picture is not 100KB, the to-be-stored picture data will occupy a space of 100 KB.
As will be understood by those skilled in the art, the picture identifier of each picture data to be stored is unique, i.e., the generated memory address offset is also unique, and since the picture identifiers are generated sequentially, the memory address of the data of each picture is also fixed and sequential.
In such an embodiment, the address offset of the data packet of the picture data to be stored is obtained by multiplying the data packet length by the data packet unique identifier, and the data packets are also stored fixedly and sequentially.
Further, in the process of wireless transmission of the picture data to be stored, if a data packet is lost or data cannot be received, no data is stored in the storage space corresponding to the picture data to be stored, but the storage space corresponding to the picture data to be stored is not released to store subsequent picture data, that is, each picture data to be stored has a fixed address mapped with the picture data, and correspondingly, if the data packet is lost, the corresponding storage space is not released, and subsequent picture data packets are stored according to the fixed addresses mapped with the picture data.
The technical scheme shown in fig. 4 facilitates search management of picture data and data packets, and when a picture needs to be read, the picture can be quickly located to the address where the picture is stored according to the unique picture identifier, without traversing all file lists like a file system, which is obviously highly efficient. And the storage address of the data packet is also easily positioned, so that the data packet is convenient to read.
Fig. 5 is a schematic flowchart of a picture extracting method provided by the present invention, and corresponding to the picture storing method, the picture extracting method described in the present invention is used for extracting a picture based on the storing method described in fig. 1 to fig. 4, and includes:
firstly, step S501 is entered, a request instruction of an intelligent terminal is received, the intelligent terminal may be a mobile phone, a tablet or other carriers with a data interaction function, which can be used for viewing pictures, the intelligent terminal initiates request information for viewing pictures and extracting picture operations, and transmits the request information to the picture recorder, and the picture recorder receives the request information and then confirms the identity of the intelligent terminal, and establishes a transmission channel with the intelligent terminal.
Then, step S502 is performed, and the to-be-extracted picture data in the storage location corresponding to the to-be-extracted picture is determined based on the picture identifier in the request instruction, in such an embodiment, the picture identifier is unique identity information of the picture that needs to be acquired by the user and a search path used for searching the to-be-extracted picture data in a preset text file, and the storage location corresponding to the to-be-extracted picture is a storage offset address of the to-be-stored picture data.
And finally, step S503 is carried out, the picture data to be extracted are transmitted to the intelligent terminal through a short-range communication module, the picture recorder extracts the picture data to be extracted in the corresponding storage position based on the picture identification, and the picture data to be extracted are sequentially transmitted to the intelligent terminal according to a data packet transmission mode.
The technical personnel in the field understand that by adopting the mode of storing the picture characteristic information by using the text file, the stored picture cannot be directly seen in the general file system module, the stored picture data needs to be analyzed according to a certain data format to realize the presentation of the picture, when the picture data needs to be read and the picture needs to be viewed, a command is sent to the picture recorder through the intelligent terminal, the stored picture data corresponding to the picture data is searched and wirelessly transmitted to the intelligent terminal through Bluetooth, and the intelligent terminal combines the received data according to the storage format of the original picture data to present a complete picture.
Fig. 6 is a schematic structural diagram of a picture storage system according to the present invention, which records data interaction relationships among components in the picture storage system, and includes a picture recorder 1, where the picture recorder 1 includes a general file system module, which is used to process each piece of picture data to be stored in sequence to obtain each formatted picture feature, and in the medical field, a capsule endoscope generally performs data interaction with a picture recorder having the general file system module, and the general file system module may be jammed and slow in response when performing operations such as opening, closing, and viewing in parallel, but the present invention aims to reduce the file processing pressure of the general file system module by recording a text file.
The picture storage system further comprises an intelligent terminal 2 used for extracting pictures in the picture recorder, and the intelligent terminal preferably performs data interaction with the picture recorder in a Bluetooth mode.
The picture storage system also comprises a picture generation device 3 which is used for generating the picture data to be stored with the unique identification of each picture, and the picture generation device 3 and the picture recorder perform data interaction in a Bluetooth mode.
The picture recorder also comprises a storage medium, a text file storage module and a text file processing module, wherein the storage medium is used for storing a preset text file; and the short-range communication module is used for generating data interaction with the intelligent terminal and the picture generation device. Those skilled in the art understand that the data interaction and the working principle among the image recorder, the image generating device 3 and the intelligent terminal 2 can refer to the embodiments shown in fig. 1 to fig. 5 of the present application, and are not described herein again.
Further, the picture generation device is a capsule endoscope, and in other embodiments, the picture generation device can also be other shooting devices for acquiring pictures in real time in a large batch.
Further, the preset text file is stored in the general file system module or the storage medium, and the preset text file is preferably stored in the general file system module, but in other embodiments, the preset text file may also be stored in the storage medium.
Fig. 8 illustrates a physical structure diagram of an electronic device, and as shown in fig. 8, the electronic device may include: a processor (processor)610, a communication Interface (Communications Interface)620, a memory (memory)630 and a communication bus 640, wherein the processor 610, the communication Interface 620 and the memory 630 communicate with each other via the communication bus 640. Processor 610 may invoke logic instructions in memory 630 to perform a picture storage method comprising: sequentially processing each picture data to be stored to obtain each formatted picture characteristic; and storing each formatted picture characteristic to a preset text file.
In addition, the logic instructions in the memory 630 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, a computer is capable of executing a picture storage method provided by the above methods, the method including: sequentially processing each picture data to be stored to obtain each formatted picture characteristic; and storing each formatted picture characteristic to a preset text file.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements a picture storage method provided by the above methods, the method including: sequentially processing each picture data to be stored to obtain each formatted picture characteristic; and storing each formatted picture characteristic to a preset text file.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A picture storage method, comprising:
sequentially processing each picture data to be stored to obtain each formatted picture characteristic;
storing each formatted picture characteristic to a preset text file;
the formatted picture features at least comprise a picture identification;
before sequentially processing each piece of picture data to be stored to acquire each feature of a formatted picture, controlling a picture generation device to sequentially generate the picture data to be stored, specifically comprising:
controlling the picture generation device to acquire original picture data in real time, so that the picture generation device sequentially generates picture identifications related to each original picture data according to the generation time of the original picture data;
controlling the picture generation device to determine picture data to be stored, wherein the picture data to be stored at least comprises original picture data and picture identification related to the original picture data;
the picture generating device is a capsule endoscope;
before or after storing each of the formatted picture features into a preset text file, the method comprises the following steps:
determining the storage position of each picture data to be stored in a preset text file based on each picture identification and a preset maximum length value of the picture;
storing each picture data to be stored to a corresponding storage position;
the storing each picture data to be stored to a corresponding storage position includes:
dividing the obtained formatted picture characteristics into data packets according to a preset data format;
and storing each data packet to a corresponding storage position based on the unique identification byte characteristics of the data packet and the length of the data packet.
2. The picture storage method according to claim 1, before sequentially processing each picture data to be stored to obtain each formatted picture feature, comprising:
receiving each image data to be stored in sequence based on the short-range communication module;
each picture data to be stored is parsed to obtain original picture data and picture identifications related to the original picture data.
3. The picture storage method according to claim 1, wherein the formatted picture features comprise at least one of:
the picture identification byte characteristic is used for representing the unique attribute of the picture;
the picture length byte characteristic is used for recording the byte number of the picture data to be stored;
the data packet quantity byte characteristic is used for recording the data packet quantity;
the data packet length byte characteristic is used for recording the byte number of the data packet;
the data packet unique identification byte characteristic is used for representing the unique attribute of the data packet;
and creating a time byte characteristic for recording the writing time of the picture data to be stored.
4. A picture extraction method for extracting a picture based on the storage method according to any one of claims 1 to 3, comprising:
receiving a request instruction of an intelligent terminal;
determining to-be-extracted picture data in a storage position corresponding to the to-be-extracted picture based on the picture identification in the request instruction;
and transmitting the picture data to be extracted to the intelligent terminal through the short-range communication module.
5. A picture storage system employing the picture storage method according to any one of claims 1 to 3, comprising:
the picture recorder comprises a universal file system module, a storage module and a processing module, wherein the universal file system module is used for sequentially processing each picture data to be stored so as to obtain each formatted picture characteristic;
the intelligent terminal is used for extracting the pictures in the picture recorder;
the picture generating device is used for generating the picture data to be stored with the unique identifier of each picture;
wherein, the picture record appearance still includes:
a storage medium for storing a preset text file;
and the short-range communication module is used for generating data interaction with the intelligent terminal and the picture generation device.
6. The picture storage system according to claim 5, wherein the picture generating means is a capsule endoscope.
7. The picture storage system according to claim 5, wherein the preset text file is stored in a general file system module or a storage medium.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the picture storage method according to any of claims 1 to 3 are implemented when the program is executed by the processor.
9. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the picture storage method according to any one of claims 1 to 3.
CN202210353137.XA 2022-04-06 2022-04-06 Picture storage and extraction method, system and storage medium Active CN114496176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210353137.XA CN114496176B (en) 2022-04-06 2022-04-06 Picture storage and extraction method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210353137.XA CN114496176B (en) 2022-04-06 2022-04-06 Picture storage and extraction method, system and storage medium

Publications (2)

Publication Number Publication Date
CN114496176A CN114496176A (en) 2022-05-13
CN114496176B true CN114496176B (en) 2022-09-27

Family

ID=81488793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210353137.XA Active CN114496176B (en) 2022-04-06 2022-04-06 Picture storage and extraction method, system and storage medium

Country Status (1)

Country Link
CN (1) CN114496176B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115083572B (en) * 2022-07-25 2023-07-21 广州思德医疗科技有限公司 Picture storing and extracting method, system, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255989A (en) * 2017-12-28 2018-07-06 深圳英飞拓科技股份有限公司 Picture storage method, device, terminal device and computer storage media
CN111078910A (en) * 2019-12-06 2020-04-28 武汉联影医疗科技有限公司 Medical image storage method, device, system, equipment and storage medium
CN114116601A (en) * 2020-08-25 2022-03-01 深圳迈瑞生物医疗电子股份有限公司 File storage management method and related equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844374B (en) * 2015-12-04 2020-04-03 北京四维图新科技股份有限公司 Method and device for storing and retrieving photos
US11935643B2 (en) * 2019-11-27 2024-03-19 GE Precision Healthcare LLC Federated, centralized, and collaborative medical data management and orchestration platform to facilitate healthcare image processing and analysis

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255989A (en) * 2017-12-28 2018-07-06 深圳英飞拓科技股份有限公司 Picture storage method, device, terminal device and computer storage media
CN111078910A (en) * 2019-12-06 2020-04-28 武汉联影医疗科技有限公司 Medical image storage method, device, system, equipment and storage medium
CN114116601A (en) * 2020-08-25 2022-03-01 深圳迈瑞生物医疗电子股份有限公司 File storage management method and related equipment

Also Published As

Publication number Publication date
CN114496176A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
EP4027238A1 (en) Card rendering method and electronic device
CN107148787A (en) A kind of discovery method and its electronic equipment
US20210117107A1 (en) Method for storing uav system log and uav image transmission system
CN114496176B (en) Picture storage and extraction method, system and storage medium
CN107153620B (en) Data processing method and device
CN107396181B (en) A kind of shared method, storage medium and smart television for playing record
CN110070496A (en) Generation method, device and the hardware device of image special effect
EP4191513A1 (en) Image processing method and apparatus, device and storage medium
WO2021185352A1 (en) Version upgrade method and related apparatus
CN109426631A (en) A kind of communication means based on RDMA, device and storage medium
CN105677491B (en) A kind of data transmission method and device
WO2022160959A1 (en) Always on display method, and terminal device and chip
CN111045732A (en) Data processing method, chip, device and storage medium
CN114237464A (en) Data sharing method and electronic equipment
CN109658328A (en) From animal head ear processing method and the Related product of shooting the video
CN112925595A (en) Resource distribution method and device, electronic equipment and storage medium
CN114697568B (en) Special effect video determining method and device, electronic equipment and storage medium
WO2015053568A4 (en) Multimedia card service system and service method
WO2021244614A1 (en) Storage content searching method and system and electronic device
CN111782989B (en) Fast application association method and related device
CN115083572B (en) Picture storing and extracting method, system, equipment and medium
CN114513512A (en) Interface rendering method and device
CN114300074A (en) Method and device for generating flow questionnaire link, electronic equipment and storage medium
CN110334763A (en) Model data file generation, image-recognizing method, device, equipment and medium
WO2023088461A1 (en) Image processing method and apparatus, electronic device, 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