Mirror image file processing method and device, network equipment and storage medium

文档序号:195945 发布日期:2021-11-02 浏览:13次 中文

阅读说明:本技术 镜像文件处理方法及装置、网络设备和存储介质 (Mirror image file processing method and device, network equipment and storage medium ) 是由 高胜华 于 2021-07-30 设计创作,主要内容包括:本公开实施例是关于一种镜像文件处理方法及装置、网络设备和存储介质。由分布式云平台的主仓库执行的所述镜像文件处理方法包括:接收客户端上传的镜像文件;存储所述镜像文件并确定所述镜像文件的存储目录;根据同步策略,将所述镜像文件及所述存储目录分发给所述分布式云平台的至少一个区域仓库,其中,不同的地理区域配置有至少一个区域仓库;根据所述存储目录,向所述客户端返回拉取所述镜像文件的下载地址。(The embodiment of the disclosure relates to a method and a device for processing an image file, network equipment and a storage medium. The image file processing method executed by the main warehouse of the distributed cloud platform comprises the following steps: receiving a mirror image file uploaded by a client; storing the mirror image file and determining a storage directory of the mirror image file; distributing the mirror image file and the storage directory to at least one area warehouse of the distributed cloud platform according to a synchronization strategy, wherein different geographic areas are configured with the at least one area warehouse; and returning a download address for pulling the image file to the client according to the storage directory.)

1. An image file processing method, performed by a primary repository of a distributed cloud platform, the method comprising:

receiving a mirror image file uploaded by a client;

storing the mirror image file and determining a storage directory of the mirror image file;

distributing the mirror image file and the storage directory to at least one area warehouse of the distributed cloud platform according to a synchronization strategy, wherein different geographic areas are configured with the at least one area warehouse;

and returning a download address for pulling the image file to the client according to the storage directory.

2. The method of claim 1, wherein the download address comprises: downloading a domain name and a resource file name of the mirror image file, wherein the resource file name is determined by a storage directory;

the domain name is: a domain name of the distributed cloud platform;

and after receiving the domain name resolver contained in the download address, providing a network protocol address of the regional warehouse containing the geographic position according to the geographic position of the client.

3. The method of claim 1, further comprising:

and generating the synchronization strategy according to the application requirement of the image file, wherein the synchronization strategy is at least used for determining the regional warehouse of the image file to be synchronized.

4. The method according to any of claims 1 to 3, wherein the client is: and the tenant is in any one regional host in the distributed cloud platform.

5. The method of claim 1, further comprising:

receiving a processing request sent by the client;

and when the processing request is an uploading request, receiving the image file uploaded by the client.

6. The method of claim 5, wherein the upload address of the image file is different from the download address.

7. An image file processing apparatus, characterized in that the method comprises:

the receiving module is used for receiving the mirror image file uploaded by the client;

the storage module is used for storing the mirror image file and determining a storage directory of the mirror image file;

the synchronization module is used for distributing the mirror image file and the storage directory to at least one regional warehouse of the distributed cloud platform according to a synchronization strategy, wherein the regional warehouse is configured in different geographic regions;

and the sending module is used for returning a download address for pulling the image file to the client according to the storage directory.

8. The apparatus of claim 7, wherein the download address comprises: downloading a domain name and a resource file name of the mirror image file, wherein the resource file name is determined by a storage directory;

the domain name is: a domain name of the distributed cloud platform;

and after receiving the domain name resolver contained in the download address, providing a network protocol address of the regional warehouse containing the geographic position according to the geographic position of the client.

9. The apparatus of claim 7, further comprising:

and the generating module is used for generating the synchronization strategy according to the application requirement of the image file, wherein the synchronization strategy is at least used for determining the regional warehouse of the image file to be synchronized.

10. The apparatus according to any one of claims 7 to 9, wherein the client is: and the tenant is in any one regional host in the distributed cloud platform.

11. The apparatus according to claim 7, wherein the receiving module is further configured to receive a processing request sent by the client; and is specifically configured to receive the image file uploaded by the client when the processing request is an upload request.

12. The apparatus of claim 11, wherein the upload address of the image file is different from the download address.

13. A network device, comprising:

a memory for storing processor-executable instructions;

a processor coupled to the memory;

wherein the processor is configured to perform the image file processing method as provided in any one of claims 1 to 6.

14. A non-transitory computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the image file processing method provided in any one of claims 1 to 6.

Technical Field

The present disclosure relates to the field of information technologies, and in particular, to a method and an apparatus for processing an image file, a network device, and a storage medium.

Background

A cloud platform is a network platform that can provide various capabilities, such as computing services and/or storage services. The distributed cloud platform comprises servers and/or warehouses which are distributed at different geographic positions, so that the nearby provision of cloud services is realized through the servers and warehouses in the geographic area.

Some enterprises or organizations have business in multiple geographic areas, and thus, various cloud services are needed in various places, for example, in different geographic areas, there is a need to pull mirror files of the same service.

Disclosure of Invention

The embodiment of the disclosure provides a method and a device for processing an image file, network equipment and a storage medium.

A first aspect of the embodiments of the present disclosure provides a method for processing an image file, where the method is executed by a master repository of a distributed cloud platform, and the method includes:

receiving a mirror image file uploaded by a client;

storing the mirror image file and determining a storage directory of the mirror image file;

distributing the mirror image file and the storage directory to at least one area warehouse of the distributed cloud platform according to a synchronization strategy, wherein different geographic areas are configured with the at least one area warehouse;

and returning a download address for pulling the image file to the client according to the storage directory.

Based on the above scheme, the download address includes: downloading a domain name and a resource file name of the mirror image file, wherein the resource file name is determined by a storage directory;

the domain name is: a domain name of the distributed cloud platform;

and after receiving the domain name resolver contained in the download address, providing a network protocol address of the regional warehouse containing the geographic position according to the geographic position of the client.

Based on the above scheme, the method further comprises:

and generating the synchronization strategy according to the application requirement of the image file, wherein the synchronization strategy is at least used for determining the regional warehouse of the image file to be synchronized.

Based on the above scheme, the client is: and the tenant is in any one regional host in the distributed cloud platform.

Based on the above scheme, the method further comprises:

receiving a processing request sent by the client;

and when the processing request is an uploading request, receiving the image file uploaded by the client.

Based on the scheme, the uploading address of the image file is different from the downloading address.

A second aspect of the embodiments of the present disclosure provides an image file processing apparatus, where the method includes:

the receiving module is used for receiving the mirror image file uploaded by the client;

the storage module is used for storing the mirror image file and determining a storage directory of the mirror image file;

the synchronization module is used for distributing the mirror image file and the storage directory to at least one regional warehouse of the distributed cloud platform according to a synchronization strategy, wherein the regional warehouse is configured in different geographic regions;

and the sending module is used for returning a download address for pulling the image file to the client according to the storage directory.

Based on the above scheme, the download address includes: downloading a domain name and a resource file name of the mirror image file, wherein the resource file name is determined by a storage directory;

the domain name is: a domain name of the distributed cloud platform;

and after receiving the domain name resolver contained in the download address, providing a network protocol address of the regional warehouse containing the geographic position according to the geographic position of the client.

Based on the above scheme, the apparatus further comprises:

and the generating module is used for generating the synchronization strategy according to the application requirement of the image file, wherein the synchronization strategy is at least used for determining the regional warehouse of the image file to be synchronized.

Based on the above scheme, the client is: and the tenant is in any one regional host in the distributed cloud platform.

Based on the above scheme, the receiving module is further configured to receive a processing request sent by the client; and is specifically configured to receive the image file uploaded by the client when the processing request is an upload request.

Based on the scheme, the uploading address of the image file is different from the downloading address.

A third aspect of the embodiments of the present disclosure provides a network device, including:

a memory for storing processor-executable instructions;

a processor coupled to the memory;

wherein the processor is configured to execute the image file processing method provided by any technical scheme of the first aspect.

A fourth aspect of the embodiments of the present disclosure provides a non-transitory computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions implement the image file processing method provided in any of the foregoing technical solutions of the first aspect.

The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:

according to the technical scheme provided by the embodiment of the disclosure, the mirror image file is directly uploaded to the main warehouse when being uploaded, and then the main warehouse is distributed to at least one regional warehouse according to the synchronization strategy. Therefore, the client does not need to upload the mirror image files to the regional warehouses respectively, uploading of the mirror image files is simplified, and errors caused by respective uploading are reduced.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.

Fig. 1 is a flowchart illustrating a method for processing an image file according to an embodiment of the present disclosure.

Fig. 2 is a schematic diagram of a distributed cloud platform and image file processing according to an embodiment of the present disclosure.

Fig. 3 is a flowchart illustrating a method for processing an image file according to an embodiment of the present disclosure.

Fig. 4 is a schematic structural diagram of an image file processing apparatus according to an embodiment of the present disclosure.

Fig. 5 is a flowchart illustrating a method for processing an image file according to an embodiment of the present disclosure.

Fig. 6 is a schematic structural diagram of a network device according to an embodiment of the present disclosure.

Detailed Description

Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.

As shown in fig. 1, an embodiment of the present disclosure provides an image file processing and sending method, which is executed by a primary repository of a distributed cloud platform, and the method includes:

s110: receiving a mirror image file uploaded by a client;

s120: storing the mirror image file and determining a storage directory of the mirror image file;

s130: distributing the mirror image file and the storage directory to at least one area warehouse of the distributed cloud platform according to a synchronization strategy, wherein different geographic areas are configured with the at least one area warehouse;

s140: and returning a download address for pulling the image file to the client according to the storage directory.

In an embodiment of the present disclosure, the image file may be an image file of a container. For example, the container of the image file includes, but is not limited to, a docker container. The Docker may be an open-source container engine, and may run several containers on one host or virtual machine, and each container may be configured with a separate virtual environment or application.

The mirror image file of the container is stored in the cloud platform, and then the mirror image file is pulled out again when the mirror image file is needed to be used by a client.

In the embodiment of the present disclosure, it is the master warehouse that receives the image file upload, and the master warehouse and the master server control the writing and reading of the file.

The client may be one or more Virtual Machines (VMs) or containers, etc. created in the cloud platform itself for the tenant to access.

After receiving the image file, the image file is stored in a certain storage directory in the main warehouse.

The storage path stored in the storage directory and the file name of the image file may be used to generate a Uniform Resource Locator (URL) for reading the image file.

In the embodiment of the present disclosure, after receiving the image file, the primary repository synchronizes the image file to one or more regional repositories connected to the primary repository.

As shown in fig. 2, the mirror repository of the distributed cloud system may include: a main warehouse and an area warehouse. The main warehouse may be a previous-layer warehouse of the regional warehouse. The number of the block warehouses can be multiple, and the area warehouses can be distributed in geographic areas to provide cloud services in different geographic areas. The plurality of regional warehouses may not be interconnected but are all connected to the main warehouse. The distributed cloud system shown in fig. 2 covers n regions, one region having at least one regional warehouse. In the distributed cloud system shown in fig. 2, zone 1 is provided with a zone 1 warehouse, zone 2 is provided with a zone 2 warehouse … …, and zone n is provided with a zone n warehouse.

For example, some enterprises or organizations have branch organizations in a plurality of geographic areas, so that cloud services of the service need to be acquired in all areas, and if the cloud services are acquired only on a cloud platform with a single hierarchical structure, the problem of slow response speed caused by too long transmission path can be caused.

In some embodiments, as shown in fig. 3, the S120 may include:

s121: determining an area warehouse of the mirror image file to be synchronized from all area warehouses of the distributed cloud platform according to the synchronization strategy;

s122: and sending the mirror image file and the storage directory to an area warehouse of the mirror image file to be synchronized.

For example, the main warehouse is assumed to face a relatively large geographic area, which is subdivided into: geographic region 1, geographic region 2, geographic region 3 through region m, etc. m is a positive integer greater than 3.

If enterprise a is a business that subscribes to cloud service B, and the business needs to use the cloud service in geographic area 1, geographic area 3, and geographic area n. The n can be any positive integer less than or equal to m.

The synchronization policy configured for the enterprise a at the primary repository at least comprises: tenant information, service information describing the service B, and area information or area warehouse information of the area 1, the geographical area 3, and the geographical area n are stored correspondingly. The tenant information may be an enterprise name such as identification information of the enterprise a or a tenant account, and uniquely identifies the enterprise a.

The service information includes, but is not limited to, at least one of:

a service identifier;

a service attribute;

a historical deployment record of the image file of the service.

For example, if the upload request of the currently uploaded image file carries the service identifier of the service related to the image file, the hit synchronization rule may be determined directly based on the service identifier.

For another example, sometimes, multiple services with the same service attribute may be targeted, and the service attributes of the multiple services may be used as query bases for hit synchronization policies.

The service attributes may include at least one of:

a type of service;

QoS of the service.

For example, when the image file of the service is deployed for the first time, the storage location of the image file of the service may be determined, and then, the area warehouse to be synchronized with the image file involved in the redeployment and update of the subsequent image file may be determined directly according to the historical deployment record.

The regional warehouse information may include: a repository identification of the regional repository. The region information may include: a location of a central address of an area identifier or a geographic area, or location information (e.g., latitude and longitude) of a geographic location where an area warehouse is located, and the like.

In S120, the main server of the main repository uses the tenant information of the enterprise a and the service information of the cloud service B as query retrieval, queries the synchronization policy, and then the synchronization rule is hit, and according to the hit synchronization rule, the regional repository knowing that the mirror image file is to be received is: regional area 1, geographic area 3, and regional warehouse for geographic area n; the image file and the storage directory are thus sent to the regional area 1, the geographic area 3, and the regional repository for geographic area n.

After the area warehouse is determined, the mirror image file and the storage directory of the mirror image file are synchronously sent to the area warehouse. Therefore, after receiving synchronization, the area warehouse determines whether the storage directory is established according to the storage directory, if the same storage directory is not established, the storage directory is established, and after the storage directory is established, the image file is stored in the established storage directory, so that synchronous storage of the same image file between the main warehouse and the area warehouse is realized.

In the embodiment of the disclosure, when the image file is uploaded, the image file is directly uploaded to the main warehouse and then is synchronized to the regional warehouses by the main warehouse, so that each regional warehouse does not need to upload the image file respectively, and therefore the image file can be uploaded completely at one time, namely, the image file is not uploaded for many times, and the method has the advantages of being simple in uploading operation, reducing the problems of errors and the like in the uploading for many times.

In the embodiment of the present disclosure, the main warehouse may determine a download address according to the storage directory, and the download address may be used by the client to pull the image file.

It is worth noting that: in the embodiment of the disclosure, the download addresses of the image files pulled by the client from different regional warehouses are the same address, so that the client can pull the image files nearby in different geographic regions by remembering one download address, thereby accelerating the downloading of the image files.

In some embodiments, the download address comprises: downloading a domain name and a resource file name of the mirror image file, wherein the resource file name is determined by a storage directory;

the download domain name is: the domain name of the distributed cloud platform and/or the shared domain name of the main warehouse and the regional warehouse for storing the image file.

After the download domain name contained in the download address is received by the domain name resolver, a network Protocol (Internet Protocol, IP) address of an area warehouse containing the geographical position is provided according to the geographical position of the client.

Illustratively, the resource being a filename includes: the storage directory and the file name of the image file are jointly composed, for example, storage directory + file name.

In one embodiment, the download domain name is a domain name of the entire distributed cloud platform, rather than a domain name of a master repository and/or a domain name of a single regional repository within a single distributed cloud platform.

Thus, after receiving a pull request of a mirror image file, the domain name resolution server returns a network Protocol (IP) address of an area warehouse of a geographic area corresponding to the position of a client sending the pull request to the client based on intelligent resolution of a downloaded domain name, so that the client pulls the mirror image file from the area warehouse which is closer to the client, download delay caused by long network download path is reduced, and response rate is improved.

In the embodiment of the disclosure, one image file stored in the distributed cloud platform corresponds to one download address, and different image files have different resource file names, but the same domain name can be used when the image files are stored in the same distributed cloud platform, so that the client only needs to manage one download address without managing a plurality of download addresses, and the distributed cloud platform has the characteristics of simple storage management and low maintenance cost of the image files.

In another embodiment, the download address of the image file may be multiple, for example, one repository storing the image file corresponds to one download address, so that if the image file is stored in multiple repositories (including a main repository and/or a regional repository), then there are multiple download addresses, a download address list may be formed, and the download address list may be returned to the client. In this case, however, the client may need to manage and maintain multiple download addresses.

In some embodiments, the method further comprises:

and generating the synchronization strategy according to the application requirement of the image file, wherein the synchronization strategy is at least used for determining the regional warehouse of the image file to be synchronized.

The generating the synchronization policy according to the application requirement of the image file may include at least one of:

when the image file is created for the first time, outputting prompt information, wherein the prompt information prompts to determine a geographic area in which the image file is to be used;

determining a geographical area of the mirror image file to be synchronized based on the input operation of the prompt message; the selected geographical area reflects the application requirement of the mirror image file;

and generating the synchronization strategy according to the geographical area of the mirror image file to be synchronized.

Illustratively, a checked dialog box of each geographic area in the distributed cloud platform is output on an uploading interface, and the geographic area of the mirror image file to be synchronized is determined according to the checking operation aiming at the dialog box.

In another embodiment, the generating the synchronization policy according to the application requirement of the image file includes:

acquiring tenant information of an uploading tenant of the image file;

determining an application requirement for applying the image file according to organization architecture information in the tenant information;

and generating the synchronization strategy according to the application requirement.

For example, a company has a company headquarters in beijing, but has branch companies in other cities, and according to the organization architecture of the company, it can know that there is an application demand for using the image file at the headquarters and branch companies of the company, so that the main server of the main warehouse can intelligently generate the synchronization policy.

In another embodiment, in some embodiments, the determining an application requirement for applying the image file according to the organizational structure information in the tenant information includes:

and determining the application requirement for applying the image file according to organization architecture information in the tenant information and responsibility range information of each organization.

In some embodiments, the client is: and the tenant is in any one regional host in the distributed cloud platform. For example, the client may be: a Virtual Machine (VM) running within a distributed cloud platform.

In some embodiments, the method further comprises:

receiving a processing request sent by the client;

and when the processing request is an uploading request, receiving the image file uploaded by the client.

The processing request includes, but is not limited to:

an upload request and/or a pull request (also referred to as a download request). The upload request may include: an initial upload of the image file and/or an updated upload of the image file.

In some embodiments, after determining that the request is an upload request of the image file, the regional server may directly submit the upload request to a main server of the main repository, and the main server responds to the upload request, directly receives the uploaded image file from the client, and then distributes the image file to each regional repository according to a synchronization policy.

In some embodiments, the upload address of the upload request is an upload address for uploading the image file to a main repository, wherein the upload address is different from the download address.

In the embodiment of the disclosure, the upload address is different from the download address, the upload address is the address of the main warehouse, the download address includes the domain name and the resource file name, and the upload address and the download address are only one, which is convenient for the tenant to maintain.

As shown in fig. 4, an embodiment of the present disclosure provides an image file processing apparatus, where the method includes:

a receiving module 110, configured to receive an image file uploaded by a client;

a storage module 120, configured to store the image file and determine a storage directory of the image file;

a synchronization module 130, configured to distribute the image file and the storage directory to at least one area warehouse of the distributed cloud platform according to a synchronization policy, where at least one area warehouse is configured in different geographic areas;

and the sending module 140 is configured to return a download address for pulling the image file to the client according to the storage directory.

In some embodiments, the receiving module 110, the storing module 120, the synchronizing module 130, and the sending module 140 may all be program modules; after being executed by the processor, the program module can receive the image file uploaded by the client, store and determine the storage directory of the image file, and distribute the storage directory and the image file to at least one regional warehouse based on a synchronization strategy, so that the regional warehouse can conveniently provide cloud service nearby.

In another embodiment, the receiving module 110, the storing module 120, the synchronizing module 130 and the sending module 140 may be all hardware and software combined modules; the soft and hard combining module comprises but is not limited to various programmable arrays; the programmable array may include: complex programmable arrays and/or field programmable arrays.

In still other embodiments, the receiving module 110, the storing module 120, the synchronizing module 130, and the sending module 140 may comprise hardware-only modules; the pure hardware modules include, but are not limited to: an application specific integrated circuit.

In some embodiments, the download address comprises: downloading a domain name and a resource file name of the mirror image file, wherein the resource file name is determined by a storage directory;

the domain name is: a domain name of the distributed cloud platform;

and after receiving the domain name resolver contained in the download address, providing a network protocol address of the regional warehouse containing the geographic position according to the geographic position of the client.

In some embodiments, the apparatus further comprises:

and the generating module is used for generating the synchronization strategy according to the application requirement of the image file, wherein the synchronization strategy is at least used for determining the regional warehouse of the image file to be synchronized.

In some embodiments, the client is: and the tenant is in any one regional host in the distributed cloud platform.

In some embodiments, the receiving module 110 is further configured to receive a processing request sent by the client; and is specifically configured to receive the image file uploaded by the client when the processing request is an upload request.

In some embodiments, the upload address of the image file is different from the download address. The embodiment of the disclosure provides a method and a system for accelerating image downloading aiming at multi-region unified uploading, and solves the problems of inconsistent downloading addresses of image files and slow cross-region image file downloading.

The embodiment of the present disclosure provides an image file processing method, which may include:

when the mirror image files are pushed, the mirror image files are uniformly pushed to a main warehouse; and after receiving the pushed image file, the main warehouse stores the image file and determines a storage directory.

And the main warehouse automatically synchronizes the newly uploaded mirror image files to the regional warehouses.

And when the client sides in different areas pull the image files, the same download address is used for pulling the image files nearby from the corresponding area warehouse.

Therefore, for the client, the image file only needs to be uploaded once and is distributed in a plurality of storehouses of the distributed cloud platform.

The image file is pulled nearby, so that the downloading speed is high.

Each image file only needs to be synchronized once across regions, and the traffic cost across regions is reduced.

The services in different areas use the same download address to pull the mirror image file, so that unified maintenance is facilitated.

The embodiment of the disclosure provides a method and a system for accelerating mirror image downloading aiming at multi-region unified uploading. So as to provide an efficient system for storing and using images.

In order to achieve the purpose, the invention adopts the following technical scheme:

the mirror image address uses 2 domain names, which are respectively corresponding to an uploading domain name and a pulling domain name. The uploaded domain name is the domain name of the main warehouse, and after receiving the uploaded domain name, the domain name server returns the IP address of the main warehouse to the client side after continuing to upload the domain name. The pull domain name is also called a download domain name. The download domain name is: and domain names of the whole distributed cloud platform. . The pull domain name corresponds to an IP address of each repository and/or server within the distributed cloud platform. And the domain name server receives the pull domain name, returns the IP address of the main warehouse or the regional warehouse closest to the sending end according to the position of the sending end requesting to download the image file, so that the sending end can download the image file, and the pull rate of the image file is ensured.

When the mirror image file is uploaded, the domain name of the uploading address of the uploaded mirror image file points to the main warehouse;

after the mirror image file is uploaded to the main warehouse, the mirror image file is automatically synchronized to each regional warehouse through a synchronization strategy configured in the main warehouse;

the Domain Name is resolved regionally by a Domain Name System (DNS), and the Domain Name of the pull address of the image file is resolved into the IP address of the warehouse of each region.

If different cloud manufacturers are in the same region, the cloud manufacturers can be resolved into different IP addresses through an intranet DNS;

and when the mirror image file is pulled, the mirror image file is pulled nearby from the regional warehouse of each region.

An embodiment of the present disclosure provides a network device, including:

a memory for storing processor-executable instructions;

the processors are respectively connected with the memories;

wherein the processor is configured to execute the image file processing method provided by any of the foregoing technical solutions by executing the computer-executable instructions stored on the memory.

The processor may include various types of storage media, which are non-transitory computer storage media capable of continuing to remember the information stored thereon after power has been removed from the mobile terminal.

The processor may be connected to the memory via a bus or the like for reading an executable program stored on the memory, e.g. at least one of the methods as shown in any of fig. 1, fig. 2, fig. 3 and fig. 5.

The network device may be an electronic device corresponding to the aforementioned main repository. As shown in fig. 6, an embodiment of the present disclosure illustrates a structure of a network device. Referring to fig. 6, the network device includes a processing component 922, which further includes one or more processors, and memory resources, represented by memory 932, for storing instructions, such as applications, that are executable by the processing component 922. The application programs stored in memory 932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 922 is configured to execute instructions to perform any of the methods described above as applied to the base station, e.g., the methods shown in fig. 2-3.

The network device may also include a power component 926 configured to perform power management of the network device, a wired or wireless network interface 950 configured to connect the network device to a network, and an input output (I/O) interface 958. The network device may operate based on an operating system stored in memory 932, such as Windows Server (TM), Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.

In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the mobile terminal 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

The embodiment of the present disclosure provides a non-transitory computer-readable storage medium, and when instructions in the storage medium are executed by a processor of a mobile terminal, the instructions enable the mobile terminal to execute the image file processing method provided in any of the foregoing embodiments, and to execute at least one of the methods shown in any of fig. 1, fig. 2, fig. 3, and fig. 5.

Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于互联网的智慧水务智能管理系统及其应用

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类