CN109194714B - File pushing method and device, terminal device and storage medium - Google Patents

File pushing method and device, terminal device and storage medium Download PDF

Info

Publication number
CN109194714B
CN109194714B CN201810870295.6A CN201810870295A CN109194714B CN 109194714 B CN109194714 B CN 109194714B CN 201810870295 A CN201810870295 A CN 201810870295A CN 109194714 B CN109194714 B CN 109194714B
Authority
CN
China
Prior art keywords
document
file
display page
user
information
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
CN201810870295.6A
Other languages
Chinese (zh)
Other versions
CN109194714A (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.)
Shenzhen Dingsheng Computer Technology Co ltd
Original Assignee
Shenzhen Dingsheng Computer 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 Shenzhen Dingsheng Computer Technology Co ltd filed Critical Shenzhen Dingsheng Computer Technology Co ltd
Priority to CN201810870295.6A priority Critical patent/CN109194714B/en
Publication of CN109194714A publication Critical patent/CN109194714A/en
Application granted granted Critical
Publication of CN109194714B publication Critical patent/CN109194714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

The invention discloses a document pushing method, a document pushing device, terminal equipment and a storage medium. The method comprises the following steps: acquiring a file request from a user side, wherein the file request comprises user identification and information of a display page; determining a corresponding file according to the user identification and the information of the display page; and sending the file to the user side. By using the method, the highly targeted documentations can be determined according to different documentations, and the unified management of the documentations is realized. When the business is changed, the business change can be quickly responded, the development efficiency is improved, and the waste of human resources is reduced.

Description

File pushing method and device, terminal device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a file pushing method, a file pushing device, terminal equipment and a storage medium.
Background
With the rapid development of the internet, more and more application programs or web pages push the file to the user in an information push mode. A document is a prompt presented to a user that may be a language word, a picture, and/or a hyperlink.
The existing file is usually that a developer writes a file corresponding to the page content in the code when developing software. When the user uses the application program or accesses the webpage, the user is presented with the file corresponding to the current page. However, when documents with different channel and/or user attributes are added, a great deal of labor cost is required to be invested to develop the software again, thereby increasing the workload of developers.
Disclosure of Invention
The embodiment of the invention provides a document pushing method, a document pushing device, terminal equipment and a storage medium, and aims to solve the problem of large development workload when documents with different channels and/or user attributes are newly added.
In a first aspect, an embodiment of the present invention provides a document pushing method, including:
acquiring a file request from a user side, wherein the file request comprises user identification and information of a display page;
determining a corresponding file according to the user identification and the information of the display page;
and sending the file to the user side.
In a second aspect, an embodiment of the present invention further provides a document pushing method, including:
a user side sends a file request to a file server, wherein the file request comprises a user identifier of the user side and information of a display page on the user side;
the case server determines a corresponding case according to the user identification and the information of the display page;
the file server sends the file to the user side;
and the user side fills the file on the display page.
In a third aspect, an embodiment of the present invention further provides a document pushing apparatus, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a file request from a user side, and the file request comprises user identification and information of a display page;
the file determining module is used for determining a corresponding file according to the user identification and the information of the display page;
and the sending module is used for sending the file to the user side.
In a fourth aspect, an embodiment of the present invention further provides a terminal device, including:
one or more processors;
storage means for storing one or more programs;
the one or more programs are executed by the one or more processors, so that the one or more processors implement the file pushing method provided by the embodiment of the invention.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the file pushing method provided by the embodiment of the present invention.
The embodiment of the invention provides a method and a device for pushing a document, a terminal device and a storage medium, wherein the corresponding document is determined by acquiring an information document request comprising a user identifier and a display page, so that the determined document is sent to a user side, and the effect of recommending the targeted document according to different document requests is realized. When newly adding documents with different channel and/or user attributes, developers do not need to develop software again, so that the document configuration efficiency is improved, the development cost is reduced, and the edition sending amount is reduced.
Drawings
Fig. 1 is a schematic flow chart of a document pushing method according to an embodiment of the present invention;
fig. 2a is a schematic flow chart of a document pushing method according to a second embodiment of the present invention;
FIG. 2b is a flow chart showing the implementation of selecting a document according to the second embodiment of the present invention;
fig. 3a is a schematic flow chart of a document pushing method according to a third embodiment of the present invention;
FIG. 3b is a swim lane diagram of the third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a document pushing device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a schematic flowchart of a document pushing method according to an embodiment of the present invention, where the method is applicable to a document server for pushing a document to a user side, and the method can be executed by a document pushing apparatus, where the apparatus can be implemented by software and/or hardware and is generally integrated on a terminal device, and in this embodiment, the terminal device includes but is not limited to: servers, notebook computers, personal computers, and the like.
As shown in fig. 1, a method for pushing a document according to an embodiment of the present invention includes the following steps:
s101, acquiring a file request from a user side, wherein the file request comprises user identification and information of a display page.
In this embodiment, the user side can be understood as a terminal where the user performs a page operation. The document request can be understood as information which is sent to the document server by the user terminal and is used for requesting the document corresponding to the page displayed on the user terminal. The display page can be understood as a page of the current to-be-filled document on the user terminal, and the display page is displayed on the user terminal after the document is filled. The user identifier may be understood as information for identifying the user, which is sent to the document server by the user terminal. The information of the display page may include an identifier of the display page, and the identifier of the display page is used for identifying the display page so as to distinguish the display pages. In addition, the information of the display page may further include a Uniform Resource Locator (URL) of the display page, and the current state of the display page and the source of the parameters of the display page may be determined according to the URL of the display page, such as which pages to jump to the display page or which channel to reach the display page (e.g., enter the display page from hundredths or enter the display page from google).
Generally, when a user browses a web page or accesses an application program at a user end, a display page corresponding to a user operation may be triggered, the display page may be filled with a document at a set position, and the set position may be determined by a developer through refining a document display existing in each product (e.g., each product in cash). When filling the file, the user terminal can initiate a file request to the file server to make the file server perform targeted file recommendation, and after receiving the file recommended by the file server, the user terminal can fill the file to the corresponding position of the display page.
The case recommendation method in this embodiment may be executed by the case server, and after the case server obtains the case request sent by the user side, the case may be pushed based on the user identifier and the information of the display page carried in the case request. The user identifier may be sent from the user side to the document server, and the user identifier may be a unique identifier when the user logs in, or may be a URL of a display page. Based on the user identification, the user information corresponding to the user identification can be found in the user information database of the file server.
And S102, determining a corresponding file according to the user identification and the information of the display page.
In the present embodiment, the document may be understood as information to be filled in the display page. The documentation may include pictures, text, and/or links.
After receiving the document request from the user side, the step can determine the document corresponding to the user identifier and the information of the display page according to the user identifier and the information of the display page. Specifically, in this step, all documents corresponding to the information of the display page may be selected first, and then the documents corresponding to the information of the user identifier and/or the display page may be determined based on all the selected documents and the user identifier (or may be combined with the information of the display page). When determining the corresponding document based on the selected total documents and the user identifier, the document corresponding to the user identifier may be determined based on the object attribute suitable for recommendation of each selected total document.
In addition, in this step, all the documents corresponding to the user may be selected based on the user information corresponding to the user identifier, and then the document corresponding to the display page may be determined based on all the selected documents and the information of the display page.
It is understood that, for the convenience of searching or storing, the present embodiment may also perform hierarchical management on the documents, where the top level stores document identifiers and the sub-level stores documents corresponding to the document identifiers. Correspondingly, in this step, the corresponding document identifier may be determined according to the user identifier and the information of the display page, and then the corresponding document may be determined based on the document identifier.
S103, sending the file to the user side.
After the corresponding file is determined according to the user identifier and the information of the display page, the determined file can be sent to the user side in the step, so that the user side fills the file in the display page. The file can comprise file content and file filling positions, so that the user end fills the file content at corresponding positions of the display page based on the file filling positions.
The embodiment manages the files in a unified way through the file server, and effectively solves the problems that files are difficult to maintain in a unified way due to the fact that existing products are multiple, processes are multiple, file configuration is scattered, and when the products are adjusted, multiple places need to be changed.
In the method for pushing the document according to the embodiment of the present invention, the document request including the user identifier and the information of the display page is obtained to determine the corresponding document, so that the determined document is sent to the user side, and an effect of recommending a targeted document according to different document requests is achieved. When newly adding documents with different channel and/or user attributes, developers do not need to develop software again, so that the document configuration efficiency is improved, the development cost is reduced, and the edition sending amount is reduced.
Example two
Fig. 2a is a schematic flow chart of a document pushing method according to a second embodiment of the present invention, and the second embodiment is optimized based on the above embodiments. In this embodiment, the information of the display page is further embodied as: displaying an identifier of a page and a link of the page; correspondingly, the corresponding file is determined according to the user identifier and the information of the display page, and the method is further embodied as follows: searching for the document identification and the document attribute information according to the identification of the display page; determining the user information corresponding to the user identifier and/or the document attribute information matched with the link of the display page from the searched document attribute information; selecting the file identification corresponding to the matched file attribute information from the searched file identification; and selecting the file according to the corresponding file mark. Please refer to the first embodiment for a detailed description of the present embodiment.
As shown in fig. 2a, a document pushing method provided by the second embodiment of the present invention includes the following steps:
s201, obtaining a file request from a user side, wherein the file request comprises a user identifier, a display page identifier and a display page link.
In this embodiment, the document server obtains a document request from the user side, where the document request may include an identifier of a display page, a user identifier, and a link of the display page. The identifier of the display page may be understood as information for identifying the display page. The links of the display page may determine the current state of the display page and the source of the parameters of the display page.
S202, searching the file identification and the file attribute information according to the identification of the display page.
In this embodiment, the document can be managed hierarchically, such as being divided into a parent document and a child document. The parent document may correspond to a plurality of child documents. The father file can be stored in the form of file mark, and the son file can store the file corresponding to each father file. The document attribute information may be understood as judgment information for selecting the document identifier.
In general, the identities of the different display pages may correspond to different document identities and document attribute information. In this step, the document identifier and the document attribute information corresponding to the identifier can be searched according to the identifier of the display page. The document identifier searched out according to the identifier of the display page in this step may be a document identifier which can be completely filled in the display page. The document attribute information searched out according to the display page identifier may be all document attribute information corresponding to the display page identifier and usable for selecting the document identifier.
In this embodiment, the document identifier and the document attribute information may be in a one-to-many relationship, and when the document attribute information corresponding to the document identifier is all satisfied, the document identifier may serve as a document identifier selected by the document server, so as to send the corresponding document to the user side based on the document identifier.
For example, the document identifier searched for according to the identifier of the display page may include a document identifier 1, a document identifier 2, and a document identifier 3, and the document attribute information may include document attribute information a, document attribute information B, and document attribute information C. The document attribute information corresponding to the document identifier 1 can be document attribute information A and document attribute information B; the document attribute information corresponding to the document identifier 2 can be document attribute information B and document attribute information C; the document attribute information corresponding to the document identifier 3 may be document attribute information a, document attribute information B, and document attribute information C.
S203, determining the user information corresponding to the user identification and/or the document attribute information matched with the link of the display page from the searched document attribute information.
In this embodiment, the user information may be understood as information reflecting the user characteristics. The user information may include the user's name, age, and/or occupation, etc. The document attribute information can be understood as judgment information when selecting a document, the judgment condition can be set based on the requirement of a document player, and different document identifications can correspond to at least one piece of document attribute information.
In the step, the decision (such as equivalent matching or expression verification) can be sequentially made on the file attribute information from the searched file attribute information, and the file decision is made by supporting a custom function and an expression in the embodiment, so that the flexibility is strong, and whether the file attribute information meets the requirements or not is determined. When the decision is made for the attribute information of each file, corresponding content can be selected from the user information corresponding to the user identifier and/or the link of the display page based on the content of the attribute information of the file for matching, and the matched attribute information of the file is determined. If the document attribute information a is male, it may be determined whether the gender in the user information matches the document attribute information a, that is, whether the user is male. If the user is male, the file attribute information a can be considered to be matched with the user information corresponding to the user identifier. If the document attribute information is URL equal to XX, it may be determined whether the link of the display page matches the document attribute information. If the link of the display page is XX, the document attribute information may be considered to match the link of the display page. The content of XX being URL is not limited herein, and those skilled in the art can set corresponding content according to the business requirements of a specific document.
In this step, the matched file attribute information can be determined from the searched file attribute information. For example, the found file attribute information may include file attribute information a, file attribute information B, and file attribute information C. The document attribute information a may be a male, the document attribute information B may be a 22-year-old, and the document attribute information C may be a student. Selecting corresponding user information based on the case attribute information A, the case attribute information B and the case attribute information C to judge whether the user is a male, 22 years old or a student, so as to select matched case attribute information. If the user is male and 22 years old but not a student, the case attribute information a and the case attribute information B can be selected.
In this embodiment, this step may select corresponding user information from the user database based on the user identifier for determining the matched file attribute information.
And S204, selecting the file identification corresponding to the matched file attribute information from the searched file identifications.
After the matched file attribute information is determined, the step can select the file identifier corresponding to the matched file attribute information from the searched file identifiers based on the corresponding relation between the file identifiers and the file attribute information. The corresponding relation between the document identification and the document attribute information can be pre-stored by the developer based on the document content. One document identification may correspond to at least one document attribute information.
Based on the examples in S203 and S204, when the document attribute information a and the document attribute information B are selected, the present step may select the document identification 1 corresponding to the document attribute information a and the document attribute information B. It can be understood that the document identifier is selected only when all the document attribute information corresponding to the document identifier matches. If the document attribute information C corresponding to the document identifier 3 is not matched with the user information, the document identifier 3 is not selected.
S205, selecting the file according to the corresponding file identification.
After the document identification is selected, the corresponding document can be selected based on the corresponding relationship between the document identification and the document in this step. In this embodiment, the documents are hierarchically managed, and all documents corresponding to the document identifier can be determined based on the document identifier. The division of the documents is not limited, for example, each document may be divided into different document identifications according to the service.
S206, sending the file to the user side.
Further, the document includes document content and a location of document filling.
In the present embodiment, the document content may be understood as the document information filled in the display page. The position of the filing of the document can be understood as the position of the filing of the document content in the display interface.
Generally, when the document is sent to the user terminal, the document may include document contents and a document filling position, so that the user terminal fills the corresponding document contents in the corresponding position of the display page based on the document filling position. It is understood that the documentation may also include a priority. When there are multiple documents at the same location, the ue can determine the filling manner, such as the filling sequence, of the documents according to the priority of each document. The priority can be determined according to a file throwing person or the historical throwing times of the files.
Further, the number of the selected files is at least one.
In this embodiment, the number of the selected documents may be at least one, and the user end fills the corresponding document contents to the corresponding position of the display page based on the document filling position of each document.
Further, fig. 2b shows a flow chart of implementation of document selection according to the second embodiment of the present invention. As shown in fig. 2b, selecting a document according to the document identifier includes the following operations:
and S2051, acquiring a document template according to the corresponding document identification.
The document template may be understood as template information for determining the document. When selecting the document according to the corresponding document identifier, the document template corresponding to the document identifier can be obtained according to the document identifier. After the case template is determined, the case template can be analyzed to determine the case.
Generally, there may be at least one selected document identifier corresponding to the matched document attribute information, and there may be at least one document template corresponding to each document identifier.
S2052, judging whether the file template is filled with fields or not, and if so, executing S2053; if not, go to S2055.
After the document template is obtained, the steps can sequentially analyze each obtained document template to determine whether the fields are to be filled. Illustratively, the case template is "good morning, name" where the last name is the field to be filled in. It is understood that the field to be filled may be specific field information. This step may determine whether the document template includes specific field information to determine whether fields to be filled, such as age, gender, and/or occupation, are present. In addition, identification processing can be performed on the fields to be filled in the document template, and after the identification information is detected, the document template can be determined to have the fields to be filled. When the field to be filled exists in the pattern template, the corresponding content may be determined to replace the field to be filled, i.e., S2053 may be performed. When the field to be filled in does not exist in the pattern template, the pattern template may be directly used, and then S2055 may be performed.
S2053, searching the user information and/or the link of the display page according to the field to be filled to obtain the content to be filled.
When the field to be filled exists in the document template, the step may determine the content to be filled corresponding to the field to be filled according to the user information of the field to be filled and/or the link of the display page. This step may determine whether to search for user information or to search for links to the display page based on the field to be populated. For example, when the field to be filled is a name, the name in the user information may be searched to determine the content to be filled.
And S2054, filling the content to be filled into the corresponding field to be filled to obtain a file, and ending the operation.
After the content to be filled is determined, the determined content to be filled can be filled in the corresponding field to be filled so as to obtain an analyzed case template, and the analyzed case template can be used as a case. The document server can send the document to the user terminal.
And S2055, using the pattern template as a pattern.
When the field to be filled does not exist in the document template, the step can directly use the document template as the document, so that the document is sent to the user side.
The filing pushing method provided by the embodiment of the invention embodies the filing determining operation. By using the method, when the documents with different channels and user attributes are newly added, the targeted documents can be dynamically recommended to the user according to the user identification, the identification of the display page and the link of the display page, the workload of redevelopment of developers by investing a large amount of labor cost is reduced, and the access speed of the new channel and the flexibility of document recommendation are improved. When the business is changed, the business change can be responded quickly, such as file adjustment, file function shielding or releasing (if the file is a link, the link can be clicked or visible), and the like. In addition, the files are uniformly stored and distributed through the file server, the file configuration efficiency can be improved, all files, file identifiers, file attribute information, file filling positions and fields in the file server can be reused, and the system performance is effectively improved. The unified management file configuration can only need to modify corresponding configuration when files are added, deleted, searched and modified, and does not need to be re-released.
EXAMPLE III
Fig. 3a is a schematic flow chart of a document pushing method according to a third embodiment of the present invention. On the basis of the above embodiments, the present embodiment embodies the interaction process between the user side and the document server. The embodiment can be applied to the situation that the user terminal and the document server interactively complete the document recommendation from the document server to the user terminal. As shown in fig. 3a, the method specifically includes:
s301, a user side sends a document request to a document server, wherein the document request comprises user identification of the user side and information of a display page on the user side.
In this embodiment, the developer may determine the position of the document in the display page by refining the document presentation of each product in cash. When a new channel is accessed and/or the file with the user attribute exists, the form and the content of the file are generally only required to be changed, and the filling position of the file in the display page can also be fixed, so that the visual management of the file can be realized.
When the user triggers different display pages at the user side, the user side can send the information of the display pages and the user identification to the document server so that the document server can determine the corresponding document based on the information of the display pages and the user identification.
S302, the document server determines a corresponding document according to the user identification and the information of the display page.
S303, the file server sends the file to the user side.
The specific operation of the case server in this embodiment, which receives the case request from the user side and determines the corresponding case according to the user identifier and the information on the display page, and then sends the case to the user side, is the same as the corresponding operation in the case server in the above embodiment.
S304, the user side fills the file on the display page.
The user end receives the file sent by the file server and then fills the file in the display page. The user terminal can display the display page filled with the file to the user.
In this embodiment, the document may include the content of the document and the location of the document filling. When filling the file in the display page, the file content can be filled in to the corresponding position of the display page based on the filling position of the file.
Further, the number of the documents is at least one, and the user fills the documents in the display page, and the optimization includes: and the user side sequentially fills and displays the corresponding documents on the display page according to the priority of each document.
In general, the number of documents sent by the document server to the client may be at least one. After the user end receives at least one file, the file can be filled to the corresponding position of the display page based on the priority order of the file. After the display page is filled with the file, the user side can display the filled display page.
More specifically, FIG. 3b is a swim lane diagram of the pattern acquisition in the third embodiment of the present invention. The process of obtaining the literature in this embodiment is as follows:
the user operates at the user side (either on the user side app or on the web page), generates a display page of the document to be filled (the position to be filled in of the document in the display page is fixed, and only the content and form of the document are uncertain.
The file server receives the display page identification sent by the user side through the aggregation layer, also receives the user identification and/or the display page link and calls the decision engine to make a decision. Wherein the sending of the user identification or the sending of the link to the display page is determined based on a decision point. When the user information corresponding to the user identification is used in decision making of the decision point, the user side can send the user identification to the file server; when the decision point makes a decision, the link of the display page is used, and the link of the display page can be sent to the file server. Which information is used by the decision point can be determined based on the decision id, and because the decision id and the decision point have a corresponding relationship, all corresponding decision points can be determined based on the decision id, and thus, whether a user identifier is used for making a decision or a link of a display page is used for making a decision can be determined.
In the specific implementation process, the decision id, the user identifier and the link of the display page can be all sent to the document server, so that the content needing to be sent to the document server by the user side can be changed when the subsequent service is adjusted, and the workload of service change is reduced.
The decision engine of the document server determines all decision points (document attribute information) and template ids (document identifications) corresponding to the display page based on the decision id (identification of the display page). The decision id is preset with the corresponding relation between the decision point and the template id, and is the decision point corresponding to all the template ids which can be filled in the display page and all the template ids which can be filled in the display page. The template id and the decision points have a one-to-many relationship, and when all the decision points corresponding to the template id are established, the template id is selected. Decision points are criteria determined based on the needs of the case-giver, as if the case were suitable for male students.
And the decision engine makes a decision with all decision points based on the user information corresponding to the user identification and/or the links of the display page to determine which decision points are formed. If the decision point is male, matching the gender in the user information with the decision point to see whether the user is male, and if so, establishing the decision point, namely true).
After the decision engine selects all established decision points, selecting a corresponding template id based on the corresponding relation between the decision points and the template id; (the case is stored hierarchically, with the top level being the template id, the sub-levels being the templates, one template id corresponding to more templates).
And after the decision engine decides the template id, the decided template id and the user identification and/or the static page information required by the template id are/is sent to the aggregation layer. And the aggregation layer calls the template system so that the template system acquires the corresponding template based on the template id. After obtaining the templates, the template system may determine whether each template is a static template. The static template can be understood as that no field to be filled exists in the template, and can be directly sent to a user end as a file. If the template is not a static template, the template can be considered as a dynamic template, namely a template with fields to be filled. After determining that the template is a dynamic template, the template system can analyze the template to obtain the fields to be filled, which need to be analyzed, in the template. And then the field to be filled and the user identification and/or the static page information corresponding to the field to be filled are sent to a field system. And the field system searches the user information and/or the link of the display page according to the field to be filled to obtain field data (content to be filled). And after receiving the content to be filled, the template system fills the content to be filled in the corresponding field to be filled to obtain the file. The file includes file content and file filling position.
After the aggregation layer receives the documents, the documents are assembled based on the document filling positions (pit positions), namely the document corresponding to one pit position is determined by taking the document filling position as a reference. And the aggregation layer sends the assembled data to the user side so that the user side can display the corresponding file according to the file filling position.
And after receiving the document, the user side fills the corresponding document based on the document filling position, and if the document at the upper left corner is filled at the upper left corner of the display page, the document at the lower right corner is filled at the lower right corner of the display page. In addition, if there are multiple documents in a location, the ue can display the documents based on the priority of each document.
According to the technical scheme, the file request is sent to the file server through the user side, then the file server carries out targeted file recommendation, unified management of files is achieved, files with strong recommendation can be dynamically obtained according to user information and static page information (links of display pages) and are sent to the user, development and testing cost is effectively reduced, waste of human resources is reduced, maintenance difficulty is reduced, version issuing amount is reduced, version issuing risks and debugging workload are reduced, and development efficiency is improved.
Example four
Fig. 4 is a schematic structural diagram of a document pushing apparatus according to a fourth embodiment of the present invention, which is applicable to a document server for pushing a document to a user side, wherein the apparatus can be implemented by software and/or hardware and is generally integrated on a terminal device.
As shown in fig. 4, the apparatus includes: an acquisition module 41, a document determination module 42 and a sending module 43.
The obtaining module 41 is configured to obtain a document request from a user side, where the document request includes a user identifier and information of a display page;
the document determining module 42 is configured to determine a corresponding document according to the user identifier and the information of the display page;
a sending module 43, configured to send the file to the user side.
In this embodiment, the document pushing apparatus first obtains a document request from a user side through the obtaining module 41, where the document request includes a user identifier and information of a display page; secondly, determining a corresponding file according to the user identification and the information of the display page through a file determining module 42; the document is then sent to the user end via the sending module 43.
The embodiment provides a document pushing device, which determines a corresponding document by acquiring an information document request including a user identifier and a display page, so that the determined document is sent to a user side, and the effect of recommending a targeted document according to different document requests is achieved. When newly adding documents with different channel and/or user attributes, developers do not need to develop software again, so that the document configuration efficiency is improved, the development cost is reduced, and the edition sending amount is reduced.
Further, in this embodiment, the optimizing the information of the display page includes an identifier of the display page and a link of the display page, and correspondingly, the document determining module 42 optimizes the information of the display page including:
the searching unit is used for searching the document identification and the document attribute information according to the identification of the display page;
the attribute information determining unit is used for determining the user information corresponding to the user identifier and/or the document attribute information matched with the link of the display page from the searched document attribute information;
the file identification selecting unit is used for selecting the file identification corresponding to the matched file attribute information from the searched file identification;
and the document selecting unit is used for selecting the document according to the corresponding document identifier.
On the basis of the optimization, the case selecting unit is specifically used for: acquiring a document template according to the corresponding document identifier; when the fields to be filled in the pattern template are detected, searching the user information and/or the links of the display page according to the fields to be filled to obtain the contents to be filled; filling the content to be filled into the corresponding field to be filled to obtain a file; and when the file template has no field to be filled, the file template is used as a file.
Based on the technical scheme, the document selecting unit is specifically used for: selecting the documents according to the corresponding document identifications, wherein the number of the selected documents is at least one.
Further, the embodiment optimizes the case including the case content and the filling position of the case.
The document pushing device can execute the document pushing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention. As shown in fig. 5, a terminal device provided in the fifth embodiment of the present invention includes: one or more processors 51 and storage 52; the number of the processors 51 in the terminal device may be one or more, and one processor 51 is taken as an example in fig. 5; storage 52 is used to store one or more programs; the one or more programs are executed by the one or more processors 51, so that the one or more processors 51 implement the file push method according to any one of the embodiments of the present invention, such as the first embodiment and the second embodiment.
The terminal device may further include: an input device 53 and an output device 54.
The processor 51, the storage device 52, the input device 53 and the output device 54 in the terminal equipment may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The storage device 52 in the terminal device, as a computer-readable storage medium, may be used to store one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the document pushing method provided in one or two embodiments of the present invention (for example, the modules in the document pushing device shown in fig. 4, including the acquiring module 41, the document determining module 42, and the sending module 43). The processor 51 executes various functional applications and data processing of the terminal device by running software programs, instructions and modules stored in the storage device 52, that is, implements the document pushing method in the above method embodiment.
The storage device 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the storage 52 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 52 may further include memory located remotely from the processor 51, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 53 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. The output device 54 may include a display device such as a display screen.
And, when the one or more programs included in the above-mentioned terminal device are executed by the one or more processors 51, the programs perform the following operations:
acquiring a file request from a user side, wherein the file request comprises user identification and information of a display page; determining a corresponding file according to the user identification and the information of the display page; and sending the file to the user side.
EXAMPLE six
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is used, when executed by a processor, to execute a document pushing method, where the method includes: acquiring a file request from a user side, wherein the file request comprises user identification and information of a display page; determining a corresponding file according to the user identification and the information of the display page; and sending the file to the user side.
Optionally, the program may be further configured to execute the method for pushing a document provided in any embodiment of the present invention when executed by the processor, such as in the first embodiment and the second embodiment.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. 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 (a non-exhaustive list) of the computer readable storage medium would include the following: 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), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, Hypertext Preprocessor (PHP), and/or C #, as well as 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).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A method for pushing a document, comprising:
acquiring a file request from a user side, wherein the file request comprises user identification and information of a display page;
determining a corresponding file according to the user identification and the information of the display page;
sending the file to the user side;
the information of the display page comprises an identifier of the display page and a link of the display page;
the determining the corresponding file according to the user identifier and the information of the display page comprises the following steps:
searching for the document identification and the document attribute information according to the identification of the display page;
determining the user information corresponding to the user identifier and/or the document attribute information matched with the link of the display page from the searched document attribute information;
selecting the file identification corresponding to the matched file attribute information from the searched file identification;
and selecting the file according to the corresponding file mark.
2. The method of claim 1, wherein selecting the document based on the corresponding document identifier comprises:
acquiring a document template according to the corresponding document identifier;
if the field to be filled in the pattern template is detected, searching the user information and/or the link of the display page according to the field to be filled to obtain the content to be filled;
filling the content to be filled into the corresponding field to be filled to obtain a file;
and if the pattern template has no fields to be filled, the pattern template is used as a pattern.
3. The method of any one of claims 1 to 2, wherein the document includes document content and a location of document filling.
4. The method of claim 1, wherein the number of documents selected is at least one.
5. A method for pushing a document, comprising:
a user side sends a file request to a file server, wherein the file request comprises a user identifier of the user side and information of a display page on the user side;
the case server determines a corresponding case according to the user identification and the information of the display page;
the file server sends the file to the user side;
the user side fills the file on the display page;
the information of the display page comprises an identifier of the display page and a link of the display page;
the determining the corresponding file according to the user identifier and the information of the display page comprises the following steps:
searching for the document identification and the document attribute information according to the identification of the display page;
determining the user information corresponding to the user identifier and/or the document attribute information matched with the link of the display page from the searched document attribute information;
selecting the file identification corresponding to the matched file attribute information from the searched file identification;
and selecting the file according to the corresponding file mark.
6. The method of claim 5, wherein the number of the documents is at least one, and the user end fills the documents on the display page, comprising:
and the user side sequentially fills and displays the corresponding documents on the display page according to the priority of each document.
7. A document pushing device, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a file request from a user side, and the file request comprises user identification and information of a display page;
the file determining module is used for determining a corresponding file according to the user identification and the information of the display page;
the sending module is used for sending the file to the user side;
the information of the display page comprises an identifier of the display page and a link of the display page;
the file determining module comprises:
the searching unit is used for searching the document identification and the document attribute information according to the identification of the display page;
the attribute information determining unit is used for determining the user information corresponding to the user identifier and/or the document attribute information matched with the link of the display page from the searched document attribute information;
the file identification selecting unit is used for selecting the file identification corresponding to the matched file attribute information from the searched file identification;
and the document selecting unit is used for selecting the document according to the corresponding document identifier.
8. A terminal device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the paperwork pushing method of any of claims 1-4.
9. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the document push method according to any one of claims 1 to 4.
CN201810870295.6A 2018-08-02 2018-08-02 File pushing method and device, terminal device and storage medium Active CN109194714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810870295.6A CN109194714B (en) 2018-08-02 2018-08-02 File pushing method and device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810870295.6A CN109194714B (en) 2018-08-02 2018-08-02 File pushing method and device, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN109194714A CN109194714A (en) 2019-01-11
CN109194714B true CN109194714B (en) 2021-05-04

Family

ID=64920542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810870295.6A Active CN109194714B (en) 2018-08-02 2018-08-02 File pushing method and device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN109194714B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131848A (en) * 2019-06-25 2020-12-25 北京沃东天骏信息技术有限公司 Method and device for generating document information, storage medium and electronic equipment
CN110472150A (en) * 2019-08-13 2019-11-19 阿里巴巴集团控股有限公司 Content recommendation method, device and electronic equipment
CN111124482A (en) * 2019-12-25 2020-05-08 北京达佳互联信息技术有限公司 Method and device for configuring file information
CN112016286A (en) * 2020-07-24 2020-12-01 上海淇玥信息技术有限公司 File generation method and device and electronic equipment
CN112822286B (en) * 2021-01-27 2023-04-07 湖南快乐阳光互动娱乐传媒有限公司 Message pushing method and device
CN113111243A (en) * 2021-03-29 2021-07-13 北京达佳互联信息技术有限公司 Display object sharing method and device and storage medium
CN113282597A (en) * 2021-04-25 2021-08-20 北京淇瑀信息科技有限公司 File updating method and system based on resource guarantee investment and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003090138A1 (en) * 2002-04-20 2003-10-30 Digent Co., Ltd. A system for generating/retrieving secure documents using on-line fingerprint authentication and a method therefor
CN106161192A (en) * 2015-04-08 2016-11-23 阿里巴巴集团控股有限公司 A kind of method and apparatus of Message Processing
CN106155652A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 A kind of generation method and system of multi-language data file
CN106874342A (en) * 2016-12-23 2017-06-20 新华三技术有限公司 A kind of page display method and device
CN107302597A (en) * 2017-08-17 2017-10-27 北京小度信息科技有限公司 Message official documents and correspondence method for pushing and device
CN107645524A (en) * 2016-07-21 2018-01-30 腾讯科技(深圳)有限公司 A kind of message push processing method and device
CN107784516A (en) * 2016-11-29 2018-03-09 上海壹账通金融科技有限公司 Advertisement placement method and device
CN107909395A (en) * 2017-11-09 2018-04-13 深圳云麦科技有限公司 Based on the advertising testing method, apparatus and system for clicking on effect

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003090138A1 (en) * 2002-04-20 2003-10-30 Digent Co., Ltd. A system for generating/retrieving secure documents using on-line fingerprint authentication and a method therefor
CN106155652A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 A kind of generation method and system of multi-language data file
CN106161192A (en) * 2015-04-08 2016-11-23 阿里巴巴集团控股有限公司 A kind of method and apparatus of Message Processing
CN107645524A (en) * 2016-07-21 2018-01-30 腾讯科技(深圳)有限公司 A kind of message push processing method and device
CN107784516A (en) * 2016-11-29 2018-03-09 上海壹账通金融科技有限公司 Advertisement placement method and device
CN106874342A (en) * 2016-12-23 2017-06-20 新华三技术有限公司 A kind of page display method and device
CN107302597A (en) * 2017-08-17 2017-10-27 北京小度信息科技有限公司 Message official documents and correspondence method for pushing and device
CN107909395A (en) * 2017-11-09 2018-04-13 深圳云麦科技有限公司 Based on the advertising testing method, apparatus and system for clicking on effect

Also Published As

Publication number Publication date
CN109194714A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN109194714B (en) File pushing method and device, terminal device and storage medium
US11669503B2 (en) Building and managing data-processing attributes for modeled data sources
KR102185864B1 (en) Server-side rendering method and system of native content for presentation
US20160188448A1 (en) Discovery of application states
US9798531B2 (en) Dependency-aware transformation of multi-function applications for on-demand execution
US20210333984A1 (en) Method and apparatus for generating customized visualization component
US9952848B2 (en) Dependency-aware transformation of multi-function applications for on-demand execution
CN110727431A (en) Applet generation method and apparatus
CN109359194B (en) Method and apparatus for predicting information categories
CN111045653B (en) System generation method and device, computer readable medium and electronic equipment
CN114036439A (en) Website building method, device, medium and electronic equipment
CN108984202B (en) Electronic resource sharing method and device and storage medium
US8938520B2 (en) Methods and systems for smart adapters in a social media content analytics environment
CN113590985B (en) Page jump configuration method and device, electronic equipment and computer readable medium
CN105808628A (en) Webpage transcoding method, apparatus and system
CN113282285A (en) Code compiling method and device, electronic equipment and storage medium
CN113326079A (en) Service version switching method, switching device, electronic equipment and storage medium
CN110196803B (en) Software defect training method and system
CN113419711A (en) Page guiding method and device, electronic equipment and storage medium
JP2017142640A (en) Similar document recommendation system, similar document recommendation method, and similar document recommendation program
US20210042334A1 (en) Multi-cloud object store access
CN113253991A (en) Task visualization processing method and device, electronic equipment and storage medium
CN112860259B (en) Interface processing method, device, electronic equipment and storage medium
CN113535153A (en) Method, device, equipment and medium for encoding custom label
CN114661880A (en) Interactive data generation method and device, electronic equipment and storage medium

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