CN117710525A - Label image generation method, information transmission method, device, equipment and medium - Google Patents

Label image generation method, information transmission method, device, equipment and medium Download PDF

Info

Publication number
CN117710525A
CN117710525A CN202311634146.7A CN202311634146A CN117710525A CN 117710525 A CN117710525 A CN 117710525A CN 202311634146 A CN202311634146 A CN 202311634146A CN 117710525 A CN117710525 A CN 117710525A
Authority
CN
China
Prior art keywords
image
information
original image
tag
link
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
CN202311634146.7A
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202311634146.7A priority Critical patent/CN117710525A/en
Publication of CN117710525A publication Critical patent/CN117710525A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the disclosure discloses a tag image generation method, an information transmission method, a device, equipment and a medium. One embodiment of the method comprises the following steps: acquiring an image loading link sent by a target server; responding to determining that the image loading link representation corresponds to the original image to carry out marking processing, and obtaining image marking information aiming at the original image; analyzing the image marking information to generate tag information and tag layout parameter information; and adding the label information to the original image according to the label layout parameter information to generate a label image. The embodiment is related to image processing, and the original image can be labeled efficiently and quickly on the premise of wasting less equipment resources so as to generate a label image.

Description

Label image generation method, information transmission method, device, equipment and medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a tag image generation method, an information transmission device, equipment and a medium.
Background
Currently, an image is used as a display mode of an article, and in order to make a relevant user pay more attention to the article, the image of the article is usually subjected to a labeling process. For labeling of an image of an article, the following methods are generally adopted: the server synthesizes the label image corresponding to the original image by utilizing the label template which is generated in advance.
However, the inventors have found that when the tag image is generated in the above manner, there are often the following technical problems:
the method of generating a label image based on a label template is relatively inflexible and requires different label templates to be designed for different labeling modes. In addition, the server side may have a problem of high performance consumption and a problem of limitation of synthesis resources when synthesizing the label image by using the label template.
The above information disclosed in this background section is only for enhancement of understanding of the background of the inventive concept and, therefore, may contain information that does not form the prior art that is already known to those of ordinary skill in the art in this country.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a tag image generation method, an information transmission method, an apparatus, a device, and a medium to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a tag image generating method, including: acquiring an image loading link sent by a target server; in response to determining that the image loading link representation corresponds to the original image, performing marking processing, and acquiring image marking information aiming at the original image; analyzing the image marking information to generate tag information and tag layout parameter information; and adding the label information to the original image according to the label layout parameter information to generate a label image.
Optionally, before the labeling processing is performed on the corresponding original image in response to determining that the image loading link represents the original image, the method further includes: determining whether a tag separator exists in the image loading link; in response to determining that the tag separator is present, determining information is generated that characterizes the original image for the tagging process.
Optionally, the acquiring the image marking information for the original image includes: and carrying out link analysis on the image loading link according to the label separator so as to generate the image marking information.
Optionally, the image loading link further includes: linking original images; and before the image loading link representation corresponding to the original image is determined to be labeled, the method further comprises the following steps: according to the label separator, the original image link is analyzed from the image loading link; and acquiring the original image corresponding to the original image link.
In a second aspect, some embodiments of the present disclosure provide a tag image generating apparatus including: the first acquisition unit is configured to acquire an image loading link sent by the target server; a second obtaining unit configured to obtain image marking information for an original image in response to determining that the image loading link representation corresponds to the original image; the analysis processing unit is configured to analyze the image marking information so as to generate tag information and tag layout parameter information; and an adding unit configured to add the tag information to the original image according to the tag layout parameter information to generate a tag image.
Optionally, the steps further include: determining whether a tag separator exists in the image loading link; in response to determining that the tag separator is present, determining information is generated that characterizes the original image for the tagging process.
Alternatively, the second acquisition unit may be configured to: and carrying out link analysis on the image loading link according to the label separator so as to generate the image marking information.
Optionally, the image loading link further includes: linking original images; the method further comprises the following steps: according to the label separator, the original image link is analyzed from the image loading link; and acquiring the original image corresponding to the original image link.
In a third aspect, some embodiments of the present disclosure provide an information transmission method, including: configuring tag information and tag layout parameter information for an original image; generating image marking information for the tag information and the tag layout parameter information; generating an image loading link according to the image marking information and an original image link corresponding to the original image; and sending the image loading information to a target client, wherein the image loading information comprises the image loading link.
Optionally, the generating an image loading link according to the image marking information and the original image link corresponding to the original image includes: and in response to determining that the sending mode of the image marking information is the target sending mode, information stitching the image marking information, the label separator and the original image link to generate the image loading link.
In a fourth aspect, some embodiments of the present disclosure provide an information transmitting apparatus including: a configuration unit configured to configure tag information and tag layout parameter information for an original image; a first generation unit configured to generate image marking information for the tag information and the tag layout parameter information; a second generation unit configured to generate an image loading link according to the image marking information and an original image link corresponding to the original image; and a transmitting unit configured to transmit image loading information to a target client, wherein the image loading information includes the image loading link.
Alternatively, the second generating unit may be configured to: and in response to determining that the sending mode of the image marking information is the target sending mode, information stitching the image marking information, the label separator and the original image link to generate the image loading link.
In a fifth aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method as described in any of the implementations of the first and third aspects.
In a sixth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program when executed by a processor implements a method as described in any of the implementations of the first and third aspects.
In a seventh aspect, some embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, implements the method described in any one of the implementations of the first and third aspects above.
The above embodiments of the present disclosure have the following advantageous effects: by the label image generation method, the original image can be labeled efficiently and rapidly on the premise of wasting less equipment resources, so that the label image can be generated. Specifically, the reason for the related label image being inefficient and wasting more device resources is that: the method of generating a label image based on a label template is relatively inflexible and requires different label templates to be designed for different labeling modes. In addition, the server side may have a problem of high performance consumption and a problem of limitation of synthesis resources when synthesizing the label image by using the label template. Based on this, in the tag image generating method according to some embodiments of the present disclosure, first, an image loading link sent by a target server is obtained, so as to determine whether an original image corresponding to the image loading link needs to be subjected to a tagging process. Here, it is effectively determined whether the image needs to be labeled by the form of the link. Then, in response to determining that the image loading link representation corresponds to the original image, performing marking processing, and obtaining image marking information for the original image for later determining how to perform marking processing on the original image. Then, the image marking information is analyzed to generate label information and label layout parameter information. Here, through the analysis of the image marking information, the relevant information of how to label the original image can be accurately obtained, so that the original image is accurately labeled. Finally, according to the tag layout parameter information, the tag information can be accurately added to the original image to generate a tag image. In summary, without designing a label template, the client can effectively determine whether to label the original image on the basis of linking through image loading. On the premise of determining to label, the client analyzes the obtained image marking information, so that the user can fully know how to label the original image, and the client can label the original image efficiently and rapidly on the premise of wasting less equipment resources to generate a label image.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a schematic illustration of one application scenario of a label image generation method according to some embodiments of the present disclosure;
FIG. 2 is a flow chart of some embodiments of a tag image generation method according to the present disclosure;
FIG. 3 is a flow chart of further embodiments of a label image generation method according to the present disclosure;
FIG. 4 is a flow chart of some embodiments of an information generation method according to the present disclosure;
FIG. 5 is a schematic structural view of some embodiments of a label image generating apparatus according to the present disclosure;
FIG. 6 is a schematic structural diagram of some embodiments of an information generating device according to the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Operations such as collection, storage, use, etc. of information (e.g., image loading links) involved in the present disclosure involve the relevant organization or individual being up to the end of obligations including developing assessment of information security impact, fulfilling informed obligations to information subjects, soliciting authorized consent from information subjects in advance, etc., before performing the corresponding operations.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of one application scenario of a label image generation method according to some embodiments of the present disclosure.
In the application scenario of fig. 1, first, the client 101 may acquire the image loading link 103 sent by the target server 102. In the present application scenario, the image loading link 103 may be "http:// asd.sds# # tagconfid= {" taye ":"0"," wh ":"40 x 39"," http ": "jsjdjsjdsaw". Then, in response to determining that the image loading link 103 characterizes the corresponding original image 107 for the tagging process, the client 101 may obtain image tagging information 104 for the original image 107. In the present application scenario, the image marking information 104 may be "taye" to "0", "wh" to "40×39", "http": "jsjdsjdsaw". Then, the client 101 may perform parsing processing on the image marking information 104 to generate tag information 106 and tag layout parameter information 105. In this application scenario, the tag information 106 may be "xprogram activity". The label layout parameter information 105 may be "taye" to "0" and "wh" to "40 x 39". Finally, the client 101 may add the tag information 106 to the original image 107 according to the tag layout parameter information 105 to generate a tag image 108.
The client 101 may be hardware or software. When the client is hardware, the client may be implemented as a distributed cluster formed by a plurality of servers or terminal devices, or may be implemented as a single server or a single terminal device. When the client is embodied as software, it may be installed in the above-listed hardware device. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
It should be understood that the number of clients in fig. 1 is merely illustrative. There may be any number of clients, as desired for the implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of a label image generation method according to the present disclosure is shown. The label image generation method comprises the following steps:
step 201, obtaining an image loading link sent by a target server.
In some embodiments, the execution body of the tag image generating method (for example, the client 101 shown in fig. 1) may acquire the image loading link sent by the target server through a wired connection manner or a wireless connection manner. The target server may be a server that generates an image loading link. The image loading link may be a link to be image loaded. Specifically, the image loading link may be a loading link for an original image. In practice, the image loading link may be a link to which image marking information is added, or may be a link to which image marking information is not added.
For a specific service scene, when the execution subject corresponds to the target application loading image, an image loading link sent by the target server side can be obtained.
Specifically, through hook technology, unified replacement of the parent class of the picture control is realized when the target application is constructed and packaged, so that acquisition of the image loading link and subsequent generation of the loading image are realized.
Step 202, in response to determining that the image loading link representation corresponds to the original image, performing marking processing, and obtaining image marking information for the original image.
In some embodiments, in response to determining that the image loading link representation corresponds to an original image for a tagging process, the executing entity may obtain image tagging information for the original image. Wherein the original image may be an original image without any image modification. The labelling process may be a labelling process for an image. In particular, the tag may be specifically set for an actual business scenario. For example, for an electronic market scenario, the label may be "holiday promotion," or "9-fold promotion," or "anniversary celebration. The image marking information may be information related to marking the image. In practice, the image marking information includes: information related to the tag information and information related to the tag layout parameter information. For example, the information related to characterizing tag information may be a tag identification. The information related to the tag layout parameter information may be a tag layout parameter identification. The tag information may be tag content to be subjected to a labeling process. In practice, the tag information may be various forms of information. For example, the tag information may be information in the form of a pattern, or may be information in the form of text. The tag layout parameter information may be parameter information corresponding to at least one tag layout parameter. The tag layout parameters characterize the layout of tag information in the original image. In practice, the at least one tag layout parameter may include, but is not limited to, at least one of: the label type, the label alignment mode, the label alignment margin, the label identification, the label link and the label effective time.
As an example, the execution subject may directly obtain the image marking information sent by the target server. I.e. the image marking information may be generated by the target server.
In practice, when the parameter value of the last parameter of the link parameters corresponding to the image loading links is 1, the corresponding original image is characterized to be labeled. Likewise, when the parameter value of the last parameter of the link parameters corresponding to the image loading links is 0, the corresponding original image is characterized as not being labeled.
In some optional implementations of some embodiments, the image loading link further includes: the original images are linked. The original image link may be a link corresponding to the original image. The client can acquire the original image through the original image link.
Optionally, before step 202, the steps further include:
first, according to the label separator, the original image link is analyzed from the image loading link. The tag separator may be an identifier that divides the original image link and the image marking information.
In practice, the label separator may be the original image link to the left and the image marking information to the right.
As an example, the above-described execution subject may determine the link information of the target relative position corresponding to the tag separator as the original image link.
And a second step of acquiring the original image corresponding to the original image link.
And 203, analyzing the image marking information to generate tag information and tag layout parameter information.
In some embodiments, the execution body may perform parsing processing on the image marking information to generate tag information and tag layout parameter information.
As an example, first, the above-described execution subject may parse link sub-information related to tag content and link sub-information related to tag layout parameters from the image marking information by regularization expressions as first link sub-information and second link sub-information, respectively. Then, the link content corresponding to the first link sub-information is determined as tag information, and the parameter content corresponding to the second link sub-information is determined as tag layout parameter information.
Step 204, adding the label information to the original image according to the label layout parameter information to generate a label image.
In some embodiments, the execution body may add the tag information to the original image according to the tag layout parameter information to generate a tag image. Wherein the label image may be an image of which the original image carries label information.
As an example, first, the above-described execution subject may superimpose tag information to a corresponding position in the original image according to the tag layout parameter information. Then, the original image and the tag information are fused to generate a fused image as a tag image.
The above embodiments of the present disclosure have the following advantageous effects: by the label image generation method, the original image can be labeled efficiently and rapidly on the premise of wasting less equipment resources, so that the label image can be generated. Specifically, the reason for the related label image being inefficient and wasting more device resources is that: the method of generating a label image based on a label template is relatively inflexible and requires different label templates to be designed for different labeling modes. In addition, the server side may have a problem of high performance consumption and a problem of limitation of synthesis resources when synthesizing the label image by using the label template. Based on this, in the tag image generating method according to some embodiments of the present disclosure, first, an image loading link sent by a target server is obtained, so as to determine whether an original image corresponding to the image loading link needs to be subjected to a tagging process. Here, it is effectively determined whether the image needs to be labeled by the form of the link. Then, in response to determining that the image loading link representation corresponds to the original image, performing marking processing, and obtaining image marking information for the original image for later determining how to perform marking processing on the original image. Then, the image marking information is analyzed to generate label information and label layout parameter information. Here, through the analysis of the image marking information, the relevant information of how to label the original image can be accurately obtained, so that the original image is accurately labeled. Finally, according to the tag layout parameter information, the tag information can be accurately added to the original image to generate a tag image. In summary, without designing a label template, the client can effectively determine whether to label the original image on the basis of linking through image loading. On the premise of determining to label, the client analyzes the obtained image marking information, so that the user can fully know how to label the original image, and the client can label the original image efficiently and rapidly on the premise of wasting less equipment resources to generate a label image.
With further reference to fig. 3, a flow 300 of further embodiments of a label image generation method according to the present disclosure is shown. The label image generation method comprises the following steps:
step 301, obtaining an image loading link sent by a target server.
Step 302, determining whether a label separator exists in the image loading link.
In some embodiments, an executing entity (e.g., client 101 shown in FIG. 1) may determine whether a tag separator exists in the image load link described above. The label separator may be a separator that characterizes whether the original image needs to be labeled. For example, the tag separator may be "tagconfig". That is, when a label separator exists in the image loading link, the original image is characterized to be labeled. And when the label separator does not exist in the image loading link, the original image is characterized to be not labeled.
In response to determining that the label separator exists, determining information is generated that characterizes the original image for labeling, step 303.
In some embodiments, in response to determining that the tag separator exists, the executing body may generate determination information characterizing the original image for the tagging process.
And step 304, in response to determining that the image loading link representation corresponds to the original image, performing labeling processing, and performing link analysis on the image loading link according to the label separator to generate the image labeling information.
In some embodiments, in response to determining that the image loading link representation corresponds to an original image for a tagging process, the execution body may perform link resolution on the image loading link according to the tag separator to generate the image tagging information. The tag separator may be an identifier that divides the original image link and the image marking information.
In practice, the label separator may be image marking information to the right and label separator to the left.
As an example, the above-described execution subject may determine link information of the target relative position corresponding to the tag separator as the image marking information.
In step 305, the image marking information is analyzed to generate tag information and tag layout parameter information.
And step 306, adding the label information to the original image according to the label layout parameter information to generate a label image.
As can be seen from fig. 3, compared with the description of some embodiments corresponding to fig. 2, the flow 300 of the label image generating method in some embodiments corresponding to fig. 3 not only quickly and effectively determines whether to label an original image, but also can effectively obtain image marking information through the label separator.
With continued reference to fig. 4, a flow 400 of some embodiments of an information transmission method according to the present disclosure is shown. The information sending method comprises the following steps:
in step 401, tag information and tag layout parameter information for an original image are configured.
In some embodiments, the execution subject of the tag image generation method (e.g., the target server shown in fig. 1) may configure tag information and tag layout parameter information for the original image. It should be noted that the number of the substrates,
as an example, the execution subject may configure tag information and tag layout parameter information of the original image by the resource bit server.
Step 402, generating image marking information for the tag information and the tag layout parameter information.
In some embodiments, the execution subject may generate image marking information for the tag information and the tag layout parameter information.
As an example, the execution subject may use a unified marking module to combine the tag information and the tag layout parameter information to generate image marking information.
Step 403, generating an image loading link according to the image marking information and the original image link corresponding to the original image.
In some embodiments, the execution body may generate an image loading link according to the image marking information and an original image link corresponding to the original image.
As an example, the execution subject may splice the original image link corresponding to the original image and the tag separator to generate a splice link as the image loading link.
In some optional implementations of some embodiments, in response to determining that the transmission mode of the image marking information is a target transmission mode, the execution body may perform information stitching on the image marking information, a tag separator, and the original image link to generate the image loading link.
As an example, the execution subject may locate the image marking information on the left side of the tag separator and the original image link on the right side of the tag separator to generate the image loading link.
Step 404, the image loading information is sent to the target client.
In some embodiments, the execution subject may send the image loading information to the target client. The image loading information may be information related to image loading.
Optionally, the image loading information may further include: and (5) image marking information.
The above embodiments of the present disclosure have the following advantageous effects: by the information sending method of some embodiments of the present disclosure, a corresponding image loading link can be accurately and effectively generated for an original image.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of a tag image generating apparatus, which correspond to those method embodiments shown in fig. 2, and which are particularly applicable in various electronic devices.
As shown in fig. 5, a tag image generating apparatus 500 includes: a first acquisition unit 501, a second acquisition unit 502, an analysis processing unit 503, and an addition unit 504. The first obtaining unit 501 is configured to obtain an image loading link sent by the target server; a second obtaining unit 502 configured to obtain image marking information for an original image in response to determining that the image loading link representation corresponds to the original image; an analysis processing unit 503 configured to perform analysis processing on the image marking information to generate tag information and tag layout parameter information; an adding unit 504 configured to add the tag information to the original image according to the tag layout parameter information to generate a tag image.
In some optional implementations of some embodiments, the apparatus 500 further includes: a separator determining unit and an information generating unit (not shown in the figure). Wherein the separator determining unit may be configured to: determining whether a label separator exists in the image loading link. The information generating unit may be configured to: in response to determining that the tag separator is present, determining information is generated that characterizes the original image for the tagging process.
In some optional implementations of some embodiments, the second acquisition unit 502 may be further configured to: and in response to determining that the image loading link representation corresponds to the original image, performing marking processing, and performing link analysis on the image loading link according to the tag separator to generate the image marking information.
In some optional implementations of some embodiments, the image loading link further includes: linking original images; the apparatus 500 further includes: a parsing unit and a third acquisition unit (not shown in the figure). Wherein the parsing unit may be configured to: and according to the label separator, analyzing the original image link from the image loading link. The third acquisition unit may be configured to: and acquiring the original image corresponding to the original image link.
It will be appreciated that the elements described in the label image generation apparatus 500 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and advantages described above with respect to the method are equally applicable to the tag image generating apparatus 500 and the units contained therein, and are not described here again.
With further reference to fig. 6, as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of an information transmitting apparatus, which correspond to those method embodiments shown in fig. 4, and the tag image generating apparatus is particularly applicable to various electronic devices.
As shown in fig. 6, a tag image generating apparatus 600 includes: a configuration unit 601, a first generation unit 602, a second generation unit 603, and a transmission unit 604. Wherein, the configuration unit 601 is configured to configure tag information and tag layout parameter information for an original image; a first generation unit 602 configured to generate image marking information for the tag information and the tag layout parameter information; a second generating unit 603 configured to generate an image loading link according to the image marking information and an original image link corresponding to the original image; and a transmitting unit 604 configured to transmit image loading information to the target client, wherein the image loading information includes the image loading link.
In some optional implementations of some embodiments, the second generating unit 603 may be further configured to: and in response to determining that the sending mode of the image marking information is the target sending mode, information stitching the image marking information, the label separator and the original image link to generate the image loading link.
It will be appreciated that the elements described in the information transmitting apparatus 600 correspond to the respective steps in the method described with reference to fig. 4. Thus, the operations, features and advantages described above with respect to the method are equally applicable to the information sending apparatus 600 and the units contained therein, and are not described herein.
Referring now to fig. 7, a schematic diagram of an electronic device 700 (e.g., electronic device 101 of fig. 1) suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 7 is only one example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 7, the electronic device 700 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a read-only memory 702 or a program loaded from a storage means 708 into a random access memory 703. In the random access memory 703, various programs and data necessary for the operation of the electronic device 700 are also stored. The processing means 701, the read only memory 702 and the random access memory 703 are connected to each other by a bus 704. An input/output interface 705 is also connected to the bus 704.
In general, the following devices may be connected to the input/output interface 705: input devices 706 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 shows an electronic device 700 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 7 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 709, or from storage 708, or from read only memory 702. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing means 701.
It should be noted that, in some embodiments of the present disclosure, the computer readable medium may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring an image loading link sent by a target server; in response to determining that the image loading link representation corresponds to the original image, performing marking processing, and acquiring image marking information aiming at the original image; analyzing the image marking information to generate tag information and tag layout parameter information; and adding the label information to the original image according to the label layout parameter information to generate a label image. Configuring tag information and tag layout parameter information for an original image; generating image marking information for the tag information and the tag layout parameter information; generating an image loading link according to the image marking information and an original image link corresponding to the original image; and sending the image loading information to a target client, wherein the image loading information comprises the image loading link.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a first acquisition unit, a second acquisition unit, an analysis processing unit, and an addition unit. The names of these units do not limit the unit itself in some cases, and for example, the first acquisition unit may also be described as "a unit that acquires an image loading link sent by the target server".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
Some embodiments of the present disclosure also provide a computer program product comprising a computer program which, when executed by a processor, implements any of the label image generation methods or information transmission methods described above.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (11)

1. A label image generation method comprising:
acquiring an image loading link sent by a target server;
performing marking processing on the original image corresponding to the image loading link representation in response to determining, and acquiring image marking information aiming at the original image;
analyzing the image marking information to generate tag information and tag layout parameter information;
and adding the label information to the original image according to the label layout parameter information to generate a label image.
2. The method of claim 1, wherein prior to the tagging corresponding to the original image in response to determining that the image loading link representation, obtaining image tagging information for the original image, the method further comprises:
Determining whether a tag separator exists in the image loading link;
in response to determining that the label separator is present, determining information is generated that characterizes the original image for a labeling process.
3. The method of claim 2, wherein the obtaining image marking information for the original image in response to determining that the image loading link representation corresponds to the original image comprises:
and responding to the fact that the image loading link representation corresponds to the original image, performing marking processing, and performing link analysis on the image loading link according to the tag separator so as to generate the image marking information.
4. The method of claim 2, wherein the image loading link further comprises: linking original images; and
before the image loading link representation is determined to correspond to the original image to be subjected to marking processing, and the image marking information aiming at the original image is acquired, the method further comprises the following steps:
according to the label separator, analyzing the original image link from the image loading link;
and acquiring the original image corresponding to the original image link.
5. An information transmission method, comprising:
configuring tag information and tag layout parameter information for an original image;
generating image marking information for the tag information and the tag layout parameter information;
generating an image loading link according to the image marking information and an original image link corresponding to the original image;
and sending image loading information to a target client, wherein the image loading information comprises the image loading link.
6. The method of claim 5, wherein the generating an image loading link according to the image marking information and the original image link corresponding to the original image comprises:
and in response to determining that the sending mode of the image marking information is a target sending mode, information stitching is carried out on the image marking information, the label separator and the original image link to generate the image loading link.
7. A label image generating apparatus comprising:
the first acquisition unit is configured to acquire an image loading link sent by the target server;
the second acquisition unit is configured to respond to the fact that the image loading link representation corresponds to an original image and performs marking processing, and image marking information aiming at the original image is acquired;
The analysis processing unit is configured to analyze the image marking information to generate tag information and tag layout parameter information;
an adding unit configured to add the tag information to the original image according to the tag layout parameter information to generate a tag image.
8. An information generating apparatus comprising:
a configuration unit configured to configure tag information and tag layout parameter information for an original image;
a first generation unit configured to generate image marking information for the tag information and the tag layout parameter information;
the second generation unit is configured to generate an image loading link according to the image marking information and an original image link corresponding to the original image;
and a transmitting unit configured to transmit image loading information to a target client, wherein the image loading information includes the image loading link.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-6.
10. A computer readable medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method of any of claims 1-6.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-6.
CN202311634146.7A 2023-11-30 2023-11-30 Label image generation method, information transmission method, device, equipment and medium Pending CN117710525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311634146.7A CN117710525A (en) 2023-11-30 2023-11-30 Label image generation method, information transmission method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311634146.7A CN117710525A (en) 2023-11-30 2023-11-30 Label image generation method, information transmission method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117710525A true CN117710525A (en) 2024-03-15

Family

ID=90150675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311634146.7A Pending CN117710525A (en) 2023-11-30 2023-11-30 Label image generation method, information transmission method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117710525A (en)

Similar Documents

Publication Publication Date Title
CN110377440B (en) Information processing method and device
CN113760536A (en) Data caching method and device, electronic equipment and computer readable medium
CN112597047A (en) Test method, test device, electronic equipment and computer readable medium
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN111752644A (en) Interface simulation method, device, equipment and storage medium
CN116860286A (en) Page dynamic update method, device, electronic equipment and computer readable medium
CN115374207A (en) Service processing method and device, electronic equipment and computer readable storage medium
CN113126985B (en) Method, apparatus, electronic device and computer readable medium for page rendering
CN117710525A (en) Label image generation method, information transmission method, device, equipment and medium
CN110532115B (en) System, method and apparatus for developing smart contracts
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN111414161B (en) Method, device, medium and electronic equipment for generating IDL file
CN112230986A (en) Project file generation method and device, electronic equipment and computer readable medium
CN113704079A (en) Interface testing method and device based on Protobuf
CN112558933A (en) Component rendering method and device, readable medium and electronic equipment
CN112445517B (en) Inlet file generation method, device, electronic equipment and computer readable medium
CN113157365B (en) Program running method, program running device, electronic equipment and computer readable medium
CN112650528B (en) Personalized algorithm generation method, device, electronic equipment and computer readable medium
CN111581305B (en) Feature processing method, device, electronic equipment and medium
CN111399902B (en) Client source file processing method and device, readable medium and electronic equipment
CN114253520B (en) Interface code generation method and device
CN115277421B (en) Configuration information pushing method, device, electronic equipment and computer readable medium
CN116126317A (en) Service code, service state flow chart generation method and device
CN113688181A (en) Data processing method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination