CN114943005A - Picture display processing method and device - Google Patents

Picture display processing method and device Download PDF

Info

Publication number
CN114943005A
CN114943005A CN202210539079.XA CN202210539079A CN114943005A CN 114943005 A CN114943005 A CN 114943005A CN 202210539079 A CN202210539079 A CN 202210539079A CN 114943005 A CN114943005 A CN 114943005A
Authority
CN
China
Prior art keywords
picture
text
display
displayed
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210539079.XA
Other languages
Chinese (zh)
Inventor
张津豪
李宝安
曾令辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202210539079.XA priority Critical patent/CN114943005A/en
Publication of CN114943005A publication Critical patent/CN114943005A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5846Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using extracted text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Library & Information Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a picture display processing method and device, and relates to the technical field of image processing. One embodiment of the method comprises: receiving a display processing request for the picture, calling a text auditing program to identify the text in the picture, matching each word in the text with a preset sensitive word bank, and determining whether the text passes the auditing according to a matching result; calling a picture auditing program to divide the picture into a plurality of sub-pictures in response to the auditing result being passed, judging whether at least one sub-picture has content which is not in accordance with the auditing parameters, and calling a rendering program to render the picture in response to the auditing result being passed to obtain a target picture; calling a display flow program, acquiring display configuration information of the target picture, inquiring a picture set to be displayed corresponding to the display position in the display configuration information, and displaying each picture in the picture set to be displayed at the display position. The embodiment inputs pictures for on-line auditing, and prevents wrong pictures from being displayed.

Description

Picture display processing method and device
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method and an apparatus for processing image display.
Background
The operation management system is an important component of a business operation system, provides tool support service for unified operation of intelligent business and normal operation of products, and realizes effective management of contents, users and basic business, wherein the most important item is management of Banner.
Banner is the most direct active access port in the operation management system, and is an intuitive way to attract users to participate. However, the working mode of the traditional project is a delivery system, namely, a research and development team finishes development, a delivery result and a demander acceptance, and subsequent operation promotion is not needed any more, so that the Banner in the existing operation management system is fixed.
At present, a mode of automatically loading pictures for a page Banner is provided, but the mode is mainly characterized in that the pictures are captured, adjusted and loaded on the page, only the management of page composition exists in the management, the management vulnerabilities of picture false extraction, Banner release, online and offline and the like exist, an auditing program does not exist, and the problems of high system activity, low user trust sense and the like are caused.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for processing picture display, which can at least solve the problems of the prior art that a picture is taken by mistake, the upper and lower lines of a managed picture have holes, and no audit occurs.
In order to achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a picture display processing method including:
receiving a display processing request for a picture, calling a text auditing program to identify a text in the picture, matching each word in the text with a preset sensitive word bank, and determining whether the text passes auditing according to a matching result;
calling a picture auditing program to divide the picture into a plurality of sub-pictures in response to the auditing result being passed, judging whether at least one sub-picture has content which is not in accordance with the auditing parameters, and calling a rendering program to render the picture in response to the auditing result being passed to obtain a target picture;
calling a display flow program, acquiring display configuration information of the target picture, inquiring a picture set to be displayed corresponding to a display position in the display configuration information, and displaying each picture in the picture set to be displayed at the display position.
Optionally, the matching of each word in the text with a preset sensitive word bank to determine whether the text passes the examination according to the matching result includes:
matching each word in the text with a preset sensitive word bank to obtain a sensitive score of each word, and then accumulating to obtain a sensitivity score of the text; the preset sensitive word bank comprises a corresponding relation between sensitive words and sensitive scores;
and determining that the text passes the audit in response to the sensitivity score of the text being less than or equal to a preset sensitivity score threshold.
Optionally, the preset sensitive word library further includes a corresponding relationship between a sensitive word and a replacement word, and after the text is determined to pass the review, the method further includes:
replacing the sensitive words in the text with corresponding replacement words to obtain a new text;
returning the new text to the client transmitting the display processing request, receiving confirmation information of the client on the new text, or recalling a text auditing program to audit the new text after modifying words of the new text, and determining that the new text passes the audit;
the calling of the rendering program to render the picture comprises the following steps: and calling a rendering program to render the new text and the pictures not comprising the text.
Optionally, the determining whether at least one sub-picture has content that does not comply with the audit parameter includes:
for each sub-picture, calling a history checked picture library, and inquiring whether a history checked picture with the similarity of each sub-picture being greater than or equal to a preset similarity threshold exists or not;
in response to the query result being present, taking the audit score of the historical audited picture as the audit score of each sub-picture; or
Responding to the query result that the query result does not exist, calling a scene recognition program to recognize the scene category of each sub-picture, and determining an auditor corresponding to the scene category so as to send each sub-picture to the auditor for auditing;
and receiving a review score returned by the reviewer, responding to the fact that the review score is larger than or equal to a preset review score threshold value, and determining that each sub-picture passes review, otherwise, determining that each sub-picture does not pass review.
Optionally, the invoking a rendering program to render the picture includes:
calling a rendering program to obtain custom rendering information input by a user, and rendering the picture by combining preset rendering information; the preset rendering information comprises a margin interval between a picture and a display frame and a noise reduction parameter, and the custom rendering information comprises a picture alignment mode, a focusing mode and a text display mode.
Optionally, the displaying configuration information includes a displaying time and a displaying position on a page, and each picture in the to-be-displayed picture set is displayed at the displaying position, including:
and determining a picture set to be displayed corresponding to the page and the display position, and displaying each picture at the display position according to the display time of each picture in the picture set to be displayed.
Optionally, the display configuration information further includes a display sequence number;
the determining of the picture set to be displayed corresponding to the page and the display position includes:
and in response to monitoring that the pictures with other display sequence numbers before the display sequence number start to be displayed, determining a picture set to be displayed corresponding to the page, the display position and the display sequence number.
Optionally, the display time includes an online time and an offline time;
the determining of the picture set to be displayed corresponding to the page and the display position includes: in response to the reaching of the online time, determining a picture set to be displayed corresponding to the page and the display position;
after displaying each picture at the display position according to the display time of each picture in the picture set to be displayed, the method further comprises the following steps: and in response to the offline time being reached or an offline instruction for the picture being received, deleting the picture in the picture set to be displayed.
Optionally, the display configuration information further includes auxiliary content, where the auxiliary content is at least one of text content, page link address, and service item number, and the method further includes at least one of:
in response to the selection operation of a text content option, calling a text box to display, receiving text content input in the text box, establishing an association relation between the text content and the picture, and displaying the text content when the selection operation of the picture is received;
responding to the selection operation of a page link address option, extracting a page link address from a page associated with the picture, and establishing an association relationship between the page link address and the picture so as to jump to a page corresponding to the page link address when the selection operation of the picture is received;
responding to the selection operation of the business item option, receiving an input business item number, and establishing an association relation between the business item number and the picture so as to jump to a business item page corresponding to the business item number when the selection operation of the picture is received.
Optionally, the display configuration information further includes a distribution area range, and the method further includes:
in response to the selection operation of the target area, the geographic range covered by the target area is taken as the distribution area range of the picture, so that the picture is displayed at the display position of the page in the distribution area range.
Optionally, the display configuration information further includes information of a target publishing platform, and the method further includes:
displaying the picture at the display position of the page of the target publishing platform in response to the selection operation of the target publishing platform; and
and responding to the selection operation of the screening options of the publishing platform, and determining and displaying the picture set published on the target publishing platform according to the selected target publishing platform.
Optionally, before the receiving the request for processing the display of the picture, the method further includes:
acquiring the pictures, storing the pictures in a database, and searching the corresponding pictures from the database based on the input keywords;
and receiving the display configuration information set for the picture, responding to the submission and verification operation of the picture, and submitting the set picture to a verification node for verification processing.
Optionally, before the invoking of the text auditing program identifies the text in the picture, the method further includes: setting the state of the picture to be audited;
before the rendering program is called to render the picture, the method further comprises the following steps: changing the state of the picture from to be audited to passed;
after each picture in the to-be-displayed picture set is displayed at the display position, the method further comprises the following steps: and changing the state of the picture from passed to online.
Optionally, the method further includes: and responding to the selection operation of the picture state, and screening and displaying the picture set with the current state as the target state according to the selected target state.
To achieve the above object, according to another aspect of embodiments of the present invention, there is provided a picture display processing apparatus including:
the first auditing module is used for receiving a display processing request for a picture, calling a text auditing program to identify a text in the picture, matching each word in the text with a preset sensitive word bank, and determining whether the text passes auditing according to a matching result;
the second auditing module is used for responding to the verification result that the picture passes, calling a picture verifying program to divide the picture into a plurality of sub-pictures, judging whether at least one sub-picture has contents which do not accord with the verifying parameters, and responding to the verification result that the picture passes, calling a rendering program to render the picture to obtain a target picture;
and the display processing module is used for calling a display flow program, acquiring display configuration information of the target picture, inquiring a picture set to be displayed corresponding to the display position in the display configuration information, and displaying each picture in the picture set to be displayed at the display position.
Optionally, the first auditing module is configured to:
matching each word in the text with a preset sensitive word bank to obtain a sensitive value of each word, and further accumulating to obtain a sensitivity score of the text; the preset sensitive word bank comprises a corresponding relation between sensitive words and sensitive scores;
and determining that the text passes the audit in response to the sensitivity score of the text being less than or equal to a preset sensitivity score threshold.
Optionally, the first auditing module is further configured to:
replacing the sensitive words in the text with corresponding replacement words to obtain a new text;
returning the new text to the client transmitting the display processing request, receiving confirmation information of the client to the new text, or modifying words of the new text and then re-calling a text auditing program to audit and pass, and determining that the new text passes the audit;
the second review module is configured to: and calling a rendering program to render the new text and the pictures not comprising the text.
Optionally, the second auditing module is configured to:
for each sub-picture, calling a history checked picture library, and inquiring whether a history checked picture with the similarity of each sub-picture being greater than or equal to a preset similarity threshold exists or not;
in response to the query result being present, taking the audit score of the historical audited picture as the audit score of each sub-picture; or
Responding to the query result that the query result does not exist, calling a scene recognition program to recognize the scene category of each sub-picture, and determining an auditor corresponding to the scene category so as to send each sub-picture to the auditor for auditing;
and receiving a review score returned by the reviewer, responding to the fact that the review score is larger than or equal to a preset review score threshold value, and determining that each sub-picture passes review, otherwise, determining that each sub-picture does not pass review.
Optionally, the second auditing module is configured to: calling a rendering program to obtain custom rendering information input by a user, and rendering the picture by combining preset rendering information; the preset rendering information comprises a margin interval between a picture and a display frame and a noise reduction parameter, and the custom rendering information comprises a picture alignment mode, a focusing mode and a text display mode.
Optionally, the display configuration information includes a display time and a display position on a page, and the display processing module is configured to: and determining a picture set to be displayed corresponding to the page and the display position, and displaying each picture at the display position according to the display time of each picture in the picture set to be displayed.
Optionally, the display configuration information further includes a display sequence number;
the display processing module is used for: and in response to monitoring that the pictures with other display sequence numbers before the display sequence number start to be displayed, determining a picture set to be displayed corresponding to the page, the display position and the display sequence number.
Optionally, the display time includes an online time and an offline time;
the display processing module is used for: in response to the reaching of the online time, determining a picture set to be displayed corresponding to the page and the display position;
and in response to the offline time being reached or an offline instruction for the picture being received, deleting the picture in the picture set to be displayed.
Optionally, the display configuration information further includes auxiliary content, where the auxiliary content is at least one of text content, page link address, and service item number, and the apparatus further includes at least one of the following:
in response to the selection operation of a text content option, calling a text box to display, receiving text content input in the text box, establishing an association relation between the text content and the picture, and displaying the text content when the selection operation of the picture is received;
responding to the selection operation of a page link address option, extracting a page link address from a page associated with the picture, and establishing an association relationship between the page link address and the picture so as to jump to a page corresponding to the page link address when the selection operation of the picture is received;
responding to the selection operation of the business item option, receiving an input business item number, and establishing an association relation between the business item number and the picture so as to jump to a business item page corresponding to the business item number when the selection operation of the picture is received.
Optionally, the display configuration information further includes a distribution area range, and the apparatus further includes: in response to the selection operation of the target area, the geographic range covered by the target area is taken as the distribution area range of the picture, so that the picture is displayed at the display position of the page in the distribution area range.
Optionally, the display configuration information further includes information of a target publishing platform, and the apparatus further includes:
in response to a selection operation of a target publishing platform, displaying the picture at the display position of the page of the target publishing platform; and
and responding to the selection operation of the screening options of the publishing platform, and determining and displaying the picture set published on the target publishing platform according to the selected target publishing platform.
Optionally, the system further includes a picture storage module, configured to:
acquiring the pictures, storing the pictures in a database, and searching the corresponding pictures from the database based on the input keywords;
and receiving the display configuration information set for the picture, responding to the submission and verification operation of the picture, and submitting the set picture to a verification node for verification processing.
Optionally, the system further includes a state changing module, configured to:
before the calling the text auditing program to identify the text in the picture, the method further comprises the following steps: setting the state of the picture to be audited;
before calling a rendering program to render the picture, the method further comprises the following steps: changing the state of the picture from to be audited to passed;
after each picture in the to-be-displayed picture set is displayed at the display position, the method further comprises the following steps: and changing the state of the picture from passed to online.
Optionally, the system further comprises a screening module, configured to: and responding to the selection operation of the picture state, and screening and displaying the picture set with the current state as the target state according to the selected target state.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided an image display processing electronic device.
The electronic device of the embodiment of the invention comprises: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors realize any one of the image display processing methods.
To achieve the above object, according to a further aspect of the embodiments of the present invention, there is provided a computer readable medium having a computer program stored thereon, the computer program, when executed by a processor, implementing any one of the above-mentioned picture display processing methods.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a computer program product. A computer program product according to an embodiment of the present invention includes a computer program, and when the computer program is executed by a processor, the image display processing method according to an embodiment of the present invention is implemented.
According to the scheme provided by the invention, one embodiment of the invention has the following advantages or beneficial effects: an online auditing function is added, and related picture information input by a user is audited online by an auditor so as to prevent wrong pictures from being displayed on a page, influence the user experience and reduce the fault tolerance rate; after the verification is passed, the display logic control of the pictures is realized according to the display configuration information such as the on-line and off-line time, the display arrangement sequence, the display position and the like configured for the pictures, so that the pictures are correctly captured and accurately displayed, and the rigorous and flexible operation of an operation management system is ensured.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic main flow chart of a picture display processing method according to an embodiment of the invention;
FIG. 2 is a functional architecture diagram of the Banner management module;
FIG. 3 is a schematic view of a text review process flow;
FIG. 4 is a schematic view of a picture review process flow;
FIG. 5(a) -FIG. 5(c) are schematic diagrams of different display positions of different pages;
FIG. 6 is a flowchart illustrating a specific map tile display processing method according to an embodiment of the present invention;
FIG. 7 is a schematic view of a functional screening interface;
FIG. 8 is a schematic diagram of the main blocks of an image display processing apparatus according to an embodiment of the present invention;
FIG. 9 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 10 is a schematic block diagram of a computer system suitable for use with a mobile device or server implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. According to the technical scheme, the data acquisition, storage, use, processing and the like meet the relevant regulations of national laws and regulations.
Referring to fig. 1, a main flowchart of a picture display processing method according to an embodiment of the present invention is shown, including the following steps:
s101: receiving a display processing request for a picture, calling a text auditing program to identify a text in the picture, matching each word in the text with a preset sensitive word bank, and determining whether the text passes auditing according to a matching result;
s102: calling a picture auditing program to divide the picture into a plurality of sub-pictures in response to the auditing result being passed, judging whether at least one sub-picture has content which is not in accordance with the auditing parameters, and calling a rendering program to render the picture in response to the auditing result being passed to obtain a target picture;
s103: calling a display flow program, acquiring display configuration information of the target picture, and inquiring a picture set to be displayed corresponding to a display position in the display configuration information so as to display each picture in the picture set to be displayed at the display position.
In the above embodiment, the scheme can be widely applied to scenes in which pictures need to be launched, such as advertisement picture launching for online shopping, advertisement picture display for automobile spare and accessory transaction platforms, advertisement picture launching for government affair service pages, and the like.
Banner is the most common form of advertising in web advertisements, such as Banner advertisements, and the like, and is often in the most prominent position on a page, such as the top of a website homepage. The operation management system is also a source for generating and publishing information through the internet, the life is fast rhythm at present, and users like to receive the information in a fast mode, so that the Banner graph with visual impact has more advantages, and the aspects of the display position of the picture, the size and the number of the picture, the arrangement form of the picture, the tone of the picture and the like can be considered.
The Banner picture can usually embody the central theme of the page, and is composed of a background picture, LOGO and slogans (or units). The Banner can also be used as an advertisement slot, placing advertisements at a striking position is also one of the main forms of network advertisements, generally using image files in a GIF (Graphics Interchange Format) Format, using static images, or splicing multiple frames of images into animation images, and switching advertisement pictures of the Banner slot at regular time.
The existing operation management system has the problems of low customer acquisition speed, low user activity, low product datamation degree, especially lack of quick linkage with intelligent service products and the like. In recent years, construction and implementation work of business products such as government products is carried out in various places, however, from the actual construction situation, although the number of the intelligent business products is on the trend of increasing continuously, the subsequent effect of the application is not ideal, particularly, the phenomena of 'heavy development and light maintenance' are serious, the products lack the later operation, the approval of users to the products is low, the participation sense is not strong, the continuous use intention is reduced, and the automatic display processing of the pictures can be realized through the scheme.
For step S101, a Banner management module is arranged in the operation management system, the user publishes a picture in the Banner management module, and the Banner management module is provided with functions of adding, editing, searching, and uploading pictures, as shown in fig. 2.
For the picture adding function of the Banner management module, the scheme is that a database is arranged in an operation management system and used for storing Banner pictures displayed by pages, further considering that the number of the pages is large, an independent storage container such as a folder can be arranged for each page, and one folder only stores pictures required by one page such as pictures of a folder A-a-page X and pictures of a folder B-a-page Y, so that mutual independence and mutual noninterference of the page pictures are realized. The user can make pictures based on the needed activity information, or the page publisher can give the made pictures to the user, and the user stores the pictures in the storage container corresponding to the page in the database, so that the storage function of the pictures is realized.
For the picture editing function of the Banner management module, a user can set display time, display positions on a page, display sequence numbers, auxiliary contents, a distribution area range and distribution platform information for pictures; wherein the content of the first and second substances,
1) the display time comprises an online time and an offline time, and the two time points can be selected in a mode of pulling down a time table or in a manual input mode to control the online/offline function of the picture;
2) auxiliary content such as text content, page link address and business item number, wherein one or more of the auxiliary content can be selected, preferably selected singly;
firstly, selecting text characters, popping up a text box to facilitate a user to input specific text contents in the text box, wherein the specific document contents can be set by the user, or can be filled in by the user after being written by a page publishing party, for example, information is input in an information publishing text box. And the subsequent mouse moves to the picture or the user clicks the picture, so that the text content can be displayed.
Selecting a page link address, extracting the page link address from the page corresponding to the picture, establishing an association relationship between the picture and the page link address, and jumping to the page corresponding to the page link address by clicking the picture subsequently.
Selecting the business item number, adding a 'business item ID number' input box, and filling the auxiliary content when the auxiliary content is selected as 'transacting business items', or not filling the auxiliary content when the auxiliary content is other. If the user selects to transact the business item, the user needs to input a specific business item ID number in the business item ID box or display a list of business item ID numbers for the user to select from. In the government affair service field, each business affair is provided with a unique business affair ID number, and a user can jump to a corresponding business affair page by clicking the picture so as to inquire a government affair guide.
3) The display position is a position where the user desires to display the picture in the page, such as a middle position above the page, a bottom position of the page, and the like.
4) Publishing platform information, adding a "publishing platform" option in the scheme, and a user can select which platform the picture is specifically published on, for example, channels such as APP (Application), PC (Personal Computer), applet, unified government affair portal, public number, and the like. After selecting the target publishing platform, the user can continue to select the publishing position of the picture on the platform, if the publishing platform is provided with a plurality of Banner bits, all the Banner bits are displayed, so that the user can select one or more of the Banner bits as the target display position, for example, the picture A is only displayed right above the home page of the publishing platform, the picture A is displayed right above and at the bottom of the home page of the publishing platform, and the picture A is displayed right above each page of the publishing platform.
5) The display sequence numbers, such as "1, 2, 3, 4, 5, … …," may be in the form of a list for the user to drop down for selection, with the pictures being published in order of ascending number. The pictures at different positions have own sequencing, for example, the sequencing of the picture above the APP home page and the sequencing of the picture below the APP home page are not interfered with each other.
6) And issuing the region range. The scheme is characterized in that a 'selection area' option is added, the area is divided into five levels of province-state city-county-street (village) -community (village), some pictures are distributed in the whole province, such as province-level planning arrangement, and some pictures are distributed in a targeted manner, such as village-level planning arrangement, so that the area from the lowest to the highest of the community to the whole province range can be selected, and the geographical range covered by the areas is used as the distribution area range of the pictures.
For the picture searching function of the Banner management module, the picture names can be set for distinguishing by considering the difference among pictures, the names are very necessary when multiple Banner pictures are managed, such as recording dueleven activities, Qingming festival activities and the like, the names can be set according to the storage time, such as 20220412-11:30 and 20220412-11:00, and the names can be customized, such as scenic spots C, regional browsing pictures D, Beijing communities E and the like, so that the subsequent searching and the use are facilitated. If the time point 20220412 is input in the search box, the picture stored at the time point can be extracted from the database, for example, the scenery spot is input, so that the picture with the name containing the word of the scenery spot is extracted from the database, the scenery spot and the time point can also be input, the picture with the name containing the word of the scenery spot is extracted from the database, for example, two keywords of 'Beijing' and 'community' are input, so that the Beijing community E picture can be found from the database.
For the picture uploading function of the Banner management module, after the picture is edited, a user can click an 'submitting and auditing' button so as to submit the edited Banner picture to an auditing node for auditing. However, if the "submit review" button is not clicked, but the "save" button is clicked, only the information edited for the picture is saved, and the editing option can still be clicked in the saved state to perform editing operation, or the deletion option is clicked to delete the picture.
The operation management system is additionally provided with a Banner auditing module which is provided with three states of 'to-be-audited', 'passed' and 'rejected', the states of pictures submitted to auditing nodes are firstly set as 'to-be-audited', the pictures in the state to be audited can not be edited and deleted, and the pictures do not display auditing time and auditors at the moment because of non-auditing.
The method comprises the steps of examining and verifying the text on the picture and examining and verifying the image, firstly describing the examination of the text of the picture, setting a text examining and verifying program, identifying the text in the picture, specifically calling an OCR (Optical character recognition) identification server, using an OCR engine to identify the characters in the picture, such as company, address, contact way (telephone, electronic mailbox, company website) and other information, and acquiring identification accuracy while identifying the characters by the OCR, wherein if the identification accuracy of a certain character is low, manual intervention is needed for re-identification.
Referring to the description shown in fig. 3, a text review flow chart is shown:
s1: matching each word in the text with a preset sensitive word bank to obtain a sensitive value of each word, and further accumulating to obtain a sensitivity score of the text; the preset sensitive word bank comprises a corresponding relation between sensitive words and sensitive scores;
s2: in response to the sensitivity score of the text being less than or equal to a preset sensitivity score threshold, determining that the text passes the audit;
s3: replacing the sensitive words in the text with corresponding replacement words to obtain a new text;
s4: and returning the new text to the client transmitting the display processing request, and receiving confirmation information of the client to the new text or recalling a text auditing program to audit the new text after modifying words of the new text.
For steps S1 and S2, a thesaurus of sensitive words is preset in the Banner auditing module, or obtained from other servers. And the text auditing program judges whether the text in the picture is matched with the sensitive words in the sensitive word bank, if not, the text in the picture does not contain the sensitive words, and the text auditing is passed. The sensitive words comprise non-civilized words, unhealthy words, words which cannot appear according to the actual condition requirements of enterprises and the like, and the sensitive word bank is generated through manual arrangement.
If the text in the picture contains the sensitive words, the score corresponding to each sensitive word is determined according to the corresponding relation between the sensitive words and the sensitive scores in the sensitive word bank, the scores are accumulated and averaged, and the sensitivity score of the text is obtained, wherein the average value is (0.6+0.1+0.3)/3 is 0.33. Further, weighting and averaging may be performed, for example, if different weights are set for different sensitive words in the sensitive word library, for example, if the sensitivity of the sensitive word a is higher and the sensitivity of the sensitive word B is lower, the weight of the sensitive word a is set to be higher, so as to highlight the influence of the sensitive word a. In addition, in a text with a certain length, the number of low-sensitivity words is generally much higher than that of high-sensitivity words, and by means of the method, the weakening influence of a large number of low-sensitivity words on content sensitivity evaluation can be avoided, and even for non-sensitive words or words which are not matched with sensitivity, the weight value of the words can be set to be 0, so that the influence of the words on the auditing result is eliminated.
A preset sensitivity score threshold, such as 0.4, may be set, and if the sensitivity score of the text is below the threshold, it indicates that the overall sensitivity of the text is low, and the audit is passed, such as 0.33< 0.4. Otherwise, the overall sensitivity of the text is high, the examination is not passed, and the text needs to be returned to the client for re-modification.
For steps S3 and S4, the text that passes the review and has the sensitive word may be highlighted with different colors, such as orange and green, so that the sensitive word and the non-sensitive word are clearly divided. In order to reduce the operation times of a user at a client, sensitive word replacement can be automatically carried out, Chinese pinyin complete spelling can be replaced, for example, zhangqi is replaced by baqi, capitalized acronyms can be replaced by BQ, asterisk can be directly replaced, the semantics of the Chinese pinyin complete spelling cannot be changed by replacement, and only formal modification is carried out.
The replaced new text needs to be returned to the client, the user can select confirmation and can also modify the text adaptively, for example, the 'bad breath' is replaced by 'vigor', the text modified by the user needs to call the text auditing program again for auditing, and the next operation can be carried out only under the condition that the auditing is passed. The replacement words in the new text returned to the client may likewise be highlighted in a different color.
In step S102, for the picture that the text audit is passed, the process starts to enter a picture audit process. In the scheme, the picture to be audited is divided into M × N sub-pictures of M rows and N columns, for example, 25 sub-pictures in total of 5 rows and 5 columns. Considering that the size of the pictures uploaded by the users is different, the corresponding relationship between the picture size and the division mode can be set, for example, the picture resolutions are commonly 640 × 480, 1024 × 768, 1600 × 1200, 2048 × 1536, the corresponding division modes are respectively 4 × 4, 5 × 5, 6 × 6, 7 × 7, and the picture between the two resolutions adopts the former division mode, for example, 1024 × 480 adopts 4 × 4 division mode. Although the segmentation can be performed in a non-average segmentation manner, it is considered that the subsequent comparison with the pictures in the historical checked picture library is required, and the comparison results are different due to the different picture sizes, so that a standard segmentation manner needs to be set for the pictures with various sizes.
Referring to fig. 4, a flow chart for reviewing sub-pictures is shown:
s1: for each sub-picture, calling a history checked picture library, and inquiring whether a history checked picture with the similarity of each sub-picture being greater than or equal to a preset similarity threshold exists or not;
s2: responding to the query result that the historical audited picture exists, and taking the audit score of the historical audited picture as the audit score of each sub-picture; or
S3: responding to the query result that the query result does not exist, calling a scene recognition program to recognize the scene category of each sub-picture, and determining an auditor corresponding to the scene category so as to send each sub-picture to the auditor for auditing;
s4: and receiving a review score returned by the reviewer, responding to the fact that the review score is larger than or equal to a preset review score threshold value, and determining that each sub-picture passes review, otherwise, determining that each sub-picture does not pass review.
For steps S1 to S4, in practical applications, a website or a client may receive a large number of pictures, and many pictures have repeatability, for example, a picture is not passed through the first uploading audit, and is returned to the client to be uploaded again after being modified by a user, and a new picture has only a partial difference compared with a picture that has been uploaded once, for example, a correction or a special effect processing is performed on a partial position of the picture.
Therefore, for the picture to be audited, the historical audited picture library can be called to inquire whether the historical audited picture with the similarity larger than or equal to the preset similarity threshold exists, and the preset similarity threshold can be set to be higher, such as 90%, so as to improve the auditing accuracy of the picture. And if the historical checked pictures with the similarity meeting the requirement exist, directly adopting the checking results of the historical checked pictures, specifically, checking scores. In order to ensure the accuracy of the review result, the pictures in the historical reviewed picture library can be reviewed periodically (for example, one month) to refresh the review score of each picture, and the process is mainly manually intervened.
The audit result refers to information describing whether the picture meets the requirements, for example, whether the picture contains illegal violations. For the situation that historical audited pictures with similarity meeting requirements do not exist, the scene types of the pictures need to be considered, different auditors perform auditing on different violation types of the pictures in different scene types, such as relating to administration and relating to privacy, the auditor 1 mainly audits administrative pictures, and the auditor 2 mainly audits the pictures relating to privacy.
For a sub-picture, if the review value is smaller than a preset review value threshold (e.g., 0.5), the sub-picture can be directly determined as passed, otherwise, the sub-picture is determined as failed. By calling the historical checked picture library and the scene type to check different violation types, the false alarm rate and the missing rate of the checking result are reduced, and the accuracy of the checking result is improved.
For the picture to be audited, the picture can be approved only when each sub-picture meets the audit requirement. At this time, the state of the picture can be switched from "to be audited" to "passed". If the audit is not passed, the state of the picture is switched from 'to be audited' to 'rejected', the picture in the rejected state can be switched to the editing option by clicking, so that the picture is switched to the picture editing function of the Banner management module, the editing operation is continued, or the picture is deleted by clicking the deletion option.
Generally, pictures uploaded by users need to be subjected to certain preprocessing before being displayed, and the scheme is rendering processing so as to generate target pictures meeting display requirements. The rendering processing comprises preset rendering information and custom rendering information, the rendering mode which each picture of the preset rendering information needs to follow is not changeable by a user, and the custom rendering information is information input by the user in a custom mode, so that a Banner graph which meets the user requirement and meets the page display requirement is worked out.
The preset rendering information includes: 1) the margin is the margin of the safety distance. The condition that important information is not completely seen in the adaptation process of the Banner is ensured by reserving a proper safe edge distance between the picture boundary and the display frame; 2) the method has the advantages that the breathing sense is realized, a certain space needs to be reserved among page elements during picture typesetting, the page elements cannot be too compact and dense, and the whole picture is used for reducing the burden of cognitive information of a user; 3) and the noise reduction processing is performed, excessive fonts and colors or excessively complex graphs are not used, the accumulation behavior of elements is not performed, and the cognitive noise of a user is reduced.
The custom rendering information includes: 1) the alignment modes comprise left alignment, right alignment and center alignment, and the same alignment mode is adopted on the same system board to align the related contents, so that the user can quickly acquire activity information; 2) the text display mode needs to increase the visual difference between the key information on the Banner and the surrounding elements, such as preferential discount and activity gist, and specifically can be realized by the modes of color comparison, word weight thickness, color block application and the like, so that the user can quickly obtain the key information, the visual richness of the Banner can be increased, and the user is attracted more; 3) in a focusing mode, the Banner only needs one visual focus integrally, the visual focus needs to be specified by a user, other elements need to be weakened correspondingly, namely, a visual level needs to be provided, and when too many visual focuses exist, the user cannot acquire information quickly.
For step S103, the operation management system sets a Banner display processing module, and for a picture whose audit result is passed, the display processing node enters a display processing node under the Banner display processing module, and the display processing node acquires display configuration information of each picture, and mainly includes a display position and an up-down line display time of each picture on a page. Generally, the checked pictures are directly published on the page for display, but considering that the number of checked pictures is large, there may be a problem that the on-line time of the picture is over-time due to too long checking time, so even if the picture passes the checking result, it needs to be considered whether the current time is greater than the on-line time of the picture, and if so, the picture is over-time, and the picture cannot be displayed on the page. However, if the current time is less than the on-line time of the picture, a wait operation needs to be executed, and the display processing logic is triggered only when the on-line time of the picture is reached.
When the client requests the server to upload the picture, if the found auditing result is that the auditing is passed, the server sends a message of agreeing to upload the picture to the client. When the client uploads the picture to the server, if the found auditing result is that the auditing is passed, the picture is stored on the server.
A plurality of display positions may be set on one page, as shown in fig. 5(a), 5(b), and 5(c), the number of pictures to be displayed at the same display position may be one or more, and is specifically set by a worker, for example, the number of pictures to be displayed at the display position a in fig. 5(a) is 10, the number of pictures to be displayed at the bottom display position b is only one, the number of pictures to be displayed at the display position c in fig. 5(b) is 5, and the number of pictures to be displayed at the display position d in fig. 5(c) is 1.
Different pictures may be provided with the same display position, such as the display position a of fig. 5(a) and the display position c of fig. 5(b), and therefore it is necessary to distinguish which page is specific even after the display position of the picture is acquired. Specifically, the pictures corresponding to the page in the database need to be divided into a plurality of sets according to the page and the display position, for example, 11 pictures are stored in a folder of the page shown in fig. 5(a) in the database, wherein 10 pictures correspond to the display position a, and only 1 picture corresponds to the display position B, so that the 11 pictures are divided into two picture sets to be displayed, namely, a picture set to be displayed-display position a and a picture set to be displayed-display position B.
When only one picture is in a certain picture set to be displayed, the picture is directly displayed at the display position, for example, the corresponding picture is displayed at the display position b of fig. 5 (a). However, when a certain to-be-displayed picture set includes a plurality of pictures, the display order of the pictures needs to be considered, and the picture with a longer online time is considered to be newer and generally corresponds to the latest message, so that the picture is preferentially displayed. In addition, generally, one runner is the position of one picture, and adding a plurality of runners occupies a page space relatively, so that if the number of pictures corresponding to the same display position is multiple, the pictures are sequentially displayed in a carousel mode according to the sequence from the back to the first of the online time, for example, the pictures released in 1/2/2021 year are preferentially displayed at the same runner, the pictures released in 1/1 day in 2021 year are displayed after the display is finished, the pictures released in 1/2/2021 year are continuously displayed, and the whole display has a carousel visual sense.
Referring to fig. 6, for a specific embodiment, the display configuration information of the picture includes an online time, an offline time, a display sequence number, and a display position in the page:
s1: in response to the on-line time, when it is monitored that pictures with other display sequence numbers before the display sequence number start to be displayed, determining a picture set to be displayed corresponding to the page, the display position and the display sequence number;
s2: judging whether the number of the pictures in the picture set to be displayed is multiple or not;
s3: responding to the judgment result that the number of the pictures is one, and displaying the pictures at the display position;
s4: responding to a plurality of judgment results, and displaying each picture in the display position in sequence in a carousel mode according to the sequence of the online time of each picture from large to small;
s5: and in response to the offline time being reached or an offline instruction for the picture being received, deleting the picture in the picture set to be displayed.
The multiple pictures in the same page can be selected to be numbered in the same display sequence, and usually the pictures at the same display position are selected to be numbered in the same display sequence. Here, it is necessary to display the pictures one by one according to the display sequence number, and as shown in fig. 5(a), the display sequence number at the display position a is 1, and the display sequence number at the display position b is 2, so that it is necessary to start triggering the picture at the display position b to perform the display operation after detecting that the picture starts to be displayed at the display position a.
After the picture starts to be displayed at each display position in the page, the state of the picture may be changed to "on-line". The offline operation of the picture can be executed subsequently by expiration of offline (that is, reaching the preset offline time, the offline time of each picture can be different) or by manually triggering offline, so as to delete the picture from the to-be-displayed picture set at the corresponding display position of the picture, and change the state of the picture from "online" to "offline". No matter the picture is off-line due or manually off-line, the picture is off-line by keying the off-line button, the picture which is being displayed and is on-line cannot be edited, the picture is in an off-line state, an editing option can be clicked, so that the picture is switched to a picture editing function of the Banner management module, the editing operation is continued, and the picture is submitted to an auditing node after the editing is finished.
As described above, the display configuration information of the pictures in the present solution may further include the attached information, the distribution area range, and the distribution platform information, and for the distribution area range, the pictures may be displayed at the display position in the page in the distribution area, for example, distributed on the government websites in each area in province; for the publishing platform information, the pictures can be displayed at specific display positions of the pages of the target publishing platform, such as displaying the picture a just above the publishing platform home page, displaying the picture a just above and at the bottom of the publishing platform home page, and displaying the picture a just above each page of the publishing platform.
For the auxiliary content, if the auxiliary content is text content, when the picture is displayed on the page, the user can move a mouse to the picture or click the picture to display the text content; if the picture is the page connection address, when the picture is displayed on the page, the user can click the picture to jump to the page corresponding to the page link address by accessing the page link address corresponding to the picture; if the number is the service item ID number, when the picture is displayed on the page, the user can click the picture to jump to the service item page corresponding to the service item ID number.
In addition, the scheme can also be added with a screening function, for example, screening options of a publishing platform are added, and a user screens the platform name by clicking the options, for example, pictures published on the App are screened. And a picture state screening option can also be added, for example, a picture with the current state being on-line is screened. A superposition of multiple filtering options may also be set, such as filtering a picture that is published on the App and whose current state is online, as shown in fig. 7.
The method provided by the embodiment can realize quick linkage with the intelligent government product, so as to build the intelligent government operation service, and compared with the prior art, the method has at least the following beneficial effects:
1. an online auditing function is added, and a user inputs related picture information to perform online auditing so as to prevent wrong pictures from being displayed on a page and influence the user experience; the user can also participate in the design work of the picture to realize the editing, deleting and adjusting of the picture;
the online examination comprises examination of text content and image examination in the picture, whether the picture meets legal regulations is judged by analyzing whether the text contains sensitive words, and for the text which has the sensitive words and passes the examination, the sensitive words in the text can be replaced by non-sensitive words so as to reduce the operation times of the user at the client. And for the pictures meeting the auditing specification, processing the pictures according to default rendering information and custom rendering information so as to keep the activity of the user.
2. After the verification is passed, the display logic control of the picture is realized according to the display configuration information configured for the picture so as to ensure the picture to be correctly captured and accurately displayed, in addition, an offline button is also arranged for keying the offline of the picture, so that the strict and flexible operation of an operation management system is integrally ensured, after the picture is updated and the page display position is updated, the self-adaptive adjustment and update can be carried out, and the self-adaptive update function is realized;
3. the picture setting and displaying configuration information comprises the online and offline time, the display arrangement sequence, the display position, the release region range, the release platform, the auxiliary content and the like, so that the picture is multifunctional, the intelligent degree and the linkage degree are higher, and the customer acquisition capacity is improved while the user experience is improved.
Referring to fig. 8, a schematic diagram of main modules of a picture display processing apparatus 800 according to an embodiment of the present invention is shown, including:
the first auditing module 801 is configured to receive a display processing request for a picture, invoke a text auditing program to identify a text in the picture, match each word in the text with a preset sensitive word bank, and determine whether the text passes auditing according to a matching result;
the second auditing module 802 is configured to invoke a picture auditing program to divide the picture into a plurality of sub-pictures in response to the auditing result being a pass, determine whether at least one sub-picture has content that does not meet the auditing parameter, and invoke a rendering program to render the picture in response to the auditing result being a pass, so as to obtain a target picture;
the display processing module 803 is configured to invoke a display process program, acquire display configuration information of the target picture, query a to-be-displayed picture set corresponding to a display position in the display configuration information, and display each picture in the to-be-displayed picture set at the display position.
In the implementation apparatus of the present invention, the first auditing module 801 is configured to:
matching each word in the text with a preset sensitive word bank to obtain a sensitive value of each word, and further accumulating to obtain a sensitivity score of the text; the preset sensitive word bank comprises a corresponding relation between sensitive words and sensitive scores;
and determining that the text passes the audit in response to the sensitivity score of the text being less than or equal to a preset sensitivity score threshold.
In the implementation apparatus of the present invention, the first auditing module 801 is further configured to:
replacing the sensitive words in the text with corresponding replacement words to obtain a new text;
returning the new text to the client transmitting the display processing request, receiving confirmation information of the client to the new text, or modifying words of the new text and then re-calling a text auditing program to audit and pass, and determining that the new text passes the audit;
the second review module is configured to: and calling a rendering program to render the new text and the pictures not comprising the text.
In the implementation apparatus of the present invention, the second auditing module 802 is configured to:
for each sub-picture, calling a history checked picture library, and inquiring whether a history checked picture with the similarity of each sub-picture being greater than or equal to a preset similarity threshold exists or not;
in response to the query result being present, taking the audit score of the historical audited picture as the audit score of each sub-picture; or
Responding to the condition that the query result does not exist, calling a scene recognition program to recognize the scene type of each sub-picture, and determining an auditor corresponding to the scene type so as to send each sub-picture to the auditor for auditing;
and receiving a review score returned by the reviewer, responding to the fact that the review score is larger than or equal to a preset review score threshold value, and determining that each sub-picture passes review, otherwise, determining that each sub-picture does not pass review.
In the implementation apparatus of the present invention, the second auditing module 802 is configured to:
calling a rendering program to obtain custom rendering information input by a user, and rendering the picture by combining preset rendering information; the preset rendering information comprises a margin interval between a picture and a display frame and a noise reduction parameter, and the custom rendering information comprises a picture alignment mode, a focusing mode and a text display mode.
In the apparatus for implementing the present invention, the display configuration information includes a display time and a display position on a page, and the display processing module 803 is configured to:
and determining a picture set to be displayed corresponding to the page and the display position, and displaying each picture at the display position according to the display time of each picture in the picture set to be displayed.
In the implementation device of the present invention, the display configuration information further includes a display sequence number;
the display processing module 803 is configured to:
and in response to monitoring that the pictures with other display sequence numbers before the display sequence number start to be displayed, determining a picture set to be displayed corresponding to the page, the display position and the display sequence number.
In the implementation device of the invention, the display time comprises an online time and an offline time;
the display processing module 803 is configured to: in response to the reaching of the online time, determining a picture set to be displayed corresponding to the page and the display position;
and in response to the reaching of the offline time or the receiving of an offline instruction for the picture, deleting the picture in the picture set to be displayed.
In the device for implementing the present invention, the display configuration information further includes auxiliary content, where the auxiliary content is at least one of text content, page link address, and service item number, and the device further includes at least one of the following:
in response to the selection operation of a text content option, calling a text box to display, receiving text content input in the text box, establishing an association relation between the text content and the picture, and displaying the text content when the selection operation of the picture is received;
responding to the selection operation of a page link address option, extracting a page link address from a page associated with the picture, and establishing an association relationship between the page link address and the picture so as to jump to a page corresponding to the page link address when the selection operation of the picture is received;
responding to the selection operation of the business item option, receiving an input business item number, and establishing an association relation between the business item number and the picture so as to jump to a business item page corresponding to the business item number when the selection operation of the picture is received.
In the device for implementing the present invention, the display configuration information further includes a distribution area range, and the device further includes:
in response to the selection operation of the target area, the geographic range covered by the target area is taken as the distribution area range of the picture, so that the picture is displayed at the display position of the page in the distribution area range.
In the device for implementing the present invention, the display configuration information further includes information of a target publishing platform, and the device further includes:
displaying the picture at the display position of the page of the target publishing platform in response to the selection operation of the target publishing platform; and
and responding to the selection operation of the screening options of the publishing platform, and determining and displaying the picture set published on the target publishing platform according to the selected target publishing platform.
The implementation device of the invention also comprises a picture storage module used for:
acquiring the picture, storing the picture in a database, and searching the corresponding picture from the database based on the input keyword;
and receiving the display configuration information set for the picture, responding to the submission and verification operation of the picture, and submitting the set picture to a verification node for verification processing.
The device also comprises a state changing module used for:
before the calling the text auditing program to identify the text in the picture, the method further comprises the following steps: setting the state of the picture to be audited;
before calling a rendering program to render the picture, the method further comprises the following steps: changing the state of the picture from to be audited to passed;
after each picture in the to-be-displayed picture set is displayed at the display position, the method further comprises the following steps: and changing the state of the picture from passed to online.
The implementation device of the invention also comprises a screening module used for:
and responding to the selection operation of the picture state, and screening and displaying the picture set with the current state as the target state according to the selected target state.
In addition, the detailed implementation of the device in the embodiment of the present invention has been described in detail in the above method, so that the repeated description is not repeated here.
Fig. 9 shows an exemplary system architecture 900 in which embodiments of the invention may be applied, including terminal devices 901, 902, 903, a network 904 and a server 905 (by way of example only).
The terminal devices 901, 902, 903 may be various electronic devices having a display screen and supporting page browsing, and are installed with various communication client applications, and users may interact with the server 905 through the network 904 using the terminal devices 901, 902, 903 to receive or send messages and the like.
Network 904 is the medium used to provide communication links between end devices 901, 902, 903 and server 905. Network 904 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The server 905 may be a server providing various services, and it should be noted that the method provided by the embodiment of the present invention is generally executed by the server 905, and accordingly, the apparatus is generally disposed in the server 905.
It should be understood that the number of terminal devices, networks, and servers in fig. 9 are merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 10, a block diagram of a computer system 1000 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the use range of the embodiment of the present invention.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU)1001 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for the operation of the system 1000 are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output portion 1007 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk and the like; and a communication portion 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication part 1009 and/or installed from the removable medium 1011. The computer program performs the above-described functions defined in the system of the present invention when executed by a Central Processing Unit (CPU) 1001.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present invention, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises an auditing module, an obtaining module and a display module. The names of these modules do not in some cases constitute a limitation on the module itself, and for example, a display module may also be described as a "display control module".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not assembled into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to perform any of the picture display processing methods described above.
The computer program product of the present invention includes a computer program, and when executed by a processor, the computer program implements the picture display processing method in the embodiment of the present invention.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (18)

1. A picture display processing method is characterized by comprising the following steps:
receiving a display processing request for a picture, calling a text auditing program to identify a text in the picture, matching each word in the text with a preset sensitive word bank, and determining whether the text passes auditing according to a matching result;
in response to the verification result being passed, calling a picture verification program to divide the picture into a plurality of sub-pictures, judging whether at least one sub-picture has contents which do not accord with verification parameters, and in response to the verification result being passed, calling a rendering program to render the picture to obtain a target picture;
calling a display flow program, acquiring display configuration information of the target picture, and inquiring a picture set to be displayed corresponding to a display position in the display configuration information so as to display each picture in the picture set to be displayed at the display position.
2. The method of claim 1, wherein the matching words in the text with a predetermined sensitive thesaurus to determine whether the text passes the audit according to the matching result comprises:
matching each word in the text with a preset sensitive word bank to obtain a sensitive score of each word, and then accumulating to obtain a sensitivity score of the text; the preset sensitive word bank comprises a corresponding relation between sensitive words and sensitive scores;
and determining that the text passes the audit in response to the sensitivity score of the text being less than or equal to a preset sensitivity score threshold.
3. The method according to claim 2, wherein the preset sensitive word library further includes a corresponding relationship between a sensitive word and a replacement word, and after the determining that the text passes the review, further includes:
replacing the sensitive words in the text with corresponding replacement words to obtain a new text;
returning the new text to the client transmitting the display processing request, receiving confirmation information of the client to the new text, or modifying words of the new text and then recalling a text auditing program to audit the new text;
the calling of the rendering program to render the picture comprises the following steps: and calling a rendering program to render the new text and the pictures not comprising the text.
4. The method according to claim 1, wherein the determining whether at least one sub-picture has content that does not comply with the auditing parameters comprises:
for each sub-picture, calling a history checked picture library, and inquiring whether a history checked picture with the similarity of each sub-picture being greater than or equal to a preset similarity threshold exists or not;
in response to the query result being present, taking the audit score of the historical audited picture as the audit score of each sub-picture; or
Responding to the query result that the query result does not exist, calling a scene recognition program to recognize the scene category of each sub-picture, and determining an auditor corresponding to the scene category so as to send each sub-picture to the auditor for auditing;
and receiving a review score returned by the reviewer, responding to the fact that the review score is larger than or equal to a preset review score threshold value, and determining that each sub-picture passes review, otherwise, determining that each sub-picture does not pass review.
5. The method according to claim 1, wherein the calling the rendering program to render the picture comprises:
calling a rendering program to obtain custom rendering information input by a user, and rendering the picture by combining preset rendering information; the preset rendering information comprises a margin interval between a picture and a display frame and a noise reduction parameter, and the custom rendering information comprises a picture alignment mode, a focusing mode and a text display mode.
6. The method according to any one of claims 1-5, wherein the display configuration information includes a display time and a display position on a page where each picture in the set of pictures to be displayed is displayed, including:
and determining a picture set to be displayed corresponding to the page and the display position, and displaying each picture at the display position according to the display time of each picture in the picture set to be displayed.
7. The method of claim 6, wherein the display configuration information further comprises a display order number;
the determining of the picture set to be displayed corresponding to the page and the display position includes:
and in response to monitoring that the pictures with other display sequence numbers before the display sequence number start to be displayed, determining a picture set to be displayed corresponding to the page, the display position and the display sequence number.
8. The method of claim 6, wherein the display time includes an online time and an offline time;
the determining of the picture set to be displayed corresponding to the page and the display position includes: in response to the reaching of the online time, determining a picture set to be displayed corresponding to the page and the display position;
after displaying each picture at the display position according to the display time of each picture in the picture set to be displayed, the method further comprises the following steps: and in response to the offline time being reached or an offline instruction for the picture being received, deleting the picture in the picture set to be displayed.
9. The method of claim 6, wherein the display configuration information further comprises auxiliary content, the auxiliary content being at least one of text content, page link address, and business item number, the method further comprising at least one of:
in response to the selection operation of a text content option, calling a text box to display, receiving text content input in the text box, establishing an association relation between the text content and the picture, and displaying the text content when the selection operation of the picture is received;
responding to the selection operation of a page link address option, extracting a page link address from a page associated with the picture, and establishing an association relationship between the page link address and the picture so as to jump to a page corresponding to the page link address when the selection operation of the picture is received;
responding to the selection operation of the business item option, receiving an input business item number, and establishing an association relation between the business item number and the picture so as to jump to a business item page corresponding to the business item number when the selection operation of the picture is received.
10. The method of claim 6, wherein the display configuration information further comprises a distribution area range, the method further comprising:
in response to the selection operation of the target area, the geographic range covered by the target area is taken as the distribution area range of the picture, so that the picture is displayed at the display position of the page in the distribution area range.
11. The method of claim 6, wherein the display configuration information further comprises information of a target publishing platform, the method further comprising:
in response to a selection operation of a target publishing platform, displaying the picture at the display position of the page of the target publishing platform; and
and responding to the selection operation of the screening options of the publishing platform, and determining and displaying the picture set published on the target publishing platform according to the selected target publishing platform.
12. The method according to any one of claims 1-5, further comprising, prior to said receiving a display processing request for a picture:
acquiring the picture, storing the picture in a database, and searching the corresponding picture from the database based on the input keyword;
and receiving the display configuration information set for the picture, responding to the submission and verification operation of the picture, and submitting the set picture to a verification node for verification processing.
13. The method of claim 12, prior to the invoking a text auditing program identifying text in the picture, further comprising: setting the state of the picture to be audited;
before calling a rendering program to render the picture, the method further comprises the following steps: changing the state of the picture from to be audited to passed;
after each picture in the to-be-displayed picture set is displayed at the display position, the method further comprises the following steps: and changing the state of the picture from passed to online.
14. The method of claim 13, further comprising:
and responding to the selection operation of the picture state, and screening and displaying the picture set with the current state as the target state according to the selected target state.
15. A picture display processing apparatus, comprising:
the first auditing module is used for receiving a display processing request for a picture, calling a text auditing program to identify a text in the picture, matching each word in the text with a preset sensitive word bank, and determining whether the text passes auditing according to a matching result;
the second auditing module is used for responding to the verification result that the verification result passes, calling a picture verifying program to divide the picture into a plurality of sub-pictures, judging whether at least one sub-picture has content which does not accord with the verification parameter, and responding to the verification result that the verification result passes, calling a rendering program to render the picture to obtain a target picture;
and the display processing module is used for calling a display flow program, acquiring display configuration information of the target picture, inquiring a picture set to be displayed corresponding to the display position in the display configuration information, and displaying each picture in the picture set to be displayed at the display position.
16. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-14.
17. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-14.
18. A computer program product comprising a computer program, characterized in that the computer program realizes the method according to any of claims 1-14 when executed by a processor.
CN202210539079.XA 2022-05-18 2022-05-18 Picture display processing method and device Pending CN114943005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210539079.XA CN114943005A (en) 2022-05-18 2022-05-18 Picture display processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210539079.XA CN114943005A (en) 2022-05-18 2022-05-18 Picture display processing method and device

Publications (1)

Publication Number Publication Date
CN114943005A true CN114943005A (en) 2022-08-26

Family

ID=82906784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210539079.XA Pending CN114943005A (en) 2022-05-18 2022-05-18 Picture display processing method and device

Country Status (1)

Country Link
CN (1) CN114943005A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115963954A (en) * 2023-03-14 2023-04-14 北京中科智媒融媒体技术有限公司 Information publishing method, device, equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115963954A (en) * 2023-03-14 2023-04-14 北京中科智媒融媒体技术有限公司 Information publishing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US10430044B2 (en) Method, system and computer storage medium for displaying microblog wall
US9256586B2 (en) Visual editor for electronic mail
KR20170141224A (en) Developer Exchange System
CN106776989B (en) Webpage information display method and device
US10339222B2 (en) Information providing system, information providing method, non-transitory recording medium, and data structure
CN108366058A (en) Method, apparatus, equipment and the storage medium for preventing advertisement operators flow from kidnapping
CN105101122A (en) Verification code input method and device
US11481196B2 (en) User interface for accessing and modifying development area content
US11886529B2 (en) Systems and methods for diagnosing quality issues in websites
CN108074172B (en) E-commerce commodity information publishing method and system
CN108170497A (en) A kind of method and device of page rendering
US11509610B2 (en) Real-time messaging platform with enhanced privacy
CN109670963A (en) Assets information screening technique, device, equipment and storage medium
CN114943005A (en) Picture display processing method and device
CN109685595A (en) Method for pushing, device, mobile terminal and storage medium based on data analysis
US11675773B2 (en) Content management
CN108494728A (en) Blacklist base establishing method, device, equipment and the medium for preventing flow from kidnapping
CN105302839B (en) File filtering method and system
CN115936703A (en) Payment channel display method and device, computer equipment and readable storage medium
CN113051477A (en) Content recommendation method and device, electronic equipment and medium
US20150348088A1 (en) Graphical System for Database Marketing
CN116010712B (en) Form recommendation method and device, electronic equipment and storage medium
CN113221509A (en) Automatic generation method, device and equipment of slide and storage medium
CN114971783A (en) Business processing method, device, equipment, program product and storage medium
KR20230123377A (en) Method for providing a user-customized ui to a user device in connecting with a kiosk

Legal Events

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