CN111291250A - Invoice head-up recommendation method and device, terminal, server and storage medium - Google Patents

Invoice head-up recommendation method and device, terminal, server and storage medium Download PDF

Info

Publication number
CN111291250A
CN111291250A CN202010159350.8A CN202010159350A CN111291250A CN 111291250 A CN111291250 A CN 111291250A CN 202010159350 A CN202010159350 A CN 202010159350A CN 111291250 A CN111291250 A CN 111291250A
Authority
CN
China
Prior art keywords
invoice
recommendation
head
recommended
new line
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.)
Withdrawn
Application number
CN202010159350.8A
Other languages
Chinese (zh)
Inventor
岑凯伦
李瑜
谭志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202010159350.8A priority Critical patent/CN111291250A/en
Publication of CN111291250A publication Critical patent/CN111291250A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • 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/04Billing or invoicing

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses an invoice head-up recommendation method, device, terminal, server and storage medium, and belongs to the technical field of internet. The method comprises the following steps: acquiring an invoice head-up recommendation request, wherein the invoice head-up recommendation request comprises an invoice head-up search term input by an invoice filling interface; determining at least one recommended invoice heading according to the invoice heading search words, wherein the recommended invoice heading comprises the invoice heading search words; generating a recommendation list according to the head-up of at least one recommendation invoice, wherein the arrangement sequence of the head-up of the recommendation invoice in the recommendation list is determined by the head-up attribute of the recommendation invoice; and feeding back a recommendation list, wherein the recommended recommendation list after being fed back is displayed in an invoice filling interface. By the adoption of the method, accurate invoice head-up recommendation can be carried out according to the invoice head-up search terms, input operations of users are reduced, and the issuing efficiency of electronic invoices is improved.

Description

Invoice head-up recommendation method and device, terminal, server and storage medium
Technical Field
The embodiment of the application relates to the technical field of internet, in particular to an invoice head-up recommendation method, device, terminal, server and storage medium.
Background
With the rapid development of the e-commerce platform, the user can enjoy additional services, such as online invoicing, while shopping on the internet. The electronic invoice comprises a personal invoice and an enterprise invoice. For the personal invoice, the head-up content is the personal name; for business invoices, the new line content is the name of the business.
For any type of electronic invoice, the user is required to manually and completely input the head-up content, and particularly for enterprise invoices, the user is required to manually input longer head-up content; in addition, the user can copy corresponding new line contents in the billing information provided by the personal enterprise software, and then manually paste the new line contents to the input box.
Disclosure of Invention
The embodiment of the application provides an invoice head-up recommendation method, device, terminal, server and storage medium, and the technical scheme is as follows:
in one aspect, an invoice head-up recommendation method is provided, and the method is used for a server and comprises the following steps:
acquiring an invoice head-up recommendation request, wherein the invoice head-up recommendation request comprises an invoice head-up search term input by an invoice filling interface;
determining at least one recommended invoice heading according to the invoice heading search word, wherein the recommended invoice heading comprises the invoice heading search word;
generating a recommendation list according to at least one new line of the recommendation invoice, wherein the arrangement sequence of the new line of the recommendation invoice in the recommendation list is determined by the new line attribute of the recommendation invoice;
feeding back the recommendation list, wherein the recommended list after being fed back is displayed in the invoice filling interface.
In another aspect, an invoice head-up recommendation method is provided, and the method is used for a terminal and includes:
displaying an invoice filling interface;
sending an invoice head-up recommendation request to a server, wherein the invoice head-up recommendation request comprises an invoice head-up search term input in the invoice filling interface;
receiving a recommendation list sent by the server, wherein the recommendation list comprises at least one recommendation invoice new line, the arrangement sequence of the recommendation invoice new line in the recommendation list is determined by the attribute of the recommendation invoice new line, and the recommendation invoice new line comprises the invoice new line retrieval word;
and displaying the recommendation list on the invoice filling interface.
In another aspect, an invoice new line recommendation device is provided, the device is used for a server, and the device includes:
the request acquisition module is used for acquiring an invoice head-up recommendation request, wherein the invoice head-up recommendation request comprises an invoice head-up search term input by an invoice filling interface;
the head-up determining module is used for determining at least one recommended invoice head-up according to the invoice head-up search word, wherein the recommended invoice head-up comprises the invoice head-up search word;
the list generation module is used for generating a recommendation list according to at least one new line of the recommendation invoice, and the arrangement sequence of the new line of the recommendation invoice in the recommendation list is determined by the new line attribute of the recommendation invoice;
and the list feedback module is used for feeding back the recommendation list, wherein the recommended list after feedback is displayed in the invoice filling interface.
In another aspect, an invoice new line recommendation device is provided, the device is used for a terminal, and the device includes:
the interface display module is used for displaying an invoice filling interface;
the request sending module is used for sending an invoice head-up recommendation request to a server, wherein the invoice head-up recommendation request comprises an invoice head-up search term input in the invoice filling interface;
the list receiving module is used for receiving a recommendation list sent by the server, the recommendation list comprises at least one recommendation invoice new line, the arrangement sequence of the recommendation invoice new line in the recommendation list is determined by the attribute of the recommendation invoice new line, and the recommendation invoice new line comprises the invoice new line search word;
and the list display module is used for displaying the recommendation list on the invoice filling interface.
In another aspect, a server is provided, the server comprising a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the invoice heads-up recommendation method as described in the above aspects.
In another aspect, a terminal is provided, the server including a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the invoice heads-up recommendation method as described in the above aspects.
In another aspect, a computer-readable storage medium is provided that stores at least one instruction for execution by a processor to implement the invoice heads-up recommendation method as described in the above aspect.
In another aspect, a computer program product is provided, which stores at least one instruction that is loaded and executed by the processor to implement the invoice new line recommendation method of the above aspect.
In the embodiment of the application, the server determines at least one recommended invoice new line according to an invoice new line search word in the invoice new line recommendation request, and further determines the arrangement position of each recommended invoice new line in a recommendation list according to the attribute of the recommended invoice new line; compared with the mode that the user inputs the new line content completely in a manual mode, the invoice new line recommendation method provided by the embodiment of the application can perform accurate invoice new line recommendation according to the invoice new line search word, so that the input operation of the user is reduced, and the issuing efficiency of the electronic invoice is improved.
Drawings
FIG. 1 illustrates a schematic diagram of an electronic invoicing system provided by an exemplary embodiment of the present application;
FIG. 2 illustrates a flow chart of an invoice heads up recommendation method provided by an exemplary embodiment of the present application;
FIG. 3 illustrates an interface diagram of an invoice completion interface provided by an exemplary embodiment of the present application;
FIG. 4 illustrates a flow chart of an invoice heads up recommendation method provided by another exemplary embodiment of the present application;
FIG. 5 is a flow chart illustrating a method of determining a recommendation list according to the present application;
FIG. 6 illustrates a flow chart of an invoice heads up recommendation method provided by another exemplary embodiment of the present application;
FIG. 7 is a flow chart illustrating another method of determining a recommendation list of the present application;
FIG. 8 illustrates a flow chart of an invoice heads up recommendation method provided by another exemplary embodiment of the present application;
FIG. 9 is a block diagram illustrating an invoice heads-up recommender provided in an exemplary embodiment of the present application;
FIG. 10 is a block diagram illustrating an invoice heads-up recommender provided in an exemplary embodiment of the present application;
fig. 11 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment of the present application;
fig. 12 is a block diagram illustrating a structure of a server according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The invoice raising recommending method can be applied to the scene that online invoicing needs to be carried out, for example, in the field of e-commerce, and can provide electronic invoice issuing business after a user purchases goods. For convenience of explanation of the following embodiments, the various embodiments of the present application are schematically illustrated in the e-commerce field, but are not limited to the present application.
Referring to fig. 1, a schematic diagram of an electronic invoicing system provided by an exemplary embodiment of the present application is shown. The electronic invoice issuing system includes a terminal 110 and a server 120, wherein the terminal 110 and the server 120 perform data communication through a communication network, optionally, the communication network may be a wired network or a wireless network, and the communication network may be at least one of a local area network, a metropolitan area network, and a wide area network.
The electronic invoicing system may be used to provide an online invoicing service for electronic invoices for a plurality of users simultaneously, and thus, the electronic invoicing system shown in fig. 1 includes at least one terminal 110. The terminal 110 has an application program with an electronic invoice issuing function installed therein, and data communication and request processing with the server 120 are implemented through an electronic invoice issuing platform corresponding to the application program. Optionally, the terminal 110 may be a mobile terminal such as a smart phone, a tablet computer, a laptop portable notebook computer, or may also be a terminal such as a desktop computer, a projection computer, and the like, which is not limited in this embodiment of the present application.
The server 120 may be implemented as one server, or may be implemented as a server cluster formed by a group of servers, which may be physical servers, or may be implemented as a cloud server. In one possible implementation, the server 120 is a backend server for applications in the terminal 110. The server 120 is further capable of receiving a request related to issuing an electronic invoice and returning a request result to the electronic invoice issuing platform, and the electronic invoice issuing platform displays the request result through an invoice filling interface of the terminal 110. In addition, the server 120 further includes a data storage unit for storing historical data of the electronic invoice issuing platform, such as an invoice that is retrieved by the user and an invoice heading keyword that is entered during the retrieval, and the like.
In one example, as shown in fig. 1, the terminal 110 is installed with shopping software, and displays an invoice filling-out interface 111 under user operation. In the invoice completion interface 111, the user first selects the head-up type; further, the terminal 110 displays interface content corresponding to the new line type, for example, the interface content displayed on the invoice filling interface 111 is interface content corresponding to the unit type; in the company heading input box, the user can complete the filling-in of the input box by inputting a complete heading name, or can realize the heading retrieval only by inputting an invoice heading retrieval word, such as inputting "AB", and the electronic invoice issuing platform generates an invoice heading recommendation request according to the invoice heading retrieval word "AB" input by the user and sends the invoice heading recommendation request to the server 120; further, the server 120 retrieves a recommendation list containing at least one recommended invoice new line in the data storage unit according to the invoice new line recommendation request; the terminal 110 receives the recommendation list through the electronic invoice issuing platform and displays the recommendation list on the invoice filling interface.
In other possible embodiments, the above-mentioned search for the new head of the recommendation invoice can also be implemented as part or all of the application program, and accordingly, the terminal 110 can determine the recommendation list locally without the aid of the server 120, which is not limited in this application.
For convenience of description, the following embodiments are described by taking an example in which a server executes an invoice raising recommendation method.
Referring to fig. 2, a flowchart of an invoice head-up recommendation method provided by an exemplary embodiment of the present application is shown. The method comprises the following steps:
step 201, acquiring an invoice head-up recommendation request, wherein the invoice head-up recommendation request comprises an invoice head-up search term input by an invoice filling interface.
When the user finishes commodity shopping, additional services can be selected for operation, such as after-sales service selection, commodity information modification, electronic invoice issuing and the like. For electronic invoice issuing services, the user enters an invoice filling interface by triggering the corresponding control.
As shown in fig. 3, the invoice filling interface 111 contains a "units" head-up type and a "personal/non-business units" type. For the type of 'personal/non-enterprise unit', only the name of a consumer needs to be input through the head-up content, namely the required head-up content is less, and the user input operation is more convenient; however, for the "unit" head-up type, the head-up content needs to include the complete unit name, and the user input operation is troublesome. In particular, when the unit name is long or when the user is not aware of the unit name, the efficiency of issuing electronic invoices cannot be improved.
Therefore, the method for determining the recommended invoice head-up through the invoice head-up search word is provided, so that the issuing efficiency of the electronic invoice is improved. In a possible implementation manner, a user does not need to input full-header content, but inputs an invoice header search word on an invoice filling interface to trigger an application program in a terminal to generate an invoice header recommendation request, then an electronic invoice issuing platform sends the invoice header recommendation request to a server, and the server obtains the invoice header recommendation request. The invoice head-up recommendation request comprises an invoice head-up search term input by an invoice filling interface.
And step 202, determining at least one recommended invoice new line according to the invoice new line search terms.
Further, after the server acquires the invoice head-up recommendation request, the invoice head-up search terms contained in the invoice head-up recommendation request are analyzed, and then at least one recommended invoice head-up is determined according to the invoice head-up search terms.
For the process of determining the invoice head up recommendation, in a possible implementation manner, the server performs the invoice head up recommendation search in the data storage unit according to the invoice head up search word, and the data storage unit stores historical data of electronic invoice issuing, such as time of issuing an electronic invoice by a user, historical head up name input by the user (the head up name is complete head up content), and the invoice head up search word corresponding to the historical head up name; and when the historical top-up name contains the current invoice top-up search word, determining the historical top-up name as the recommended invoice top-up corresponding to the invoice top-up search word.
In one example, if the user inputs the invoice new line search term "AB", the data storage unit includes the following corresponding historical new line names: beijing AB, Inc., Beijing AB technologies, Inc., ABxxx, Inc., and the like. The above-mentioned historical top-up name including the invoice top-up search term "AB" may be determined as the recommended invoice top-up. The invoice head-up search term is contained in the recommended invoice head-up.
And step 203, generating a recommendation list according to the head-up of at least one recommendation invoice.
However, the server cannot recommend all the recommended invoices to the user in an unordered manner, and the invoice filling interface of the terminal, the number of displayed texts of which is limited. Therefore, in order to recommend the new head of the recommendation invoice for the user, which is more consistent with the user selection intention, in one possible embodiment, the arrangement order of the new head of the recommendation invoice in the recommendation list is determined by the attribute of the new head of the recommendation invoice.
If the historical use times of the head-up of the recommended invoice is more, the head-up of the recommended invoice with more historical use times is more advanced, and the arrangement sequence of the head-up of the recommended invoice in the recommendation list is more advanced; for example, the head-up length of the head-up of the recommended invoice is higher for a unit, and therefore, in order to preferentially display the head-up of the recommended invoice corresponding to the parent company, the head-up of the recommended invoice with the shorter head-up length is arranged in the recommendation list in a higher order. The above is only an exemplary illustration, and the attribute of the invoice raising is not limited.
And step 204, feeding back a recommendation list.
And finally, the server takes the generated recommendation list as a response of the invoice head-up recommendation request, and feeds the recommendation list back to the electronic invoice issuing platform, and the electronic invoice issuing platform pushes the recommendation list to an invoice filling interface of the corresponding application program for display, namely the feedback recommendation list is displayed in the invoice filling interface.
Optionally, as shown in fig. 3, the invoice filling interface 111 includes a company tax number entry 302, a company address entry 303, a company telephone entry 304, an account opening bank name entry 305, and an account opening number entry 306 in addition to the company heading entry 301. The above-mentioned input items 302 to 306 may be automatically associated with the input after the input content of the company heading input item 301 is determined, that is, after the user determines that the final recommendation invoice is heading from the recommendation list, the content of the input items 302 to 306 may be automatically associated with the input.
In summary, in the embodiment of the application, the server determines at least one recommended invoice new line according to the invoice new line search term in the invoice new line recommendation request, and further determines the arrangement position of each recommended invoice new line in the recommendation list according to the attribute of the recommended invoice new line; compared with the mode that the user inputs the new line content completely in a manual mode, the invoice new line recommendation method provided by the embodiment of the application can perform accurate invoice new line recommendation according to the invoice new line search word, so that the input operation of the user is reduced, and the issuing efficiency of the electronic invoice is improved.
Referring to fig. 4, a flowchart of an invoice head-up recommendation method provided by another exemplary embodiment of the present application is shown. The method comprises the following steps:
step 401, obtaining an invoice head-up recommendation request, where the invoice head-up recommendation request includes an invoice head-up search term input by an invoice filling interface.
Please refer to step 201, and the embodiments of the present application are not described herein again.
And 402, determining at least one recommended invoice new line according to the invoice new line search terms.
Please refer to step 202, which is not described herein again in this embodiment.
And 403, determining n attribute values of the top of the recommended invoice according to the n attributes of the top of the recommended invoice.
In the embodiment of the present application, the attribute includes at least one of a head-up content, a usage heat, and a head-up length, and n is a positive integer.
When n is 1, the server determines 1 attribute value of the recommended invoice heading according to one of the heading content, the use heat and the heading length; when n is 2, the server determines 2 attribute values of the recommended invoice heading according to two of the heading content, the use heat and the heading length; and when n is 3, the server determines 3 attribute values for recommending invoice heading according to the heading content, the use heat and the heading length. For the case where n is 1 and n is 2, the free choice of attributes can be made according to the current alignment requirements.
The following describes how the server determines the attribute value corresponding to each attribute.
When the recommendation invoice top-up attribute selected by the server includes top-up content, step 403 includes content one and content two.
And determining the serial number of the position of the invoice heading search word in the heading content.
And secondly, determining a first attribute value according to the sequence number, wherein the first attribute value and the sequence number are in a negative correlation relationship.
For the first awareness of user input, a word or a word at a position near the top of the content is input as an invoice top-up search term, so that in the recommended invoice top-up meeting the user selection intention, the position of the invoice top-up search term in the top-up content is near the top, that is, the serial number of the position of the invoice top-up search term in the top-up content needs to be determined. When the invoice heading search word is a single word, the sequence number is the word number of the single word; and when the invoice new line search word is a multi-character word, determining the sequence number of the multi-character word as a whole.
In one example, as shown in fig. 5, the server determines five recommended invoice headings numbered 1 to 5 in the data storage unit 510 according to the invoice headings search term (the numbering order is not related to the arrangement order, and the headings of the respective recommended invoices are described only for convenience).
Further, the server determines the serial number of the position of the invoice new line search word in the new line content. For the invoice head-up recommendation of the label 1, the serial number of the position of the invoice head-up search word AB in the head-up content is 1; for the invoice head-up recommendation of the label 2, the serial number of the position of the invoice head-up search word AB in the head-up content is 4; for the invoice head-up recommendation of the label 3, the serial number of the position of the invoice head-up search word AB in the head-up content is 3; for the invoice heading recommended by the label 4, the serial number of the position of the invoice heading retrieval word AB in the heading content is 1; for the invoice heading recommended by reference numeral 5, the serial number of the position of the invoice heading search word "AB" in the heading content is 1.
Correspondingly, the server determines a first attribute value according to the sequence number, wherein the first attribute value and the sequence number are in a negative correlation relationship. The larger the sequence number is, the later the position of the invoice heading search word in the heading content is, the more the corresponding recommended invoice heading is not in accordance with the selection intention of the user. Thus, in one possible embodiment, the server determines the first attribute value according to the sequence number, wherein the first attribute value is in a negative correlation with the sequence number.
In the above example, the sequence of the top-up of the recommended invoice is arranged from large to small according to the sequence numbers (indicated by the reference numbers): the reference numeral 2, the reference numeral 3 and the reference numerals 1, 4 and 5 are parallel, so that according to the negative correlation relationship between the first attribute value and the serial number, the first attribute value of the heading of the recommended invoice of the reference numeral 2 is 1, the first attribute value of the heading of the recommended invoice of the reference numeral 3 is 2, and the first attribute values of the heading of the recommended invoice under the reference numerals 1, 4 and 5 are all 3.
Further, if the order of the top-up arrangement of the recommendation receipts is determined only based on the attribute of the top-up content, the recommendation list 1 shown in fig. 5 can be obtained. However, for the raising of the recommended invoices under the reference numerals 1, 4 and 5, since the first attribute values are equal, the arrangement order is the same. In order to further determine the arrangement sequence of the head-up of the recommended invoices under the reference numerals 1, 4 and 5, the server can also carry out arrangement according to other attributes, such as at least one of the use heat and the head-up length.
When the recommendation invoice top-up attribute selected by the server includes the usage heat, step 403 includes content three and content four.
And thirdly, determining the use heat of the head-up of the recommended invoice, wherein the use heat is determined according to the use times of the head-up of the recommended invoice in unit time length, and the use heat and the use times are in positive correlation.
And fourthly, determining a second attribute value according to the heat of use, wherein the second attribute value has a positive correlation with the heat of use.
Optionally, the server may preferentially execute the process of determining the use heat of the top-up of the recommended invoice, or, in view of the situation that the sequence order of the invoice top-up search words is the same as that in the above example, the server continues to execute the process of determining the use heat of the top-up of the recommended invoice after executing the process of determining the serial number of the invoice top-up search word. The embodiments of the present application take the latter as an example for illustrative purposes.
The use heat is determined according to the number of times of use of the invoice recommended in unit time length, and the use heat and the number of times of use are in positive correlation. Optionally, the unit duration includes a duration in units of days, weeks, months, years, and the like, and the unit duration may be selected according to specific platform requirements. The embodiments of the present application are exemplarily illustrated in units of months.
In the above example, the server continues to determine the popularity of use of the top-up of the recommended invoices under reference numerals 1, 4 and 5. In one month, the number of times of using the top-up of the invoice recommended for reference numeral 1 is 40, the number of times of using the top-up of the invoice recommended for reference numeral 4 is 40, and the number of times of using the top-up of the invoice recommended for reference numeral 5 is 80.
Correspondingly, the head-up use heat of the recommendation invoice of reference numeral 1 is 40 times/month, the head-up use heat of the recommendation invoice of reference numeral 4 is 40 times/month, and the head-up use heat of the recommendation invoice of reference numeral 5 is 80 times/month.
Further, the server determines a second attribute value according to the heat of use, wherein the second attribute value has a positive correlation with the heat of use. The larger the usage heat is, the more the corresponding recommendation invoice is in line with the selection intention of the public users. Therefore, in one possible implementation, the server determines the second attribute value according to the usage heat, wherein the second attribute value has a positive correlation with the usage heat.
In the above example, the order of raising the heads of the recommended invoices under reference numerals 1, 4 and 5 is obtained (indicated by reference numerals) in the order of the use heat from small to large: reference numerals 1 and 4 are juxtaposed, reference numeral 5. Therefore, according to the positive correlation between the second attribute value and the use heat, the second attribute value of the new line of the recommended invoice of the label 1 and the label 4 is 1, and the second attribute value of the new line of the recommended invoice of the label 5 is 2.
Further, a recommendation list 2 as shown in fig. 5 may be obtained. However, the order of arrangement remains the same for the up of the recommended invoices under reference numerals 1 and 4. In order to further determine the arrangement sequence of the top-up of the recommended invoices under the labels 1 and 4, the server can also carry out arrangement according to other attributes, such as the top-up length.
When the server-selected invoice head-up attribute includes a head-up length, step 403 includes content five.
And fifthly, determining a third attribute value of the head-up of the recommended invoice according to the head-up length of the head-up of the recommended invoice, wherein the third attribute value and the head-up length are in a negative correlation relationship.
Consider a case where the similarity of the top-up contents of the parent company and the subsidiary company is high, and therefore, in order to preferentially display the top-up of the recommendation invoice corresponding to the parent company, the top-up of the recommendation invoice with a shorter top-up length is arranged further ahead in the recommendation list. Therefore, in one possible implementation mode, the third attribute value of the head up of the recommendation invoice is determined according to the head up length of the head up of the recommendation invoice, wherein the third attribute value and the head up length are in a negative correlation relationship.
In the above example, for the new heads of the recommendation invoices under the reference numerals 1 and 4 with the same arrangement sequence, the new head length of the recommendation invoice under the reference numeral 1 is 12, and the new head length of the recommendation invoice under the reference numeral 4 is 11.
The order of obtaining the head-up of the recommended invoices under the labels 1 and 4 is (indicated by the labels) according to the arrangement of the head-up lengths from large to small: reference numeral 1, reference numeral 4. Therefore, according to the negative correlation between the third attribute value and the head-up length, the third attribute value of the head-up of the recommended invoice under the label 1 is 1, and the third attribute value of the head-up of the recommended invoice under the label 4 is 2.
Further, the recommendation list 3 as shown in fig. 5 can be obtained, and there is no top-up of the arranged recommendation invoice.
And step 404, determining the arrangement sequence of the head-up of the recommended invoices according to the n attribute values, and generating a recommendation list.
Optionally, when n is 1, the server determines 1 attribute value of the recommended invoice heading only according to one of the heading content, the usage heat and the heading length, and then determines the ranking order of the recommended invoice heading according to the attribute value, and generates the recommendation list.
In this case, as shown in fig. 5, the recommendation list 1 is that the server determines the first attribute value of the top of each recommendation invoice according to the top content, and then determines the top ranking order of each recommendation invoice according to the first attribute value, and generates the recommendation list 1.
Optionally, when n is 2, the server determines 2 attribute values of the recommended invoice heading according to two of the heading content, the usage heat and the heading length, and then determines the ranking order of the recommended invoice heading according to the attribute values, and generates a recommendation list.
In this case, as shown in fig. 5, the recommendation list 2 is that the server determines the first attribute value and the second attribute value of the new line of each recommendation invoice according to the new line content and the usage heat, and then determines the arrangement order of the new line of each recommendation invoice according to the first attribute value and the second attribute value, and generates the recommendation list 2.
Optionally, when n is 3, the server determines 3 attribute values of the recommended invoice heading according to the heading content, the use heat and the heading length, and then determines the ranking sequence of the recommended invoice heading according to the attribute values, and generates a recommendation list.
In this case, as shown in fig. 5, the recommendation list 4 is that the server determines the first attribute value, the second attribute value, and the third attribute value of the new line of each recommendation invoice according to the new line content, the usage heat, and the new line length, and then determines the arrangement order of the new lines of each recommendation invoice according to the first attribute value, the second attribute value, and the third attribute value, and generates the recommendation list 3.
Step 405, feeding back a recommendation list.
Please refer to step 204, which is not described herein again in this embodiment.
On the basis of the embodiment, the head-up attribute of the recommended invoice is introduced through the content of the embodiment of the application, and the process of determining the head-up arrangement sequence of the recommended invoice according to the attribute is explained; the server can determine the arrangement sequence of the recommended invoice heads according to one attribute and can also determine the arrangement sequence of the recommended invoice heads by combining at least two attributes, so that the arrangement sequence result determined according to the head-up content, the use heat and the head-up length is more in line with the selection intention of a user, accurate invoice head-up recommendation is achieved, and the issuing efficiency of electronic invoices is improved.
Referring to fig. 6, a flowchart of an invoice head-up recommendation method provided by another exemplary embodiment of the present application is shown. The method comprises the following steps:
step 601, acquiring an invoice head-up recommendation request, wherein the invoice head-up recommendation request comprises an invoice head-up search term input by an invoice filling interface.
Please refer to step 201, and the embodiments of the present application are not described herein again.
Optionally, in this embodiment of the application, in order to reduce the search pressure of recommending the invoice new line on the server side, a determination process of whether the invoice new line search term includes an effective search term is further included.
When the invoice new line search term comprises an effective search term, executing step 602 after step 601; if the invoice new line search term does not include a valid search term, step 603 is executed after step 601.
Step 602, in response to the invoice heading search term including an effective search term, determining at least one recommended invoice heading according to the invoice heading search term.
The effective search terms are search terms except the ineffective search terms, and the ineffective search terms comprise at least one of place names or unit types.
The place name comprises the names of subordinate cities such as country name, province name, city name and the like; unit types are suffix names used to denote unit properties after unit names, such as "organization", "company limited", "center", "department", and the like.
In one example, the invoice heading search word input by the user is "beijing AB", and "AB" is an effective search word, the terminal does not generate the invoice heading recommendation request when the user inputs "beijing", but generates the invoice heading recommendation request when the user inputs "AB", and then the server determines that at least one recommended invoice is headed according to the invoice heading search word, that is, step 602 is performed correspondingly.
Step 603, in response to the invoice new line search term not containing an effective search term, canceling the invoice new line recommendation.
In an example, if the invoice heading search word input by the user is "beijing", then "beijing" is an invalid search word, and the terminal does not generate an invoice heading recommendation request when the user inputs "beijing", and then cancels the current invoice heading recommendation, that is, step 603 is executed correspondingly.
And step 604, determining n attribute values of the top of the recommended invoice according to the n attributes of the top of the recommended invoice.
Please refer to step 403, which is not described herein again in this embodiment.
In the above-described embodiments, description has been made on the attributes and attribute values. In the embodiment of the present application, two methods of generating a recommendation list from n attribute values are described. One is to generate a recommendation list according to the weighted summation result of the attribute values, corresponding to step 605 and step 606; and secondly, generating a recommendation list according to the attribute priority corresponding to the attribute value, corresponding to step 607.
Step 605, perform weighted summation on the n attribute values.
For the first method, the server only needs to perform one-time arrangement on the new heads of the recommended invoices, that is, the arrangement sequence of the new heads of the recommended invoices can be determined according to the weighted summation result of the n attribute values.
Corresponding to some of the data in the example of fig. 5, in one example, the server determines five recommended invoice headings numbered 1 to 5 in the data storage unit 510 according to the invoice headup search term.
In the above example, for the attribute of the new line content, the first attribute value of the new line of the invoice recommended by the label 1 is 3, the first attribute value of the new line of the invoice recommended by the label 2 is 1, the first attribute value of the new line of the invoice recommended by the label 3 is 2, the first attribute value of the new line of the invoice recommended by the label 4 is 3, and the first attribute value of the new line of the invoice recommended by the label 5 is 3.
In the above example, for the attribute of the popularity of use, the second attribute value of the top of the invoice recommended by the label 1 is 1, the second attribute value of the top of the invoice recommended by the label 2 is 3, the second attribute value of the top of the invoice recommended by the label 3 is 4, the second attribute value of the top of the invoice recommended by the label 4 is 1, and the second attribute value of the top of the invoice recommended by the label 5 is 2.
In the above example, for the attribute of the top-up length, the third attribute value of the top-up of the invoice recommended by label 1 is 3, the third attribute value of the top-up of the invoice recommended by label 2 is 4, the third attribute value of the top-up of the invoice recommended by label 3 is 3, the third attribute value of the top-up of the invoice recommended by label 4 is 2, and the third attribute value of the top-up of the invoice recommended by label 5 is 1.
Further, the 3 attribute values are weighted and summed. The weighted summation result of the top-up of the invoice recommended by the label 1 is 7, the weighted summation result of the top-up of the invoice recommended by the label 2 is 8, the weighted summation result of the top-up of the invoice recommended by the label 3 is 9, the weighted summation result of the top-up of the invoice recommended by the label 4 is 6, and the weighted summation result of the top-up of the invoice recommended by the label 5 is 6.
And 606, determining the arrangement sequence of the head-up of the recommended invoices according to the weighted sum result, and generating a recommendation list.
Wherein the arrangement order is positively correlated with the weighted sum result.
Corresponding to the data of the above example, the recommendation list 4 shown in fig. 7 is obtained. However, the top-up ordering of the invoices under reference numerals 4 and 5 is still the same, and the server may randomly sort the top-up of the invoices to obtain two possible ordering results, which correspond to the recommendation list 5 and the recommendation list 6 shown in fig. 7.
Step 607, determining the arrangement sequence of the new heads of the recommended invoices according to the attribute priorities corresponding to the n attribute values, and generating a recommendation list.
For the second method, the server needs to perform n times of arrangement on the new heads of the recommended invoices to determine the arrangement sequence of the new heads of the recommended invoices.
Optionally, this step 607 includes the following.
And determining the ith arranging sequence of the heading of the recommended invoice according to the ith attribute value.
Firstly, the server determines the attribute with the highest attribute priority, and the attribute is recorded as the ith attribute, and the corresponding attribute value is the ith attribute value. Wherein i is a positive integer greater than 0 and not greater than n.
In the embodiment of the application, the attributes of the invoice raising recommendation comprise raising content, using heat and raising length. If the server marks the attribute of the head-up content as the attribute with the highest attribute priority, the head-up content is the 1 st attribute, and the corresponding attribute value is the 1 st attribute value.
Fig. 5 is a diagram illustrating an example of a second method for generating a recommendation list in an embodiment of the present application.
In the corresponding example of fig. 5, the attribute priority of each attribute is the highest, the usage heat is the next highest, and the attribute priority of the head-up length is the lowest. Wherein, the recommendation list 1 corresponds to the 1 st arrangement sequence of the new head of the recommendation invoice.
And secondly, determining the i +1 th arrangement sequence of the new heads of the recommended invoices according to the i +1 th attribute value.
The attribute priority of the ith attribute value is higher than the attribute priority of the (i + 1) th attribute value, and the (i + 1) th arrangement order is the sub-order of the (i) th arrangement order.
However, the execution of the second content needs to consider the case of the 1 st arrangement order. If the arrangement sequence of the new heads of the recommendation invoices with the labels 1, 4 and 5 is the same in the recommendation list 1, executing a process of the content two; when the heads of the recommended invoices are sorted only through the attribute with the highest attribute priority, the recommended lists with the same unordered order can be obtained, and the process of executing the second content is not needed.
In the example corresponding to fig. 5, the server determines that the usage heat is the 2 nd attribute, and may obtain the sub-rank of the 1 st ranking according to the 2 nd attribute value of the top of each recommendation invoice, that is, the 2 nd ranking corresponding to the recommendation list 2.
However, in the recommendation list 2, the arrangement order of the new heads of the recommendation invoices with reference numbers 1 and 4 is still the same, and the process of the content two needs to be continuously executed.
In the example corresponding to fig. 5, the server determines that the top-up length is the 3 rd attribute, and may obtain the sub-rank of the 2 nd ranking, that is, the 3 rd ranking corresponding to the recommendation list 3, according to the 3 rd attribute value of the top-up of each recommendation invoice.
And in the recommendation list 3, the process of continuing to execute the content two is not needed if the recommendation invoice with the same arrangement sequence is not up. Under the second method of generating a recommendation list, the server finally determines recommendation list 3 as the final recommendation list.
Step 608, feeding back the recommendation list.
Please refer to step 204, which is not described herein again in this embodiment.
In the embodiment of the application, the method further comprises a judging process of judging whether the invoice new line search word contains an effective search word or not, so that the search pressure of recommending the invoice new line on one side of the server is reduced, the server does not need to execute invoice new line recommendation on the ineffective search word, and the issuing efficiency of the electronic invoice is improved.
In the embodiment of the present application, two methods for generating a recommendation list according to an attribute value are also introduced. For the first method, a recommendation list is generated according to the weighted sum result of the attribute values, and a recommendation list corresponding to the current invoice new line recommendation request can be quickly obtained under the condition that the server performs one-time arrangement on the new lines of the various recommended invoices; for the second method, the recommendation list is generated according to the attribute priority corresponding to the attribute value, so that the specific recommendation requirement of the electronic invoice issuing platform can be met, and the wide applicability of the invoice raising recommendation method in the embodiment of the application is improved.
The above embodiments take the example of the method for performing invoice head-up recommendation by the server as an example. In addition, taking the method for executing invoice head-up recommendation by the terminal as an example, the application further comprises the following embodiments.
Referring to fig. 8, a flowchart of an invoice head-up recommendation method provided by another exemplary embodiment of the present application is shown. The method comprises the following steps:
step 801, displaying an invoice filling interface.
When the user finishes commodity shopping, additional services can be selected for operation, such as after-sales service selection, commodity information modification, electronic invoice issuing and the like. For electronic invoice issuing services, the user enters an invoice filling interface by triggering the corresponding control.
Schematically, as shown in fig. 3, the terminal 110 displays an invoice filling interface 111, please refer to the content in step 201, and details of relevant content of the invoice filling interface are not repeated in this embodiment of the application.
Step 802, sending an invoice head-up recommendation request to a server, wherein the invoice head-up recommendation request comprises an invoice head-up search term input in an invoice filling interface.
In a possible implementation mode, a user does not need to input full-scale invoice content, but inputs an invoice scale-up search word on an invoice filling-in interface to trigger an application program in a terminal to generate an invoice scale-up recommendation request, and then the electronic invoice issuing platform sends the invoice scale-up recommendation request to a server. The invoice head-up recommendation request comprises an invoice head-up search term input by an invoice filling interface.
Step 803, receiving the recommendation list sent by the server.
And the server takes the generated recommendation list as a response of the invoice head-up recommendation request and feeds the recommendation list back to the electronic invoice issuing platform, and the electronic invoice issuing platform corresponding to the application program in the terminal receives the recommendation list sent by the server.
In a possible implementation manner, the recommendation list comprises at least one recommendation invoice head-up, the arrangement sequence of the recommendation invoice head-up in the recommendation list is determined by the attribute of the recommendation invoice head-up, and the recommendation invoice head-up comprises an invoice head-up search word.
Please refer to the contents of the embodiments corresponding to fig. 4 and fig. 6 in the generation process of the recommendation list, which is not described herein again in this embodiment of the present application.
And step 804, displaying a recommendation list on an invoice filling interface.
And after the electronic invoice issuing platform corresponding to the application program in the terminal receives the recommendation list sent by the server, pushing the recommendation list to an invoice filling interface of the corresponding application program for display. Further, the user can select to recommend the invoice to be raised according to the displayed recommendation list.
To sum up, in the embodiment of the application, the terminal displays an invoice filling interface, generates an invoice head-up recommendation request according to an invoice head-up search word input by a user on the invoice filling interface, sends the invoice head-up recommendation request to the server, further receives a recommendation list sent by the server, and displays the recommendation list on the invoice filling interface; compared with the mode that the user inputs the new line content completely in a manual mode, the invoice new line recommendation method provided by the embodiment of the application can perform accurate invoice new line recommendation according to the invoice new line search word, so that the input operation of the user is reduced, and the issuing efficiency of the electronic invoice is improved.
Referring to fig. 9, a block diagram of an invoice new line recommendation device provided in an exemplary embodiment of the present application is shown, where the invoice new line recommendation device is used in a server, and the invoice new line recommendation device includes:
a request obtaining module 901, configured to obtain an invoice head-up recommendation request, where the invoice head-up recommendation request includes an invoice head-up search term input by an invoice filling interface;
a new line determining module 902, configured to determine that at least one recommended invoice is new line according to the invoice new line search term, where the recommended invoice new line includes the invoice new line search term;
a list generating module 903, configured to generate a recommendation list according to at least one new line of the recommendation invoice, where an arrangement order of the new line of the recommendation invoice in the recommendation list is determined by an attribute of the new line of the recommendation invoice;
a list feedback module 904, configured to feed back the recommendation list, where the recommended recommendation list after being fed back is displayed in the invoice filling interface.
Optionally, the list generating module 903 includes:
the attribute value determining unit is used for determining n attribute values of the heading of the recommendation invoice according to n attributes of the heading of the recommendation invoice, wherein the attributes comprise at least one of heading content, use heat and heading length, and n is a positive integer;
and the list generating unit is used for determining the arrangement sequence of the new heads of the recommended invoices according to the n attribute values and generating the recommended list.
Optionally, the attribute value determining unit includes:
the first determining subunit is used for determining the serial number of the position of the invoice new line search term in the new line content;
and the second determining subunit is used for determining a first attribute value according to the sequence number, wherein the first attribute value and the sequence number are in a negative correlation relationship.
Optionally, the attribute value determining unit further includes:
the third determining subunit is used for determining the use heat of the head-up of the recommended invoice, the use heat is determined according to the use times of the head-up of the recommended invoice in unit time length, and the use heat and the use times are in positive correlation;
a fourth determining subunit, configured to determine a second attribute value according to the usage heat, where the second attribute value is in a positive correlation with the usage heat.
Optionally, the attribute value determining unit further includes:
and the fifth determining subunit is configured to determine a third attribute value of the new line of the recommended invoice according to the new line length of the new line of the recommended invoice, where the third attribute value and the new line length are in a negative correlation relationship.
Optionally, the list generating unit includes:
a first generating subunit, configured to perform weighted summation on the n attribute values; determining the arrangement sequence of the new heads of the recommended invoices according to the weighted sum result, wherein the arrangement sequence and the weighted sum result are in positive correlation;
alternatively, the first and second electrodes may be,
and the second generation subunit is configured to determine the head-up arrangement sequence of the recommended invoices according to the attribute priorities corresponding to the n attribute values.
Optionally, the second generating subunit is further configured to determine, according to the ith attribute value, an ith ranking order of the new heads of the recommended invoices;
determining an i +1 th arrangement order of the recommended invoice according to the i +1 th attribute value, wherein the attribute priority of the i-th attribute value is higher than the attribute priority of the i +1 th attribute value, and the i +1 th arrangement order is a sub-order of the i-th arrangement order.
Optionally, the head-up determining module 902 includes:
the head-up determining unit is used for responding to the invoice head-up search words containing effective search words, and determining at least one recommended invoice head-up according to the invoice head-up search words;
optionally, the apparatus further includes:
the process canceling module is used for canceling invoice head-up recommendation in response to the invoice head-up search term not containing an effective search term;
the effective search terms are search terms except for the ineffective search terms, and the ineffective search terms comprise at least one of place names or unit types.
Referring to fig. 10, a block diagram of an invoice new line recommendation device provided in an exemplary embodiment of the present application is shown, where the device is used in a terminal, and the device includes:
an interface display module 1001 for displaying an invoice filling interface;
a request sending module 1002, configured to send an invoice head-up recommendation request to a server, where the invoice head-up recommendation request includes an invoice head-up search term input in the invoice filling interface;
a list receiving module 1003, configured to receive a recommendation list sent by the server, where the recommendation list includes at least one recommendation invoice new line, an arrangement sequence of the recommendation invoice new line in the recommendation list is determined by an attribute of the recommendation invoice new line, and the recommendation invoice new line includes the invoice new line search word;
a list display module 1004, configured to display the recommendation list on the invoice filling interface.
Referring to fig. 11, a block diagram of a terminal 1100 according to an exemplary embodiment of the present application is shown. The terminal 1100 may be a portable mobile terminal such as: a smart phone, a tablet, an MP3 player, an MP4 (player. terminal 1100 may also be referred to as user equipment, portable terminal, etc. other names.
In general, terminal 1100 includes: a processor 1101 and a memory 1102.
Processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1101 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor, the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 1101 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1102 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1102 can also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1102 is used to store at least one instruction for execution by processor 1101 to implement a method provided by embodiments of the present application.
In some embodiments, the terminal 1100 may further include: a peripheral interface 1103 and at least one peripheral. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, touch display screen 1105, camera 1106, audio circuitry 1107, positioning component 1108, and power supply 1109.
The peripheral interface 1103 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1101 and the memory 1102. In some embodiments, the processor 1101, memory 1102, and peripheral interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1101, the memory 1102 and the peripheral device interface 1103 may be implemented on separate chips or circuit boards, which is not limited by this embodiment.
The Radio Frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1104 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The touch display screen 1105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The touch display screen 1105 also has the ability to capture touch signals on or over the surface of the touch display screen 1105. The touch signal may be input to the processor 1101 as a control signal for processing. Touch display 1105 is used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the touch display screen 1105 can be one, providing the front panel of the terminal 1100; in other embodiments, the touch display screens 1105 can be at least two, respectively disposed on different surfaces of the terminal 1100 or in a folded design; in some embodiments, touch display 1105 can be a flexible display disposed on a curved surface or on a folded surface of terminal 1100. Even more, the touch display screen 1105 can be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The touch Display screen 1105 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
Camera assembly 1106 is used to capture images or video. Optionally, camera assembly 1106 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a VR (Virtual Reality) shooting function. In some embodiments, camera assembly 1106 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1107 is used to provide an audio interface between the user and the terminal 1100. The audio circuitry 1107 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1101 for processing or inputting the electric signals to the radio frequency circuit 1104 to achieve voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1100. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1107 may also include a headphone jack.
Positioning component 1108 is used to locate the current geographic position of terminal 1100 for purposes of navigation or LBS (location based Service). The positioning component 1108 may be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 1109 is configured to provide power to various components within terminal 1100. The power supply 1109 may be alternating current, direct current, disposable or rechargeable. When the power supply 1109 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1100 can also include one or more sensors 1110. The one or more sensors 1110 include, but are not limited to: acceleration sensor 1111, gyro sensor 1112, pressure sensor 1113, fingerprint sensor 1114, optical sensor 1115, and proximity sensor 1116.
Acceleration sensor 1111 may detect acceleration levels in three coordinate axes of a coordinate system established with terminal 1100. For example, the acceleration sensor 1111 may be configured to detect components of the gravitational acceleration in three coordinate axes. The processor 1101 may control the touch display screen 1105 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1111. The acceleration sensor 1111 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1112 may detect a body direction and a rotation angle of the terminal 1100, and the gyro sensor 1112 may cooperate with the acceleration sensor 1111 to acquire a 3D motion of the user with respect to the terminal 1100. From the data collected by gyroscope sensor 1112, processor 1101 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1113 may be disposed on a side bezel of terminal 1100 and/or on an underlying layer of touch display screen 1105. When the pressure sensor 1113 is disposed on the side frame of the terminal 1100, a holding signal of the terminal 1100 by the user can be detected, and left-right hand recognition or shortcut operation can be performed according to the holding signal. When the pressure sensor 1113 is disposed at the lower layer of the touch display screen 1105, the operability control on the UI interface can be controlled according to the pressure operation of the user on the touch display screen 1105. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1114 is used for collecting a fingerprint of a user to identify the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 1101 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 1114 may be disposed on the front, back, or side of terminal 1100. When a physical button or vendor Logo is provided on the terminal 1100, the fingerprint sensor 1114 may be integrated with the physical button or vendor Logo.
Optical sensor 1115 is used to collect ambient light intensity. In one embodiment, the processor 1101 may control the display brightness of the touch display screen 1105 based on the ambient light intensity collected by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1105 is turned down. In another embodiment, processor 1101 may also dynamically adjust the shooting parameters of camera assembly 1106 based on the ambient light intensity collected by optical sensor 1115.
Proximity sensor 1116, also referred to as a distance sensor, is typically disposed on the front face of terminal 1100. Proximity sensor 1116 is used to capture the distance between the user and the front face of terminal 1100. In one embodiment, the touch display screen 1105 is controlled by the processor 1101 to switch from a bright screen state to a dark screen state when the proximity sensor 1116 detects that the distance between the user and the front face of the terminal 1100 is gradually decreasing; when the proximity sensor 1116 detects that the distance between the user and the front face of the terminal 1100 becomes gradually larger, the touch display screen 1105 is controlled by the processor 1101 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 11 does not constitute a limitation of terminal 1100, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
Referring to fig. 12, a schematic structural diagram of a server 1200 according to an embodiment of the present application is shown. The server 1200 may be used to implement the invoice raising recommendation method provided in the above embodiments. The server 1200 may be the server 120 described in the embodiment of fig. 1. Specifically, the method comprises the following steps:
the server 1200 includes a Central Processing Unit (CPU)1201, a system memory 1204 including a Random Access Memory (RAM)1202 and a Read Only Memory (ROM)1203, and a system bus 1205 connecting the system memory 1204 and the central processing unit 1201. The server 1200 also includes a basic input/output system (I/O system) 1206 to facilitate transfer of information between devices within the computer, and a mass storage device 1207 for storing an operating system 1213, application programs 1214, and other program modules 1215.
The basic input/output system 1206 includes a display 1208 for displaying information and an input device 1209, such as a mouse, keyboard, etc., for a user to input information. Wherein the display 1208 and input device 1209 are connected to the central processing unit 1201 through an input-output controller 1210 coupled to the system bus 1205. The basic input/output system 1206 may also include an input/output controller 1210 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1210 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1207 is connected to the central processing unit 1201 through a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer-readable media provide non-volatile storage for the server 1200. That is, the mass storage device 1207 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 1204 and mass storage device 1207 described above may be collectively referred to as memory.
The server 1200 may also operate as a remote computer connected to a network via a network, such as the internet, according to various embodiments of the present application. That is, the server 1200 may be connected to the network 1212 through a network interface unit 1211 coupled to the system bus 1205, or the network interface unit 1211 may be used to connect to other types of networks or remote computer systems (not shown).
The memory also includes one or more programs stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for implementing the server-side invoice up-line recommendation method.
The memory has stored therein at least one instruction, at least one program, set of codes, or set of instructions configured to be executed by one or more processors to implement the functions of the various steps in the invoice heads up recommendation method described above.
The embodiments of the present application further provide a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the invoice new line recommendation method provided in the above embodiments.
Optionally, the computer-readable storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a Solid State Drive (SSD), or an optical disc. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM).
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (14)

1. An invoice head-up recommendation method is used for a server and comprises the following steps:
acquiring an invoice head-up recommendation request, wherein the invoice head-up recommendation request comprises an invoice head-up search term input by an invoice filling interface;
determining at least one recommended invoice heading according to the invoice heading search word, wherein the recommended invoice heading comprises the invoice heading search word;
generating a recommendation list according to at least one new line of the recommendation invoice, wherein the arrangement sequence of the new line of the recommendation invoice in the recommendation list is determined by the new line attribute of the recommendation invoice;
feeding back the recommendation list, wherein the recommended list after being fed back is displayed in the invoice filling interface.
2. The method of claim 1, wherein said generating a recommendation list according to at least one of said recommendation invoices heading comprises:
determining n attribute values of the heading of the recommended invoice according to n attributes of the heading of the recommended invoice, wherein the attributes comprise at least one of heading content, use heat and heading length, and n is a positive integer;
and determining the arrangement sequence of the new heads of the recommended invoices according to the n attribute values, and generating the recommendation list.
3. The method according to claim 2, wherein the determining n attribute values of the top of the recommended invoice according to the n attributes of the top of the recommended invoice comprises:
determining the serial number of the position of the invoice new line search word in the new line content;
and determining a first attribute value according to the sequence number, wherein the first attribute value and the sequence number are in a negative correlation relationship.
4. The method according to claim 2, wherein the determining n attribute values of the top of the recommended invoice according to the n attributes of the top of the recommended invoice comprises:
determining the use heat of the head-up of the recommended invoice, wherein the use heat is determined according to the use times of the head-up of the recommended invoice in unit time length, and the use heat and the use times are in positive correlation;
and determining a second attribute value according to the heat of use, wherein the second attribute value has a positive correlation with the heat of use.
5. The method according to claim 2, wherein the determining n attribute values of the top of the recommended invoice according to the n attributes of the top of the recommended invoice comprises:
and determining a third attribute value of the head-up of the recommended invoice according to the head-up length of the head-up of the recommended invoice, wherein the third attribute value and the head-up length are in a negative correlation relationship.
6. The method according to any one of claims 2 to 5, wherein the determining the arrangement order of the head-up of the recommended invoice according to the n attribute values comprises:
performing weighted summation on the n attribute values; determining the arrangement sequence of the new heads of the recommended invoices according to the weighted sum result, wherein the arrangement sequence and the weighted sum result are in positive correlation;
alternatively, the first and second electrodes may be,
and determining the arrangement sequence of the head-up of the recommended invoice according to the attribute priority corresponding to the n attribute values.
7. The method according to claim 6, wherein the determining the arrangement order of the new heads of the recommended invoices according to the attribute priorities corresponding to the n attribute values comprises:
determining the ith arrangement sequence of the heading of the recommended invoice according to the ith attribute value;
determining an i +1 th arrangement order of the recommended invoice according to the i +1 th attribute value, wherein the attribute priority of the i-th attribute value is higher than the attribute priority of the i +1 th attribute value, and the i +1 th arrangement order is a sub-order of the i-th arrangement order.
8. The method according to any one of claims 1 to 5, wherein the determining at least one recommended invoice head-up according to the invoice head-up search term comprises:
responding to the invoice heading search words containing effective search words, and determining at least one recommended invoice heading according to the invoice heading search words;
the method further comprises the following steps:
canceling invoice head-up recommendation in response to the invoice head-up search term not containing an effective search term;
the effective search terms are search terms except for the ineffective search terms, and the ineffective search terms comprise at least one of place names or unit types.
9. An invoice head-up recommendation method is used for a terminal, and comprises the following steps:
displaying an invoice filling interface;
sending an invoice head-up recommendation request to a server, wherein the invoice head-up recommendation request comprises an invoice head-up search term input in the invoice filling interface;
receiving a recommendation list sent by the server, wherein the recommendation list comprises at least one recommendation invoice new line, the arrangement sequence of the recommendation invoice new line in the recommendation list is determined by the attribute of the recommendation invoice new line, and the recommendation invoice new line comprises the invoice new line retrieval word;
and displaying the recommendation list on the invoice filling interface.
10. An invoice new line recommendation device, characterized in that the device is used for a server, the device comprises:
the request acquisition module is used for acquiring an invoice head-up recommendation request, wherein the invoice head-up recommendation request comprises an invoice head-up search term input by an invoice filling interface;
the head-up determining module is used for determining at least one recommended invoice head-up according to the invoice head-up search word, wherein the recommended invoice head-up comprises the invoice head-up search word;
the list generation module is used for generating a recommendation list according to at least one new line of the recommendation invoice, and the arrangement sequence of the new line of the recommendation invoice in the recommendation list is determined by the new line attribute of the recommendation invoice;
and the list feedback module is used for feeding back the recommendation list, wherein the recommended list after feedback is displayed in the invoice filling interface.
11. An invoice new line recommendation device, characterized in that the device is used for terminal, the device includes:
the interface display module is used for displaying an invoice filling interface;
the request sending module is used for sending an invoice head-up recommendation request to a server, wherein the invoice head-up recommendation request comprises an invoice head-up search term input in the invoice filling interface;
the list receiving module is used for receiving a recommendation list sent by the server, the recommendation list comprises at least one recommendation invoice new line, the arrangement sequence of the recommendation invoice new line in the recommendation list is determined by the attribute of the recommendation invoice new line, and the recommendation invoice new line comprises the invoice new line search word;
and the list display module is used for displaying the recommendation list on the invoice filling interface.
12. A server, comprising a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the invoice heads-up recommendation method of any of claims 1 to 8.
13. A terminal, wherein the server comprises a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the invoice heads-up recommendation method of claim 9.
14. A computer readable storage medium storing at least one instruction for execution by a processor to implement the invoice heads up recommendation method of any one of claims 1 to 8 or the invoice heads up recommendation method of claim 9.
CN202010159350.8A 2020-03-09 2020-03-09 Invoice head-up recommendation method and device, terminal, server and storage medium Withdrawn CN111291250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010159350.8A CN111291250A (en) 2020-03-09 2020-03-09 Invoice head-up recommendation method and device, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010159350.8A CN111291250A (en) 2020-03-09 2020-03-09 Invoice head-up recommendation method and device, terminal, server and storage medium

Publications (1)

Publication Number Publication Date
CN111291250A true CN111291250A (en) 2020-06-16

Family

ID=71022705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010159350.8A Withdrawn CN111291250A (en) 2020-03-09 2020-03-09 Invoice head-up recommendation method and device, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN111291250A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102721A (en) * 2014-07-18 2014-10-15 百度在线网络技术(北京)有限公司 Method and device for recommending information
CN105913218A (en) * 2016-04-01 2016-08-31 上海电机学院 Electronic invoice invoicing reimbursement method and electronic invoice reimbursement information extraction method
CN110503489A (en) * 2019-07-25 2019-11-26 北京合力中税科技发展有限公司 A kind of method and related system obtaining electronic invoice new line information
CN110781141A (en) * 2019-09-07 2020-02-11 北京中科云链信息技术有限公司 Method for acquiring head-up of electronic ticket

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102721A (en) * 2014-07-18 2014-10-15 百度在线网络技术(北京)有限公司 Method and device for recommending information
CN105913218A (en) * 2016-04-01 2016-08-31 上海电机学院 Electronic invoice invoicing reimbursement method and electronic invoice reimbursement information extraction method
CN110503489A (en) * 2019-07-25 2019-11-26 北京合力中税科技发展有限公司 A kind of method and related system obtaining electronic invoice new line information
CN110781141A (en) * 2019-09-07 2020-02-11 北京中科云链信息技术有限公司 Method for acquiring head-up of electronic ticket

Similar Documents

Publication Publication Date Title
US20200258146A1 (en) Electronic purchase order generation method and device, terminal and storage medium
US11954464B2 (en) Mini program production method and apparatus, terminal, and storage medium
EP4093032A1 (en) Method and apparatus for displaying data
CN111352687A (en) Invoice filling method, invoice filling device, invoice filling terminal and storage medium
CN112052354A (en) Video recommendation method, video display method and device and computer equipment
CN110704455B (en) Method, device, terminal and storage medium for generating data asset directory
CN109995804B (en) Target resource information display method, information providing method and device
CN113891166A (en) Data processing method, data processing device, computer equipment and medium
CN111028071B (en) Bill processing method and device, electronic equipment and storage medium
CN112288894A (en) Method, device and equipment for displaying entrance ticket information and readable storage medium
CN111831385A (en) Business credit information processing method, device, equipment and storage medium
CN111582993A (en) Method and device for acquiring target object, electronic equipment and storage medium
CN111563201A (en) Content pushing method, device, server and storage medium
US20230095250A1 (en) Method for recommending multimedia resource and electronic device
CN113051485B (en) Group searching method, device, terminal and storage medium
CN110717110B (en) Multimedia resource filtering method and device, electronic equipment and storage medium
CN112230822A (en) Comment information display method and device, terminal and storage medium
CN111291250A (en) Invoice head-up recommendation method and device, terminal, server and storage medium
CN111159551A (en) Display method and device of user-generated content and computer equipment
CN111242338B (en) Card acquisition method, device, terminal and storage medium
CN110134303B (en) Operation control display method, device, terminal and storage medium
CN110519378B (en) Method, device, server and storage medium for determining target object
CN114926250A (en) Order processing method, device, equipment and computer readable storage medium
CN114138387A (en) List data loading method and device, electronic equipment and storage medium
CN114119166A (en) Order processing method, device, 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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200616