This application claims the benefit of Chinese Patent Application No. 202110945882.9 filed on Aug. 17, 2021, the whole disclosure of which is incorporated herein by reference.
The present disclosure relates to a field of an artificial intelligence technology, in particular to a computer vision and deep learning technology, and may be applied to a scene such as image processing and image recognition. More specifically, the present disclosure provides a method of training a cycle generative networks model, a method of building a character library, an electronic device, and a storage medium.
With a rapid development of the Internet, people have increasingly high demand for a diversity of image styles. For example, a generation of various style fonts has received extensive research and attention.
The present disclosure provides a method of training a cycle generative networks model, a method of building a character library, an electronic device, and a storage medium.
According to one aspect, there is provided a method of training a cycle generative networks model, including: inputting a source domain sample character into the cycle generative networks model to obtain a first target domain generated character; calculating a character error loss of the cycle generative networks model by inputting the first target domain generated character into a trained character classification model; calculating a feature loss of the cycle generative networks model by inputting the first target domain generated character and a preset target domain sample character into the character classification model; and adjusting a parameter of the cycle generative networks model according to the character error loss and the feature loss.
According to another aspect, there is provided a method of building a character library, including: inputting a source domain input character into a cycle generative networks model to obtain a target domain new character; and building the character library based on the target domain new character, wherein the cycle generative networks model is trained by the method of training the cycle generative networks model as described above.
According to another aspect, there is provided an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions, when executed by the at least one processor, cause the at least one processor to implement the method provided by the present disclosure.
According to another aspect, there is provided a non-transitory computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions allow a computer to implement the method provided by the present disclosure.
It should be understood that content described in this section is not intended to identify key or important features in the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be easily understood through the following description.
The accompanying drawings are used to understand the solution better and do not constitute a limitation to the present disclosure.
Exemplary embodiments of the present disclosure will be described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding and should be considered as merely exemplary. Therefore, those of ordinary skilled in the art should realize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Likewise, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
A font generation is an emerging task in a field of image style transfer. The image style transfer is to convert an image into another style while keeping a content unchanged, which is a popular research direction of a deep learning application.
At present, the font generation may be achieved using a GAN (Generative Adversarial Networks) model. However, in a GAN model-based font generation scheme, a network trained with a small amount of data may only be used to learn some relatively weak features such as tilt, size and partial strokes, and a feature with a rich user style may not be learned. Although a network trained with a large amount of data may be used to achieve a strong style, a character error may be generated in a case of a Chinese character outside a training set. These main research results are difficult to achieve an effect of a font level.
The embodiments of the present disclosure proposes a method of training a cycle generative networks model and a method of building a character library using the cycle generative networks model. By achieving the font generation using CycleGAN (Cycle Generative Adversarial Networks, also called Cycle Generative Networks) and introducing a character error loss and a feature loss using a character classification model, an ability of the cycle generative networks model to learn a font feature may be improved, and a character error probability may be reduced.
In the embodiments of the present disclosure, the cycle generative networks model may achieve a style transfer between a source domain and a target domain. The cycle generative networks model may include two generation models and two discrimination models. The two generation models may include GeneratorA2B for converting an image of style A to an image of style B and GeneratorB2A for converting an image of style B to an image of style A. The two discrimination models may include Discriminator A for discriminating whether the converted image is an image of style A and Discriminator B for discriminating whether the converted image is an image of style B.
In a process of training the cycle generative networks model, both generation models have a training goal of generating an image with a target domain style (or source domain style) as far as possible, and both discrimination models have a training goal of distinguishing an image generated by the generation model from a real target domain image (or source domain image) as far as possible. The generation models and the discrimination models may be continuously updated and improved in the training process, so that both generation models may have a stronger ability to achieve the style transfer, and both discrimination models may have a stronger ability to distinguish the generated image from the real image.
It should be noted that in the technical solution of the present disclosure, an acquisition, a storage, a use, a processing, a transmission, a provision, a disclosure and an application of user personal information involved comply with provisions of relevant laws and regulations, take essential confidentiality measures, and do not violate public order and good custom.
In the technical solution of the present disclosure, authorization or consent is obtained from the user before the user's personal information is obtained or collected.
As shown in
A user may use the terminal device 101 to interact with the server 103 through the network 102 so as to receive or transmit a message, etc. The terminal device 101 may be various electronic devices, including but not limited to a smart phone, a tablet computer, a laptop computer, etc.
At least one of the method of training the cycle generative networks model and the method of building the character library provided by the embodiments of the present disclosure may be generally performed by the server 103. Accordingly, an apparatus of training a cycle generative networks model and/or an apparatus of building a character library provided by the embodiments of the present disclosure may be generally arranged in the server 103. The method of training the cycle generative networks model and/or the method of building the character library provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the server 103 and that may communicate with the terminal device 101 and/or the server 103. Accordingly, the apparatus of training the cycle generative networks model and/or the apparatus of building the character library provided by the embodiments of the present disclosure may also be arranged in a server or a server cluster that is different from the server 103 and that may communicate with the terminal device 101 and/or the server 103.
As shown in
In operation S210, a source domain sample character is input into the cycle generative networks model to obtain a first target domain generated character.
For example, the source domain sample character may be an image with a character having font style in a source domain, and the font style in the source domain may be a regular font such as KaiTi, SimSun or SimHei. The first target domain generated character may be an image with a character having font style in a target domain, and the font style in the target domain may be a user handwriting font style or other artistic font styles.
The source domain sample character may be input into the cycle generative networks model, and the cycle generative networks model may output the first target domain generated character. For example, an image containing a KaiTi Chinese character “” may be input into the cycle generative networks model, and the cycle generative networks model may output an image containing a handwritten Chinese character “”.
In operation S220, a character error loss of the cycle generative networks model is calculated by inputting the first target domain generated character into a trained character classification model.
For example, the trained character classification model may be trained using a VGG19 (Visual Geometry Group19) network. Training samples for the character classification model may include images containing a variety of fonts. For example, the training samples may include about 450000 images containing more than 6700 characters with more than 80 fonts.
The first target domain generated character may be input into the character classification model, and the character classification model may output a generated character vector
A loss may be determined according to a difference between the generated character vector
In operation S230, a feature loss of the cycle generative networks model is calculated by inputting the first target domain generated character and a preset target domain sample character into the character classification model.
For example, the first target domain generated character may be an image containing a handwritten Chinese character “” generated by the cycle generative networks model, and the target domain sample character may be an image of a sample character in the target domain, containing a real handwritten Chinese character “”, which may be an image generated from user's real handwriting. The image generated from user's real handwriting may be acquired from a public data set or with a user authorization.
The character classification model may include a plurality of feature layers (e.g., 90 feature layers). A generated feature map output by each layer may be obtained by inputting the first target domain generated character into the cycle generative networks model. A sample feature map output by each layer may be obtained by inputting the target domain sample character into the cycle generative networks model.
A feature loss of each feature layer may be determined according to a difference between the generated feature map and the sample feature map of the feature layer. In an example, a sum of the feature loss of at least one preset layer (e.g., the 45th layer and the 46th layer) of the plurality of feature layers may be selected as a global feature loss.
The global feature loss may be used for the cycle generative networks model to learn features of the first target domain generated character and the target domain sample character with a large difference, so that the cycle generative networks model may learn more font details, and an ability of the cycle generative networks model to learn a font feature may be improved.
In operation S240, a parameter of the cycle generative networks model is adjusted according to the character error loss and the feature loss.
For example, the parameter of the cycle generative networks model may be adjusted according to a sum of the character error loss and the feature loss, so as to obtain an updated cycle generative networks model. For a next source domain sample character, the process may return to operation S210 to repeatedly train the updated cycle generative networks model until a preset training stop condition is satisfied. Then, an adjustment of the parameter of the generation model may stop, and a trained cycle generative networks model may be obtained. The training stop condition may include convergence of the character error loss and the sum of the feature loss.
The embodiments of the present disclosure may be implemented to achieve the font generation of various styles by generating the target domain generated character based on the source domain sample character using the cycle generative networks model. In addition, by introducing the character error loss and the feature loss using the character classification model, the ability of the cycle generative networks model to learn the font feature may be improved, and the character error probability may be reduced.
As shown in
A parameter of the cycle generative networks model 310 may be adjusted according to the generation loss 3101, the character error loss 3201 and the feature loss 3202.
As shown in
Based on a structure of the cycle generative networks model 310, the cycle generative networks model 310 may contain two cycle operation processes.
A loss of the cycle generative networks model 310 may include the generation loss 3101 and a discrimination loss, which will be described below.
In the first cycle operation process, the source domain sample character 301 is a real KaiTi character image, and the first source domain generated character 303 is a model-generated KaiTi character image, which may be called a fake KaiTi character image. The first target domain generated character 302 is a model-generated handwritten character image, which may be called a fake handwritten character image. In the training process, the source domain sample character 301 may be labeled as Real (for example, with a value of 1), and the first target domain generated character 302 may be labeled as fake (for example, with a value of 0).
The source domain sample character 301 may be input into the first discrimination model 313, and an output of 1 is expected by the first discrimination model 313. If a true output of the first discrimination model 313 is X and a loss of the first discrimination model 313 is calculated using a mean square deviation, then a part of the loss of the first discrimination model 313 may be expressed as (X−1)2.
The first target domain generated character 302 may be input into the second discrimination model 314, and an output of 0 is expected by the second discrimination model 314. If a true output of the second discrimination model 314 is Y* (to facilitate distinguishing, a parameter with * may be a parameter related to a model-generated image, and a parameter without * may be a parameter related to a real image) and a loss of the second discrimination model 314 is calculated using the mean square deviation, then a part of the loss of the second discrimination model 314 may be expressed as (Y*−0)2.
The first target domain generated character 302 may be input to the second discrimination model 314, and an output of the second discrimination model 314 expected by the first generation model 311 is 1. If a true output of the second discrimination model 314 is Y* and a loss of the first generation model 311 is calculated using the mean square deviation, then a part of the loss of the first generation model 311 may be expressed as (Y*−1)2.
In order to ensure that the first source domain generated character 303 obtained by inputting the source domain sample character 301 into the first generation model 311 only contains a style transfer and the content remains unchanged, a cycle-consistency loss may be added for the first generation model 311. The cycle-consistency loss may be calculated according to a difference between the source domain sample character 301 and the first source domain generated character 303. For example, a subtraction operation may be performed on a pixel value of a pixel in the source domain sample character 301 and a pixel value of a corresponding pixel in the first source domain generated character 303, and an absolute value may be determined to obtain a difference for each pixel. Then, differences for all pixels may be summed to obtain the cycle-consistency loss of the first generation model 311, which may be denoted as L1A2B.
Therefore, a part of the loss of the first generation model 311 is (Y*−1)2, and the other part of the loss is L1A2B. A sum of the two parts of loss is the global loss LA2B of the first generation model 311, which may be expressed by Equation (1).
L
A2B=(Y*−1)2+L1A2B Equation (1)
In the second cycle operation process, the target domain sample character 304 is a real handwritten character image, and the second target domain generated character 306 is a model-generated handwritten character image, which may be called a fake handwritten character image. The second source domain generated character 305 is a model-generated KaiTi character image, which may be called a fake KaiTi character image. In the training process, the target domain sample character 304 may be labeled as Real (for example, with a value of 1), and the second source domain generated character 305 may be labeled as Fake (for example, with a value of 0).
The target domain sample character 304 may be input to the second discrimination model 314, and an output of 1 is expected by the second discrimination model 314. If a true output of the second discrimination model 314 is Y and a loss of the second discrimination model 314 is calculated using the mean square deviation, then a part of the loss of the second discrimination model 314 may be expressed as (Y−1)2.
The second source domain generated character 305 may be input into the first discrimination model 313, and an output of 0 is expected by the first discrimination model 313. If a true output of the first discrimination model 313 is X* and a loss of the first discrimination model 313 is calculated using the mean square deviation, then a part of the loss of the first discrimination model 313 may be expressed as (X*−0)2.
The second source domain generated character 305 may be input into the first discrimination model 313, and an output of the first discrimination model 313 expected by the second generation model 312 is 1. If a true output of the first discrimination model 313 is X* and a loss of the second generation model 312 is calculated using the mean square deviation, then a part of the loss of the second generation model 312 may be expressed as (X*−1)2.
In order to ensure that the second target domain generated character 306 obtained by inputting the target domain sample character 304 into the second generation model 312 only contains a style transfer and the content remains unchanged, a cycle-consistency loss may be added for the second generation model 312. The cycle-consistency loss may be calculated according to a difference between the target domain sample character 304 and the second target domain generated character 306. For example, a subtraction operation may be performed on a pixel value of each pixel in the target domain sample character 304 and a pixel value of a corresponding pixel in the second target domain generated character 306, and an absolute value may be determined to obtain a difference for each pixel. Then, differences for all pixels may be summed to obtain the cycle-consistency loss of the second generation model 312, which may be denoted as L1B2A.
Therefore, a part of the loss of the second generation model 312 is (X*−1)2, and the other part of the loss is L1B2A. A sum of the two parts of loss is the global loss LB2A of the second generation model 312, which may be expressed by Equation (2).
L
B2A=(X*−1)2+L1B2A Equation (2)
A sum of the global loss LA2B of the first generation model 311 and the global loss LB2A of the second generation model 312 may be used as the generation loss 3101 of the cycle generative networks model 310, which may be expressed by Equation (3).
L
G=(Y*−1)2+L1A2B+(X*−1)2+L1B2A Equation (3)
where LG represents the generation loss 3101 of the cycle generative networks model 310, which may be used to adjust the parameter of the first generation model 311 and the parameter of the second generation model 312.
The discrimination loss of the cycle generative networks model 310 includes a discrimination loss of the first discrimination model 313 and a discrimination loss of the second discrimination model 314.
It may be calculated according to
L
A=(X−1)2+(X*−0)2 Equation (4)
The discrimination loss LA of the first discrimination model 313 may be used to adjust a parameter of the first discrimination model 313.
Similarly, it may be calculated according to
L
B=(Y−1)2+(Y*−0)2 Equation (5)
The discrimination loss LB of the second discrimination model 314 may be used to adjust a parameter of the second discrimination model 314.
The character error loss 3201 and the feature loss 3202 generated by the character classification model 320 will be described below.
As shown in
A standard character vector
The standard character vector
The character error loss 3201 may be determined according to a cross entropy between the generated character vector
L
C=−Σ0nxi log y1 Equation (6)
where LC represents the character error loss 3201, xi represents an element with subscript i in the generated character vector, yi represents an element with subscript i in the standard character vector, i is an integer greater than or equal to 0 and less than or equal to n, and n represents the number of elements in the generated character vector and the standard character vector.
According to the embodiments of the present disclosure, the character error loss may be used to constrain a character error rate of the first target domain generated character 302 output by the cycle generative networks model 310, so as to reduce a character error probability of the cycle generative networks model 310.
The character classification model 320 may include a plurality of feature layers (e.g., 90 feature layers). A generated feature map output by each layer may be obtained by inputting the first target domain generated character 302 into the cycle generative networks model 310. A sample feature map output by each layer may be obtained by inputting the target domain sample character 304 into the cycle generative networks model 310.
A pixel loss of each feature layer may be determined according to a pixel difference between the generated feature map output by the feature layer and the sample feature map output by the feature layer. For example, in each feature layer, a subtraction operation may be performed on a pixel value of each pixel in the generated feature map output by the feature layer and a pixel value of a corresponding pixel in the sample feature map output by the feature layer, and an absolute value may be determined to obtain a difference for each pixel. Then, differences for all pixels may be summed to obtain the pixel loss of the feature layer.
A sum of the pixel loss of at least one preset layer (e.g., the 45th layer and the 46th layer) of the plurality of feature layers may be selected as the feature loss 3202.
The feature loss 3202 may be used to adjust the parameter of the first generation model 311 to enable the cycle generative networks model 310 to learn features of the first target domain generated character 302 and the target domain sample character 304 with a large difference, so that the cycle generative networks model 310 may learn more font details, and the ability of the cycle generative networks model to learn the font feature may be improved.
As shown in
Similarly, as shown in
It may be understood that the thermal effect map 403 and the thermal effect map 404 may be combined to enable the cycle generative networks model to learn the features of the target domain sample character 401 and the first target domain generated character 402 with a large difference, so as to improve the feature-learning ability of the cycle generative networks model.
As shown in
As shown in
As shown in
In the embodiments of the present disclosure, the target domain generated character is generated based on the source domain sample character by using the cycle generative networks model, which may achieve various styles of font generation, and the character error loss and the feature loss are introduced using the character classification model, which may improve the ability of the cycle generative networks model to learn the font feature and may further reduce the character error probability.
As shown in
In operation S810, a source domain input character is input into a cycle generative networks model to obtain a target domain new character.
The cycle generative networks model is trained according to the method of training the cycle generative networks model.
For example, the source domain input character may be a KaiTi character image, and the new character may be a handwritten character image. The handwritten character image may be obtained by inputting the KaiTi character image into the cycle generative networks model.
In operation S820, a character library is built based on the target domain new character.
For example, the new character generated by the cycle generative networks model may be stored to build a character library with a handwriting font style. The character library may be applied to an input method, and a user may directly acquire a character with a handwriting font style by using the input method based on the character library, so that a diversified need of the user may be satisfied, and a user experience may be improved.
As shown in
The first generation module 901 is used to input a source domain sample character into the cycle generative networks model to obtain a first target domain generated character.
The first calculation module 902 is used to calculate a character error loss of the cycle generative networks model by inputting the first target domain generated character into a trained character classification model.
The second calculation module 903 is used to calculate a feature loss of the cycle generative networks model by inputting the first target domain generated character and a preset target domain sample character into the character classification model.
The first adjustment module 904 is used to adjust a parameter of the cycle generative networks model according to the character error loss and the feature loss.
According to the embodiments of the present disclosure, the first calculation module 902 may include a character vector generation unit and a character error loss calculation unit.
The character vector generation unit is used to input the first target domain generated character into the trained character classification model to obtain a generated character vector for the first target domain generated character.
The character error loss calculation unit is used to calculate the character error loss according to a difference between the generated character vector and a preset standard character vector.
According to the embodiments of the present disclosure, the character error loss calculation unit is used to calculate the character error loss LC according to an equation of
LC=Σ0nxi log yi
where LC represents the character error loss, xi represents an element with subscript i in the generated character vector, yi represents an element with subscript i in the standard character vector, i is an integer greater than or equal to 0 and less than or equal to n, and n represents the number of elements in the generated character vector and the standard character vector.
According to the embodiments of the present disclosure, the character classification model may include a plurality of feature layers, and the second calculation module 903 may include a first feature map generation unit, a second feature map generation unit and a feature loss calculation unit.
The first feature map generation unit is used to input the first target domain generated character into the character classification model to obtain a generated feature map output by each feature layer of the character classification model.
The second feature map generation unit is used to input the target domain sample character into the character classification model to obtain a sample feature map output by each feature layer of the character classification model.
The feature loss calculation unit is used to calculate the feature loss according to a difference between the generated feature map and the sample feature map of the at least one feature layer.
According to the embodiments of the present disclosure, the feature loss calculation unit may include a pixel loss calculation sub-unit and a feature loss calculation sub-unit.
The pixel loss calculation sub-unit is used to calculate, for each feature layer of the at least one feature layer, a pixel difference between the generated feature map and the sample feature map of the each feature layer, so as to obtain a pixel loss of the each feature layer.
The feature loss calculation sub-unit is used to calculate the feature loss according to the pixel loss of at least one feature layer.
According to the embodiments of the present disclosure, the pixel loss calculation sub-unit is used to calculate, for a pixel at each position in the generated feature map, an absolute value of a difference between a pixel value of the pixel and a pixel value of a pixel at a corresponding position in the sample feature map, so as to obtain a difference for the pixel at each position; and determine the pixel difference between the generated feature map and the sample feature map according to differences for pixels at a plurality of positions.
According to the embodiments of the present disclosure, the cycle generative networks model may include a first generation model and a second generation model, and the first generation module is used to input the source domain sample character into the first generation model to obtain the first target domain generated character and a first source domain generated character. The apparatus may further include: a second generation module used to input the target domain sample character into the second generation model to obtain the second target domain generated character and the second source domain generated character; a third calculation module used to calculate a generation loss of the cycle generative networks model according to the source domain sample character, the first target domain generated character, the first source domain generated character, the target domain sample character, the second target domain generated character and the second source domain generated character; and a second adjustment module used to adjust a parameter of the first generation model according to the generation loss.
According to the embodiments of the present disclosure, the first adjustment module is used to adjust a parameter of the first generation model according to the character error loss and the feature loss.
According to the embodiments of the present disclosure, the source domain sample character is an image with a source domain font style, and the target domain sample character is an image with a target domain font style.
As shown in
The third generation module is used to input a source domain input character into the cycle generative networks model to obtain a target domain new character.
The character library building module is used to build the character library based on the target domain new character.
The cycle generative networks model is trained by the apparatus of training the cycle generative networks model as described above.
According to the embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium, and a computer program product.
As shown in
Various components in the electronic device 1100, including an input unit 1106 such as a keyboard, a mouse, etc., an output unit 1107 such as various types of displays, speakers, etc., a storage unit 1108 such as a magnetic disk, an optical disk, etc., and a communication unit 1109 such as a network card, a modem, a wireless communication transceiver, etc., are connected to the I/O interface 1105. The communication unit 1109 allows the electronic device 1100 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
The computing unit 1101 may be various general-purpose and/or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1101 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, and so on. The computing unit 1101 may perform the various methods and processes described above, such as the method of training the cycle generative networks model and/or the method of building the character library. For example, in some embodiments, the method of training the cycle generative networks model and/or the method of building the character library may be implemented as a computer software program that is tangibly contained on a machine-readable medium, such as the storage unit 1108. In some embodiments, part or all of a computer program may be loaded and/or installed on the electronic device 1100 via the ROM 1102 and/or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of the method of training the cycle generative networks model and/or the method of building the character library described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to perform the method of training the cycle generative networks model and/or the method of building the character library in any other appropriate way (for example, by means of firmware).
Various embodiments of the systems and technologies described herein may be implemented in a digital electronic circuit system, an integrated circuit system, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), an application specific standard product (ASSP), a system on chip (SOC), a complex programmable logic device (CPLD), a computer hardware, firmware, software, and/or combinations thereof. These various embodiments may be implemented by one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor. The programmable processor may be a dedicated or general-purpose programmable processor, which may receive data and instructions from the storage system, the at least one input device and the at least one output device, and may transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
Program codes for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or a controller of a general-purpose computer, a special-purpose computer, or other programmable data processing devices, so that when the program codes are executed by the processor or the controller, the functions/operations specified in the flowchart and/or block diagram may be implemented. The program codes may be executed completely on the machine, partly on the machine, partly on the machine and partly on the remote machine as an independent software package, or completely on the remote machine or the server.
In the context of the present disclosure, the machine readable medium may be a tangible medium that may contain or store programs for use by or in combination with an instruction execution system, device or apparatus. The machine readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine readable medium may include, but not be limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or apparatuses, or any suitable combination of the above. More specific examples of the machine readable storage medium may include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, convenient compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
In order to provide interaction with users, the systems and techniques described here may be implemented on a computer including a display device (for example, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user), and a keyboard and a pointing device (for example, a mouse or a trackball) through which the user may provide the input to the computer. Other types of devices may also be used to provide interaction with users. For example, a feedback provided to the user may be any form of sensory feedback (for example, visual feedback, auditory feedback, or tactile feedback), and the input from the user may be received in any form (including acoustic input, voice input or tactile input).
The systems and technologies described herein may be implemented in a computing system including back-end components (for example, a data server), or a computing system including middleware components (for example, an application server), or a computing system including front-end components (for example, a user computer having a graphical user interface or web browser through which the user may interact with the implementation of the system and technology described herein), or a computing system including any combination of such back-end components, middleware components or front-end components. The components of the system may be connected to each other by digital data communication (for example, a communication network) in any form or through any medium. Examples of the communication network include a local area network (LAN), a wide area network (WAN), and Internet.
The computer system may include a client and a server. The client and the server are generally far away from each other and usually interact through a communication network. The relationship between the client and the server is generated through computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, a distributed system server, or a server combined with a blockchain.
It should be understood that steps of the processes illustrated above may be reordered, added or deleted in various manners. For example, the steps described in the present disclosure may be performed in parallel, sequentially, or in a different order, as long as a desired result of the technical solution of the present disclosure may be achieved. This is not limited in the present disclosure.
The above-mentioned specific embodiments do not constitute a limitation on the scope of protection of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions may be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be contained in the scope of protection of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202110945882.9 | Aug 2021 | CN | national |