CN115081399A - Weekly generation method, electronic device and computer-readable storage medium thereof - Google Patents

Weekly generation method, electronic device and computer-readable storage medium thereof Download PDF

Info

Publication number
CN115081399A
CN115081399A CN202210748748.4A CN202210748748A CN115081399A CN 115081399 A CN115081399 A CN 115081399A CN 202210748748 A CN202210748748 A CN 202210748748A CN 115081399 A CN115081399 A CN 115081399A
Authority
CN
China
Prior art keywords
weekly report
instruction
editing
template
weekly
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
CN202210748748.4A
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202210748748.4A priority Critical patent/CN115081399A/en
Publication of CN115081399A publication Critical patent/CN115081399A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • 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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

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)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a weekly report generation method, electronic equipment and a computer readable storage medium. The weekly report generation method comprises the following steps: adding a weekly report forming unit in a weekly report editing area of a display interface; responding to an editing instruction of the weekly report composition unit, and displaying the weekly report content corresponding to the editing instruction in the weekly report editing area; and responding to a weekly report confirmation instruction, and taking the weekly report editing area as a final weekly report. By the scheme, the weekly report can be customized.

Description

Weekly generation method, electronic device and computer-readable storage medium thereof
Technical Field
The present application relates to the field of weekly reports, and in particular, to a method for generating a weekly report, an electronic device, and a computer-readable storage medium thereof.
Background
With the development of informatization technology, the informatization degree of governments, enterprise units, banks and the like is increasing day by day. The number of services/projects and information of the services/projects are rapidly increased, requirements for data sharing, data monitoring and the like of service/project progress inside and among departments are urgent, and informatization and automation of service/project management are one of key working directions of enterprise informatization construction. The weekly reports are used for displaying contents, so that people can conveniently know the contents of the weekly reports, and data sharing, data monitoring and the like are realized.
At present, when the weekly newspaper is generated, the content of the weekly newspaper cannot be edited, and the editing requirement of a user cannot be met. Therefore, how to realize the custom setting of the weekly report becomes a problem to be solved urgently.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a weekly report generation method, electronic equipment and a computer readable storage medium thereof, which can enable a user to define the weekly report by user.
In order to solve the above problem, a first aspect of the present application provides a weekly report generating method, including: adding a weekly report forming unit in a weekly report editing area of a display interface; responding to an editing instruction of the weekly report composition unit, and displaying the weekly report content corresponding to the editing instruction in the weekly report editing area; and responding to a weekly report confirmation instruction, and taking the weekly report editing area as a final weekly report.
The display interface further comprises a template selection area, and the template selection area comprises a plurality of weekly newspaper composition unit templates; the adding of the weekly report composition unit in the weekly report editing area of the display interface comprises the following steps: acquiring a first selection instruction of the weekly report composition unit template; and displaying the weekly report forming unit corresponding to the weekly report forming unit template at a first preset position of the weekly report editing area based on the first selection instruction.
The weekly newspaper composition unit template comprises at least one of a head template, a title template, a picture template, a text template, a symbol template and a background template; the head template is used for configuring a weekly report identifier, the title template is used for configuring a weekly report title, the picture template is used for acquiring a local picture, the text template is used for configuring a weekly report text, the symbol template is used for configuring a weekly report symbol, and the background template is used for configuring a weekly report background.
Wherein, the displaying the weekly report content corresponding to the editing instruction in the weekly report editing area in response to the editing instruction to the weekly report composing unit comprises: if the weekly report composition unit template comprises the head template, responding to an editing trigger instruction of the head template, and displaying at least one head editing frame; responding to a head editing instruction input by a user aiming at the at least one head editing frame, and displaying the weekly report content corresponding to the head editing instruction in the corresponding head editing frame; responding to a head confirmation instruction, and displaying the weekly report contents corresponding to all the head edit boxes in the weekly report edit area; and/or if the weekly report composition unit template comprises the title template, responding to an editing trigger instruction of the title template, and displaying a title editing frame; responding to a title editing instruction input by a user, and displaying the weekly report content corresponding to the title editing instruction in the title editing frame; responding to a title confirmation instruction, and displaying the weekly report content corresponding to the title editing frame in the weekly report editing area; and/or if the weekly report forming unit template comprises the picture template, responding to an editing trigger instruction of the picture template, and displaying a picture editing frame; responding to a trigger instruction of the picture editing frame, and displaying pictures in a preset picture library; responding to a selection instruction of a user for the picture, and displaying the picture corresponding to the selection instruction in the picture editing frame; responding to a picture confirmation instruction, and displaying a picture corresponding to the picture editing frame in the weekly report editing area; and/or if the weekly report composition unit template comprises the text template, responding to an editing trigger instruction of the text template and displaying a text editing frame; responding to a title editing instruction input by a user, and displaying the weekly report content corresponding to the text editing instruction in the text editing frame; responding to a title confirmation instruction, and displaying the weekly report content corresponding to the text editing frame in the weekly report editing area; and/or if the weekly report forming unit template comprises the symbol template, responding to an editing trigger instruction of the symbol template, and displaying a plurality of preset symbols; responding to a symbol selection instruction of the user for the preset symbol, and displaying the preset symbol corresponding to the symbol selection instruction in the weekly news editing area; and/or if the weekly report composition unit template comprises the background template, responding to an editing trigger instruction of the background template and displaying a plurality of preset background pictures; and responding to a background selection instruction of a user for the preset background picture, and taking the preset background picture corresponding to the background selection instruction as the background of the weekly report editing area.
The weekly report contents corresponding to the head editing instruction, the title editing instruction and the text editing instruction comprise weekly report texts, and the method further comprises the following steps: receiving at least one text adjusting instruction, wherein the text adjusting instruction comprises a font type adjusting instruction, a font size adjusting instruction, an italic adjusting instruction, a bolding adjusting instruction, an underline adjusting instruction and a paragraph adjusting instruction; and correspondingly adjusting the weekly report text based on the at least one text adjusting instruction.
The display interface further comprises a preset gallery, wherein the preset gallery comprises at least one visual picture; the adding of the weekly report composition unit in the weekly report editing area of the display interface comprises the following steps: acquiring a second selection instruction of the visual picture; and displaying a visual picture corresponding to the second selection instruction at a second preset position of the weekly report editing area based on the second selection instruction.
Wherein, before the obtaining of the second selection instruction for the visual picture, the method further comprises: acquiring visual data from a database based on a preset data updating period, and mapping the visual data to the visual picture; and/or responding to a data interval selection instruction, and mapping the visual data corresponding to the data interval selection instruction to the visual picture.
The method is applied to a webpage, the weekly report editing area is a canvas in the webpage, and after the weekly report editing area is used as a final weekly report, the method further comprises at least one of the following steps: converting the final weekly reports in the canvas into weekly report pictures which can be downloaded by a user, or generating webpage links comprising the final weekly reports; and/or the weekly report composing unit comprises a plurality of units, and the method further comprises the following steps that before the weekly report editing area is used as the final weekly report in response to the weekly report confirmation instruction: updating the positions among the plurality of weekly report composition units in response to a position adjusting instruction for the weekly report composition units, wherein the position adjusting instruction is generated by dragging the selected weekly report composition units to a target position after a user selects the weekly report composition units; and/or the method is implemented by a set of services embedded in the microservice of the application.
To solve the above problem, a second aspect of the present application provides an electronic device, comprising: a memory and a processor coupled to each other; the processor is configured to execute the program instructions stored in the memory to implement the weekly report generation method of the first aspect.
In order to solve the above problem, a third aspect of the present application provides a computer-readable storage medium, on which program instructions capable of being executed by a processor are stored, and the program instructions, when executed by the processor, implement the weekly report generation method of the first aspect.
According to the scheme, after the weekly report composition unit is added in the weekly report editing area of the display interface, the editing instruction of the weekly report composition unit can be responded, the weekly report content corresponding to the editing instruction is displayed in the weekly report editing area, and finally the weekly report confirmation instruction is responded, and the weekly report editing area is used as the final weekly report, so that the user-defined weekly report is realized through the editing instruction, and the personalized requirements of the user are met.
Drawings
FIG. 1 is a schematic flow chart diagram of a first embodiment of a weekly report generation method of the present application;
FIG. 2 is a schematic flow chart diagram of a second embodiment of a weekly report generation method of the present application;
FIG. 3 is a schematic flow chart of a third embodiment of the weekly report generation method;
FIG. 4 is a simplified diagram of a display interface in a fourth embodiment of the weekly report generation method of the present application;
FIG. 5 is a schematic structural diagram of an embodiment of an electronic device of the present application;
FIG. 6 is a block diagram of an embodiment of a computer-readable storage medium of the present application.
Detailed Description
The following describes in detail the embodiments of the present application with reference to the drawings attached hereto.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. The terms "first", "second" and "first" are used herein for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. Further, the term "plurality" herein means two or more than two.
Referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of a weekly report generation method of the present application.
Specifically, the method of the embodiment includes the following steps:
step S101: and adding a weekly report forming unit in a weekly report editing area of the display interface.
The display interface may be any interface capable of displaying content information, including but not limited to a web page interface. The display interface comprises a weekly report editing area, namely the weekly report editing area is positioned in the display interface, and the area ratio of the weekly report editing area to the display interface can be any size. The weekly report editing area can be used for previewing and displaying the weekly reports and can also be used for editing the weekly reports. After the weekly report composition unit of the weekly report editing area is edited, part or all of the contents of the weekly report are formed, and it can be understood that the weekly report composition unit can be any specific contents forming the weekly report. For example, the weekly report component unit may be at least one of a header, a title, a picture, a text, a symbol, and a background, wherein the header may be a weekly report identifier, the title may be a weekly report title, the picture may be a local picture, the text may be a weekly report text, the symbol may be a weekly report symbol, and the background may be a weekly report background. The weekly report editing area can be added with a plurality of weekly report composition units, so that a user can edit all the weekly report composition units.
The adding manner of the weekly report composition units can be any implementation manner, for example, in response to a trigger instruction for the weekly report editing area, a plurality of weekly report composition units are displayed, so that in response to an adding selection instruction for the weekly report composition units, the weekly report composition units corresponding to the adding selection instruction are added in the weekly report editing area of the display interface. The trigger instruction for the weekly report editing area and the adding selection instruction for the weekly report composition unit can be generated by touching the corresponding area of the display interface by a user, can also be generated by the operation of external equipment such as a mouse and the like.
Step S102: and responding to the editing instruction of the weekly report composition unit, and displaying the weekly report content corresponding to the editing instruction in the weekly report editing area.
After the weekly report composition unit is added to the weekly report editing area of the display interface, the editing instruction of the weekly report composition unit is received, and the weekly report content corresponding to the editing instruction can be displayed in the weekly report editing area in response to the editing instruction of the weekly report composition unit. The editing instruction of the weekly report composition unit is used for generating the weekly report content, and after the editing instruction of the weekly report composition unit is received, the weekly report content corresponding to the editing instruction is displayed in the weekly report editing area.
Step S103: and in response to the weekly report confirmation instruction, taking the weekly report editing area as a final weekly report.
The weekly report confirmation instruction is used for determining the final weekly report, and the implementation mode can be in any mode. For example, in an implementation scenario, the weekly report confirmation instruction may be formed by clicking or long-pressing a weekly report confirmation button on the display interface by a user; the weekly report confirmation command may be formed by a user operating a weekly report confirmation key, and is not particularly limited herein. After the weekly report editing area is edited, the area corresponding to the weekly report editing area and the content thereof can be used as the final weekly report. Compared with the area serving as the final weekly report, the area serving as the final weekly report is often only used for displaying the weekly report in a preview mode and cannot be directly edited in the area serving as the final weekly report.
By the mode, after the weekly report forming unit is added in the weekly report editing area of the display interface, the editing instruction of the weekly report forming unit can be responded, the content of the weekly report corresponding to the editing instruction is displayed in the weekly report editing area, and finally the weekly report editing area is used as the final weekly report in response to the weekly report confirming instruction, so that the user-defined weekly report is realized through the editing instruction, and the personalized requirements of the user are met.
The present application further provides a second embodiment, please refer to fig. 2, and fig. 2 is a flowchart illustrating a second embodiment of the weekly report generation method of the present application. The weekly report generation method of the embodiment further comprises the following steps:
step S201: and acquiring a first selection instruction of the weekly report composition unit template.
In this embodiment, the display interface includes a template selection area in addition to a weekly report editing area, and the template selection area includes a plurality of weekly report component unit templates. The weekly report forming units and the weekly report forming unit templates are in one-to-one correspondence, so that the corresponding weekly report forming unit templates can be self-defined templates set according to actual needs under the condition that the weekly report forming units can form any specific content of the weekly report.
In an embodiment, the weekly report component unit template may comprise at least one of a header template, a title template, a picture template, a text template, a symbol template, and a background template. The system comprises a head template, a title template, a picture template, a text template, a symbol template and a background template, wherein the head template is used for configuring a weekly report identifier, the title template is used for configuring a weekly report title, the picture template is used for acquiring a local picture, the text template is used for configuring a weekly report text, the symbol template is used for configuring a weekly report symbol, and the background template is used for configuring a weekly report background. For example, the head of the head template displays a weekly report identifier, which can be a company name identifier, a weekly report time, and the like. The weekly report title of the title template may be a title of multiple hierarchies, such as a first-level title and a second-level title, or may include only one title, which is not specifically limited herein. The local picture obtained by the picture template can be any picture stored locally. The weekly report symbols may be a variety of pre-stored symbols including, but not limited to, delimiters and the like. The weekly newspaper background is the content displayed on the bottom layer of the weekly newspaper and can be a picture background, a watermark background and the like.
The first selection instruction is used for selecting and determining a weekly report composition unit template to be edited, and the implementation mode can be any mode, for example, the first selection instruction can be generated by a user touching the weekly report composition unit template on the display interface; or operation of an external device such as a mouse; the selection area can also be generated by dragging the weekly report composition unit template to a weekly report editing area after the user selects the weekly report composition unit template in the template selection area, and the specific limitation is not provided herein.
Step S202: and displaying the weekly report forming units corresponding to the weekly report forming unit template at a first preset position of the weekly report editing area based on the first selection instruction.
After a first selection instruction for the weekly report composition unit template is obtained, the weekly report composition units corresponding to the weekly report composition unit template can be displayed at a first preset position of the weekly report editing area based on the first selection instruction, so that the weekly report composition units can be freely selected, and various weekly report contents can be formed. The first preset position may be set by a user, and is not particularly limited herein. In an embodiment, the first preset position may be different first preset positions according to different types of weekly report composition unit templates, for example, the first preset position corresponding to the head template is a first row of the weekly report editing region close to the upper boundary, a last row of the weekly report editing region close to the lower boundary, and the like; the first preset position corresponding to the text template is an area outside the first preset position corresponding to the head template. In another embodiment, the first row of the weekly report editing area close to the upper boundary to the last row of the weekly report editing area close to the lower boundary may be sequentially used as the first preset position based on the time sequence in which the template of the weekly report composition unit corresponding to the first selection instruction is selected, for example, after the weekly report composition unit corresponding to the title template is displayed in the first row of the weekly report editing area close to the upper boundary based on the first selection instruction, the textual unit corresponding to the weekly report composition template is displayed in the second row of the weekly report editing area close to the upper boundary based on the first selection instruction, and so on. The free setting of the weekly newspaper content position is realized through the self-defining of the first preset position.
Step S203: and responding to the editing instruction of the weekly report composition unit, and displaying the weekly report content corresponding to the editing instruction in the weekly report editing area.
Different from the embodiment shown in fig. 1, in this embodiment, in response to the edit instruction for the weekly report composition unit, when the weekly report content corresponding to the edit instruction is displayed in the weekly report edit area, the weekly report composition unit corresponds to the weekly report composition unit template one by one, which is equivalent to editing the weekly report content on the basis of the weekly report composition unit template, thereby reducing the workload of editing the weekly report.
In response to the editing instruction for the weekly report composition unit, when the weekly report content corresponding to the editing instruction is displayed in the weekly report editing area, at least one of the following conditions may be included:
in one embodiment, in response to an editing instruction for the weekly report composition unit, when the weekly report content corresponding to the editing instruction is displayed in the weekly report editing area, if the weekly report composition unit template comprises a head template, at least one head editing frame can be displayed in response to an editing trigger instruction for the head template; responding to a head editing instruction input by a user aiming at least one head editing frame, and displaying the weekly report content corresponding to the head editing instruction in the corresponding head editing frame; and responding to the head confirmation instruction, and displaying the weekly report contents corresponding to all the head edit boxes in the weekly report editing area. The positions of the different head edit boxes may be different, for example, one of the head edit boxes is positioned at the left, middle or right side of the first row of the Weeking edit area near the upper boundary, and the other head edit box is positioned at the left, middle or right side of the last row of the Weeking edit area near the lower boundary.
In one embodiment, in response to an editing instruction for the weekly report composition unit, when the weekly report content corresponding to the editing instruction is displayed in a weekly report editing area, if the weekly report composition unit template comprises a title template, a title editing frame is displayed in response to an editing trigger instruction for the title template; responding to a title editing instruction input by a user, and displaying the weekly report content corresponding to the title editing instruction in a title editing frame; and responding to the title confirmation instruction, and displaying the weekly report content corresponding to the title editing frame in the weekly report editing area.
In one embodiment, in response to an editing instruction for the weekly report composition unit, when the weekly report content corresponding to the editing instruction is displayed in a weekly report editing area, if the weekly report composition unit template comprises a picture template, a picture editing frame is displayed in response to an editing triggering instruction for the picture template; responding to a trigger instruction of the picture editing frame, and displaying pictures in a preset picture library; responding to a selection instruction of a user for the picture, and displaying the picture corresponding to the selection instruction in a picture editing frame; and responding to the picture confirmation instruction, and displaying the picture corresponding to the picture editing frame in the weekly report editing area.
In one embodiment, in response to an editing instruction for the weekly report composition unit, when the weekly report content corresponding to the editing instruction is displayed in a weekly report editing area, if the template of the weekly report composition unit comprises a text template, a text editing frame is displayed in response to an editing trigger instruction for the text template; responding to a title editing instruction input by a user, and displaying the weekly report content corresponding to the text editing instruction in a text editing frame; and responding to the title confirmation instruction, and displaying the weekly report content corresponding to the text editing frame in the weekly report editing area.
In one embodiment, in response to an editing instruction for the weekly report composition unit, when the weekly report content corresponding to the editing instruction is displayed in the weekly report editing area, if the weekly report composition unit template comprises a symbol template, in response to an editing trigger instruction for the symbol template, displaying a plurality of preset symbols; and responding to a symbol selection instruction of the user for the preset symbol, and displaying the preset symbol corresponding to the symbol selection instruction in the weekly report editing area.
In one embodiment, in response to an editing instruction for a weekly report forming unit, when the weekly report content corresponding to the editing instruction is displayed in a weekly report editing area, if a template of the weekly report forming unit comprises a background template, in response to an editing trigger instruction for the background template, displaying a plurality of preset background images; and responding to a background selection instruction of the user for the preset background image, and taking the preset background image corresponding to the background selection instruction as the background of the Weekly edition area.
The implementation manner of the editing trigger instruction such as the editing instruction of the weekly report component unit, the editing instruction such as the head editing instruction, and the confirmation instruction such as the head confirmation instruction may be generated by the user touching the corresponding area of the display interface, or by the operation of an external device such as a mouse. Taking head editing as an example only, the editing trigger instruction for the head template is generated by the user touching the head template of the display interface; the head editing instruction is generated by the user touching the head template of the display interface again; the head confirmation instruction is generated by a user touching a confirmation button displayed in a head edit box of the display interface. The same or different editing processes can be set for different weekly report composition unit templates.
As the weekly report content may include text content, in order to be similar to the text content edited in document editing, the text content in the weekly report may be flexibly set, in an embodiment, when the weekly report content corresponding to the head editing instruction, the title editing instruction, and the body editing instruction includes the weekly report text, at least one text adjusting instruction may be received, where the text adjusting instruction includes a font type adjusting instruction, a font size adjusting instruction, an italic adjusting instruction, a bolding adjusting instruction, an underlining adjusting instruction, and a paragraph adjusting instruction; and correspondingly adjusting the weekly report text based on at least one text adjusting instruction. The text adjustment instruction may be any implementation form capable of changing the weekly report text, such as a font color adjustment instruction, and is not limited herein. Therefore, the types, sizes, colors and other styles of characters can be switched at will through the text adjusting instruction, so that the weekly report interface is exquisite. Before at least one text adjusting instruction is received, a new text adjusting instruction can be obtained, and therefore the adjusting function of the weekly report text is expanded.
Step S204: and responding to the weekly report confirmation instruction, and taking the weekly report editing area as a final weekly report.
Other descriptions related to the step S203 and the step S204 may refer to the detailed description of the step S102 and the step S103 shown in fig. 1, and are not repeated herein.
Through the mode, under the condition that the display interface further comprises a template selection area, and the template selection area comprises a plurality of weekly report forming unit templates, when the weekly report forming unit is added to the weekly report editing area of the display interface, a first selection instruction of the weekly report forming unit template can be obtained, so that the weekly report forming unit corresponding to the weekly report forming unit template is displayed at a first preset position of the weekly report editing area based on the first selection instruction, and then the weekly report forming unit template of the template selection area is utilized to preset partial content for forming the weekly report, a user only needs to edit the content of the weekly report on the weekly report forming unit corresponding to the weekly report forming unit template, and the convenience and the efficiency of user-defined weekly reports can be improved.
The present application further provides a third embodiment, please refer to fig. 3, and fig. 3 is a flowchart illustrating a third embodiment of the weekly report generating method of the present application. The weekly report generation method of the embodiment further comprises the following steps:
step S301: and acquiring a second selection instruction of the visual picture.
In this embodiment, the display interface includes a preset gallery including at least one visual picture in addition to the weekly report editing region. The picture type of the visual pictures in the preset gallery can be set in a customized manner, for example, the visual pictures of the line drawings, the visual pictures of the column drawings, the visual pictures of the radar drawings, and the like, which are not specifically limited herein. After the visual data are mapped on the visual pictures, the visual data are displayed through the visual pictures, so that the weekly newspaper is more exquisite, and a user can read the weekly newspaper more easily. The data source of the visualized data of the visualized pictures is not particularly limited, for example, the data is sourced from a background database, manually input and the like.
The second selection instruction is used for selecting and determining the visual picture to be edited, and the implementation manner of the second selection instruction can be any manner, for example, the second selection instruction can be generated by a user touching the visual picture on the display interface; or operation of an external device such as a mouse; the generation of the visual image can also be realized by selecting the visual image in a preset image library by a user and then dragging the visual image to a Weeku edition area, which is not specifically limited herein.
In order to dynamically update the data source of the visual picture, in an embodiment, before the second selection instruction for the visual picture is obtained, the visual data may be obtained from the database based on a preset data update cycle, and the visual data is mapped to the visual picture. Wherein, the preset data updating period can be set by self-definition, such as 24 hours, 1 hour, real-time, etc. In order to update the visual data of the visual picture in real time, the visual data is acquired from the database based on the preset data updating period, and when the visual data is mapped to the visual picture, the visual data can be acquired from the database in real time and mapped to the visual picture.
In order to meet the requirement of the user for freely selecting the visual data, in an embodiment, before the second selection instruction for the visual picture is acquired, the visual data corresponding to the data interval selection instruction may be mapped to the visual picture in response to the data interval selection instruction. The data interval selection instruction can be generated after the user edits the starting data time and/or the ending data time, and the user can freely select the data interval of the visualized data conveniently. The visual pictures in the preset gallery include data interval selection positions, and the data interval selection instruction can be generated by selecting the data intervals of the visual data at the data interval selection positions. For example, the data interval selection position is located at the upper right corner/upper left corner of the visualized picture in the preset gallery and includes start data time and end data time in the form of pull-down menu options, a time setting instruction of the start data time and/or the end data time by a user is received, and the visualized data corresponding to the time setting instruction is mapped to the visualized picture, so that the data range of the visualized picture can be screened according to the time condition.
Step S302: and displaying a visual picture corresponding to the second selection instruction at a second preset position of the weekly report editing area based on the second selection instruction.
After a second selection instruction for the visual pictures is obtained, the visual pictures corresponding to the second selection instruction can be displayed at a second preset position of the weekly report editing area based on the second selection instruction, so that the visual pictures are freely selected and added to the weekly report, and various weekly report contents are formed. The second preset position may be set by a user, and is not particularly limited herein. In an embodiment, the second preset position may be set to a different second preset position according to the visual pictures of different picture types. In another embodiment, the first row of the weekly report editing region near the upper boundary to the last row of the weekly report editing region near the lower boundary may be sequentially used as the second preset position based on the time sequence in which the visual pictures corresponding to the second selection instruction are selected, for example, after the visual pictures are displayed in the first row of the weekly report editing region near the upper boundary based on the second selection instruction, another visual picture is displayed in the second row of the weekly report editing region near the upper boundary based on the second selection instruction, and so on. And realizing the free setting of the weekly newspaper content position through the self-defining of the second preset position.
Step S303: and responding to the editing instruction of the weekly report composition unit, and displaying the weekly report content corresponding to the editing instruction in the weekly report editing area.
When the visual picture is used as a weekly report forming unit, the editing instruction of the visual picture can be the content adjustment of the visual picture, or the size adjustment of the whole visual picture, and is not specifically limited herein.
Step S304: and responding to the weekly report confirmation instruction, and taking the weekly report editing area as a final weekly report.
Other descriptions related to the step S303 and the step S304 may refer to the detailed description of the step S102 and the step S103 shown in fig. 1, and are not repeated herein.
In this way, the display interface further comprises the preset map library, and the preset map library comprises at least one visual picture, when a weekly report forming unit is added to a weekly report editing area of the display interface, a second selection instruction of the visual picture can be acquired, and then the visual picture corresponding to the second selection instruction is displayed at a second preset position of the weekly report editing area based on the second selection instruction, so that the visual picture is used as the content of the final weekly report and can be edited, and further, when the weekly report is customized, the visual pictures of various types and data are added, and the exquisite degree and the observability of the weekly report are improved.
In a fourth embodiment, the display interface may further include the weekly report editing region, the template selection region and the preset gallery at the same time, so that when a weekly report forming unit is added to the weekly report editing region of the display interface, a first selection instruction for the template of the weekly report forming unit may be obtained, and the weekly report forming unit corresponding to the template of the weekly report forming unit is displayed at a first preset position of the weekly report editing region based on the first selection instruction; a second selection instruction for the visual picture can also be acquired, so that the visual picture corresponding to the second selection instruction is displayed at a second preset position of the Weeking edition area based on the second selection instruction; the method may further include displaying a plurality of weekly report constituent units in response to a trigger instruction for the weekly report editing area, so that a weekly report constituent unit corresponding to the addition selection instruction is added to the weekly report editing area of the display interface in response to the addition selection instruction for the weekly report constituent unit, and other addition modes capable of realizing the weekly report constituent unit are not specifically limited herein. For the step of adding the weekly report composition unit in the template selection area, the preset gallery and the corresponding weekly report editing area of the display interface, reference may be made to the above, which is not described herein again. As shown in fig. 4, fig. 4 is a simplified schematic diagram of a display interface in a fourth embodiment of the weekly report generation method of the present application.
The weekly report generation method in any embodiment of the application can be applied to a webpage, so that a display interface is the webpage, a weekly report editing area is a canvas in the webpage, and under the condition that a template selection area and a preset gallery exist, the template selection area and the preset gallery can be located in other areas except the canvas in the webpage. It can be understood that after the final weekly report is obtained, the final weekly report in the canvas can be converted into a weekly report picture which can be downloaded by a user, and a webpage link comprising the final weekly report is generated.
With any of the above embodiments, when the weekly report component unit includes a plurality of units, the position between the weekly report component units can be adjusted. In an embodiment, in response to the weekly report confirmation instruction, before the weekly report editing area is used as the final weekly report, the positions among the plurality of weekly report forming units can be updated in response to the position adjustment instruction for the weekly report forming units, wherein the position adjustment instruction is generated by dragging the selected weekly report forming units to the target position after the user selects the weekly report forming units. Of course, the position adjustment command may be generated in other ways, for example, the position adjustment command is generated by the user clicking a position adjustment button on the display interface. Therefore, the user can freely adjust the position of the weekly report content through the position adjusting instruction.
In order to be able to form the weekly report by using the weekly report generation method in more applications and scenes, the weekly report generation method of any of the above embodiments may be implemented by a set of services embedded in the microservices of the application program. The implementation manner of the embedded service in the application program may be single-sap, qiankun, iframe, and the like, and is not specifically limited herein. For the related descriptions of single-sap, qiankun and iframe, reference may be made to the prior art, and details are not repeated herein.
Referring to fig. 5, fig. 5 is a schematic block diagram of an embodiment of an electronic device 50 according to the present application. The electronic device 50 includes a memory 51 and a processor 52 coupled to each other, and the processor 52 is configured to execute program instructions stored in the memory 51 to implement the steps in any one of the embodiments of the weekly report generation method described above. In one particular implementation scenario, the electronic device 50 may include, but is not limited to: a microcomputer, a server, and the electronic device 50 may also include a mobile device such as a notebook computer, a tablet computer, and the like, which is not limited herein.
Specifically, the processor 52 is configured to control itself and the memory 51 to implement the steps in any one of the weekly report generation method embodiments described above. Processor 52 may also be referred to as a CPU (Central Processing Unit). Processor 52 may be an integrated circuit chip having signal processing capabilities. The Processor 52 may also be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 52 may be commonly implemented by an integrated circuit chip.
According to the scheme, after the weekly report composition unit is added in the weekly report editing area of the display interface, the editing instruction of the weekly report composition unit can be responded, the weekly report content corresponding to the editing instruction is displayed in the weekly report editing area, and finally the weekly report confirmation instruction is responded, and the weekly report editing area is used as the final weekly report, so that the user-defined weekly report is realized through the editing instruction, and the personalized requirements of the user are met.
Referring to fig. 6, fig. 6 is a block diagram illustrating an embodiment of a computer readable storage medium 60 according to the present application. The computer readable storage medium 60 stores program instructions 601 capable of being executed by a processor, the program instructions 601 for implementing the steps in any of the weekly report generation method embodiments described above.
According to the scheme, after the weekly report composition unit is added in the weekly report editing area of the display interface, the editing instruction of the weekly report composition unit can be responded, the weekly report content corresponding to the editing instruction is displayed in the weekly report editing area, and finally the weekly report confirmation instruction is responded, and the weekly report editing area is used as the final weekly report, so that the user-defined weekly report is realized through the editing instruction, and the personalized requirements of the user are met.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and for specific implementation, reference may be made to the description of the above method embodiments, and for brevity, details are not described here again.
The foregoing description of the various embodiments is intended to highlight various differences between the embodiments, and the same or similar parts may be referred to each other, and for brevity, will not be described again herein.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely one type of logical division, and an actual implementation may have another division, for example, a unit or a component may be combined or integrated with another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some interfaces, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (10)

1. A weekly report generation method, characterized in that the method comprises:
adding a weekly report forming unit in a weekly report editing area of a display interface;
responding to an editing instruction of the weekly report composition unit, and displaying the weekly report content corresponding to the editing instruction in the weekly report editing area;
and responding to a weekly report confirmation instruction, and taking the weekly report editing area as a final weekly report.
2. The method of claim 1, wherein the display interface further comprises a template selection area, wherein the template selection area comprises a plurality of weekly report component unit templates;
the adding of the weekly report composition unit in the weekly report editing area of the display interface comprises the following steps:
acquiring a first selection instruction of the weekly report composition unit template;
and displaying the weekly report forming unit corresponding to the weekly report forming unit template at a first preset position of the weekly report editing area based on the first selection instruction.
3. The method of claim 2, wherein the weekly report component unit template comprises at least one of a header template, a title template, a picture template, a text template, a symbol template, a background template; the head template is used for configuring a weekly report identifier, the title template is used for configuring a weekly report title, the picture template is used for acquiring a local picture, the text template is used for configuring a weekly report text, the symbol template is used for configuring a weekly report symbol, and the background template is used for configuring a weekly report background.
4. The method of claim 3, wherein the displaying, in response to the edit instruction for the weekly report component unit, the weekly report content corresponding to the edit instruction in the weekly report edit area comprises:
if the weekly report forming unit template comprises the head template, responding to an editing trigger instruction of the head template, and displaying at least one head editing frame; responding to a head editing instruction input by a user aiming at the at least one head editing frame, and displaying the weekly report content corresponding to the head editing instruction in the corresponding head editing frame; responding to a head confirmation instruction, and displaying the weekly report contents corresponding to all the head edit boxes in the weekly report edit area; and/or the presence of a gas in the gas,
if the weekly report composition unit template comprises the title template, responding to an editing trigger instruction of the title template, and displaying a title editing frame; responding to a title editing instruction input by a user, and displaying the weekly report content corresponding to the title editing instruction in the title editing frame; responding to a title confirmation instruction, and displaying the weekly report content corresponding to the title editing frame in the weekly report editing area; and/or the presence of a gas in the gas,
if the weekly report forming unit template comprises the picture template, responding to an editing trigger instruction of the picture template, and displaying a picture editing frame; responding to a trigger instruction of the picture editing frame, and displaying pictures in a preset picture library; responding to a selection instruction of a user for the picture, and displaying the picture corresponding to the selection instruction in the picture editing frame; responding to a picture confirmation instruction, and displaying a picture corresponding to the picture editing frame in the weekly report editing area; and/or the presence of a gas in the gas,
if the weekly report forming unit template comprises the text template, responding to an editing trigger instruction of the text template, and displaying a text editing frame; responding to a title editing instruction input by a user, and displaying the weekly report content corresponding to the text editing instruction in the text editing frame; responding to a title confirmation instruction, and displaying the weekly report content corresponding to the text editing frame in the weekly report editing area; and/or the presence of a gas in the gas,
if the weekly report forming unit template comprises the symbol template, responding to an editing trigger instruction of the symbol template, and displaying a plurality of preset symbols; responding to a symbol selection instruction of the user for the preset symbol, and displaying the preset symbol corresponding to the symbol selection instruction in the weekly news editing area; and/or the presence of a gas in the gas,
if the weekly report forming unit template comprises the background template, responding to an editing trigger instruction of the background template, and displaying a plurality of preset background pictures; and responding to a background selection instruction of a user for the preset background picture, and taking the preset background picture corresponding to the background selection instruction as the background of the weekly report editing area.
5. The method of claim 4, wherein the weekly report contents corresponding to the head editing instruction, the title editing instruction and the body editing instruction comprise weekly report texts, and the method further comprises:
receiving at least one text adjusting instruction, wherein the text adjusting instruction comprises a font type adjusting instruction, a font size adjusting instruction, an italic adjusting instruction, a bolding adjusting instruction, an underline adjusting instruction and a paragraph adjusting instruction;
and correspondingly adjusting the weekly report text based on the at least one text adjusting instruction.
6. The method of claim 1, wherein the display interface further comprises a preset gallery, the preset gallery comprising at least one visual picture;
the adding of the weekly report composition unit in the weekly report editing area of the display interface comprises the following steps:
acquiring a second selection instruction of the visual picture;
and displaying a visual picture corresponding to the second selection instruction at a second preset position of the weekly report editing area based on the second selection instruction.
7. The method according to claim 6, wherein before the obtaining of the second selection instruction for the visual picture, the method further comprises:
acquiring visual data from a database based on a preset data updating period, and mapping the visual data to the visual picture; and/or the presence of a gas in the gas,
and responding to a data interval selection instruction, and mapping the visual data corresponding to the data interval selection instruction to the visual picture.
8. The method of any one of claims 1 to 6, wherein the method is applied to a webpage, the weekly report editing area is a canvas in the webpage, and after the weekly report editing area is used as a final weekly report, the method further comprises at least one of the following steps: converting the final weekly reports in the canvas into weekly report pictures which can be downloaded by a user, or generating webpage links comprising the final weekly reports; and/or the presence of a gas in the atmosphere,
the weekly report composing unit comprises a plurality of units, and before the weekly report editing area is used as a final weekly report in response to a weekly report confirmation instruction, the method further comprises the following steps: updating the positions among the plurality of weekly report composition units in response to a position adjusting instruction for the weekly report composition units, wherein the position adjusting instruction is generated by dragging the selected weekly report composition units to a target position after a user selects the weekly report composition units; and/or the presence of a gas in the gas,
the method is implemented by a set of services embedded in the microservices of an application.
9. An electronic device comprising a memory and a processor coupled to each other, wherein the processor is configured to execute program instructions stored in the memory to implement the weekly report generation method of any one of claims 1 to 8.
10. A computer readable storage medium having stored thereon program instructions executable by a processor, the program instructions when executed by the processor implementing the weekly report generation method of any of claims 1 to 8.
CN202210748748.4A 2022-06-28 2022-06-28 Weekly generation method, electronic device and computer-readable storage medium thereof Pending CN115081399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210748748.4A CN115081399A (en) 2022-06-28 2022-06-28 Weekly generation method, electronic device and computer-readable storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210748748.4A CN115081399A (en) 2022-06-28 2022-06-28 Weekly generation method, electronic device and computer-readable storage medium thereof

Publications (1)

Publication Number Publication Date
CN115081399A true CN115081399A (en) 2022-09-20

Family

ID=83255501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210748748.4A Pending CN115081399A (en) 2022-06-28 2022-06-28 Weekly generation method, electronic device and computer-readable storage medium thereof

Country Status (1)

Country Link
CN (1) CN115081399A (en)

Similar Documents

Publication Publication Date Title
US20200380200A1 (en) Information processing apparatus and method and non-transitory computer readable medium
KR101429301B1 (en) Modifying a chart
CN109933322B (en) Page editing method and device and computer readable storage medium
US10210142B1 (en) Inserting linked text fragments in a document
US10678406B1 (en) Conversational user interface design
CN104410720A (en) Real-time monitoring platform system based on web graph and monitoring method thereof
CN110647624A (en) Automatic generation of an animation preview that presents document differences in enterprise messaging
US9548042B2 (en) Responsive document breakpoints systems and methods
US9483569B2 (en) Electronic-manual browsing apparatus and system
JP6668868B2 (en) Information processing apparatus and information processing program
US10241658B2 (en) Information processing apparatus, non-transitory computer-readable recording medium with information processing program recorded thereon, and information processing method
CN113111632A (en) Visual configuration method, device, equipment and medium for electronic manuscript paper
CN113177171A (en) Chart display method and device, terminal device and storage medium
CN115081399A (en) Weekly generation method, electronic device and computer-readable storage medium thereof
JP2008176424A (en) Parts catalog preparation system, parts catalog preparation method, program for making computer execute and computer-readable recording medium
JP2017027319A (en) Display/editing/storage method, device, and processing program of document documentation data
JP2016076070A (en) Plant monitor system and plant monitor method
JP2010009167A (en) Screen display device, screen display method, and screen display program
CN114548056A (en) Rich text editing method, device and equipment
KR101631933B1 (en) Method and server for providing customized sign manufacturing using 3d printer
JP2018036880A (en) Information processing device and information processing program
CN113672149A (en) View display method and device, electronic equipment and computer storage medium
CN103902676A (en) Bill extension item user-defining device and method
JP2014178905A (en) Image display device, image display method, and program
JP5353288B2 (en) Screen management device, screen management system, screen management method, screen management program, and recording medium recording the program

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