CN110647273B - Method, device, equipment and medium for self-defined typesetting and synthesizing long chart in application - Google Patents

Method, device, equipment and medium for self-defined typesetting and synthesizing long chart in application Download PDF

Info

Publication number
CN110647273B
CN110647273B CN201910525425.7A CN201910525425A CN110647273B CN 110647273 B CN110647273 B CN 110647273B CN 201910525425 A CN201910525425 A CN 201910525425A CN 110647273 B CN110647273 B CN 110647273B
Authority
CN
China
Prior art keywords
picture
long
application
template
edited
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.)
Active
Application number
CN201910525425.7A
Other languages
Chinese (zh)
Other versions
CN110647273A (en
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.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Infinite Light Field Technology 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 Beijing Infinite Light Field Technology Co Ltd filed Critical Beijing Infinite Light Field Technology Co Ltd
Priority to CN201910525425.7A priority Critical patent/CN110647273B/en
Publication of CN110647273A publication Critical patent/CN110647273A/en
Application granted granted Critical
Publication of CN110647273B publication Critical patent/CN110647273B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The present disclosure provides a method, an apparatus, a device and a storage medium for composing a long graph by self-defined typesetting in an application, wherein the method is applied to a mobile terminal device and comprises the following steps: an application starting step of starting an application installed in the mobile terminal device; a step of self-defining a long figure template, namely selecting the long figure template which can be used in the application, or downloading a new long figure template from a server through the application; multithreading picture loading step, wherein the application loads the picture through native multithreading, fills the long picture template and converts the long picture template into long picture data to be edited; and a template conversion step, wherein the filled long image to be edited directly generates a final image or the long image to be edited is further edited so as to generate the final image. The method and the device for synthesizing the long graph effectively improve the speed of synthesizing the long graph, embody the personalized customization effect and improve the user experience.

Description

Method, device, equipment and medium for self-defined typesetting and synthesizing long chart in application
Technical Field
The present disclosure relates to the field of computer software technologies, and in particular, to a method, an apparatus, a device, and a storage medium for custom composing and synthesizing a long graph in an application.
Background
With the development of science and technology, more and more occasions exist for users to interact through various software applications. The user can share information, publish messages, recommend commodities and the like with friends through various interaction channels. For example, when a user views a good internet text or picture, the user wants to share the good internet text or picture with other network friends, and the sharing can be realized only by sending a network link or intercepting and sending a screen image. For example, when the network text or the picture is sent through the sending network link, the network friend may not be able to view the corresponding network text or picture through the network link because the network type of the network friend and the network type of the user may be different. When the network text or the picture is sent by intercepting and sending the screen image, the size of the network text or the picture may exceed the range of one screen, so that the user needs to perform multiple screen interception and sending operations to complete the sharing action, and meanwhile, the effect of the network friend in checking the network text or the picture is poor.
CN201610035836.4 provides a screenshot method, which includes receiving a screenshot starting instruction, and generating a screenshot frame according to the screenshot starting instruction; receiving a screenshot content adjusting instruction, and adjusting the position of the display content in the screenshot frame according to the screenshot content adjusting instruction; performing screenshot operation on the display content in the adjustment according to the size of the screenshot frame to obtain a plurality of screenshot sub-pictures; receiving a screenshot boundary determining instruction, and acquiring a screenshot boundary of the display content according to the screenshot boundary determining instruction; receiving a screenshot ending instruction, and synthesizing a plurality of screenshot sub-pictures into a picture to be screenshot according to the screenshot ending instruction; and performing screenshot operation on the picture to be screenshot according to the screenshot boundary so as to obtain screenshot content.
However, the screenshot mode only achieves the effect of cutting the long image, when the application in a scene with multiple images is operated, the screenshot of the images cannot be quickly loaded, the long image is only a rectangular long image finally, the contents of the intercepted page are completely displayed, personalized customization operation cannot be performed on the images, and user experience is poor.
In the prior art, a screenshot is usually performed by using a system screenshot tool, but if a large number of pictures exist in the current application, the pictures cannot be loaded or are loaded slowly due to a network problem in the case of using the system screenshot tool in the prior art, so that the speed of screenshot combining and synthesizing the long pictures is slow, the screenshot can be performed only after downloading of all the pictures is completed, the user experience is poor, the screenshot combining structure in the application is simple, only the current display content is in a rectangular shape, and the personalized customization effect cannot be embodied.
Disclosure of Invention
The present disclosure has been made to solve the above problems, and an object of the present disclosure is to provide a simple and efficient method, apparatus, device, and storage medium for synthesizing a long graph by in-application custom composition.
Means for solving the problems
In order to solve the above technical problem, an embodiment of the present disclosure provides a method for composing a long graph by self-defined typesetting in an application, which adopts the following technical scheme:
the method is applied to the mobile terminal equipment and comprises the following steps:
an application starting step of starting an application installed in the mobile terminal device;
a step of self-defining a long figure template, namely selecting the long figure template which can be used in the application, or downloading a new long figure template from a server through the application;
multithreading picture loading step, wherein the application loads the picture through native multithreading, fills the long picture template and converts the long picture template into long picture data to be edited;
and a template conversion step, wherein the filled long image to be edited directly generates a final image or the long image to be edited is further edited so as to generate the final image.
The embodiment of the present disclosure further provides a device for composing a long chart by user-defined typesetting in an application, where the device is applied to a mobile terminal device, and the device includes:
an application starting module for starting the application installed in the mobile terminal device;
the user-defined long image template module is used for selecting a long image template which can be used in the application or downloading a new long image template from a server through the application;
the multithreading picture loading module loads pictures through native multithreading, fills the long picture template and converts the pictures into long picture data to be edited;
and the template conversion module is used for directly generating the final picture from the filled long picture to be edited or generating the final picture after the long picture to be edited is further edited.
The embodiment of the present disclosure further provides a mobile terminal device, which includes a memory and a processor, where the memory stores an application program, and the processor implements the steps of the method for synthesizing a long drawing by custom composition in an application according to any one of the foregoing descriptions when executing the application program.
Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for custom composing a long graph in an application according to any one of the foregoing.
According to the method and the device, when a large number of picture screenshots exist in the current application, the pictures are loaded through multiple threads, the speed of screenshot and synthesis of long pictures is effectively increased, the screenshot can be carried out without waiting for the completion of downloading all the pictures for a long time, and the user experience is improved. And the user can customize the composite structure template of the spliced screenshot during screenshot, so as to embody the personalized customization effect, and the user can continue to edit and adjust the size, position and layout of the template and the picture after the picture is filled, so as to realize the generation of the personalized long picture.
Drawings
FIG. 1 is an exemplary system architecture diagram in which the present disclosure may be applied;
FIG. 2 is a flow diagram for one embodiment of a method for custom composing a long graph within an application, according to the present disclosure;
FIG. 3 is a template diagram illustrating a method for custom composing a composite long graph within an application according to the present disclosure;
FIG. 4 is another template diagram illustrating a method for custom composing a composite long graph within an application according to the present disclosure;
fig. 5 is a schematic structural diagram of one embodiment of a mobile terminal device according to the present disclosure.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure; the terms "including" and "having," and any variations thereof, in the description and claims of this disclosure and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of the present disclosure or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the disclosure. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make the technical solutions of the present disclosure better understood by those skilled in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
[ System Structure ]
First, the structure of the system of one embodiment of the present disclosure is explained. As shown in fig. 1, the system architecture 100 may include mobile terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is a medium to provide communication links between the mobile terminal devices 101, 102, 103 and the server 105. The mobile terminal device 101 is a small screen display device, and the mobile terminal devices 102 and/or 103 are large screen display devices.
In the embodiment, an electronic device (for example, the mobile terminal device 101, 102, or 103 shown in fig. 1) on which the method for custom composing a long graph runs in an application may perform transmission of various information through the network 104. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future. Here, the in-application custom composition long graph in this embodiment refers to a screenshot method of capturing a picture displayed in a current page without reserving contents other than the picture, where the long graph synthesized by the system refers to a new composite picture including one or more captured original pictures displayed in the current page, the original pictures in the long graph may be directly spliced and formed, and the shape formed by splicing the pictures is not limited, for example, one or more original pictures may be spliced into a long graph with any shape such as a square, a rectangle, a triangle, and the like. Here, the size, position, direction, and the like of each picture in the long figure are not limited. Of course, the pictures in the long map may not be directly stitched but may be filled in a preset long map template, and the style, color, pattern, number of filled pictures, and the like of the long map template are not limited.
The user may use the mobile terminal device 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The mobile terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as a web browser application, a shopping-like application, a search-like application, an instant messaging tool, a mailbox client, social platform software, and the like.
The mobile terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the mobile terminal devices 101, 102, 103.
It should be noted that the method for synthesizing a long graph by custom composition in an application provided by the embodiment of the present disclosure is generally executed by a server and a mobile terminal device. In the present embodiment, the server is used for information transmission with the mobile terminal devices 101, 102, 103, for example, receiving a picture download request from the mobile terminal devices 101, 102, 103.
In this embodiment, the server has an in-memory database for storing the pictures of the application, and the picture set is stored in the in-memory database. The server manages the picture sets stored therein and the pictures therein, for example, setting key positions of the picture sets, numbers of the pictures, and the like, where different key position values correspond to different picture sets, and the pictures in the different picture sets have different numbers. Of course, different pictures may correspond to a collection of pictures at multiple key positions, but each picture has only one unique number.
In the present embodiment, the server concurrently downloads the picture sets of the corresponding key positions in the memory database and the pictures of the corresponding numbers in the picture sets into the application of the mobile terminal device in response to the picture download request of the mobile terminal device 101, 102, 103.
In this embodiment, the server is used for storing a long-figure template which can be downloaded from an application, or storing a long-figure template uploaded by a user, or storing data such as a long figure synthesized by the user.
It should be understood that the number of mobile terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of mobile terminal devices, networks, and servers, as desired for implementation.
Example apparatus
In order to implement the technical solution in the embodiment of the present disclosure, the present disclosure provides a device for synthesizing a long drawing by custom composition in an application, an embodiment of the device corresponds to the embodiment of the method shown in fig. 2, the device may be specifically applied to various electronic devices, and the method shown in fig. 2 will be described in detail below.
The apparatus for composing a long graph in a customized manner in an application described in this embodiment includes: the system comprises an application starting module, a user-defined long-image template module, a multithreading image loading module, a template conversion module, a storage module and an adaptive filling module.
The application starting module is configured to execute the application starting step S21, where the user clicks an application on the mobile terminal device 101/102/103, the application starting module executes a pop-up application page, and starts an application installed in the mobile terminal device 101/102/103.
And the user-defined long-figure template module is used for executing the step S22 of the user-defined long-figure template, selecting a long-figure template which can be used in the currently opened application, or downloading a new long-figure template from the server in the currently opened application through the user-defined long-figure template module.
The selected or downloaded long-drawing template can be set individually by the user-defined long-drawing template module, data is filled, such as characters, local pictures, expressions, background colors, shadows and the like, and the frame layout of the template can be adjusted as required.
The user can upload the long-drawing template designed by the user through the user-defined long-drawing template module, so that the user can use or edit the long-drawing template for other users, and can also use and edit the long-drawing template in the future.
And the multithreading picture loading module is used for executing the picture identification step S231 and the picture downloading step S232 in the multithreading picture loading step S23, loading the picture through native multithreading, filling the long picture template, accelerating the picture loading speed, ensuring the picture to be loaded completely, and converting the structure, the picture, the characters and the like of the self-defined long picture template into the long picture data to be edited.
When the multithread picture loading module is used for synthesizing the long picture, firstly, the picture in the current page of the current application is identified, and the identified picture number to be extracted sends a picture downloading request to the server.
Here, the server responds to a picture downloading request of the multithreading picture loading module about the current application, multithreads the application and waits for a picture set to be downloaded, wherein the picture set corresponding to the picture downloading request comprises a key position, a plurality of pictures and numbers corresponding to the pictures.
And an adaptive filling module for executing an adaptive filling step S233, configured to perform adaptive filling on the downloaded picture and the selected long-picture template to form a long picture to be edited, and perform matching filling according to the size, shape and format of the downloaded picture and the adaptation degree of the blank position of the picture in the long-picture template, preferably perform matching filling on pictures with similar sizes, shapes and the like and the blank position.
And the template conversion module is used for executing the template conversion step S24, and directly generating the final picture from the filled long picture to be edited or generating the final picture after the long picture to be edited is further edited.
And the storage module is used for executing the storage step S25, and storing the final picture generated after the filling in the local storage or directly storing the final picture in the cloud for editing again next time. Of course, the export can be saved in a local album after the production is completed, or the export can be directly shared in a third-party application.
[ example method ]
With continued reference to FIG. 2, a flow diagram of one embodiment of a method for custom composing a long graph within an application in accordance with the present disclosure is shown. The method for composing the long chart by self-defined typesetting in the application comprises the following steps:
the start application step S21 is a step in which the user clicks an application on the mobile terminal device 101/102/103, the start application module executes a pop-up application page, and the application installed in the mobile terminal device 101/102/103 is started.
And a step S22 of customizing the long-figure template, namely selecting a long-figure template which can be used in the currently opened application through the customized long-figure template module, or downloading a new long-figure template from a server in the currently opened application through the customized long-figure template module.
In the step of customizing the long-drawing template, the selected or downloaded long-drawing template may be set individually by the customized long-drawing template, and the filling data may be, for example, added with characters, local pictures, expressions, background colors, shadows, or the like, or the frame layout of the template may be adjusted as needed.
The long drawing template can be designed and uploaded by a user, and the user can upload the long drawing template designed by the user through the user-defined long drawing template module for other users to use or edit, and can also use and edit in the future.
And a multithreading picture loading step S23, loading pictures through native multithreading of the multithreading picture loading module, filling the long picture template, accelerating the picture loading speed and ensuring the picture to be loaded completely, and converting the structure, the picture, the characters and the like of the self-defined long picture template into long picture data to be edited.
Here, the multi-thread loading picture step S23 includes a picture recognition step S231, a picture download step S232, and an adaptation fill step S233.
In the picture identifying step S231, when synthesizing the long picture, the multithread picture loading module first identifies the picture in the current application page, and sends the identified picture number to be extracted to the server to send a picture downloading request.
A picture downloading step S232, in which the server responds to a picture downloading request about the current application of a multithread picture loading module of the mobile terminal equipment, and multithread concurrent picture sets to be downloaded are sent to the current application; the picture set corresponding to the picture downloading request comprises a key position, a plurality of pictures and numbers corresponding to the pictures; the server calls the picture of the key value corresponding to the key position from the memory database through the key position in the picture set; and the server downloads the picture to the current application by using the key value and the number corresponding to the picture.
Here, the server has an in-memory database storing pictures of the application, in which a picture set is stored. The server manages the picture sets stored therein and the pictures therein, for example, setting key positions of the picture sets, numbers of the pictures, and the like, where different key position values correspond to different picture sets, and the pictures in the different picture sets have different numbers. Of course, different pictures may correspond to a collection of pictures at multiple key positions, but each picture has only one unique number.
In the present embodiment, the server concurrently downloads the picture sets of the corresponding key positions in the memory database and the pictures of the corresponding numbers in the picture sets into the application of the mobile terminal device in response to the picture download request of the mobile terminal device 101, 102, 103.
In this embodiment, the server is used for storing a long-figure template which can be downloaded from an application, or storing a long-figure template uploaded by a user, or storing data such as a long figure synthesized by the user.
And an adaptation filling step S233, in which the adaptation filling module performs adaptation filling on the downloaded picture and the selected long picture template to form a long picture to be edited, and during filling, matching filling is performed according to the adaptation degree of the size, shape and format of the downloaded picture and the blank position of the picture in the long picture template, and preferably, matching filling is performed on pictures with approximate size, shape and the like and the blank position.
And a template conversion step S24, wherein the template conversion module directly generates a final picture from the filled long picture to be edited or further edits the long picture to be edited through the user-defined long picture template module so as to generate the final picture. Here, in the template conversion step, the custom long-image template module may be used to custom edit the position of the image, and may also be used to edit the image through operations such as dragging and clipping, and to change the size, position, layout, and the like of the image.
In the template conversion step, the user-defined long-drawing template module can also be used for editing the long-drawing template, and editing operation is performed on the filled long-drawing template again, such as adding characters, local pictures, expressions, background colors, shadows and the like.
And a storage step S25, the storage module stores the final picture generated after filling locally or directly stores the final picture in the cloud for next re-editing. Of course, the export can be saved in a local album after the production is completed, or the export can be directly shared in a third-party application.
[ example 1]
After the step of starting the application, as shown in fig. 3, one of the system templates for composing the long drawing by self-defining in the step of self-defining the long drawing template is one of the system templates, the template is in the shape of an overall heart, and a plurality of modules which can be used for filling the picture, that is, blank box positions in the drawing, are arranged on the template. The user can edit the template through the user-defined long-drawing template module, for example, edit operation is started by pressing a certain module, such as deleting, amplifying, reducing, changing background color and the like, the position of each plate or the shape of the whole template can be adjusted, or characters, local pictures, expressions, background colors, shadows and the like can be added to the template, of course, other templates can be downloaded from the server for use or editing, and the template at the cloud end of the server can be provided by an application side or uploaded by the user.
After clicking a button of 'capturing a current page picture', the multithread picture loading module identifies the picture in the current page, excludes non-picture content and content such as icons and expressions which are not required by a user, identifies the number of the picture to be extracted and sends a synthesized long picture request to a server.
And the server responds to the picture downloading request of the multithreading loading picture module about the current application, and sequences and stores the multithreading downloading pictures, and adapts and fills the pictures with approximate sizes, shapes and the like with the positions of the blank boxes. For example, the filling is performed in the order from left to right and from top to bottom, and the filling is performed sequentially for the left or upper module after the filling is completed for the left or upper module.
The filled long image to be edited can be directly generated into a final image by the template conversion module, or the long image to be edited by the user-defined long image template module can be further edited according to the requirement and then the final image is generated by the template conversion module.
And finally, the storage module generates and stores the final picture generated after filling into a local storage or directly stores the final picture into a cloud for editing next time, and the final picture can be exported after being manufactured and can be also stored in an album or directly shared in a third-party application.
[ example 2]
After the application step is started, as shown in fig. 4, in the step of customizing the long-figure template, the template is one of new long-figure templates downloaded from the server through the application, and is an overall rectangle, the center position of the template is a heart shape, and a plurality of modules which can be used for filling pictures, namely blank positions in the figure, are arranged around the heart shape. The user firstly downloads the long-image template which can be used in the server through the application, and can edit the template through a module of the user-defined long-image template, for example, edit operation is started by pressing a certain module, such as deleting, amplifying, reducing, changing background color and the like, the position of each plate or the shape of the whole template can be adjusted, or characters, local images, expressions, background color, shadow and the like can be added to the template, certainly, other templates can be downloaded from the server for use or editing, and the template at the cloud end of the server can be provided by an application party or can be uploaded by the user.
After clicking a button of 'capturing a current page picture', the multithread picture loading module identifies the picture in the current page, excludes non-picture content and content such as icons and expressions which are not required by a user, identifies the number of the picture to be extracted and sends a synthesized long picture request to a server.
And the server responds to the picture downloading request of the multithreading loading picture module about the current application, and sequences and stores the multithreading downloading pictures, and adapts and fills the pictures with approximate sizes, shapes and the like with blank positions. For example, the filling is performed in a clockwise order, and after the filling of the blank module on the upper left side is completed, the modules at the following clockwise positions are sequentially filled.
The filled long image to be edited can be directly generated into a final image by the template conversion module, or the long image to be edited by the user-defined long image template module can be further edited according to the requirement and then the final image is generated by the template conversion module.
And finally, the storage module generates and stores the final picture generated after filling into a local storage or directly stores the final picture into a cloud for editing next time, and the final picture can be exported after being manufactured and can be also stored in an album or directly shared in a third-party application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In order to solve the technical problem, the embodiment of the disclosure further provides mobile terminal electronic equipment. Referring now to fig. 5, a schematic diagram of an electronic device (e.g., the terminal device or the server in fig. 1) 500 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment 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 via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure 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 disclosure, 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 disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
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 disclosure. 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (11)

1. A method for composing a long chart by self-defining typesetting in an application is characterized in that the method is applied to mobile terminal equipment and comprises the following steps:
an application starting step of starting an application installed in the mobile terminal device;
a step of self-defining a long figure template, namely selecting the long figure template which can be used in the application, or downloading a new long figure template from a server through the application;
multithreading picture loading step, wherein the application loads the picture through native multithreading, fills the long picture template and converts the long picture template into long picture data to be edited;
a template conversion step, wherein the filled long image to be edited directly generates a final image or the long image to be edited is further edited so as to generate the final image;
wherein, the step of multithread picture loading also comprises a picture identification step and a picture downloading step,
the picture identification step comprises the steps of firstly identifying a picture in a current page of the application when a long picture is synthesized, and sending a picture downloading request to a server by using the identified picture number to be extracted;
the picture downloading step comprises the steps that the server responds to a picture downloading request of the current application of the mobile terminal equipment, and multithreading is carried out to the application to concurrently send a picture set to be downloaded; the picture set corresponding to the picture downloading request comprises a key position, a plurality of pictures and numbers corresponding to the pictures; the server calls a picture of a key value corresponding to the key position from the memory database through the key position in the picture set; and the server downloads the picture to the application by using the key value and the number corresponding to the picture.
2. The method for custom composing a long drawing within an application of claim 1, wherein the step of custom composing the long drawing template further comprises personalizing the long drawing template, including populating data or adjusting a layout of a border of the long drawing template.
3. The method for custom composing synthetic length drawings within an application of claim 2, wherein the length drawing template is designed and uploaded by a user.
4. The method for custom composing a composite length map within an application of claim 1, wherein the multi-threaded loading of pictures step further comprises an adaptive filling step,
the step of adaptive filling comprises the step of adaptively filling the downloaded picture and the long picture template by the application to form the long picture to be edited, and the adaptive filling is carried out according to the adaptive degree of the size, the shape and the format of the downloaded picture and the blank position of the picture in the long picture template during filling.
5. The method for custom composing a composite length map within an application of claim 1, wherein the template transformation step comprises,
the user-defined editing download picture is arranged at the position of the long picture to be edited,
by editing the picture and changing the size, position and layout of the picture,
editing the long-figure template, and editing the filled long-figure template again.
6. The method for custom composing a composite long graph within an application of claim 1, further comprising: and storing, namely storing the final picture locally or directly storing the final picture in a cloud for next re-editing.
7. The device for composing the long chart in the application in a self-defined manner is applied to mobile terminal equipment and comprises the following components:
an application starting module for starting the application installed in the mobile terminal device;
the user-defined long image template module is used for selecting a long image template which can be used in the application or downloading a new long image template from a server through the application;
the multithreading picture loading module loads pictures through native multithreading, fills the long picture template and converts the pictures into long picture data to be edited;
the template conversion module is used for directly generating a final picture from the filled long picture to be edited or generating the final picture after the long picture to be edited is further edited;
the multi-thread picture loading module is further configured to perform a picture recognition step and a picture download step,
the picture identification step comprises the steps of firstly identifying a picture in a current page of the application when a long picture is synthesized, and sending a picture downloading request to a server by using the identified picture number to be extracted;
the picture downloading step comprises the steps that the server responds to a picture downloading request of the current application of the mobile terminal equipment, and multithreading is carried out to the application to concurrently send a picture set to be downloaded; the picture set corresponding to the picture downloading request comprises a key position, a plurality of pictures and numbers corresponding to the pictures; the server calls a picture of a key value corresponding to the key position from the memory database through the key position in the picture set; and the server downloads the picture to the application by using the key value and the number corresponding to the picture.
8. The apparatus of claim 7, further comprising an adaptive filling module for adaptively filling the downloaded picture and the long-picture template to form the long picture to be edited, wherein the adaptive filling module performs matching filling according to the size, shape and format of the downloaded picture and the adaptive degree of the blank position of the picture in the long-picture template.
9. The apparatus for custom composing a composite long graph within an application of claim 7, further comprising: and the storage module is used for storing the final picture locally or directly storing the final picture in a cloud end for next reediting.
10. A mobile terminal device comprising a memory and a processor, the memory having an application program stored therein, the processor implementing the steps of the method for custom composing a long drawing in an application according to any one of claims 1 to 6 when executing the application program.
11. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of custom composing a long graph within an application according to any of claims 1 to 6.
CN201910525425.7A 2019-06-18 2019-06-18 Method, device, equipment and medium for self-defined typesetting and synthesizing long chart in application Active CN110647273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910525425.7A CN110647273B (en) 2019-06-18 2019-06-18 Method, device, equipment and medium for self-defined typesetting and synthesizing long chart in application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910525425.7A CN110647273B (en) 2019-06-18 2019-06-18 Method, device, equipment and medium for self-defined typesetting and synthesizing long chart in application

Publications (2)

Publication Number Publication Date
CN110647273A CN110647273A (en) 2020-01-03
CN110647273B true CN110647273B (en) 2021-02-05

Family

ID=68989558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910525425.7A Active CN110647273B (en) 2019-06-18 2019-06-18 Method, device, equipment and medium for self-defined typesetting and synthesizing long chart in application

Country Status (1)

Country Link
CN (1) CN110647273B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162805B (en) * 2020-09-23 2023-05-19 维沃移动通信有限公司 Screenshot method and device and electronic equipment
CN112288635A (en) * 2020-10-30 2021-01-29 上海淇玥信息技术有限公司 Method and device for processing application program page and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843484A (en) * 2011-06-20 2012-12-26 富士胶片株式会社 Image processing apparatus, image processing method and image processing program
CN102930523A (en) * 2012-11-12 2013-02-13 北京奇虎科技有限公司 Picture processing system and picture slicing implementation method
CN102930522A (en) * 2012-11-12 2013-02-13 北京奇虎科技有限公司 Device achieving picture splicing and method achieving same
CN103139439A (en) * 2013-01-24 2013-06-05 厦门美图网科技有限公司 Image synthesis method based on image block template and capable of adding modification materials
CN103634650A (en) * 2013-11-06 2014-03-12 康佳集团股份有限公司 Intelligent television platform-based picture processing method and intelligent television platform-based picture processing system
CN104168417A (en) * 2014-05-20 2014-11-26 腾讯科技(深圳)有限公司 Picture processing method and device
CN105988845A (en) * 2015-03-02 2016-10-05 小米科技有限责任公司 Wallpaper generation method and apparatus
CN109683756A (en) * 2018-11-26 2019-04-26 平安科技(深圳)有限公司 A kind of image processing method, device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843484A (en) * 2011-06-20 2012-12-26 富士胶片株式会社 Image processing apparatus, image processing method and image processing program
CN102930523A (en) * 2012-11-12 2013-02-13 北京奇虎科技有限公司 Picture processing system and picture slicing implementation method
CN102930522A (en) * 2012-11-12 2013-02-13 北京奇虎科技有限公司 Device achieving picture splicing and method achieving same
CN103139439A (en) * 2013-01-24 2013-06-05 厦门美图网科技有限公司 Image synthesis method based on image block template and capable of adding modification materials
CN103634650A (en) * 2013-11-06 2014-03-12 康佳集团股份有限公司 Intelligent television platform-based picture processing method and intelligent television platform-based picture processing system
CN104168417A (en) * 2014-05-20 2014-11-26 腾讯科技(深圳)有限公司 Picture processing method and device
CN105988845A (en) * 2015-03-02 2016-10-05 小米科技有限责任公司 Wallpaper generation method and apparatus
CN109683756A (en) * 2018-11-26 2019-04-26 平安科技(深圳)有限公司 A kind of image processing method, device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
移动终端加载网络图片的算法研究;王晋东;《梦想启程大学生科学研究与创业行动计划研究报告论文集》;20141231;第29-37页 *

Also Published As

Publication number Publication date
CN110647273A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
US20220375147A1 (en) Image drawing method, apparatus, readable medium and electronic device
CN109408189B (en) Dynamic adjustment method, device, equipment and medium for client interface layout
CN110070496B (en) Method and device for generating image special effect and hardware device
CN110674624A (en) Method and system for editing image and text
CN112651475B (en) Two-dimensional code display method, device, equipment and medium
CN112637675B (en) Video generation method, device, electronic equipment and storage medium
CN110647273B (en) Method, device, equipment and medium for self-defined typesetting and synthesizing long chart in application
US11893770B2 (en) Method for converting a picture into a video, device, and storage medium
US20240040069A1 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
JP7007168B2 (en) Programs, information processing methods, and information processing equipment
CN114047986A (en) Form generation method, form data processing method and device and electronic equipment
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN114339069B (en) Video processing method, video processing device, electronic equipment and computer storage medium
CN113190316A (en) Interactive content generation method and device, storage medium and electronic equipment
CN113282852A (en) Method and device for editing webpage
CN112016280B (en) File editing method and device and computer readable medium
CN112395109B (en) Clipboard content processing method and device
CN114786069A (en) Video generation method, device, medium and electronic equipment
CN111199519B (en) Method and device for generating special effect package
CN115209215A (en) Video processing method, device and equipment
CN112153439A (en) Interactive video processing method, device and equipment and readable storage medium
CN111242688A (en) Animation resource manufacturing method and device, mobile terminal and storage medium
CN112306976A (en) Information processing method and device and electronic equipment
EP4354885A1 (en) Video generation method and apparatus, device, storage medium, and program product

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230421

Address after: Room 802, Information Building, 13 Linyin North Street, Pinggu District, Beijing, 101299

Patentee after: Beijing youzhuju Network Technology Co.,Ltd.

Address before: No. 715, 7th floor, building 3, 52 Zhongguancun South Street, Haidian District, Beijing 100081

Patentee before: Beijing infinite light field technology Co.,Ltd.