Management method, device and equipment for LOGO of virtualized product

文档序号:1816099 发布日期:2021-11-09 浏览:6次 中文

阅读说明:本技术 一种虚拟化产品logo的管理方法、装置及设备 (Management method, device and equipment for LOGO of virtualized product ) 是由 苏道恒 朱道昌 于 2021-06-30 设计创作,主要内容包括:本申请公开了一种虚拟化产品LOGO的管理方法、装置及设备,该方法包括:首先按照预设图像格式,向服务器端上传目标图像,以便服务器端将目标图像复制到预设文件夹中,然后,当目标图像作为第一幅LOGO图像上传时,在接收到目标图像上传成功的指示后,将页面中LOGO图像位置对应的路径修改为目标图像在预设文件夹中的文件名,或者,当目标图像不是作为第一幅LOGO图像上传时,在接收到目标图像上传成功的指示后,将页面中LOGO图像位置的路径修改为目标图像在预设文件夹中的文件名与目标图像唯一标识的拼接,以实现对虚拟化产品LOGO的更新。从而能够实现虚拟化产品中LOGO的统一管理、灵活更换、实时更新等,进而有助于提升产品的易用性及用户的认同感。(The application discloses a management method, a device and equipment of a virtualization product LOGO, wherein the method comprises the following steps: firstly uploading a target image to a server side according to a preset image format so that the server side can copy the target image into a preset folder, then modifying a path corresponding to the position of the LOGO image in a page into the file name of the target image in the preset folder after receiving an indication that the target image is uploaded successfully when the target image is uploaded as a first LOGO image, or modifying the path of the position of the LOGO image in the page into the splicing of the file name of the target image in the preset folder and the unique identifier of the target image after receiving the indication that the target image is uploaded successfully when the target image is not uploaded as the first LOGO image, so as to update the LOGO of a virtualized product. Therefore, unified management, flexible replacement, real-time updating and the like of LOGO in a virtualized product can be realized, and the usability of the product and the recognition of users can be further promoted.)

1. A management method for a virtualization product LOGO is characterized by comprising the following steps:

uploading a target image to a server according to a preset image format so that the server copies the target image into a preset folder;

when the target image is uploaded as a first LOGO image, after an indication that the target image is uploaded successfully is received, a path corresponding to the position of the LOGO image in a page is modified into the file name of the target image in the preset folder;

when the target image is not uploaded as a first LOGO image, after an indication that the target image is uploaded successfully is received, the path of the position of the LOGO image in the page is modified into the splicing of the file name of the target image in the preset folder and the unique identifier of the target image, so that the LOGO of a virtualized product is updated.

2. The method of claim 1, wherein after said implementing the update to the virtualized product LOGO, the method further comprises:

receiving request information of a LOGO image in a recovery initialization state;

and modifying the path of the LOGO image position in the page into an initial default file name and a file extension name according to the request information.

3. The method of claim 1, further comprising:

and adding a preset prefix in front of the picture name of the target image to serve as the identifier of the target image.

4. The method of claim 1, wherein the target image unique identifier comprises a timestamp or a random number.

5. A management device for a virtualized product LOGO, comprising:

the uploading unit is used for uploading a target image to the server according to a preset image format so that the server can copy the target image into a preset folder;

the first modification unit is used for modifying a path corresponding to the position of the LOGO image in a page into the file name of the target image in the preset folder after receiving an indication that the target image is successfully uploaded when the target image is uploaded as a first LOGO image;

and the second modification unit is used for modifying the path of the LOGO image position in the page into the splicing of the file name of the target image in the preset folder and the unique identifier of the target image after receiving the indication that the target image is successfully uploaded when the target image is not uploaded as the first LOGO image, so as to realize the update of the LOGO of the virtualized product.

6. The apparatus of claim 5, further comprising:

a receiving unit, configured to receive request information for restoring a LOGO image in an initialized state;

and the third modifying unit is used for modifying the path of the LOGO image position in the page into an initial default file name and a file extension name according to the request information.

7. The apparatus of claim 5, further comprising:

and the adding unit is used for adding a preset prefix in front of the picture name of the target image to be used as the identifier of the target image.

8. The apparatus of claim 5, wherein the target image unique identifier comprises a timestamp or a random number.

9. A management device of a virtualized product LOGO, comprising: a processor, a memory, a system bus;

the processor and the memory are connected through the system bus;

the memory is to store one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the method of any of claims 1-4.

10. A computer-readable storage medium having stored therein instructions that, when executed on a terminal device, cause the terminal device to perform the method of any one of claims 1-4.

Technical Field

The application relates to the technical field of computers, in particular to a management method, device and equipment of a virtualization product LOGO.

Background

Along with the rapid development of virtualized products, products in the same industry compete more and more fiercely, and the innovation of differentiated characteristic functions is more and more important for propaganda of product selling points. Among them, a trademark/LOGO (LOGO) is very important as an important mark of a product.

LOGO is used as a unique media symbol and becomes a visual culture language for spreading special information. The purpose of identifying the identified body is realized from ancient complicated European logos and Chinese dragon languages to modern scouring abstract patterns, simple word marks and the like, namely, the communication and the communication between the identified body and the object are promoted by identifying, distinguishing, inducing association and enhancing memory of the identification, so that the identified body is established and kept to be recognized and identified, and the effects of efficiently improving the cognition degree and the reputation degree are achieved. In the development of the modern times, a LOGO product combines the functions of the LOGO product, presents various styles for people and plays the same role. Therefore, how to realize the intelligent management of the LOGO of the virtualized product to improve the usability of the product and the user's sense of identity is a problem to be solved urgently.

Disclosure of Invention

The embodiment of the application mainly aims to provide a management method, a management device and management equipment for a virtualized product LOGO, which can realize unified management, flexible replacement, real-time update and one-key recovery of the LOGO in the virtualized product, and further contribute to improving the usability of the product and the sense of identity of users.

In a first aspect, an embodiment of the present application provides a management method for a virtualized product LOGO, including:

uploading a target image to a server according to a preset image format so that the server copies the target image into a preset folder;

when the target image is uploaded as a first LOGO image, after an indication that the target image is uploaded successfully is received, a path corresponding to the position of the LOGO image in a page is modified into the file name of the target image in the preset folder;

when the target image is not uploaded as a first LOGO image, after an indication that the target image is uploaded successfully is received, the path of the position of the LOGO image in the page is modified into the splicing of the file name of the target image in the preset folder and the unique identifier of the target image, so that the LOGO of a virtualized product is updated.

Optionally, after the update of the virtualized product LOGO is implemented, the method further includes:

receiving request information of a LOGO image in a recovery initialization state;

and modifying the path of the LOGO image position in the page into an initial default file name and a file extension name according to the request information.

Optionally, the method further includes:

and adding a preset prefix in front of the picture name of the target image to serve as the identifier of the target image.

Optionally, the target image unique identifier includes a time stamp or a random number.

In a second aspect, an embodiment of the present application further provides a management apparatus for a virtualized product LOGO, including:

the uploading unit is used for uploading a target image to the server according to a preset image format so that the server can copy the target image into a preset folder;

the first modification unit is used for modifying a path corresponding to the position of the LOGO image in a page into the file name of the target image in the preset folder after receiving an indication that the target image is successfully uploaded when the target image is uploaded as a first LOGO image;

and the second modification unit is used for modifying the path of the LOGO image position in the page into the splicing of the file name of the target image in the preset folder and the unique identifier of the target image after receiving the indication that the target image is successfully uploaded when the target image is not uploaded as the first LOGO image, so as to realize the update of the LOGO of the virtualized product.

Optionally, the apparatus further comprises:

a receiving unit, configured to receive request information for restoring a LOGO image in an initialized state;

and the third modifying unit is used for modifying the path of the LOGO image position in the page into an initial default file name and a file extension name according to the request information.

Optionally, the apparatus further comprises:

and the adding unit is used for adding a preset prefix in front of the picture name of the target image to be used as the identifier of the target image.

Optionally, the target image unique identifier includes a time stamp or a random number.

The embodiment of the present application further provides a management device for a virtualized product LOGO, including: a processor, a memory, a system bus;

the processor and the memory are connected through the system bus;

the memory is used for storing one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform any one of the implementations of the management method of the virtualization product LOGO described above.

An embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a terminal device, the terminal device is enabled to execute any implementation manner of the management method for a virtualized product LOGO.

According to the management method, device and equipment for the LOGO of the virtualization product, firstly, a target image is uploaded to a server side according to a preset image format, so that the server side can copy the target image into a preset folder, then, when the target image is uploaded as a first LOGO image, after an indication that the target image is uploaded successfully is received, a path corresponding to the position of the LOGO image in a page is modified into a file name of the target image in the preset folder, or when the target image is not uploaded as the first LOGO image, after an indication that the target image is uploaded successfully is received, the path of the position of the LOGO image in the page is modified into a splicing mode that the file name of the target image in the preset folder is spliced with a unique identifier of the target image, and therefore the LOGO of the virtualization product is updated. Therefore, unified management, flexible replacement, real-time updating and the like of LOGO in a virtualized product can be realized, and the usability of the product and the recognition of users can be further promoted.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

Fig. 1 is a schematic flowchart of a management method for a virtualized product LOGO according to an embodiment of the present disclosure;

fig. 2 is a schematic composition diagram of a management device for a virtualized product LOGO according to an embodiment of the present disclosure.

Detailed Description

Along with the rapid development of virtualized products, products in the same industry compete more and more fiercely, and the innovation of differentiated characteristic functions is more and more important for propaganda of product selling points. How to realize the intelligent management of the LOGO of a virtualized product to improve the usability of the product and the sense of identity of users is a problem to be solved urgently at present.

In order to solve the above defect, an embodiment of the present application provides a management method for a virtualized product LOGO, where a target image is uploaded to a server according to a preset image format, so that the server copies the target image into a preset folder, and then, when the target image is uploaded as a first LOGO image, after receiving an indication that the target image is uploaded successfully, a path corresponding to a location of the LOGO image in a page is modified to a filename of the target image in the preset folder, or, when the target image is not uploaded as the first LOGO image, after receiving an indication that the target image is uploaded successfully, the path of the location of the LOGO image in the page is modified to a concatenation of the filename of the target image in the preset folder and a unique identifier of the target image, so as to update the virtualized product LOGO. Therefore, unified management, flexible replacement, real-time updating and the like of LOGO in a virtualized product can be realized, and the usability of the product and the recognition of users can be further promoted.

In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

First embodiment

Referring to fig. 1, a schematic flow chart of a management method for a virtualized product LOGO provided in this embodiment is shown, where the method includes the following steps:

s101: and uploading the target image to the server according to a preset image format so that the server copies the target image into a preset folder.

In this embodiment, any image managed as a virtualization product LOGO by this embodiment is defined as a target image. It should be noted that the present embodiment does not limit the type of the image to be detected, for example, the image to be detected may be a color image composed of three primary colors of red (G), green (G), and blue (B), or may be a grayscale image.

In order to realize intelligent management of the LOGO of the virtualized product, the target image is uploaded to the server according to the preset image format, so that the server copies the target image into the preset folder for executing the subsequent step S102.

Specifically, in order to adapt to the display page of LOGO, it is necessary to set in advance a format that the target image needs to satisfy, for example, to restrict the format and size of the target image, etc., to prevent errors from occurring due to different cases of file names, etc. When the target image is sent to the server again, the target image needs to be renamed, and a name and a format extension are fixed, for example: log 1. png.

And a centralized storage module at the server side creates a folder as a preset folder in advance, copies the default image into the folder when packaging the project, and adds a prefix, such as default _ logo. Meanwhile, the target image file uploaded by the user through step S101 is also saved in this file for execution of the subsequent step S102 or S103.

S102: when the target image is uploaded as a first LOGO image, after an indication that the target image is uploaded successfully is received, a path corresponding to the position of the LOGO image in the page is modified into a file name of the target image in a preset folder.

In this embodiment, after the target image is uploaded to the server side in the preset image format in step S101, further, when the target image is uploaded as the first LOGO image, after receiving an indication that the target image is uploaded successfully, a path corresponding to a location of the LOGO image in the page is modified to a filename of the target image in the preset folder, that is, the target image is used as a virtualized product LOGO.

S103: when the target image is not uploaded as the first LOGO image, after an indication that the target image is uploaded successfully is received, the path of the LOGO image position in the page is modified into the splicing of the file name of the target image in the preset folder and the unique target image identifier, so that the LOGO of the virtualized product is updated.

In this embodiment, after the target image is uploaded to the server side in the preset image format in step S101, further, when the target image is not uploaded as the first LOGO image, since the picture is not updated due to the fact that the file name is the same as the cache problem of the browser, after receiving the indication that the target image is uploaded successfully, the path of the LOGO image position in the page needs to be modified to be the concatenation of the file name of the target image in the preset folder and the unique identifier of the target image, so as to update the LOGO of the virtualized product, that is, the target image is used as the LOGO of the virtualized product.

In an alternative implementation, the target image unique identifier may include a timestamp or a random number to distinguish the target image from other images.

That is, after the target image is uploaded successfully and the signal of successful uploading is received, the path of the picture file corresponding to the page may be changed to the file name after uploading. If the user uploads for the first time, the file name is directly changed to realize updating, if the file name is not uploaded for the first time, the picture is not updated due to the fact that the file name is the same as the cache problem of the browser, and therefore the time stamp needs to be spliced at the last of the file path of the page picture, so that the image file serving as a virtualization product LOGO can be obtained from a short preset folder of the server every time.

Further, an optional implementation manner is that, when a user has a LOGO or an image file requirement for using a virtualized product, after updating the LOGO of the virtualized product by using a target image, request information for recovering the LOGO image in an initialized state may be received, and according to the request information, a path of a LOGO image position in a page is modified into an initial default file name and a file extension name. For example, when a user has a LOGO or a picture file requirement for using a virtualized product, the user may select a picture file that wants to restore an initialized state, and click a restore default button, and at this time, a corresponding picture file path is modified to [ default _ ] + [ filename ] [ file extension ].

In this way, by executing the above steps S101 to S103, the LOGO images in the virtualized product can be managed centrally and flexibly, and the user can freely change the part of LOGO or picture files allowed to be customized, and at the same time, the user can restore the initial states of the LOGO image files, thereby making the virtualized product more personalized and diversified.

In summary, according to the management method for the LOGO of the virtualized product provided in this embodiment, first, according to a preset image format, a target image is uploaded to a server, so that the server copies the target image into a preset folder, and then, when the target image is uploaded as a first LOGO image, after receiving an instruction that the target image is uploaded successfully, a path corresponding to a LOGO image position in a page is modified into a file name of the target image in the preset folder, or, when the target image is not uploaded as the first LOGO image, after receiving an instruction that the target image is uploaded successfully, the path of the LOGO image position in the page is modified into a concatenation of the file name of the target image in the preset folder and the unique LOGO of the target image, so as to update the LOGO of the virtualized product. Therefore, unified management, flexible replacement, real-time updating and the like of LOGO in a virtualized product can be realized, and the usability of the product and the recognition of users can be further promoted.

Second embodiment

In this embodiment, a management apparatus for a virtualized product LOGO will be described, and please refer to the above method embodiment for related content.

Referring to fig. 2, a schematic composition diagram of a management device for a virtualized product LOGO provided in this embodiment is shown, where the device includes:

the uploading unit 201 is configured to upload a target image to a server according to a preset image format, so that the server copies the target image into a preset folder;

a first modifying unit 202, configured to modify, when the target image is uploaded as a first LOGO image, a path corresponding to a location of the LOGO image in a page to a filename of the target image in the preset folder after receiving an indication that the target image is successfully uploaded;

and the second modifying unit 203 is configured to modify, when the target image is not uploaded as the first LOGO image, a path of a LOGO image position in the page to be a concatenation of a filename of the target image in the preset folder and the unique identifier of the target image after receiving an indication that the target image is successfully uploaded, so as to update the LOGO of the virtualized product.

In an implementation manner of this embodiment, the apparatus further includes:

a receiving unit, configured to receive request information for restoring a LOGO image in an initialized state;

and the third modifying unit is used for modifying the path of the LOGO image position in the page into an initial default file name and a file extension name according to the request information.

In an implementation manner of this embodiment, the apparatus further includes:

and the adding unit is used for adding a preset prefix in front of the picture name of the target image to be used as the identifier of the target image.

In one implementation manner of this embodiment, the target image unique identifier includes a timestamp or a random number.

In summary, according to the management device for the virtualized product LOGO provided in this embodiment, first, according to a preset image format, a target image is uploaded to a server, so that the server copies the target image into a preset folder, and then, when the target image is uploaded as a first LOGO image, after receiving an instruction that the target image is uploaded successfully, a path corresponding to a location of the LOGO image in a page is modified into a filename of the target image in the preset folder, or, when the target image is not uploaded as the first LOGO image, after receiving an instruction that the target image is uploaded successfully, the path of the location of the LOGO image in the page is modified into a concatenation of the filename of the target image in the preset folder and a unique identifier of the target image, so as to update the virtualized product LOGO. Therefore, unified management, flexible replacement, real-time updating and the like of LOGO in a virtualized product can be realized, and the usability of the product and the recognition of users can be further promoted.

Further, an embodiment of the present application further provides a management device for a virtualized product LOGO, including: a processor, a memory, a system bus;

the processor and the memory are connected through the system bus;

the memory is used for storing one or more programs, the one or more programs comprising instructions which, when executed by the processor, cause the processor to carry out any implementation of the above-mentioned management method of the virtualization product LOGO.

Further, an embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a terminal device, the instructions cause the terminal device to execute any implementation method of the management method for a virtualized product LOGO.

As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.

It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.

It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种多人共享的照片存储方法、装置以及设备

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!