CN110620805B - Method and apparatus for generating information - Google Patents

Method and apparatus for generating information Download PDF

Info

Publication number
CN110620805B
CN110620805B CN201811635319.6A CN201811635319A CN110620805B CN 110620805 B CN110620805 B CN 110620805B CN 201811635319 A CN201811635319 A CN 201811635319A CN 110620805 B CN110620805 B CN 110620805B
Authority
CN
China
Prior art keywords
pushed
image
product
information
target position
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
CN201811635319.6A
Other languages
Chinese (zh)
Other versions
CN110620805A (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 Shiguang Renran Technology Co ltd
Original Assignee
Beijing Shiguang Renran 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 Shiguang Renran Technology Co ltd filed Critical Beijing Shiguang Renran Technology Co ltd
Priority to CN201811635319.6A priority Critical patent/CN110620805B/en
Publication of CN110620805A publication Critical patent/CN110620805A/en
Application granted granted Critical
Publication of CN110620805B publication Critical patent/CN110620805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the application discloses a method and a device for generating information. One embodiment of the method comprises: acquiring a target polyhedron image and a product information set to be pushed; for a plane image of plane images included in the target polyhedron image, the following processing steps are performed: determining a target position from the planar image; selecting product information to be pushed from a product information set to be pushed; adding the selected information of the product to be pushed to the determined target position to generate a processed plane image; and generating a polyhedral image to be pushed based on the generated processed plane image. The method and the device are beneficial to displaying the information of the product to be pushed stereoscopically based on the polyhedral image to be pushed, so that the display effect is enhanced, and the diversity of information generation is improved.

Description

Method and apparatus for generating information
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for generating information.
Background
Currently, with the development of internet technology, people can browse information by using terminals such as mobile phones. In addition, the information manager may recommend information to the user who browses the information. Information for recommendation to a user is typically displayed on a pre-made page. One page can display a plurality of information, and a user can browse different information by sliding the page.
Disclosure of Invention
The embodiment of the application provides a method and a device for generating information.
In a first aspect, an embodiment of the present application provides a method for generating information, where the method includes: acquiring a target polyhedron image and a product information set to be pushed; for a plane image of plane images included in the target polyhedron image, the following processing steps are performed: determining a target position from the planar image; selecting product information to be pushed from a product information set to be pushed; adding the selected information of the product to be pushed to the determined target position to generate a processed plane image; and generating a polyhedral image to be pushed based on the generated processed plane image.
In some embodiments, the method further comprises: and sending the polyhedral image to be pushed to a user terminal in communication connection so that the user terminal displays the polyhedral image to be pushed.
In some embodiments, a product page corresponding to a product indicated by the to-be-pushed product information in the to-be-pushed product information set; and generating a polyhedral image to be pushed based on the generated processed plane image, wherein the generating comprises the following steps: for a processed planar image of the generated processed planar images, performing the steps of: establishing a corresponding relation between the target position on the processed plane image and a product page corresponding to a product indicated by the information of the product to be pushed on the target position, so that a user clicks the target position and the product page corresponding to the clicked target position is presented to the user; generating a new processed plane image based on the target position of the corresponding product page; and generating a polyhedral image to be pushed based on the generated new processed plane image.
In some embodiments, after the sending the polyhedral image to be pushed to the user terminal of the communication connection, the method further comprises: in response to the fact that the user utilizes the user terminal to perform clicking operation aiming at the target position included in the polyhedral image to be pushed, a product page corresponding to the target position corresponding to the clicking operation is obtained, and the obtained product page is sent to the user terminal, so that the user terminal can display the obtained product page.
In some embodiments, generating the polyhedral image to be pushed based on the generated processed planar image includes: determining a polyhedral image comprising the generated processed plane image as an initial polyhedral image to be pushed; determining a datum line for rotating the initial polyhedron image to be pushed; determining a rotation signal corresponding to the initial polyhedral image to be pushed, wherein the rotation signal is used for indicating the initial polyhedral image to be pushed to rotate around a reference line; and determining the initial polyhedral image to be pushed corresponding to the rotation signal as the polyhedral image to be pushed.
In some embodiments, the set of to-be-pushed product information includes to-be-pushed product information of the indicated products in the same category; and the processing step comprises: determining at least two target positions from the planar image; selecting at least two pieces of to-be-pushed product information with the same category of the indicated products from the to-be-pushed product information set; and respectively adding the selected at least two pieces of product information to be pushed to the determined at least two target positions to generate a processed plane image.
In some embodiments, the product information to be pushed in the set of product information to be pushed comprises at least one of: text information, image information.
In a second aspect, an embodiment of the present application provides an apparatus for generating information, where the apparatus includes: the acquisition unit is configured to acquire a target polyhedron image and a product information set to be pushed; a processing unit configured to perform, for a plane image of plane images included in the target polyhedron image, the following processing steps: determining a target position from the planar image; selecting product information to be pushed from a product information set to be pushed; adding the selected information of the product to be pushed to the determined target position to generate a processed plane image; a generating unit configured to generate a polyhedral image to be pushed based on the generated processed planar image.
In a third aspect, an embodiment of the present application provides a server, including: one or more processors; a storage device having one or more programs stored thereon which, when executed by one or more processors, cause the one or more processors to implement the method of any of the embodiments of the method for generating information described above.
In a fourth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method of any of the above-described methods for generating information.
According to the method and the device for generating information, the target polyhedron image and the information set of the product to be pushed are obtained, and then the following processing steps are executed for the plane image in the plane image included in the target polyhedron image: determining a target position from the planar image; selecting product information to be pushed from a product information set to be pushed; the selected information of the product to be pushed is added to the determined target position, the processed planar image is generated, and finally the polyhedral image to be pushed is generated based on the generated processed planar image, so that the information of the product to be pushed can be added to the polyhedral image, the polyhedral image to be pushed with a stereoscopic sense is generated, the information of the product to be pushed is displayed stereoscopically based on the polyhedral image to be pushed, the display effect is enhanced, and the diversity of information generation is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for generating information according to the present application;
FIG. 3 is a schematic diagram of an application scenario of a method for generating information according to an embodiment of the present application;
FIG. 4 is a flow diagram of yet another embodiment of a method for generating information according to the present application;
FIG. 5 is a schematic block diagram illustrating one embodiment of an apparatus for generating information according to the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the method for generating information or the apparatus for generating information of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, and 103 are hardware, they may be various electronic devices with a display screen, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server that provides various services, such as a background server that supports polyhedral images to be pushed displayed on the terminal devices 101, 102, 103. The background server can analyze and process data such as a product information set to be pushed and feed back a processing result (such as a polyhedral image to be pushed) to the terminal equipment.
It should be noted that the method for generating information provided in the embodiment of the present application is generally performed by the server 105, and accordingly, the apparatus for generating information is generally disposed in the server 105.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. In the case where data used in generating the polyhedral image to be pushed does not need to be acquired from a remote place, the above system architecture may not include a network and a terminal device, but only a server.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for generating information in accordance with the present application is shown. The method for generating information comprises the following steps:
step 201, acquiring a target polyhedron image and a product information set to be pushed.
In this embodiment, an execution subject (for example, a server shown in fig. 1) of the method for generating information may acquire the target polyhedron image and the set of product information to be pushed in a wired connection manner or a wireless connection manner. The target polyhedron image is used for adding information of a product to be pushed. The target polyhedron image is a three-dimensional image and has a three-dimensional effect. It is to be understood that, in practice, a solid figure in which each face is a plane is generally referred to as a polyhedron, and therefore, here, the object polyhedron image includes a plurality of plane images.
In this embodiment, the information of the product to be pushed is information for pushing to the user, and may be used to indicate the product. For example, the information of the product to be pushed may be name information of the product, model information, or information for introducing the product.
In some optional implementations of the embodiment, the to-be-pushed product information in the to-be-pushed product information set includes at least one of the following items: text information, image information. For example, the product information to be pushed may include text information for introducing a product, or may include product image information obtained by shooting a product.
In the present embodiment, the execution subject may acquire the target polyhedron image by using various methods. For example, the executing body may obtain a target polyhedron image stored locally in advance; alternatively, a target polyhedron image transmitted by a communication-connected electronic apparatus (e.g., a terminal apparatus shown in fig. 1) may be acquired. The polyhedral image of the object here can be generated by the execution subject or other electronic devices by various methods, for example, by OpenGL ES (OpenGL for Embedded Systems).
Similarly, the execution subject may adopt various methods to obtain the set of information of the product to be pushed. For example, the execution subject may obtain a to-be-pushed product information set pre-stored locally; or, a set of information of the product to be pushed sent by the communicatively connected electronic device may be acquired.
Step 202, for a plane image in the plane images included in the target polyhedron image, executing the following processing steps: determining a target position from the plane image, and selecting product information to be pushed from a product information set to be pushed; and adding the selected information of the product to be pushed to the determined target position to generate a processed plane image.
In this embodiment, for a plane image of plane images included in the polyhedron image of the object obtained in step 201, the executing body may execute the following processing steps:
step 2021, determining a target position from the plane image, and selecting information of a product to be pushed from the information set of the product to be pushed.
The target position is a position for adding product information to be pushed. Specifically, as an example, the target position may be a position predetermined for the plane image; alternatively, the position may be generated randomly on the plane image.
In this embodiment, the selected to-be-pushed product information is to-be-pushed product information for adding to the plane image. Specifically, the execution main body may select the product information to be pushed from the product information set to be pushed in various manners, for example, may select the product information to be pushed in a random selection manner; or, the execution main body may select product information to be pushed including image information from a product information set to be pushed; or, the execution main body may select unselected product information to be pushed from the product information set to be pushed.
It should be noted that, here, for the plane image, the number of the selected information to be pushed may be less than or equal to the number of the determined target positions.
Step 2022, add the selected information of the product to be pushed to the determined target position, and generate a processed planar image.
In practice, the target position may be characterized by a closed figure (e.g. a rectangle). Further, adding the product information to be pushed to the target position means adding the product information to be pushed to a closed graph corresponding to the target position.
Here, the execution body may adopt various methods to add the selected information of the product to be pushed to the determined target position and generate a processed plane image corresponding to the plane image.
Specifically, as an example, when only one target position is determined and one piece of product information to be pushed is selected, the piece of product information to be pushed may be directly added to the target position to obtain a processed planar image. When at least two target positions are determined and at least two pieces of product information to be pushed are selected, the order of adding the product information to be pushed to the target positions in the at least two target positions can be any; or, the priority of the target position in the at least two target positions may be determined, and then the order indicated by the priority of the target position is determined as the order in which the product information to be pushed is added to the target position in the at least two target positions; similarly, the order of adding the product information to be pushed in the at least two pieces of product information to be pushed to the target position may be arbitrary; or, the to-be-pushed product information of the at least two to-be-pushed product information corresponds to a predetermined priority, and further, the execution main body may determine an order indicated by the priority corresponding to the to-be-pushed product information as an order in which the to-be-pushed product information of the at least two to-be-pushed product information is added to the target position.
The priority of the target position may be determined by various methods, for example, based on the area size of the closed figure corresponding to the target position. Specifically, the relationship between the area size and the priority of the target position may be that the larger the area is, the more the target position is prioritized.
In some optional implementations of the embodiment, the set of to-be-pushed product information may include to-be-pushed product information of the same indicated category of product (for example, to-be-pushed product information "a apartment price down" and to-be-pushed product information "B apartment price up", where the indicated categories of products are the same and both are apartments); and for a plane image in a plane image included in the target polyhedron image, the executing body may generate a processed plane image corresponding to the plane image by: first, the execution body may determine at least two target positions from the plane image, and select at least two pieces of to-be-pushed product information with the same category of the indicated product from the to-be-pushed product information set. Then, the execution main body may add the selected at least two pieces of product information to be pushed to the determined at least two target positions, respectively, and generate a processed planar image.
Here, the execution subject may adopt various methods to select at least two pieces of to-be-pushed product information with the same category of the indicated product from the to-be-pushed product information set. For example, the information of the product to be pushed includes category information used for representing a category of the product indicated by the information of the product to be pushed, and further, the execution main body may select at least two pieces of information of the product to be pushed, which include the same category information, from the information set of the product to be pushed; or the to-be-pushed product information set comprises a predetermined to-be-pushed product information subset. The categories of the products indicated by the to-be-pushed product information in the to-be-pushed product information subset are the same, and further, the execution main body can select at least two pieces of to-be-pushed product information from the to-be-pushed product information subsets included in the to-be-pushed product information set.
It should be noted that, in practice, the execution subject may add the information of the product to be pushed on at least two planar images included in the target polyhedron image, where the information of the product to be pushed added on different planar images may be different.
And step 203, generating a polyhedral image to be pushed based on the generated processed plane image.
In the present embodiment, the execution subject described above may generate a polyhedral image to be pushed based on the post-processing plane image generated in step 202. The polyhedral image to be pushed is a polyhedral image used for pushing to a user terminal used by a user, and then when the user terminal displays the polyhedral image to be pushed, the product information to be pushed can be displayed simultaneously, so that the display effect of the product information to be pushed can be enhanced.
Specifically, the executing entity may generate the polyhedral image to be pushed based on the generated processed planar image by using various methods. For example, a polyhedral image including the generated processed plane image may be directly determined as a polyhedral image to be pushed; alternatively, the polyhedron image including the generated processed planar image may be processed (for example, the background color of each planar image of the polyhedron image is adjusted), so as to obtain a processed polyhedron image, and the obtained processed polyhedron image may be determined as the polyhedron image to be pushed.
In some optional implementation manners of this embodiment, after the polyhedral image to be pushed is generated, the execution main body may further send the polyhedral image to be pushed to a user terminal connected to the communication device, so that the user terminal displays the polyhedral image to be pushed.
In some optional implementations of this embodiment, the executing body may generate, based on the generated post-processing plane image, a polyhedral image to be pushed by adopting the following steps: first, the execution subject described above may determine a polyhedral image including the generated processed plane image as an initial polyhedral image to be pushed. Then, the execution subject may determine a reference line for rotating the initial polyhedron image to be pushed. Then, the executing body may determine a rotation signal corresponding to the initial polyhedron image to be pushed, where the rotation signal is used to instruct to rotate the initial polyhedron image to be pushed around the reference line. Finally, the executing body may determine the initial polyhedral image to be pushed corresponding to the rotation signal as the polyhedral image to be pushed.
Specifically, the executing main body may determine the reference line in various manners, for example, if a polyhedron corresponding to an initial polyhedron image to be pushed includes a center line, the executing main body may determine the center line as the reference line; or, a technician may draw a straight line for rotating the initial polyhedron image to be pushed on the initial polyhedron image to be pushed, and the execution main body may determine the straight line drawn by the technician as a reference line.
In this implementation, the rotation signal may be various signals specified by a technician for indicating the rotation of the initial polyhedral image to be pushed around the reference line. As an example, the rotation signal may be "a display duration of a plane image displayed on the terminal in the polyhedron image reaches a preset duration"; alternatively, the rotation signal may be "a sliding operation of the user on the display screen displaying the polyhedral image is detected".
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for generating information according to the present embodiment. In the application scenario of fig. 3, the server 301 may first obtain a target triangular prism image 302 and a set of product information 303 to be pushed. Here, the set of to-be-pushed product information 303 includes to-be-pushed product information 3031 (e.g., text information "a flat price down"), to-be-pushed product information 3032 (e.g., text information "B flat price up"), and to-be-pushed product information 3033 (e.g., text information "C mobile phone capability upgrade").
Then, for the plane image 3021 in the plane image included in the target triangular prism image 302, the server 301 may first determine the target positions 30211, 30212 from the plane image. Then, to-be-pushed product information 3031 and to-be-pushed product information 3032 are selected from the to-be-pushed product information set 303. Adding to-be-pushed product information 3031 to the target position 30211, adding to-be-pushed product information 3032 to the target position 30212, and generating a processed planar image 3041; for the plane image 3022 in the plane image included in the target triangular prism image 302, the executing body described above may first determine the target position 30221 from the plane image. And then selects the product information to be pushed 3033 from the product information set to be pushed 303. Further, the to-be-pushed product information 3033 is added to the target position 30221, and a post-processing planar image 3042 is generated.
Finally, the server 301 may generate the triangular prism image 305 to be pushed based on the generated post-processing plane images 3041, 3042.
According to the method provided by the embodiment of the application, the product information to be pushed can be added into the polyhedral image, the polyhedral image to be pushed with the stereoscopic impression can be generated, the product information to be pushed can be displayed stereoscopically based on the polyhedral image to be pushed, the display effect can be further enhanced, and the diversity of information generation can be improved.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for generating information is shown. The flow 400 of the method for generating information comprises the steps of:
step 401, acquiring a target polyhedron image and a product information set to be pushed.
In this embodiment, an execution subject (for example, a server shown in fig. 1) of the method for generating information may acquire the target polyhedron image and the set of product information to be pushed in a wired connection manner or a wireless connection manner. The target polyhedron image is used for adding information of a product to be pushed. The target polyhedron image is a three-dimensional image and has a three-dimensional effect. It is to be understood that, in practice, a solid figure in which each face is a plane is generally referred to as a polyhedron, and therefore, here, the object polyhedron image includes a plurality of plane images.
In this embodiment, the information of the product to be pushed is information for pushing to the user, and may be used to indicate the product. And the product page corresponding to the product indicated by the product information to be pushed in the product information set to be pushed. The product page is a page for presenting product-related information of a product. The product-related information may be information related to the product, such as a product image, attribute information, and the like of the product.
Step 402, for a plane image in the plane images included in the target polyhedron image, executing the following processing steps: determining a target position from the plane image, and selecting product information to be pushed from a product information set to be pushed; and adding the selected information of the product to be pushed to the determined target position to generate a processed plane image.
In this embodiment, for a plane image of plane images included in the target polyhedron image obtained in step 401, the execution subject may perform the following processing steps:
step 4021, determining a target position from the plane image, and selecting product information to be pushed from a product information set to be pushed.
The target position is a position for adding product information to be pushed. Specifically, as an example, the target position may be a position predetermined for the plane image; alternatively, the position may be generated randomly on the plane image. The selected information of the product to be pushed is the information of the product to be pushed which is used for being added to the plane image.
Step 4022, adding the selected information of the product to be pushed to the determined target position, and generating a processed planar image.
In practice, the target position may be characterized by a closed figure (e.g. a rectangle). Further, adding the product information to be pushed to the target position means adding the product information to be pushed to a closed graph corresponding to the target position.
The steps 401 and 402 are respectively the same as the steps 201 and 202 in the foregoing embodiment, and the above description for the steps 201 and 202 also applies to the steps 401 and 402, which is not described herein again.
In step 403, for the processed planar image in the generated processed planar image, the following steps are performed: establishing a corresponding relation between the target position on the processed plane image and a product page corresponding to a product indicated by the information of the product to be pushed on the target position, so that a user clicks the target position and the product page corresponding to the clicked target position is presented to the user; and generating a new processed plane image based on the target position of the corresponding product page.
In this embodiment, for the processed planar image in the processed planar images generated in step 402, the executing body may execute the following steps:
step 4031, a corresponding relationship between the target position on the processed planar image and a product page corresponding to a product indicated by the information of the product to be pushed on the target position is established, so that the user clicks the target position, and the product page corresponding to the clicked target position is presented to the user.
Here, the execution main body may establish a corresponding relationship between the target position on the processed planar image and a product page corresponding to a product indicated by the product information to be pushed at the target position in various ways, so that the user clicks the target position and the product page corresponding to the clicked target position is presented to the user.
As an example, the execution main body may establish a hyperlink between the target position and a product page corresponding to a product indicated by the information of the product to be pushed at the target position, so that the user clicks the target position and is presented with the product page corresponding to the clicked target position; or, the execution main body may establish a correspondence table between the position information corresponding to the target position and the page information of the product page corresponding to the target position, and in practice, may first obtain the position information of the target position clicked by the user, then search the page information corresponding to the obtained position information from the established correspondence table, and then send the product page corresponding to the searched page information to the user terminal, so as to present the product page corresponding to the clicked target position to the user.
It should be noted that the position information of the target position may be used to characterize the target position, and for example, may be coordinates of a central point of the closed graph corresponding to the target position. The page information of the product page may be used to indicate the product page, which may be, for example, the web address of the product page.
Step 4032, a new processed planar image is generated based on the target position of the corresponding product page.
In this embodiment, for the target position of the corresponding product page obtained in step 4031, the execution body may determine the processed planar image including the target position of the corresponding product page as a new processed planar image.
And step 404, generating a polyhedral image to be pushed based on the generated new processed plane image.
In the present embodiment, the execution subject described above may generate a polyhedral image to be pushed based on the new post-processing planar image generated in step 403. The polyhedral image to be pushed is a polyhedral image used for pushing to a user terminal used by a user, and then when the user terminal displays the polyhedral image to be pushed, the product information to be pushed can be displayed simultaneously, so that the display effect of the product information to be pushed can be enhanced.
Specifically, the executing agent may generate the polyhedral image to be pushed based on the new processed planar image by using a method similar to the method for generating the polyhedral image to be pushed in step 203, which is not described herein again.
In some optional implementation manners of this embodiment, after the polyhedral image to be pushed is sent to the user terminal in communication connection, the executing body may, in response to detecting that a user uses a user terminal to perform a click operation on a target position included in the polyhedral image to be pushed, obtain a product page corresponding to the target position corresponding to the click operation, and send the obtained product page to the user terminal, so that the user terminal displays the obtained product page.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the flow 400 of the method for generating information in the present embodiment highlights a step of establishing a corresponding relationship between the target location and a product page corresponding to a product indicated by the information of the product to be pushed at the target location. Therefore, the scheme described in the embodiment is beneficial to pushing the product page to the user terminal based on the established corresponding relation, so that more comprehensive information pushing is realized, and the diversity of information generation is further improved.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present application provides an embodiment of an apparatus for generating information, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the apparatus 500 for generating information of the present embodiment includes: an acquisition unit 501, a processing unit 502 and a generation unit 503. The obtaining unit 501 is configured to obtain a target polyhedron image and a set of information about a product to be pushed; the processing unit 502 is configured to, for a plane image of plane images included in the target polyhedron image, perform the following processing steps: determining a target position from the planar image; selecting product information to be pushed from a product information set to be pushed; adding the selected information of the product to be pushed to the determined target position to generate a processed plane image; the generation unit 503 is configured to generate a polyhedral image to be pushed based on the generated processed planar image.
In this embodiment, the obtaining unit 501 of the apparatus 500 for generating information may obtain the target polyhedron image and the set of information of the product to be pushed through a wired connection manner or a wireless connection manner. The target polyhedron image is used for adding information of a product to be pushed. The target polyhedron image is a three-dimensional image and has a three-dimensional effect. It is to be understood that, in practice, a solid figure in which each face is a plane is generally referred to as a polyhedron, and therefore, here, the object polyhedron image includes a plurality of plane images.
In this embodiment, the information of the product to be pushed is information for pushing to the user, and may be used to indicate the product. For example, the information of the product to be pushed may be name information of the product, model information, or information for introducing the product.
In this embodiment, for a plane image of plane images included in the target polyhedron image obtained by the obtaining unit 501, the processing unit 502 may perform the following processing steps:
step 5021, determining a target position from the plane image, and selecting information of the product to be pushed from the information set of the product to be pushed.
The target position is a position for adding product information to be pushed. Specifically, as an example, the target position may be a position predetermined for the plane image; alternatively, the position may be generated randomly on the plane image. The selected information of the product to be pushed is the information of the product to be pushed which is used for being added to the plane image.
Step 5022, adding the selected information of the product to be pushed to the determined target position, and generating a processed planar image.
In practice, the target position may be characterized by a closed figure (e.g. a rectangle). Further, adding the product information to be pushed to the target position means adding the product information to be pushed to a closed graph corresponding to the target position.
In the present embodiment, the generation unit 503 may generate a polyhedral image to be pushed based on the processed planar image generated by the processing unit 502. The polyhedral image to be pushed is a polyhedral image used for pushing to a user terminal used by a user, and then when the user terminal displays the polyhedral image to be pushed, the product information to be pushed can be displayed simultaneously, so that the display effect of the product information to be pushed can be enhanced.
In some optional implementations of this embodiment, the apparatus 500 may further include: and a sending unit (not shown in the figure) configured to send the polyhedral image to be pushed to a user terminal of the communication connection so that the user terminal displays the polyhedral image to be pushed.
In some optional implementation manners of this embodiment, a product page corresponding to a product indicated by product information to be pushed in a product information set to be pushed; and the generating unit 503 may include: a building module (not shown in the figures) configured to perform, for a processed planar image of the generated processed planar images, the following steps: establishing a corresponding relation between the target position on the processed plane image and a product page corresponding to a product indicated by the information of the product to be pushed on the target position, so that a user clicks the target position and the product page corresponding to the clicked target position is presented to the user; generating a new processed plane image based on the target position of the corresponding product page; and a generating module (not shown in the figure) configured to generate a polyhedron image to be pushed based on the generated new processed planar image.
In some optional implementations of this embodiment, the apparatus 500 may further include: the detection module (not shown in the figure) is configured to, in response to detecting that a user uses a user terminal to click on a target position included in the polyhedral image to be pushed, acquire a product page corresponding to the target position corresponding to the click operation, and send the acquired product page to the user terminal, so that the user terminal displays the acquired product page.
In some optional implementations of this embodiment, the generating unit 503 may include: a first determining module (not shown in the figure) configured to determine a polyhedral image including the generated processed plane image as an initial polyhedral image to be pushed; a second determining module (not shown in the figure) configured to determine a reference line for rotating the initial polyhedron image to be pushed; a third determining module (not shown in the figures) configured to determine a rotation signal corresponding to the initial polyhedral image to be pushed, wherein the rotation signal is used for indicating that the initial polyhedral image to be pushed rotates around the reference line; and a fourth determining module (not shown in the figure) configured to determine the initial polyhedron image to be pushed corresponding to the rotation signal as the polyhedron image to be pushed.
In some optional implementations of the embodiment, the set of to-be-pushed product information includes to-be-pushed product information indicating that the categories of the products are the same; and the processing step may comprise: determining at least two target positions from the planar image; selecting at least two pieces of to-be-pushed product information with the same category of the indicated products from the to-be-pushed product information set; and respectively adding the selected at least two pieces of product information to be pushed to the determined at least two target positions to generate a processed plane image.
In some optional implementations of the embodiment, the to-be-pushed product information in the to-be-pushed product information set includes at least one of the following items: text information, image information.
It will be understood that the elements described in the apparatus 500 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 500 and the units included therein, and are not described herein again.
The device 500 that above-mentioned embodiment of this application provided can add the product information of treating the propelling movement into the polyhedral image, and the generation has the polyhedral image of treating the propelling movement of third dimension, helps treating the propelling movement product information based on treating the propelling movement polyhedral image, and then reinforcing display effect, has improved the variety that the information generated.
Referring now to FIG. 6, a schematic diagram of a server (e.g., the server of FIG. 1) 600 suitable for use in implementing embodiments of the present disclosure is shown. The server shown in fig. 6 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. 6, the server 600 may include a processing device (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage device 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the server 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: an input device 606 including, for example, a keyboard, a mouse, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the server 600 to perform wireless or wired communication with other devices to exchange data. While fig. 6 illustrates a server 600 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 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure may 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 server; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: acquiring a target polyhedron image and a product information set to be pushed; for a plane image of plane images included in the target polyhedron image, the following processing steps are performed: determining a target position from the planar image; selecting product information to be pushed from a product information set to be pushed; adding the selected information of the product to be pushed to the determined target position to generate a processed plane image; and generating a polyhedral image to be pushed based on the generated processed plane image.
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. Here, the name of the cell does not constitute a limitation of the cell itself in some cases, and for example, the acquisition cell may also be described as a "cell that acquires an image of the object polyhedron".
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 (10)

1. A method for generating information, comprising:
acquiring a target polyhedral image and a to-be-pushed product information set, wherein the target polyhedral image is a polyhedral image used for adding to-be-pushed product information;
for a plane image of plane images included in the target polyhedron image, performing the following processing steps: determining a target position from the plane image, wherein the target position is used for adding information of a product to be pushed, and the target position is formed by a closed graph; selecting product information to be pushed from the product information set to be pushed; adding the selected information of the product to be pushed to the determined target position to generate a processed plane image;
generating a polyhedral image to be pushed based on the generated processed planar image;
adding the selected information of the product to be pushed to the determined target position comprises: and adding the information of the product to be pushed into the closed graph corresponding to the target position.
2. The method of claim 1, wherein the method further comprises:
and sending the polyhedral image to be pushed to a user terminal in communication connection so that the user terminal displays the polyhedral image to be pushed.
3. The method according to claim 2, wherein the product indicated by the product information to be pushed in the product information set corresponds to a product page; and
the generating a polyhedron image to be pushed based on the generated processed planar image comprises the following steps:
for a processed planar image of the generated processed planar images, performing the steps of: establishing a corresponding relation between the target position on the processed plane image and a product page corresponding to a product indicated by the information of the product to be pushed on the target position, so that a user clicks the target position and the product page corresponding to the clicked target position is presented to the user; generating a new processed plane image based on the target position of the corresponding product page;
and generating a polyhedral image to be pushed based on the generated new processed plane image.
4. The method according to claim 3, wherein after the sending the polyhedral image to be pushed to a communicatively connected user terminal, the method further comprises:
responding to the click operation of the user on the target position included by the polyhedral image to be pushed by using the user terminal, acquiring a product page corresponding to the target position corresponding to the click operation, and sending the acquired product page to the user terminal, so that the user terminal displays the acquired product page.
5. The method according to claim 2, wherein the generating a polyhedral image to be pushed based on the generated processed planar image comprises:
determining a polyhedral image comprising the generated processed plane image as an initial polyhedral image to be pushed;
determining a datum line for rotating the initial polyhedron image to be pushed;
determining a rotation signal corresponding to the initial polyhedral image to be pushed, wherein the rotation signal is used for indicating the initial polyhedral image to be pushed to rotate around the reference line;
and determining the initial polyhedral image to be pushed corresponding to the rotation signal as the polyhedral image to be pushed.
6. The method of claim 1, wherein the set of to-be-pushed product information includes to-be-pushed product information for the indicated products in the same category; and
the processing step comprises:
determining at least two target positions from the planar image;
selecting at least two pieces of to-be-pushed product information with the same category of the indicated products from the to-be-pushed product information set;
and respectively adding the selected at least two pieces of product information to be pushed to the determined at least two target positions to generate a processed plane image.
7. The method according to one of claims 1 to 6, wherein the product information to be pushed in the set of product information to be pushed comprises at least one of: text information, image information.
8. An apparatus for generating information, comprising:
the system comprises an acquisition unit, a pushing unit and a pushing unit, wherein the acquisition unit is configured to acquire a target polyhedral image and a set of to-be-pushed product information, and the target polyhedral image is a polyhedral image used for adding the to-be-pushed product information;
a processing unit configured to perform, for a plane image of plane images included in the target polyhedron image, the following processing steps: determining a target position from the plane image, wherein the target position is used for adding information of a product to be pushed, and the target position is formed by a closed graph; selecting product information to be pushed from the product information set to be pushed; adding the selected information of the product to be pushed to the determined target position to generate a processed plane image;
a generating unit configured to generate a polyhedral image to be pushed based on the generated processed planar image;
the processing unit is specifically configured to: and adding the information of the product to be pushed into the closed graph corresponding to the target position.
9. A server, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN201811635319.6A 2018-12-29 2018-12-29 Method and apparatus for generating information Active CN110620805B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811635319.6A CN110620805B (en) 2018-12-29 2018-12-29 Method and apparatus for generating information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811635319.6A CN110620805B (en) 2018-12-29 2018-12-29 Method and apparatus for generating information

Publications (2)

Publication Number Publication Date
CN110620805A CN110620805A (en) 2019-12-27
CN110620805B true CN110620805B (en) 2022-02-08

Family

ID=68921070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811635319.6A Active CN110620805B (en) 2018-12-29 2018-12-29 Method and apparatus for generating information

Country Status (1)

Country Link
CN (1) CN110620805B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100746008B1 (en) * 2005-10-31 2007-08-06 삼성전자주식회사 Three dimensional motion graphic user interface, apparatus and method for providing the user interface
CN101464771A (en) * 2007-12-21 2009-06-24 Ge医疗系统环球技术有限公司 Information processing apparatus and integration information system
KR20100081200A (en) * 2009-01-05 2010-07-14 주식회사 대우일렉트로닉스 Method for switching location of menu in user interface
KR101357260B1 (en) * 2010-10-22 2014-02-03 주식회사 팬택 Apparatus and Method for Providing Augmented Reality User Interface
KR101350985B1 (en) * 2011-11-22 2014-01-15 도시바삼성스토리지테크놀러지코리아 주식회사 Method and apparatus for providing 3D polyhedron user interface
CN103019595B (en) * 2012-12-05 2016-03-16 北京百度网讯科技有限公司 Terminal device and method for switching theme thereof
CN106126228A (en) * 2016-06-22 2016-11-16 乐视控股(北京)有限公司 A kind of method of interface display and terminal
KR20180091381A (en) * 2017-02-06 2018-08-16 삼성전자주식회사 Apparatus and method of providing vr image based on polyhedron
CN107861664B (en) * 2017-11-09 2020-09-11 网易(杭州)网络有限公司 Display control method and device, storage medium and processor

Also Published As

Publication number Publication date
CN110620805A (en) 2019-12-27

Similar Documents

Publication Publication Date Title
CN110708346B (en) Information processing system and method
CN107390994B (en) Interface presentation method and device
CN109446442B (en) Method and apparatus for processing information
US11586772B2 (en) Method and device for displaying information
CN110036401B (en) Interactive user interface for profile management
CN109413056B (en) Method and apparatus for processing information
CN111599022A (en) House display method and device and electronic equipment
CN111597465A (en) Display method and device and electronic equipment
CN111597466A (en) Display method and device and electronic equipment
CN110619096A (en) Method and apparatus for synchronizing data
CN111652675A (en) Display method and device and electronic equipment
CN114417782A (en) Display method and device and electronic equipment
CN110673886B (en) Method and device for generating thermodynamic diagrams
US20240073488A1 (en) Live video processing method and apparatus, device and medium
CN113220752A (en) Display method and device and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN110069186B (en) Method and equipment for displaying operation interface of application
CN108834202B (en) Information display method and equipment
CN109408647B (en) Method and apparatus for processing information
CN110619615A (en) Method and apparatus for processing image
CN110620805B (en) Method and apparatus for generating information
CN116192789A (en) Cloud document processing method and device and electronic equipment
CN114417214A (en) Information display method and device and electronic equipment
CN111125501B (en) Method and device for processing information
CN113822745A (en) Article display method and device

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