Image display method, device, equipment and computer-readable storage medium
By obtaining and integrating display information on electronic table cards and adjusting pictures according to operation instructions to adapt to the display area, the problem of poor flexibility in updating information of electronic table cards is solved, and flexible updates of information and improvements in display effects are achieved.
Patent Information
- Application Number
- CN202110267781.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-12
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-03-12
AI Technical Summary
Existing electronic platform brands have poor flexibility in information updates, making it difficult to quickly update information according to actual needs, especially in product prices or promotions, which leads to confusing display content and limited application scope.
By obtaining operation instructions when the detection picture display function is started, the first and second display information are processed in conjunction with processing, the pictures are adjusted to adapt to the preset display area, and the pictures are displayed at the target position to achieve flexible update and adaptation of information.
It improves the flexibility and display effect of update information in electronic table cards, adapts to the needs of different application scenarios, and enhances the timeliness and simplicity of information display.
Smart Images

Figure CN112948045B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a picture display method, device, equipment and computer-readable storage medium. Background Art
[0002] As a new type of sales sign, EPOP electronic signboards have developed rapidly in product sales due to their economical applicability of displaying more information in a limited space. With the development of electronic signboards, more and more terminal sellers are beginning to favor electronic signboards instead of traditional paper signboards. Currently, common electronic signboards that display marketing selling points generally include electronic price tags that display product prices, usually multiple information such as price, equipment information, and marketing activities, which are displayed on the same electronic signboard or device. When multiple marketing information needs to be displayed and needs to be displayed on the same electronic signboard or device, the display interface of the entire electronic signboard or device will appear abnormally chaotic. More importantly, the existing electronic signage displays customized content. Once product information or prices are determined, a picture containing relevant information is generated, and the customized electronic signage can only be used to sell specific products based on the information it displays, so its scope of application is limited. When a product has a promotion and price changes, since the electronic signage displays information in the form of pictures, it is difficult for sales staff to operate or change the information in the pictures. Therefore, sales staff cannot update the picture display in the electronic signage according to actual needs, resulting in poor flexibility in updating the information displayed in the electronic signage. Summary of the invention
[0003] The main purpose of the present invention is to provide a picture display method, device, equipment and computer-readable storage medium, aiming to solve the technical problem of poor updating flexibility of display information in existing electronic table signs.
[0004] In addition, to achieve the above object, the present invention also provides a picture display method, which comprises the following steps:
[0005] When it is detected that the image display function is started, the image operation instruction is obtained;
[0006] According to the picture operation instruction, first display information and second display information are acquired, and the first display information and the second display information are merged to obtain a first display picture;
[0007] Acquire an adjustment instruction for the first display image, and adapt the first display image to a preset display area according to the adjustment instruction to obtain a target display image;
[0008] A target display position corresponding to the target display image is determined in the preset display area, and the target display image is displayed at the target display position.
[0009] Optionally, the step of acquiring the first display information and the second display information according to the picture operation instruction includes:
[0010] Converting the image operation instruction to obtain first display information corresponding to the image operation instruction;
[0011] The device that triggers the picture operation instruction is detected to determine a server corresponding to the device, and the second display information is obtained from the server.
[0012] Optionally, the step of fusing the first display information and the second display information to obtain a first display picture includes:
[0013] Acquire the information type of the first display information;
[0014] detecting the second display information according to the information type to determine an insertion point of the first display information in the second display information;
[0015] After the first display information is inserted into an insertion point in the second display information, the first display information and the second display information are transformed to obtain a first display picture.
[0016] Optionally, the step of adapting the first display image to a preset display area according to the adjustment instruction to obtain a target display image includes:
[0017] Acquire adjustment parameters from the adjustment instruction, and detect the preset display area to determine the size of the preset display area;
[0018] The first display image is adjusted according to the adjustment parameter and the size of the preset display area to obtain a target display image.
[0019] Optionally, the step of adjusting the first display image according to the adjustment parameter and the size of the preset display area to obtain a target display image includes:
[0020] Adjusting the style of the first display picture according to the adjustment parameter to adjust the style of the first display picture to a target style corresponding to the adjustment parameter, thereby obtaining a second display picture;
[0021] The size of the second display picture is adjusted according to the size of the preset display area, so as to adjust the size of the second display picture to a target size, thereby obtaining a target display picture.
[0022] Optionally, after the step of displaying the target display picture at the target display position, the method further comprises:
[0023] Obtaining a change instruction for the target display image;
[0024] According to the change instruction, acquiring change information of the target display picture, and determining third display information corresponding to the change instruction in the target display picture;
[0025] The modification information is merged with the target display picture to replace the third display information in the target display picture to obtain a third display picture.
[0026] Optionally, after the step of replacing the third display information in the target display picture to obtain the third display picture, the step further includes:
[0027] Obtaining a display instruction for the third display picture, and displaying the third display picture in the preset display area according to the display instruction;
[0028] The validity of the display instruction is detected, and when it is detected that the display instruction is invalid, the third display image is replaced by the target display image in the preset display area.
[0029] In addition, to achieve the above-mentioned purpose, the present invention further provides a picture display device, the picture display device comprising:
[0030] The instruction acquisition module is used to acquire the picture operation instruction when it is detected that the picture display function is started;
[0031] An image processing module is used to obtain the first display information and the second display information according to the image operation instruction, and perform fusion processing on the first display information and the second display information to obtain a target display image;
[0032] An image adaptation module, used to adapt the target display image to a preset display area, and determine a target display position corresponding to the target display image in the preset display area;
[0033] The picture display module is used to obtain an adjustment instruction of the target display picture, and display the target display picture at the target display position according to the adjustment instruction.
[0034] In addition, to achieve the above-mentioned purpose, the present invention also provides a picture display device, which includes: a memory, a processor, and a picture display program stored in the memory and executable on the processor, and the picture display program implements the steps of the above-mentioned picture display method when executed by the processor.
[0035] In addition, to achieve the above-mentioned purpose, the present invention further provides a computer-readable storage medium, on which a picture display program is stored, and when the picture display program is executed by a processor, the steps of the picture display method as described above are implemented.
[0036] The embodiment of the present invention proposes a method, device, equipment and computer-readable storage medium for displaying an image. Compared with the existing customized electronic billboards, which have limited application scope and untimely update of display information, in the embodiment of the present invention, when it is detected that the image display function is started, an image operation instruction is obtained; according to the image operation instruction, the first display information and the second display information are obtained, and the first display information and the second display information are fused to obtain a first display image; an adjustment instruction for the first display image is obtained, and the first display image is adapted to a preset display area according to the adjustment instruction to obtain a target display image; a target display position corresponding to the target display image is determined in the preset display area, and the target display image is displayed at the target display position. When the target display image is applied to the electronic billboard, different information is obtained according to different application scenarios, and the obtained information is fused to obtain a target display image containing different display information, thereby improving the flexibility of updating the display information in the image, and at the same time, the displayed image is adjusted according to the obtained adjustment instruction to obtain the target display image and then displayed, thereby improving the flexibility of information display. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of the hardware structure of an implementation of a picture display device provided in an embodiment of the present invention;
[0038] Figure 2 It is a flowchart of a first embodiment of a method for displaying pictures according to the present invention;
[0039] Figure 3 A schematic diagram of a template image and a first display image in a first embodiment of the image display method of the present invention;
[0040] Figure 4 A schematic diagram of a display effect of a target display image in the first embodiment of the image display method of the present invention;
[0041] Figure 5 It is a schematic diagram of another display effect of the target display picture in the first embodiment of the picture display method of the present invention;
[0042] Figure 6 It is a schematic diagram of another display effect of the target display picture in the first embodiment of the picture display method of the present invention;
[0043] Figure 7 It is a schematic diagram of another display effect of the target display picture in the first embodiment of the picture display method of the present invention;
[0044] Figure 8 FIG. 4 is a schematic diagram of functional modules of an image display device according to an embodiment of the present invention.
[0045] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0046] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0047] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0048] The image display device (also called terminal, device or terminal device) in the embodiment of the present invention can be a PC, or a mobile terminal device with a display function such as a smart TV, a smart phone, a tablet computer and a portable computer.
[0049] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0050] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.
[0051] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0052] like Figure 1 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a picture display program.
[0053] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the image display program stored in the memory 1005. When the image display program is executed by the processor, the operations in the image display method provided in the following embodiment are implemented.
[0054] Based on the above device hardware structure, an embodiment of the picture display method of the present invention is proposed.
[0055] Reference Figure 2 In a first embodiment of the picture display method of the present invention, the picture display method includes:
[0056] Step S10, when it is detected that the picture display function is started, obtaining a picture operation instruction;
[0057] In the present invention, the image display method is applied to terminal devices with display functions such as smart TVs and personal computers. When applied to such terminal devices, it can be used as an electronic signboard for device sales. The following is an example of an electronic signboard applied to a smart TV (hereinafter referred to as a TV). When it is detected that the image display function on the TV is activated, a picture operation instruction is obtained. The picture operation instruction can be an instruction triggered by the user through the TV. In this embodiment, the user can be a salesperson of the TV. When it is necessary to set an electronic signboard on the TV for sale to display sales information, the start instruction triggered by the user is obtained, and the picture display function is started on the TV according to the obtained start instruction. When it is detected that the picture display function is activated, the picture operation instruction input by the user is obtained.
[0058] Step S20, acquiring first display information and second display information according to the picture operation instruction, and fusing the first display information and the second display information to obtain a target display picture;
[0059] According to the image operation instructions input by the user, the first display information and the second display information are obtained, wherein the first display information is the information input by the user, including price, product model, product configuration information and other adjustable information, and the second display information includes at least one preset template image, and the price, product model, product configuration information and other information input by the user are merged with the preset template information to obtain a new target display image with product sales information.
[0060] The refinement of step S20 includes steps A1-A5:
[0061] Step A1, converting the picture operation instruction to obtain first display information corresponding to the picture operation instruction;
[0062] Step A2: Detect the device that triggers the image operation instruction to determine the server corresponding to the device, and obtain the second display information from the server.
[0063] Furthermore, when obtaining display information, the image operation instruction input by the user is first converted to obtain display information corresponding to the image operation instruction. Before the user inputs the operation instruction corresponding to the display information, the user will first trigger the information input instruction, that is, the image operation instruction, and then trigger a series of operation instructions corresponding to the display information to be processed. The image operation instruction input by the user is converted to obtain the display information input by the user, that is, the first display information. The first display information includes the price, product model and configuration parameters of the product. The configuration parameters of the product include parameter names and specific parameters, etc. Then, the device that triggers the image operation instruction is detected, and the cloud server corresponding to the device operated by the user is determined. Among them, a link for communicating with the cloud server is preset in the device. Through this link, the second display information is downloaded from the cloud server corresponding to the device. The second display information downloaded from the cloud server includes a template image.
[0064] Step A3, obtaining the information type of the first display information;
[0065] Step A4, detecting the second display information according to the information type to determine an insertion point of the first display information in the second display information;
[0066] Step A5: after inserting the first display information into the insertion point of the second display information, transform the first display information and the second display information to obtain a first display picture.
[0067] Furthermore, after obtaining the display information input by the user and the display information of the cloud server, the information type of the display information input by the user is first determined, wherein the information type includes price, product model, product configuration, etc. After downloading the image template from the cloud server, the insertion points of different types of information are determined in the image template, and then the information of each type input by the user is correspondingly inserted into the position of the corresponding insertion point in the image template. Specifically, when determining the insertion point of each type of information, it can be positioned according to the pixels of the template image. Figure 3 , Figure 3 The left picture in the figure is a schematic diagram of a picture template in this embodiment. The picture template includes a price display area, a model display area, a configuration parameter display area, etc. The display information is inserted into different positions of the template picture according to the type of display information input by the user. The configuration parameter display area includes multiple parameter information display areas. Different icons can be set in the template picture to distinguish different parameters. When the configuration parameters input by the user are detected, the corresponding icons and the configuration parameter information input by the user are displayed in the template image. After the display information input by the user is inserted into the template picture, the following is obtained. Figure 3When inserting the display information input by the user into the template image, it includes but is not limited to converting the display information input by the user into a layer, using the target image as another layer, superimposing the layer containing the display information input by the user on the layer corresponding to the template image, and converting the superimposed layer into a new image, namely the first display image.
[0068] Step S30, obtaining an adjustment instruction for the first display image, and adapting the first display image to a preset display area according to the adjustment instruction to obtain a target display image;
[0069] After obtaining the first display image, an adjustment instruction triggered by the user is obtained. According to the adjustment instruction triggered by the user, the obtained first display image is adapted to the preset display area. In this embodiment, the preset display area is the display screen of the TV. According to the size of the display screen of the TV, the first display image is scaled to obtain the target display image, thereby ensuring that when the target display image is displayed on the display screen of the TV, the ratio with the display screen of the TV is appropriate, thereby achieving a better information display effect.
[0070] The refinement of step S30 includes steps B1-B2:
[0071] Step B1, obtaining adjustment parameters from the adjustment instruction, and detecting the preset display area to determine the size of the preset display area;
[0072] Step B2: adjusting the first display image according to the adjustment parameters and the size of the preset display area to obtain a target display image.
[0073] Furthermore, the adjustment instruction triggered by the user includes adjustment parameters, which include the number of pictures to be displayed, the display time and the style of the pictures. The style of the pictures may be, for example, "transparent background", "multiple pictures overlay", "hidden parameters", etc. The final display effect of the picture can be determined by the picture style. The adjustment parameters of the picture that finally needs to be displayed are determined from the adjustment instruction triggered by the user, and the preset display area is detected to determine the size of the preset display area. According to the adjustment parameters and the size of the preset display area, the first display picture is adjusted to obtain the target display picture.
[0074] The refinement of step B2 includes steps B21-B22:
[0075] Step B21, adjusting the style of the first display picture according to the adjustment parameter, so as to adjust the style of the first display picture to a target style corresponding to the adjustment parameter, and obtaining a second display picture;
[0076] Step B22, adjusting the size of the second display picture according to the size of the preset display area to adjust the size of the second display picture to a target size, thereby obtaining a target display picture.
[0077] Furthermore, the first display image is adjusted according to the adjustment parameters and the size of the preset display area. The specific process of obtaining the target display image is: first, the style of the first display image is adjusted according to the adjustment parameters. For example, when the first display image includes multiple images, if the instruction corresponding to the image style in the adjustment instruction is a "multi-image overlay" instruction, the multiple images are superimposed and displayed. After superposition, generally only the information contained in the top image can be displayed. Therefore, when superimposing, the top image can be determined according to the order of display information input by the user, or it can be customized by the user.
[0078] After adjusting the style of the first display image according to the adjustment parameters obtained from the adjustment instruction triggered by the user, the second display image is obtained, and then the size of the second display image is adjusted according to the size of the preset display area, and the size of the second display image is adjusted to a target size that is adapted to the display area, thereby obtaining a target display image. When adjusting the size of the image, the image may be scaled proportionally or in other ways, which are not specifically limited here.
[0079] Step S40, determining a target display position corresponding to the target display image in the preset display area, and displaying the target display image at the target display position.
[0080] After obtaining the target display image that can be displayed in the preset display area, determine the display position corresponding to the target display image in the preset display area, that is, the target display position. The target display position can be pre-set, for example, the preset distance from the top left corner of the TV display screen to the top and left ends of the screen, or it can be customized by the user as needed, for example, the distance from the top and left ends of the TV display screen is set as an adjustable option, and the user customizes the display position of the image. After determining the display position of the target display image, display the target display image at the target display position. Among them, the instruction to display the target display image at the target display position can be triggered by the user pressing a preset specific button, or it can be automatically triggered after detecting that the user has not performed any operation within a preset time.
[0081] Reference Figures 4 to 7 , Figures 4 to 7 They are schematic diagrams of displaying the target display image in the preset display area. Figure 4In the process, a target display image including a product model, price and configuration parameters is displayed on a TV screen, wherein the model, price and configuration parameters can be input by a user. Figure 5 In the figure, there is a schematic diagram of the effect after the image background is made "transparent". Users can set the image background to be transparent according to actual needs, and integrate the product sales information with the promotional videos or pictures played on the TV, making the entire screen playback interface of the TV appear simple and orderly. Figure 6 In the middle, it is the display effect of multiple images superimposed. When multiple images are superimposed, it is generally used to display the sales information of devices of the same model with different configurations. An expansion button will be set in the multi-image superimposition area, such as Figure 6 As shown in the left picture in , when the user presses the button to trigger the corresponding command, the superimposed multiple pictures can be expanded and displayed, such as Figure 6 As shown in the right picture in the figure, after the stacked images are expanded, the expand button becomes the stack button. When the user presses the button again to trigger the command, the images are stacked again and restored to Figure 6 The effect is shown in the left figure. Figure 7 In order to make the entire display area more concise and orderly, users can hide product configuration parameter information as needed and set a button "More Information". When the button is pressed, the hidden configuration parameter information will be displayed. Figures 4 to 7 The various display effects in the figure can be used in any combination and superposition, and the display effects in the above schematic diagram are only used to illustrate the display effects of the target display pictures in this embodiment, and are not used to limit the picture display effects in the present invention.
[0082] In this embodiment, when it is detected that the image display function is started, the image operation instruction is obtained; according to the image operation instruction, the first display information and the second display information are obtained, and the first display information and the second display information are fused to obtain the first display image; the adjustment instruction of the first display image is obtained, and the first display image is adapted to the preset display area according to the adjustment instruction to obtain the target display image; the target display position corresponding to the target display image is determined in the preset display area, and the target display image is displayed at the target display position. When the target display image is applied to the electronic billboard, different information is obtained according to different application scenarios, and the obtained information is fused to obtain the target display image containing different display information, thereby improving the flexibility of updating the display information in the image, and at the same time, the displayed image is adjusted according to the obtained adjustment instruction to obtain the target display image and then displayed, thereby improving the flexibility of information display.
[0083] Furthermore, based on the above-mentioned embodiment of the present invention, a second embodiment of the method of the present invention is proposed.
[0084] This embodiment is the step after step S40 in the first embodiment, including steps C1-C3:
[0085] Step C1, obtaining a change instruction of the target display picture;
[0086] Step C2, acquiring the change information of the target display picture according to the change instruction, and determining the third display information corresponding to the change instruction;
[0087] Step C3: merge the modification information with the target display picture to replace the third display information corresponding to the modification instruction in the target display picture to obtain a third display picture.
[0088] Taking the electronic signboard applied to a television in the above embodiment as an example, this embodiment is the step after the target display image is displayed in the preset display area in the above embodiment. It can be seen that there are generally promotional activities in product sales, as well as price fluctuations caused by product updates. Therefore, the price of the same product is not static during the sales process. When the price of the TV changes, it is necessary to change the information in the target display image. Therefore, when the target display image is displayed on the TV screen, a change instruction of the target display image is obtained. The change instruction is randomly triggered by the user. When the sales information of the TV changes, the user can trigger the display information change instruction at any time according to the information change to update the sales information such as the price displayed in the target display image.
[0089] Further, according to the change instruction triggered by the user, the change information corresponding to the change instruction is obtained, and the information type of the change information is detected, so as to determine the display information corresponding to the change instruction in the target display picture. For example, when it is detected that the change information corresponding to the change instruction triggered by the user is the price of the product, the price information in the target display picture needs to be changed. Specifically, after backing up the target display picture, the obtained change information is merged with the target display picture again and converted into a new picture to obtain a third display picture.
[0090] After step C3, steps C4-C5 are included:
[0091] Step C4, obtaining a display instruction of the third display picture, and displaying the third display picture in the preset display area according to the display instruction;
[0092] Step C5, detecting the validity of the display instruction, and when it is detected that the display instruction is invalid, replacing the third display image with the target display image in the preset display area.
[0093] Furthermore, after obtaining the third display image, the display instruction corresponding to the third display image triggered by the user is obtained, and the third display image is displayed in the preset display area according to the display instruction. The display instruction includes a display time, and the display time can be "long-term valid", "short-term valid", etc., which is not specifically limited here. When there is a promotional activity, the display image corresponding to the promotional price can be set to be short-term valid. When the user enters the display instruction, if the display time is selected as "short-term valid", it is necessary to select the time interval in which the display instruction is valid, such as "xx-xx-xx", and the image is only valid within the time interval set by the user. When a short-term valid image is displayed in the preset display area, the validity of the display instruction of the display image will be detected. When it is detected that the display instruction is invalid, that is, it is not within the display time interval of the image, the image is replaced with the target display image, and the target display image is displayed in the preset display area.
[0094] It can be seen that by detecting the validity of the display instructions corresponding to the displayed images, it is possible to achieve timed updates of information, that is, the changed information can be set in advance before the information changes, and the changed information will be automatically updated and displayed after the expected information update time. After the information change time, it will be automatically updated and displayed as long-term valid information, which reduces the number of times the user repeatedly enters information when the information changes, and can improve the timeliness of information updates.
[0095] In this embodiment, first, a change instruction of the target display image is obtained; according to the change instruction, change information of the target display image is obtained, and the third display information corresponding to the change instruction in the target display image is determined; the change information is merged with the target display image to replace the third display information in the target display image to obtain a third display image; then a display instruction of the third display image is obtained, and according to the display instruction, the third display image is displayed in the preset display area; the validity of the display instruction is detected, and when it is detected that the display instruction is invalid, the third display image is replaced with the target display image in the preset display area. That is, the third display image is obtained after the information of the target display image is changed, and the timed update of the information is realized by detecting the validity of the display instruction corresponding to the third display image, thereby improving the timeliness of the update of the display information.
[0096] In addition, refer to Figure 8 The embodiment of the present invention further provides a picture display device, the picture display device comprising:
[0097] The instruction acquisition module 10 is used to acquire the picture operation instruction when it is detected that the picture display function is started;
[0098] The image processing module 20 is used to obtain the first display information and the second display information according to the image operation instruction, and perform fusion processing on the first display information and the second display information to obtain a target display image;
[0099] The picture adaptation module 30 is used to obtain an adjustment instruction of the first display picture, and adapt the first display picture to a preset display area according to the adjustment instruction to obtain a target display picture;
[0100] The picture display module 40 is used to determine a target display position corresponding to the target display picture in the preset display area, and display the target display picture at the target display position.
[0101] Optionally, the image processing module 20 includes:
[0102] An instruction conversion unit, used to convert the image operation instruction to obtain first display information corresponding to the image operation instruction;
[0103] The first detection unit is used to detect the device that triggers the image operation instruction to determine the server corresponding to the device and obtain the second display information from the server.
[0104] Optionally, the picture processing module 20 further includes:
[0105] A first acquiring unit, configured to acquire an information type of the first display information;
[0106] a second detection unit, configured to detect the second display information according to the information type, so as to determine an insertion point of the first display information in the second display information;
[0107] The picture conversion unit is used to convert the first display information and the second display information after inserting the first display information into an insertion point in the second display information to obtain a first display picture.
[0108] Optionally, the picture adaptation module 30 includes:
[0109] a third detection unit, configured to obtain an adjustment parameter from the adjustment instruction and detect the preset display area to determine a size of the preset display area;
[0110] The image adaptation unit is used to adjust the first display image according to the adjustment parameters and the size of the preset display area to obtain a target display image.
[0111] Optionally, the image adaptation unit includes:
[0112] a first adjustment subunit, configured to adjust the style of the first display picture according to the adjustment parameter, so as to adjust the style of the first display picture to a target style corresponding to the adjustment parameter, and obtain a second display picture;
[0113] The second adjusting subunit is used to adjust the size of the second display picture according to the size of the preset display area, so as to adjust the size of the second display picture to a target size and obtain a target display picture.
[0114] Optionally, the picture display device further includes:
[0115] A first instruction acquisition unit, used to acquire an instruction to change the target display picture;
[0116] an information acquisition unit, configured to acquire the change information of the target display picture according to the change instruction, and determine third display information corresponding to the change instruction in the target display picture;
[0117] The picture fusion unit is used to fuse the modification information with the target display picture to replace the third display information in the target display picture to obtain a third display picture.
[0118] Optionally, the picture display device further includes:
[0119] A second instruction acquisition unit, configured to acquire a display instruction of the third display picture, and display the third display picture in the preset display area according to the display instruction;
[0120] The fourth detection unit is used to detect the validity of the display instruction, and when it is detected that the display instruction is invalid, replace the third display image with the target display image in the preset display area.
[0121] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a picture display program is stored. When the picture display program is executed by a processor, the operations in the picture display method provided in the above embodiment are implemented.
[0122] The methods executed by the above-mentioned program modules can refer to the various embodiments of the method of the present invention, and will not be described in detail here.
[0123] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such actual relationship or order between these entities / operations / objects; the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0124] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment. The device embodiment described above is only illustrative, and the units described as separate components may or may not be physically separated. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the present invention. Those of ordinary skill in the art can understand and implement it without paying creative work.
[0125] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0126] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, including a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the image display method described in each embodiment of the present invention.
[0127] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for displaying an image, characterized in that: The picture display method comprises the following steps: When it is detected that the image display function is started, the image operation instruction is obtained; According to the picture operation instruction, first display information and second display information are acquired, and the first display information and the second display information are merged to obtain a first display picture; the first display information is information input by a user; the second display information includes at least one preset template picture; Obtaining an adjustment instruction for the first display picture, obtaining an adjustment parameter from the adjustment instruction, and adjusting the style of the first display picture according to the adjustment parameter to adjust the style of the first display picture to a target style corresponding to the adjustment parameter, thereby obtaining a second display picture; Adjusting the size of the second display picture according to the size of the preset display area to adjust the size of the second display picture to a target size, thereby obtaining a target display picture; Determining a target display position corresponding to the target display image in the preset display area, and displaying the target display image at the target display position; Obtaining a change instruction for the target display image; According to the change instruction, acquiring change information of the target display picture, and determining third display information corresponding to the change instruction in the target display picture; The modification information is merged with the target display picture to replace the third display information in the target display picture to obtain a third display picture; Obtaining a display instruction of the third display picture, and displaying the third display picture in the preset display area according to the display instruction; the display instruction includes a display time; The validity of the display instruction is detected, and when it is detected that the display instruction is invalid, the third display image is replaced by the target display image in the preset display area.
2. The image display method according to claim 1, characterized in that: The step of acquiring the first display information and the second display information according to the picture operation instruction includes: Converting the image operation instruction to obtain first display information corresponding to the image operation instruction; The device that triggers the picture operation instruction is detected to determine a server corresponding to the device, and the second display information is obtained from the server.
3. The image display method according to claim 1, wherein: The step of fusing the first display information and the second display information to obtain a first display picture includes: Acquire the information type of the first display information; detecting the second display information according to the information type to determine an insertion point of the first display information in the second display information; After the first display information is inserted into an insertion point in the second display information, the first display information and the second display information are transformed to obtain a first display picture.
4. A picture display device, characterized in that: The picture display device comprises: The instruction acquisition module is used to acquire the picture operation instruction when it is detected that the picture display function is started; An image processing module, configured to obtain first display information and second display information according to the image operation instruction, and perform fusion processing on the first display information and the second display information to obtain a first display image; the first display information is information input by a user; the second display information includes at least one preset template image; a picture adaptation module, configured to obtain an adjustment instruction for the first display picture, obtain an adjustment parameter from the adjustment instruction, and adjust the style of the first display picture according to the adjustment parameter to adjust the style of the first display picture to a target style corresponding to the adjustment parameter, thereby obtaining a second display picture; Adjusting the size of the second display picture according to the size of the preset display area to adjust the size of the second display picture to a target size, thereby obtaining a target display picture; An image display module, configured to determine a target display position corresponding to the target display image in the preset display area, and display the target display image at the target display position; The picture display module is also used for: Obtaining a change instruction for the target display image; According to the change instruction, acquiring change information of the target display picture, and determining third display information corresponding to the change instruction in the target display picture; The modification information is merged with the target display picture to replace the third display information in the target display picture to obtain a third display picture; Obtaining a display instruction of the third display picture, and displaying the third display picture in the preset display area according to the display instruction; the display instruction includes a display time; The validity of the display instruction is detected, and when it is detected that the display instruction is invalid, the third display image is replaced by the target display image in the preset display area.
5. A picture display device, characterized in that: The image display device comprises: a memory, a processor, and an image display program stored in the memory and executable on the processor, wherein the image display program implements the steps of the image display method according to any one of claims 1 to 3 when executed by the processor.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a picture display program, and when the picture display program is executed by a processor, the steps of the picture display method according to any one of claims 1 to 3 are implemented.
