Detailed Description
The embodiment of the specification provides a watermarking processing method, a watermarking processing device and a client.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without any creative effort shall fall within the protection scope of the present specification.
At present, in the process of performing watermarking processing on a picture by using an electronic device such as a mobile phone and a tablet, due to the limitations of factors such as a memory and a display pixel size of a screen of the device (where the display pixel size of the screen may include a display resolution corresponding to the screen, that is, a pixel that can be displayed by the screen), the picture to be processed needs to be scaled and then displayed in the screen for a user to perform watermarking processing. As shown in fig. 1, fig. 1 is a schematic diagram of a prior art watermarking process performed on a picture on a mobile phone according to the present specification. In fig. 1, it is assumed that the added watermark is a text, and in the process of implementing the watermark adding process, because the original picture of the picture to be processed is large, when the zoomed picture 100 to be processed is displayed on the screen, the definition is low and is fuzzy, and the user cannot see the detail part in the picture clearly; in order to avoid reducing the resolution of the picture, when the picture to be processed is displayed on the screen, the picture cannot be scaled and edited, so that the user can only add the watermark to the reduced picture to be processed, and cannot add the watermark to a specific detail in the picture to be processed. Therefore, the existing watermarking processing method cannot guarantee the resolution and definition of the picture. However, in practical applications, when the picture to be processed is large, it is certain that all the picture to be processed cannot be displayed on the screen of the device without compressing the picture, and it is impossible to load the completed picture to be processed into the memory at one time in the original resolution in consideration of the memory capacity. Based on this, in the embodiment of the present specification, it may be considered that the watermark adding processing is performed after the partial loading is performed on the picture to be processed, and then the watermark adding to the picture to be processed may be implemented on the basis of ensuring the resolution and the definition of the picture to be processed.
A specific embodiment of a watermarking method of the present specification is described below. Fig. 2 is a flow diagram of an embodiment of a watermarking method provided in the present specification, which provides the method operation steps as described in the embodiment or the flow diagram, but may include more or less operation steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In actual implementation, the system or client product may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 2, the method may include:
s202: and displaying a preset initial local picture of the picture to be processed in a screen according to the original resolution of the picture to be processed.
In practical application, for a larger picture to be processed, all pictures to be processed cannot be displayed in a screen of a device such as a mobile phone without compressing the picture to be processed, and accordingly, in order to ensure the resolution of the picture to be processed when displayed, in the embodiment of the present specification, after a user triggers a trigger instruction that requires watermarking processing on the picture to be processed, a local picture of the picture to be processed (that is, the preset initial local picture) may be displayed in the screen according to the original resolution of the picture to be processed. Specifically, the preset initial local picture of the picture to be processed may include selecting a local picture in the picture to be processed in advance according to an original pixel size of the picture and a display pixel size of the screen.
In a specific embodiment, fig. 3 is a flowchart illustrating an embodiment of displaying a preset initial partial picture of a picture to be processed in a screen according to an original resolution of the picture to be processed, which is provided in this specification, and as shown in fig. 5, the method may include:
s302: the method comprises the steps of obtaining the original pixel size of a picture to be processed and the display pixel size of a screen displaying the picture to be processed.
S304: and determining the picture display size of the picture to be processed in the screen according to the display pixel size of the screen and the original pixel size of the picture to be processed.
S306: and selecting a preset local picture of the picture display size from the pictures to be processed.
Specifically, the preset local picture may select a region from the to-be-processed picture in advance, for example, a part of the picture at the upper left corner of the to-be-processed picture may be selected.
S308: and taking the preset local picture of the picture display size as the preset initial local picture.
In a specific embodiment, as shown in fig. 4, fig. 4 is an exemplary diagram of a picture to be processed provided in the present specification. Assume that the picture to be processed shown in fig. 4 is a picture of 1020 × 4096 pixels. In addition, in this specification, for example, a watermarking process of a to-be-processed picture is performed by using a mobile phone, as shown in fig. 5, fig. 5 is a schematic diagram of an embodiment, provided in this specification, of displaying a preset initial local picture of the to-be-processed picture in a screen according to an original resolution of the to-be-processed picture, where it is assumed that a display pixel size of the mobile phone screen in fig. 5 is 1080 × 1920, and since a pixel of the to-be-processed picture is 1020 × 4096, if the to-be-processed picture is displayed according to the original resolution of the to-be-processed picture, all the to-be-processed pictures cannot be displayed in the mobile phone screen. Accordingly, the picture display size of the picture to be processed in the mobile phone screen can be determined by combining the display pixel size 1080 × 1920 of the mobile phone screen and the original pixel size 1020 × 4096 of the picture to be processed. In a specific embodiment, since a width 1080 in a display pixel size of a mobile phone screen is greater than a width 1020 in an original pixel size of a picture to be processed, a corresponding width may be displayed according to a value less than or equal to 1020; the height 1920 in the display pixel size of the mobile phone screen is smaller than the width 4096 in the original pixel size of the picture to be processed, and the corresponding height can be displayed according to the height being smaller than or equal to 1920. It is assumed here that the display size of the to-be-processed picture in the mobile phone screen is 1020 × 1920 pixels, and accordingly, a picture of 1020 × 1920 pixels can be selected from the to-be-processed picture for display, as can be seen from fig. 5, the preset initial local picture of the to-be-processed picture shown in fig. 4 is displayed on the mobile phone screen according to the original resolution of the to-be-processed picture shown in fig. 4, so that the definition and resolution of the picture are ensured, and the user can conveniently perform the watermarking processing.
S204: and receiving a movement trigger instruction of a user based on the preset initial local picture, and displaying a target local picture corresponding to the movement trigger instruction in the picture to be processed according to the original resolution of the picture to be processed.
In this embodiment of the specification, after the preset initial local picture is displayed, a user may select a target local picture to be watermarked in a picture to be processed based on movement of the preset initial local picture. In a specific embodiment, the receiving of the user movement trigger instruction based on the preset initial local picture may include:
and receiving a click operation of a user on the preset initial local picture and a drag operation at a position corresponding to the click.
Correspondingly, fig. 6 is a flowchart illustrating an embodiment of displaying, according to the original resolution of the picture to be processed, a target local picture corresponding to the movement trigger instruction in the picture to be processed, where as shown in fig. 6, the method may include:
s602: and acquiring the moving direction and the moving distance corresponding to the moving trigger instruction.
Specifically, the moving direction may include a direction of a trigger position relative to the movement trigger instruction when moving, and the moving distance may include a distance from the trigger position to an end of the movement trigger instruction. Taking the movement trigger instruction as a click operation on the preset initial local picture and a drag operation at a position corresponding to the click as an example, the movement direction may be a direction of movement during the drag operation relative to a click operation trigger position. The moving distance may be a distance between a trigger position of the click operation and an end position of the drag operation.
S604: and determining a target local picture in the pictures to be processed according to the moving direction and the moving distance.
In a specific embodiment, determining, according to the moving direction and the moving distance, that the target local picture in the to-be-processed picture may include moving, from the preset initial local picture to the moving direction, the local picture corresponding to the moving distance of the to-be-processed picture, which is the target local picture.
S608: and displaying the target local picture according to the original resolution of the picture to be processed.
As shown in fig. 7, in combination with the examples shown in fig. 4 and 5 described above. Fig. 7 is a schematic diagram of an embodiment of displaying the target local picture according to the original resolution of the to-be-processed picture in the mobile phone provided in the present specification. In fig. 7, the target local picture and the preset initial local picture have the same pixel size, and the target local picture and the preset initial local picture include the same local picture, of course, the target local picture and the preset initial local picture include the same local picture or do not include the same local picture, which is not limited in this embodiment of the present disclosure.
In another embodiment, the receiving a user movement trigger instruction based on the preset initial local picture may include:
and receiving a preset sliding gesture operation of a user based on the preset initial local picture.
Specifically, the preset slide gesture operation may include slide gestures such as a slide up, a slide down, a slide left, and a slide down.
Correspondingly, fig. 8 is a schematic flowchart of another embodiment, provided in this specification, of displaying a target local picture corresponding to the movement trigger instruction in the picture to be processed according to the original resolution of the picture to be processed, and as shown in fig. 8, the method may include:
s802: and acquiring the moving direction and the moving times corresponding to the moving trigger instruction.
Specifically, the moving direction may include a direction of a trigger position relative to the movement trigger instruction when moving. The number of moves may include the number of operations corresponding to the move trigger instruction. Taking the movement trigger instruction as a preset sliding gesture operation as an example, the movement direction is a direction of a trigger position corresponding to the preset sliding gesture operation when the preset sliding gesture operation slides. The moving times are the times of the preset sliding gesture operation.
S804: and determining a target local picture in the pictures to be processed according to the moving direction and the moving times.
In a specific embodiment, when the moving number is one, the determining a target local picture in the to-be-processed picture according to the moving direction and the moving number may include:
and selecting a next local picture of the preset initial local picture in the moving direction from the pictures to be processed, and taking the next local picture as the target local picture.
In another specific embodiment, when the number of times of movement is greater than or equal to two, the determining the target local picture in the to-be-processed picture according to the moving direction and the number of times of movement may include:
selecting a next local picture in the moving direction of the preset initial local picture when the preset initial local picture moves for the first time from the pictures to be processed;
selecting a next local picture in the moving direction of the current next local picture moving next from the pictures to be processed;
and repeating the step of selecting the next local picture in the moving direction of the current next local picture moving to the next time from the pictures to be processed until the movement corresponding to the current moving times is the last movement corresponding to the movement trigger instruction, and taking the next local picture corresponding to the last movement as the target local picture.
Specifically, the next local picture and the preset initial local picture in the embodiments of the present description may include the same local picture, or may not include the same local picture. And the current next local picture and the next local picture in the moving direction of the current next local picture moving next may or may not include the same local picture.
S806: and displaying the target local picture according to the original resolution of the picture to be processed.
As shown in fig. 9, in combination with the examples shown in fig. 4 and 5 described above. Fig. 9 is a schematic diagram of an embodiment of displaying the target local picture according to the original resolution of the to-be-processed picture in the mobile phone provided in the present specification. In fig. 9, the size of the pixel size of the target local picture is the same as that of the preset initial local picture, and the target local picture and the preset initial local picture are adjacent local pictures and do not include the same local picture, of course, the target local picture and the preset initial local picture may also include the same local picture, which is not limited in this embodiment of the present disclosure.
In addition, it should be noted that the movement trigger instruction in the embodiment of the present specification is not limited to the above form, and may also include other forms, and the embodiment of the present specification is not limited to the above form.
In addition, when the area where the user needs to add the watermark is in the area where the preset initial local picture is located, correspondingly, the preset initial local picture may be the target local picture. Accordingly, the movement trigger instruction may be null. Accordingly, the process goes directly to step S206.
S206: and receiving a watermark adding triggering instruction of a user on the target local picture, and displaying a watermark adding picture corresponding to the watermark adding triggering instruction.
In this embodiment of the present description, after determining that the target local picture that needs to be watermarked is obtained by the asahi east, the user may trigger a watermark adding trigger instruction, and correspondingly, the client may receive the watermark adding trigger instruction of the user on the target local picture, and display a watermark adding picture corresponding to the watermark adding trigger instruction.
In a specific embodiment, the receiving a watermarking trigger instruction of a user at the target local picture, and displaying a watermarking picture corresponding to the watermarking trigger instruction may include:
receiving a watermark adding triggering instruction of a user in the target local picture, and acquiring watermark information corresponding to the watermark adding triggering instruction and a target position for adding the watermark information;
and adding the watermark information at the target position of the target local picture to generate a picture added with the watermark.
Selecting a local picture in the picture added with the watermark as a watermark adding picture;
and displaying the watermark adding picture according to the original resolution of the picture to be processed.
Specifically, the watermark information in the embodiments of the present specification may include, but is not limited to, text, pictures, numbers, and the like. In a specific embodiment, it is assumed that the watermark information is the medium-ring road condition, as shown in fig. 10, fig. 10 is a schematic diagram of an embodiment of a watermarked picture provided in this specification.
Correspondingly, the watermarked picture can be directly and locally displayed to the user according to the original resolution ratio subsequently, and correspondingly, the user can check the complete watermarked picture through operations of dragging, zooming and the like on the picture.
In practical applications, for example, the watermarking processing is performed in a mobile phone client of the touch screen of the android system, the preset initial local picture of the picture to be processed in step S202 may be implemented by a corresponding picture local loading class, for example, a region picture loading class bitmapregionodecoder, in an operation process of locally loading the picture. Correspondingly, the parameters of the dragging area can be changed in the monitored callback by monitoring the moving gesture in the onTouchEvent (touch event), and boundary inspection is performed; and then, loading a target local picture corresponding to the movement trigger instruction by using a bitmap region decoder according to the parameters of the dragging region for displaying. And then, after a user triggers a watermark adding triggering instruction, recording information such as the position, the size and the like of the watermark information relative to the original image, adding the watermark information which needs to be added by the user to the watermark information adding position in the image to be processed through a bitmap region encoder (region image writing class), and generating and storing the image with the watermark. In the process of using a Bitmap region encoder to combine watermark information and a picture to be processed to generate a picture after adding a watermark, three parameters need to be acquired, original path information inputStrem of the picture to be processed, adding position information Rect of the watermark information, and watermark information Bitmap.
Therefore, one or more embodiments of a watermarking processing method in the specification display a local picture of a picture to be processed in a screen according to an original resolution of the picture to be processed; then, receiving a movement trigger instruction of a user based on the local picture, and displaying a target local picture including a region needing to be added with watermark information according to the original resolution of the picture to be processed, so that the resolution of the picture is ensured when the watermark is added; and finally, receiving a watermark adding triggering instruction of the user on the target local picture, and displaying a clear watermark adding picture corresponding to the watermark adding triggering instruction, so that the resolution of the picture is greatly improved, and the user experience is improved.
Another aspect of this specification further provides a watermarking processing apparatus, and fig. 11 is a schematic structural diagram of an embodiment of the watermarking processing apparatus provided in this specification, and as shown in fig. 1, the apparatus 1100 may include:
the initial local picture display module 1110 may be configured to display a preset initial local picture of the to-be-processed picture in a screen according to an original resolution of the to-be-processed picture;
a movement trigger instruction receiving module 1120, configured to receive a movement trigger instruction of a user based on the preset initial local picture;
a target local picture display module 1130, configured to display a target local picture corresponding to the movement trigger instruction in the to-be-processed picture according to an original resolution of the to-be-processed picture;
the watermarking image displaying module 1140 may be configured to receive a watermarking trigger instruction of a user at the target local image, and display a watermarking image corresponding to the watermarking trigger instruction.
In another embodiment, the initial partial picture display module 1110 may include:
the device comprises a pixel size acquisition unit, a processing unit and a display unit, wherein the pixel size acquisition unit is used for acquiring the original pixel size of a picture to be processed and the display pixel size of a screen for displaying the picture to be processed;
the picture display size determining unit is used for determining the picture display size of the picture to be processed in the screen according to the display pixel size of the screen and the original pixel size of the picture to be processed;
and the initial local picture determining module is used for selecting a preset local picture with the picture display size from the pictures to be processed and taking the preset local picture with the picture display size as the preset initial local picture.
In another embodiment, the movement trigger instruction receiving module 1120 may include:
and the first receiving unit is used for receiving the clicking operation of the user on the preset initial local picture and the dragging operation at the position corresponding to the clicking operation.
In another embodiment, the target local picture display module 1130 may include:
a first movement data acquisition unit for acquiring a movement direction and a movement distance corresponding to the movement trigger instruction;
the first target local picture determining unit is used for determining a target local picture in the pictures to be processed according to the moving direction and the moving distance;
and the first target local picture display unit is used for displaying the target local picture according to the original resolution of the picture to be processed.
In another embodiment, the movement trigger instruction receiving module 1120 may include:
and the second receiving unit is used for receiving the preset sliding gesture operation of the user based on the preset initial local picture.
In another embodiment, the target local picture display module includes:
a second movement data acquisition unit for acquiring a movement direction and a movement number corresponding to the movement trigger instruction;
the second target local picture determining unit is used for determining a target local picture in the pictures to be processed according to the moving direction and the moving times;
and the second target local picture display unit is used for displaying the target local picture according to the original resolution of the picture to be processed.
In another embodiment, when the number of times of movement is one, the second target local picture determining unit:
and the image processing device is used for selecting a next local image of the preset initial local image in the moving direction from the to-be-processed image, and taking the next local image as the target local image.
In another embodiment, when the number of times of movement is equal to or greater than two, the second target local picture determining unit:
the image processing device is used for selecting a next local image in the moving direction of the preset initial local image when the preset initial local image moves for the first time from the images to be processed;
the next partial picture in the moving direction of the current next partial picture moving next is selected from the pictures to be processed;
and the step of selecting the next local picture in the moving direction of the current next local picture to move next from the pictures to be processed is repeated until the movement corresponding to the current moving times is the last movement corresponding to the movement trigger instruction, and the next local picture corresponding to the last movement is taken as the target local picture.
In another embodiment, the watermarking picture displaying module 1140 may include:
the watermark adding triggering instruction receiving unit is used for receiving a watermark adding triggering instruction of a user in the target local picture;
a watermark adding information acquiring unit, configured to acquire watermark information corresponding to the watermark adding trigger instruction and a target position to which the watermark information is added;
the watermark picture generating module is used for adding the watermark information at the target position of the target local picture to generate a picture added with the watermark;
and the watermark adding picture display unit is used for selecting a local picture in the picture after the watermark is added as a watermark adding picture and displaying the watermark adding picture according to the original resolution of the picture to be processed.
The watermarking processing method and apparatus provided in the embodiments of the present specification may be implemented in a computer by a processor executing corresponding program instructions, for example, implemented at a PC end using a c + + language of a windows operating system, or implemented at an intelligent terminal using android, iOS system programming languages, or implemented based on processing logic of a quantum computer. As shown in fig. 12, fig. 12 is a schematic configuration diagram of a watermarking processing client according to an exemplary embodiment of the present specification. On the hardware level, the client may include a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include hardware required for other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the watermarking processing device on the logic level. Of course, besides the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
Specifically, another aspect of the present specification further provides a watermarking processing client, including a processor and a memory, where the memory stores computer program instructions executed by the processor, and the computer program instructions may include:
displaying a preset initial local picture of the picture to be processed in a screen according to the original resolution of the picture to be processed;
receiving a movement trigger instruction of a user based on the preset initial local picture, and displaying a target local picture corresponding to the movement trigger instruction in the picture to be processed according to the original resolution of the picture to be processed;
and receiving a watermark adding triggering instruction of a user on the target local picture, and displaying a watermark adding picture corresponding to the watermark adding triggering instruction.
In the embodiment of the present disclosure, the processor may include a Central Processing Unit (CPU) or a Graphics Processing Unit (GPU), and may also include other single-chip microcomputers, logic gates, integrated circuits, and the like with logic processing capability, or a suitable combination thereof. The memory according to the embodiment of the present application may be a memory device for storing information. In a digital system, the device capable of storing binary data may be a memory; in an integrated circuit, a circuit without an actual form and with a storage function can also be a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form may also be called a memory or the like. When the method is implemented, the memory can also be implemented in a cloud memory mode, and the specific implementation mode is not limited in this specification.
Therefore, in the embodiment of the watermarking processing method, the watermarking processing device or the client, the local picture of the picture to be processed is displayed in the screen according to the original resolution of the picture to be processed; then, receiving a movement trigger instruction of a user based on the local picture, and displaying a target local picture including a region needing to be added with watermark information according to the original resolution of the picture to be processed, so that the resolution of the picture is ensured when the watermark is added; and finally, receiving a watermark adding triggering instruction of the user on the target local picture, and displaying a clear watermark adding picture corresponding to the watermark adding triggering instruction, so that the resolution of the picture is greatly improved, and the user experience is improved.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 th generation of 20 th century, it is obvious that improvements in Hardware (for example, improvements in Circuit structures such as diodes, transistors and switches) or software (for improvement in method flow) can be distinguished for a technical improvement, however, as technology develops, many of the improvements in method flow today can be regarded as direct improvements in Hardware Circuit structures, designers almost all obtain corresponding Hardware Circuit structures by Programming the improved method flow into Hardware circuits, and therefore, it cannot be said that an improvement in method flow cannot be realized by Hardware entity modules, for example, Programmable logic devices (Programmable logic devices L organic devices, P L D) (for example, Field Programmable Gate Arrays (FPGAs) are integrated circuits whose logic functions are determined by user Programming of devices), and a digital system is "integrated" on a P L D "by self Programming of designers without requiring many kinds of integrated circuits manufactured and manufactured by special chip manufacturers to design and manufacture, and only a Hardware software is written in Hardware programs such as Hardware programs, software programs, such as Hardware programs, software, Hardware programs, software programs, Hardware programs, software, Hardware programs, software, Hardware programs, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software.
A controller may be implemented in any suitable manner, e.g., in the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers (PLC's) and embedded microcontrollers, examples of which include, but are not limited to, microcontrollers 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone L abs C8051F320, which may also be implemented as part of the control logic of a memory.
The apparatuses, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or implemented by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware implementations of the present description.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage, graphene storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, apparatus or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device and server embodiments, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present specification should be included in the scope of the claims.