CN106412126A - Docker image description information display method and display device - Google Patents

Docker image description information display method and display device Download PDF

Info

Publication number
CN106412126A
CN106412126A CN201611103289.5A CN201611103289A CN106412126A CN 106412126 A CN106412126 A CN 106412126A CN 201611103289 A CN201611103289 A CN 201611103289A CN 106412126 A CN106412126 A CN 106412126A
Authority
CN
China
Prior art keywords
description
docker
image
content
image information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611103289.5A
Other languages
Chinese (zh)
Inventor
管冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies 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 ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN201611103289.5A priority Critical patent/CN106412126A/en
Publication of CN106412126A publication Critical patent/CN106412126A/en
Pending legal-status Critical Current

Links

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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a Docker image description information display method and a Docker image description information display device. The Docker image description information display method comprises the steps that whether the terminal locally caches mirror description information corresponding to a Docker mirror name which is inputted by a user is detected; if the terminal does not locally cache the mirror description information, the URL of a Docker image description page is constructed according to the Docker mirror name and the URL pattern of the Docker image description page; the HTML content of the Docker image description page is acquired according to the URL of the Docker image description page; an HTML tag content is extracted in the HTML content according to the HTML structure of the Docker mirror description page; the HTML tag content is displayed on the operation interface of the terminal. According to the technical scheme of the invention, the convenience and efficiency of the acquisition of the Docker image description information can be effectively improved, and the user experience can be improved.

Description

The methods of exhibiting of Docker description of image information and exhibiting device
Technical field
The present invention relates to field of computer technology, in particular to a kind of displaying side of Docker description of image information Method and a kind of exhibiting device of Docker description of image information.
Background technology
At present, Docker is the application container engine increased income of current main flow, and allow developer can pack them should With and rely on bag in a transplantable container, be then published to any popular Linux and (a kind of be based on POSIX On (Portable Operating System Interface, the operating system of portable operating system interface) machine, thus Realize the purpose once creating, arbitrarily running.
(i.e. a kind of file layout, the data on a disk is in another magnetic by oneself packed mirror image for developer One identical copy is existed on disk and is mirror image) it is published to Docker Hub (hub, the forwarding of a multiport Device) website fill in necessary description of image information, so that user is after obtaining mirror image, read on Docker Hub website Description of image information, according to description of image information configuration and start mirror image.
That is, being required for configuring some parameters with the operation of helper image program when most of image starting, And Docker itself does not provide the method being directly viewable description of image information in command interface, so whenever user is forgotten to configure It is required for during mode opening web page access Docker Hub and checks description of image information, configuration parameter of then returning again is to start mirror Picture, the complicated inconvenience of operating process, it is unfavorable for Consumer's Experience.
In addition, a kind of flexible scheme is using Web (the Internet) browser under Linux command row, such as lynx (pure literary composition This web browser), w3m (the textual web browser of open source code) etc. directly accesses the mirror image of the description of image page and retouches State information, but this scheme to page composition support bad it is not easy to find the effective information in the page, and need use The complete URL that person inputs the description of image page carries out acquisition of information, and ease for use is poor.
Therefore, how to solve the above problems, improve convenience and the efficiency of Docker description of image acquisition of information, lifting is used Family experience becomes current problem demanding prompt solution.
Content of the invention
The present invention is based on the problems referred to above it is proposed that a kind of new technical scheme, is searched by Docker mirror image title Obtain corresponding description of image information, and be directly displayed at the operation interface of terminal, it is to avoid acknowledgment of your inquiry repeatedly, thus having Improve to effect convenience and the efficiency of description of image acquisition of information, improve Consumer's Experience.
In view of this, according to the first aspect of the invention it is proposed that a kind of methods of exhibiting of Docker description of image information, Including:Whether detection terminal is locally cached with the corresponding description of image information of Docker mirror image title with user input;Work as inspection When measuring the uncached described description of image information of described terminal local, retouched according to described Docker mirror image title and Docker mirror image The URL pattern stating the page constructs the URL of the described Docker description of image page;According to the described Docker description of image page URL obtains the HTML content of the described Docker description of image page;HTML structure according to the described Docker description of image page Html tag content is extracted in described HTML content;By described html tag content displaying described terminal operation interface.
In this technical scheme, with Docker mirror image name be referred to as parameter terminal local detection search whether to be cached with This corresponding description of image information of Docker mirror image title, if uncached, according to this mirror image title and Docker description of image (Uniform Resource Locator, URL are to the money that can obtain from the Internet to the URL of the page The position in source and a kind of succinct expression of access method, are the addresses of standard resource on the Internet) this page of schema construction URL, for capturing HTML (Hyper Text Markup Language, the HyperText Markup of this page in the server Language) content, and then html tag content is extracted in the HTML content grabbing according to the HTML structure of this page, and then will The html tag content extracted directly is illustrated in the operation interface of terminal, will Docker description of image information directly show In the operation interface of terminal, so, then web page access need not be opened when the user of Docker mirror image forgets configuration mode Docker Hub checks description of image information, it is to avoid acknowledgment of your inquiry repeatedly, is effectively improved description of image acquisition of information just Profit and efficiency, improve Consumer's Experience.
In technique scheme it is preferable that described by described html tag content displaying described terminal operation circle The step in face, specifically includes:Described html tag Content Transformation is color text format content;Export described color text lattice Formula content to described operation interface carries out the displaying of described description of image information.
In this technical scheme, in order to be effectively realized directly by html tag content displaying terminal operation interface On, on the one hand can be by this html tag content be converted directly into the color text being suitable for showing in the operation interface of terminal Format content, and by being easy to identify effective information in the form of color text, so, you can so that user is running Configuration parameter is easily checked during Docker image program.
In any of the above-described technical scheme it is preferable that described by described html tag content displaying described terminal behaviour The step making interface, specifically includes:Described html tag Content Transformation is internal expression text format content, and by described centre Text formatting Content Transformation is color text format content;Export described color text format content to described operation interface to carry out The displaying of described description of image information.
In this technical scheme, in order to be effectively realized directly by html tag content displaying terminal operation interface On, on the other hand can be suitable at end by being first converted to be reconverted into this html tag content after internal expression text format content The color text format content that the operation interface at end shows, and by also allowing for identifying effective letter in the form of color text Breath, wherein internal expression text form can be PDF (Portable Document Format, portable document format) text formatting Deng so, you can so that user easily checks configuration parameter when running Docker image program.
It is preferable that also including in any of the above-described technical scheme:Retouch when the described terminal local described mirror image of caching is detected When stating information, obtain described description of image information and it is shown in described operation interface.
In this technical scheme, when with Docker mirror image name be referred to as parameter terminal local detection find be cached with During this corresponding description of image information of Docker mirror image title, then get be available for users to reference to run Docker mirror image journey After the description of image information of sequence, it is directly illustrated in the operation interface of terminal, to realize directly by html tag content displaying In the operation interface of terminal, it is easy to user and checks.
It is preferable that locally whether being cached with and user input in described detection terminal in any of the above-described technical scheme Before the step of Docker mirror image title corresponding description of image information, also include:Analysis obtains described Docker description of image The described URL pattern of the page and described HTML structure.
In this technical scheme, in order to ensure Docker mirror image title with user input uncached in terminal local is corresponding Description of image information when, can accurately and effectively get the description of image information of the operation interface that can directly be illustrated in terminal Need to obtain the general URL pattern of the Docker description of image page and HTML structure in advance, and disposable acquisition repeats and makes With.
According to the second aspect of the invention it is proposed that a kind of exhibiting device of Docker description of image information, including:Detection Whether module, be locally cached with the corresponding description of image information of Docker mirror image title with user input for detection terminal; Creation module, for when described detection module detects the uncached described description of image information of described terminal local, according to institute State the URL of the URL pattern described Docker description of image page of construction of Docker mirror image title and the Docker description of image page; Acquisition module, the URL of the described Docker description of image page for being constructed according to described creation module obtains described Docker The HTML content of the description of image page;Extraction module, for according to the HTML structure of the described Docker description of image page in institute State extraction html tag content in HTML content;Display module, for the described html tag extracting described extraction module Content displaying is in the operation interface of described terminal.
In this technical scheme, with Docker mirror image name be referred to as parameter terminal local detection search whether to be cached with This corresponding description of image information of Docker mirror image title, if uncached, according to this mirror image title and Docker description of image The URL pattern of the page constructs the URL of this page, for capturing the HTML content of this page in the server, and then according to this The HTML structure of the page extracts html tag content in the HTML content grabbing, and then by the html tag extracting content Directly it is illustrated in the operation interface of terminal, Docker description of image information will directly be illustrated in the operation interface of terminal, such as This, then need not open web page access Docker Hub and check description of image when the user of Docker mirror image forgets configuration mode Information, it is to avoid acknowledgment of your inquiry repeatedly, is effectively improved convenience and the efficiency of description of image acquisition of information, improves user's body Test.
It is preferable that described display module specifically includes in technique scheme:Transform subblock, for carrying described The described html tag Content Transformation that delivery block extracts is color text format content;Output sub-module, described for exporting The described color text format content that transform subblock is converted to described operation interface carries out described description of image information Show.
In this technical scheme, in order to be effectively realized directly by html tag content displaying terminal operation interface On, on the one hand can be by this html tag content be converted directly into the color text being suitable for showing in the operation interface of terminal Format content, and by being easy to identify effective information in the form of color text, so, you can so that user is running Configuration parameter is easily checked during Docker image program.
It is preferable that described display module specifically includes in any of the above-described technical scheme:Transform subblock, for by institute Stating the described html tag Content Transformation that extraction module extracts is internal expression text format content, and by described internal expression text lattice Formula Content Transformation is color text format content;Output sub-module, for exporting described in described transform subblock is converted to Color text format content to described operation interface carries out the displaying of described description of image information.
In this technical scheme, in order to be effectively realized directly by html tag content displaying terminal operation interface On, on the other hand can be suitable at end by being first converted to be reconverted into this html tag content after internal expression text format content The color text format content that the operation interface at end shows, and by also allowing for identifying effective letter in the form of color text Breath, wherein internal expression text form can be PDF text formatting etc., so, you can so that user is running Docker mirror image journey Configuration parameter is easily checked during sequence.
It is preferable that also including in any of the above-described technical scheme:Processing module, for detecting when described detection module When described terminal local caches described description of image information, obtain described description of image information and it is entered in described operation interface Row is shown.
In this technical scheme, when with Docker mirror image name be referred to as parameter terminal local detection find be cached with During this corresponding description of image information of Docker mirror image title, then get be available for users to reference to run Docker mirror image journey After the description of image information of sequence, it is directly illustrated in the operation interface of terminal, to realize directly by html tag content displaying In the operation interface of terminal, it is easy to user and checks.
It is preferable that also including in any of the above-described technical scheme:Analysis module, for detecting eventually in described detection module Whether end is locally cached with before the corresponding description of image information of Docker mirror image title of user input, and analysis obtains described The described URL pattern of the Docker description of image page and described HTML structure.
In this technical scheme, in order to ensure Docker mirror image title with user input uncached in terminal local is corresponding Description of image information when, can accurately and effectively get the description of image information of the operation interface that can directly be illustrated in terminal Need to obtain the general URL pattern of the Docker description of image page and HTML structure in advance, and disposable acquisition repeats and makes With.
According to the third aspect of the invention we it is proposed that a kind of terminal, including:As above any one of second aspect technical scheme The exhibiting device of described Docker description of image information, therefore, this terminal has as above arbitrary in second aspect technical scheme All beneficial effects of the exhibiting device of Docker description of image information described in, will not be described here.
Technical scheme, by Docker mirror image title search obtain corresponding description of image information, and by its It is directly displayed at the operation interface of terminal, it is to avoid acknowledgment of your inquiry repeatedly, thus being effectively improved description of image acquisition of information Convenience and efficiency, improve Consumer's Experience.
Brief description
Fig. 1 shows that the flow process of the methods of exhibiting of Docker description of image information of the first embodiment of the present invention is illustrated Figure;
Fig. 2 shows that the operation interface in terminal of the first embodiment of the present invention shows that the flow process of html tag content is shown It is intended to;
Fig. 3 shows that the operation interface in terminal of the second embodiment of the present invention shows that the flow process of html tag content is shown It is intended to;
Fig. 4 shows that the flow process of the methods of exhibiting of Docker description of image information of the second embodiment of the present invention is illustrated Figure;
Fig. 5 shows the schematic block diagram of the exhibiting device of Docker description of image information of the first embodiment of the present invention;
Fig. 6 shows the schematic block diagram of the display module shown in Fig. 5;
Fig. 7 shows the schematic block diagram of the exhibiting device of Docker description of image information of the second embodiment of the present invention.
Specific embodiment
In order to be more clearly understood that the above objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specifically real Mode of applying is further described in detail to the present invention.It should be noted that in the case of not conflicting, the enforcement of the application Feature in example and embodiment can be mutually combined.
Elaborate a lot of details in the following description in order to fully understand the present invention, but, the present invention also may be used To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not described below Specific embodiment restriction.
Fig. 1 shows that the flow process of the methods of exhibiting of Docker description of image information of the first embodiment of the present invention is illustrated Figure.
As shown in figure 1, the methods of exhibiting of the Docker description of image information according to the first embodiment of the present invention, including with Lower process step:
Step 102, whether detection terminal is locally cached with is retouched with the corresponding mirror image of Docker mirror image title of user input State information.
Step 104, when the uncached described description of image information of described terminal local is detected, according to described Docker mirror URL pattern as title and the Docker description of image page constructs the URL of the described Docker description of image page.
Step 106, the URL according to the described Docker description of image page obtains the described Docker description of image page HTML content.
Step 108, the HTML structure according to the described Docker description of image page extracts HTML in described HTML content Label substance;
Step 110, by described html tag content displaying described terminal operation interface.
In this embodiment, search whether to be cached with terminal local detection with Docker mirror image name referred to as parameter and be somebody's turn to do Docker mirror image title corresponding description of image information, if uncached, according to this mirror image title and Docker description of image page The URL pattern in face constructs the URL of this page, for capturing the HTML content of this page in the server, and then according to this page The HTML structure in face extracts html tag content in the HTML content grabbing, and then will be straight for the html tag extracting content Connect in the operation interface being illustrated in terminal, Docker description of image information will directly be illustrated in the operation interface of terminal, so, Web page access Docker Hub then need not be opened when the user of Docker mirror image forgets configuration mode and check that description of image is believed Breath, it is to avoid acknowledgment of your inquiry repeatedly, is effectively improved convenience and the efficiency of description of image acquisition of information, improves user's body Test.
It is possible to further realize above-mentioned steps 110 by following two specific embodiments, specifically include:
Embodiment one, as shown in Fig. 2 above-mentioned steps 110 can specifically include below scheme step:
Step S20, described html tag Content Transformation is color text format content.
Step S22, exports described color text format content to described operation interface and carries out described description of image information Show.
In this embodiment, in order to be effectively realized directly by html tag content displaying in the operation interface of terminal, Can by this html tag content is converted directly into the color text format content being suitable for showing in the operation interface of terminal, And by being easy to identify effective information in the form of color text, so, you can so that user is running Docker mirror image Configuration parameter is easily checked during program.
Embodiment two, as shown in figure 3, above-mentioned steps 110 can specifically include below scheme step:
Step S30, described html tag Content Transformation is internal expression text format content, and by described internal expression text lattice Formula Content Transformation is color text format content.
Step S32, exports described color text format content to described operation interface and carries out described description of image information Show.
In this embodiment, in order to be effectively realized directly by html tag content displaying in the operation interface of terminal, Can be reconverted into, after internal expression text format content, operation circle being suitable in terminal by being first converted to this html tag content The color text format content that face shows, and by also allowed in the form of color text identify effective information, wherein in Between text formatting can be PDF text formatting etc., so, you can for user when running Docker image program easily Check configuration parameter.
Further, in any of the above-described embodiment, if the testing result of described step 102 is yes, that is, described when detecting When terminal local caches described description of image information, obtain described description of image information and it is opened up in described operation interface Show.
In this embodiment, when with Docker mirror image name be referred to as parameter terminal local detection find be cached with should During Docker mirror image title corresponding description of image information, then get be available for users to reference to run Docker image program Description of image information after, it is directly illustrated in the operation interface of terminal, to realize directly html tag content displaying existing In the operation interface of terminal, it is easy to user and checks.
Further, in any of the above-described embodiment, the methods of exhibiting of described Docker description of image information is in described step Also included before rapid 102:Analysis obtains the described URL pattern of the described Docker description of image page and described HTML structure.
In this embodiment, in order to ensure Docker mirror image title with user input uncached in terminal local is corresponding During description of image information, the description of image information that can accurately and effectively get the operation interface that can directly be illustrated in terminal needs To obtain the general URL pattern of the Docker description of image page and HTML structure in advance, and disposable acquisition is reusable.
Fig. 4 shows that the flow process of the methods of exhibiting of Docker description of image information of the second embodiment of the present invention is illustrated Figure.
As shown in figure 4, the methods of exhibiting of Docker description of image information according to the second embodiment of the present invention, concrete bag Include below scheme step:
Step 402, the URL pattern of analysis description of image page and HTML structure, think follow-up crawl URL webpage and extraction HTML content is prepared, and only does once in the preparatory stage.
Step 404, checks whether the Docker mirror image title that user specifies locally is caching this Docker mirror image title Corresponding description of image information, if so, execution step 406, otherwise execution step 408.
Step 406, obtains the description of image information of local cache, then execution step 418.
It is right that the URL pattern that step 408, the Docker mirror image title specified according to user and step 402 analysis obtain builds The URL of the description of image page answered.
Step 410, initiates acquisition request URL corresponding webpage HTML content to service end, captures URL net according to URL Page.
Step 412, navigates to the detailed description of description of image information according to the HTML structure that step 402 analysis obtains Region, to extract HTML content.
Step 414, obtains effective text html tag content of HTML content, and applies the color of Linux Shell to refer to Html tag Content Transformation is Linux terminal color text form by order, is directly opened up in order to the operation interface in terminal Show.
In this step, both can directly by html tag Content Transformation be Linux terminal color text form it is also possible to It is reconverted into Linux terminal color text format content after being first converted to internal expression text form.
Step 416, caching transformation result is to local file.
Step 418, the Linux terminal color text content after output conversion to terminal interface, to show description of image letter Breath.
To sum up, technical scheme accepts mirror image name and is referred to as parameter, in the output of Linux terminal command interface The detailed description of the description of image page on Docker Hub website, builds the description of image page using mirror image title URL, is converted into HTML content the text output of the colour-coded of Linux terminal command interface, to realize description of image information In the direct displaying at station command interface, it is easy to user and checks.
Fig. 5 shows the schematic block diagram of the exhibiting device of Docker description of image information of the first embodiment of the present invention.
As shown in figure 5, the exhibiting device 500 of the Docker description of image information according to the first embodiment of the present invention, bag Include:Detection module 502, creation module 504, acquisition module 506, extraction module 508 and display module 510.
Wherein, whether described detection module 502 is locally cached with the Docker mirror image with user input for detection terminal Title corresponding description of image information;Described creation module 504 is used for described terminal local is detected when described detection module 502 During uncached described description of image information, according to the URL pattern of described Docker mirror image title and the Docker description of image page Construct the URL of the described Docker description of image page;Described acquisition module 506 is used for according to described creation module 504 construction The URL of the described Docker description of image page obtains the HTML content of the described Docker description of image page;Described extraction module 508 are used for extracting html tag content in described HTML content according to the HTML structure of the described Docker description of image page; Described display module 510 is used for the described html tag content displaying extracting described extraction module 508 in described terminal Operation interface.
In this embodiment, search whether to be cached with terminal local detection with Docker mirror image name referred to as parameter and be somebody's turn to do Docker mirror image title corresponding description of image information, if uncached, according to this mirror image title and Docker description of image page The URL pattern in face constructs the URL of this page, for capturing the HTML content of this page in the server, and then according to this page The HTML structure in face extracts html tag content in the HTML content grabbing, and then will be straight for the html tag extracting content Connect in the operation interface being illustrated in terminal, Docker description of image information will directly be illustrated in the operation interface of terminal, so, Web page access Docker Hub then need not be opened when the user of Docker mirror image forgets configuration mode and check that description of image is believed Breath, it is to avoid acknowledgment of your inquiry repeatedly, is effectively improved convenience and the efficiency of description of image acquisition of information, improves user's body Test.
Further, in the above-described embodiments, as shown in fig. 6, described display module 510 specifically includes:Transform subblock 5102 and output sub-module 5104, it is particularly used in the following two specific embodiments of enforcement:
Embodiment one, described transform subblock 5102 is used for the described html tag extracting described extraction module 508 Content Transformation is color text format content;Described output sub-module 5104 is used for exporting described transform subblock 5102 to be changed To described color text format content to described operation interface carry out the displaying of described description of image information.
In this embodiment, in order to be effectively realized directly by html tag content displaying in the operation interface of terminal, Can by this html tag content is converted directly into the color text format content being suitable for showing in the operation interface of terminal, And by being easy to identify effective information in the form of color text, so, you can so that user is running Docker mirror image Configuration parameter is easily checked during program.
Embodiment two, described transform subblock 5102 is used for the described html tag extracting described extraction module 508 Content Transformation is internal expression text format content, and described internal expression text format content is converted to color text format content; Described output sub-module 5104 is for exporting the described color text format content that described transform subblock 5102 is converted to extremely Described operation interface carries out the displaying of described description of image information.
In this embodiment, in order to be effectively realized directly by html tag content displaying in the operation interface of terminal, On the other hand can be suitable in terminal by being first converted to be reconverted into this html tag content after internal expression text format content The color text format content that shows of operation interface, and by also allowing for identifying effective letter in the form of color text Breath, wherein internal expression text form can be PDF text formatting etc., so, you can so that user is running Docker mirror image journey Configuration parameter is easily checked during sequence.
Further, in any of the above-described embodiment, as shown in fig. 7, the displaying dress of described Docker description of image information Put 500 also to include:Processing module 512, for retouching when described detection module 502 detects the described terminal local described mirror image of caching When stating information, obtain described description of image information and it is shown in described operation interface.
In this embodiment, when with Docker mirror image name be referred to as parameter terminal local detection find be cached with should During Docker mirror image title corresponding description of image information, then get be available for users to reference to run Docker image program Description of image information after, it is directly illustrated in the operation interface of terminal, to realize directly html tag content displaying existing In the operation interface of terminal, it is easy to user and checks.
Further, in any of the above-described embodiment, as shown in fig. 7, the displaying dress of described Docker description of image information Put 500 also to include:Whether analysis module 514, for being locally cached with and user input in described detection module 502 detection terminal The corresponding description of image information of Docker mirror image title before, analysis obtain the described Docker description of image page described URL pattern and described HTML structure.
In this embodiment, in order to ensure Docker mirror image title with user input uncached in terminal local is corresponding During description of image information, the description of image information that can accurately and effectively get the operation interface that can directly be illustrated in terminal needs To obtain the general URL pattern of the Docker description of image page and HTML structure in advance, and disposable acquisition is reusable.
As one embodiment of the present of invention, the Docker description of image any one of above-described embodiment can be believed The exhibiting device 500 of breath is used for terminal, and this terminal can include PC (Personal Computer) terminal etc..
Technical scheme is described in detail above in association with accompanying drawing, is searched by Docker mirror image title and obtain correspondence Description of image information, and be directly displayed at the operation interface of terminal, it is to avoid acknowledgment of your inquiry repeatedly, thus effectively improving The convenience of description of image acquisition of information and efficiency, improve Consumer's Experience.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of methods of exhibiting of Docker description of image information is it is characterised in that include:
Whether detection terminal is locally cached with the corresponding description of image information of Docker mirror image title with user input;
When the uncached described description of image information of described terminal local is detected, according to described Docker mirror image title and The URL pattern of the Docker description of image page constructs the URL of the described Docker description of image page;
URL according to the described Docker description of image page obtains the HTML content of the described Docker description of image page;
HTML structure according to the described Docker description of image page extracts html tag content in described HTML content;
By described html tag content displaying described terminal operation interface.
2. methods of exhibiting according to claim 1 it is characterised in that described by described html tag content displaying described The step of the operation interface of terminal, specifically includes:
Described html tag Content Transformation is color text format content;
Export the displaying that described color text format content to described operation interface carries out described description of image information.
3. methods of exhibiting according to claim 1 it is characterised in that described by described html tag content displaying described The step of the operation interface of terminal, specifically includes:
Described html tag Content Transformation is internal expression text format content, and described internal expression text format content is converted to Color text format content;
Export the displaying that described color text format content to described operation interface carries out described description of image information.
4. methods of exhibiting according to any one of claim 1 to 3 is it is characterised in that also include:
When the described terminal local described description of image information of caching is detected, obtain described description of image information and by it in institute State operation interface to be shown.
5. methods of exhibiting according to any one of claim 1 to 3 is it is characterised in that in described detection terminal be locally No be cached with before the step of the corresponding description of image information of Docker mirror image title of user input, also include:
Analysis obtains the described URL pattern of the described Docker description of image page and described HTML structure.
6. a kind of exhibiting device of Docker description of image information is it is characterised in that include:
Detection module, is retouched with the corresponding mirror image of Docker mirror image title of user input for whether detection terminal is locally cached with State information;
Creation module, for when described detection module detects the uncached described description of image information of described terminal local, root URL pattern according to described Docker mirror image title and the Docker description of image page constructs the described Docker description of image page URL;
Acquisition module, for described in the URL acquisition of the described Docker description of image page being constructed according to described creation module The HTML content of the Docker description of image page;
Extraction module, for extracting HTML according to the HTML structure of the described Docker description of image page in described HTML content Label substance;
Display module, for described html tag content displaying that described extraction module is extracted described terminal operation circle Face.
7. exhibiting device according to claim 6 is it is characterised in that described display module specifically includes:
Transform subblock, the described html tag Content Transformation for extracting described extraction module is in color text form Hold;
Output sub-module, for exporting the described color text format content extremely described operation that described transform subblock is converted to Interface carries out the displaying of described description of image information.
8. exhibiting device according to claim 6 is it is characterised in that described display module specifically includes:
Transform subblock, the described html tag Content Transformation for extracting described extraction module is in internal expression text form Hold, and described internal expression text format content is converted to color text format content;
Output sub-module, for exporting the described color text format content extremely described operation that described transform subblock is converted to Interface carries out the displaying of described description of image information.
9. the exhibiting device according to any one of claim 6 to 8 is it is characterised in that also include:
Processing module, for when described detection module detects described terminal local and caches described description of image information, obtaining It is simultaneously shown by described description of image information in described operation interface.
10. the exhibiting device according to any one of claim 6 to 8 is it is characterised in that also include:
Whether analysis module, for being locally cached with the Docker mirror image name with user input in described detection module detection terminal Before claiming corresponding description of image information, analysis obtains the described URL pattern of the described Docker description of image page and described HTML structure.
CN201611103289.5A 2016-12-05 2016-12-05 Docker image description information display method and display device Pending CN106412126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611103289.5A CN106412126A (en) 2016-12-05 2016-12-05 Docker image description information display method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611103289.5A CN106412126A (en) 2016-12-05 2016-12-05 Docker image description information display method and display device

Publications (1)

Publication Number Publication Date
CN106412126A true CN106412126A (en) 2017-02-15

Family

ID=58084358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611103289.5A Pending CN106412126A (en) 2016-12-05 2016-12-05 Docker image description information display method and display device

Country Status (1)

Country Link
CN (1) CN106412126A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106997392A (en) * 2017-04-10 2017-08-01 北京搜狐新媒体信息技术有限公司 Processing method, device and the read method and device of Docker mirror cache information
CN107908535A (en) * 2017-11-13 2018-04-13 珠海金山网络游戏科技有限公司 Distributed clients analogy method and device
CN112527467A (en) * 2020-12-23 2021-03-19 同盾控股有限公司 Storage structure, query method, deletion method, device, equipment and medium of container mirror image
US11243758B2 (en) 2020-02-13 2022-02-08 International Business Machines Corporation Cognitively determining updates for container based solutions

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1300494A (en) * 1999-03-15 2001-06-20 布尔Cp8公司 Method for accessing an object using a 'WEB' brow co-operating with a smart card and support therefor
CN101079048A (en) * 2006-05-24 2007-11-28 上海万纬信息技术有限公司 Internet information search engine and method based on software robot exclusion standard
CN101158978A (en) * 2007-11-14 2008-04-09 深圳市迅雷网络技术有限公司 Method, system and device for accessing network resource
CN101268461A (en) * 2005-08-18 2008-09-17 胡拉通信有限公司 Method for transmitting information from an information server to a client
CN102436509A (en) * 2011-12-29 2012-05-02 奇智软件(北京)有限公司 Method and system for browsing webpage at mobile terminal
CN102662971A (en) * 2012-03-09 2012-09-12 盛乐信息技术(上海)有限公司 Internet information display method and system based on virtual disk
CN103856541A (en) * 2012-12-06 2014-06-11 华为技术有限公司 Redirected page display method, gateway and user equipment
CN103914451A (en) * 2012-12-30 2014-07-09 杭州新世纪电子科技有限公司 Methods and devices for portal system construction and information processing
CN105245373A (en) * 2015-10-12 2016-01-13 天津市普迅电力信息技术有限公司 Construction and operation method of container cloud platform system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1300494A (en) * 1999-03-15 2001-06-20 布尔Cp8公司 Method for accessing an object using a 'WEB' brow co-operating with a smart card and support therefor
CN101268461A (en) * 2005-08-18 2008-09-17 胡拉通信有限公司 Method for transmitting information from an information server to a client
CN101079048A (en) * 2006-05-24 2007-11-28 上海万纬信息技术有限公司 Internet information search engine and method based on software robot exclusion standard
CN101158978A (en) * 2007-11-14 2008-04-09 深圳市迅雷网络技术有限公司 Method, system and device for accessing network resource
CN102436509A (en) * 2011-12-29 2012-05-02 奇智软件(北京)有限公司 Method and system for browsing webpage at mobile terminal
CN102662971A (en) * 2012-03-09 2012-09-12 盛乐信息技术(上海)有限公司 Internet information display method and system based on virtual disk
CN103856541A (en) * 2012-12-06 2014-06-11 华为技术有限公司 Redirected page display method, gateway and user equipment
CN103914451A (en) * 2012-12-30 2014-07-09 杭州新世纪电子科技有限公司 Methods and devices for portal system construction and information processing
CN105245373A (en) * 2015-10-12 2016-01-13 天津市普迅电力信息技术有限公司 Construction and operation method of container cloud platform system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IAN F. DARWI: "《Java经典实例》", 31 December 2002 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106997392A (en) * 2017-04-10 2017-08-01 北京搜狐新媒体信息技术有限公司 Processing method, device and the read method and device of Docker mirror cache information
CN106997392B (en) * 2017-04-10 2020-03-03 北京搜狐新媒体信息技术有限公司 Processing method and device and reading method and device of Docker mirror image cache information
CN107908535A (en) * 2017-11-13 2018-04-13 珠海金山网络游戏科技有限公司 Distributed clients analogy method and device
CN107908535B (en) * 2017-11-13 2020-12-08 珠海金山网络游戏科技有限公司 Distributed client simulation method and device
US11243758B2 (en) 2020-02-13 2022-02-08 International Business Machines Corporation Cognitively determining updates for container based solutions
CN112527467A (en) * 2020-12-23 2021-03-19 同盾控股有限公司 Storage structure, query method, deletion method, device, equipment and medium of container mirror image
CN112527467B (en) * 2020-12-23 2024-06-11 同盾控股有限公司 Storage structure, query method, deletion method, device, equipment and medium of container mirror image

Similar Documents

Publication Publication Date Title
US9600456B2 (en) Automatically performing a web service operation
CN109033358B (en) Method for associating news aggregation with intelligent entity
KR101120301B1 (en) Persistent saving portal
CN106412126A (en) Docker image description information display method and display device
US7913173B2 (en) Method and apparatus for acquiring data presented within a web browser
US7715625B2 (en) Image processing device, image processing method, and storage medium storing program therefor
CN105677927B (en) For providing the method and apparatus of search result
CN106951495A (en) Method and apparatus for information to be presented
KR101523450B1 (en) Related-word registration device, related-word registration method, recording medium, and related-word registration system
JP2008077611A (en) Log integrated management system
Lucrédio et al. MOOGLE: A model search engine
Harper et al. Sadie: Structural semantics for accessibility and device independence
US6222847B1 (en) Apparatus and method for retrieving data from a network site
Grasso et al. Effective web scraping with oxpath
CN107168635A (en) Information demonstrating method and device
CN104765630B (en) Software installation method and device
Jou Schema extraction for deep web query interfaces using heuristics rules
CN107885872A (en) Method and apparatus for generating information
WO2010024811A1 (en) Method and apparatus for generating standard document identifiers from content references
JP5301862B2 (en) Copyright comparison system
Shen et al. A Catalogue Service for Internet GIS ervices Supporting Active Service Evaluation and Real‐Time Quality Monitoring
JP2009282883A (en) Image retrieval system, crawling device, and image retrieval device
CN110147477A (en) Data resource modelling extracting method, device and the equipment of Web system
CN111597108B (en) Form attribute testing method and device and computer readable storage medium
JP2001188703A (en) Method for obtaining page information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170215