CN113780921A - Inquiry processing method and device - Google Patents

Inquiry processing method and device Download PDF

Info

Publication number
CN113780921A
CN113780921A CN202110014260.4A CN202110014260A CN113780921A CN 113780921 A CN113780921 A CN 113780921A CN 202110014260 A CN202110014260 A CN 202110014260A CN 113780921 A CN113780921 A CN 113780921A
Authority
CN
China
Prior art keywords
information
bill
matching
mark position
attribute
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.)
Granted
Application number
CN202110014260.4A
Other languages
Chinese (zh)
Other versions
CN113780921B (en
Inventor
王瑞
周志亮
计卫强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information 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 Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202110014260.4A priority Critical patent/CN113780921B/en
Publication of CN113780921A publication Critical patent/CN113780921A/en
Application granted granted Critical
Publication of CN113780921B publication Critical patent/CN113780921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • 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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination

Landscapes

  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a price inquiry processing method and device, and relates to the technical field of computers. One specific implementation mode of the method comprises the steps of receiving invoice information sent by a business system; matching each attribute in the bill information with a preset mark position so as to endow a mark position value corresponding to the mark position with the matched attribute, and further generating mark position information corresponding to the bill information; and determining the type of the bill to which the bill belongs according to the bill information, calling a rule model of the bill type, matching to obtain a corresponding processing rule based on the position marking information, calculating bill cost and returning. Therefore, the method and the device can solve the problems that the conventional price enquiry process is complicated and difficult to multiplex.

Description

Inquiry processing method and device
Technical Field
The invention relates to the technical field of computers, in particular to a price inquiry processing method and device.
Background
The logistics company provides the warehouse allocation and transportation and the value-added service for the client, and makes different quotations for the client based on the services and charges a certain fee. After the service occurs, the quotation information needs to be matched according to the information of the service document. Price inquiry is that the fee items to be charged are matched according to the bill information, and a unique quotation is matched from various quotation lists of each fee item. Since the conditions for each fee item price inquiry may be different, different price inquiry devices need to be customized for each service type. The query conditions are assembled through codes, and the multiple conditions are logically (and/or) combined to obtain the quotation information of the document.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
at present, when a service bar or a price inquiry condition is newly added, a code needs to be modified to add a new inquiry condition. Moreover, huge query condition objects need to be constructed, each expense item has different price query conditions, if one query condition object is created for each expense item, a great number of query condition objects need to be created, and common query conditions are difficult to reuse. In addition, because the inquiry condition is written in the code, the business personnel cannot directly check the inquiry condition, and even if the document is maintained, the condition that the system code and the document are inconsistent occurs, so that the business personnel can realize the wrong cognition of the system. In addition, the quotation information is redundant of various price inquiring condition information, so that the quotation is complicated to maintain.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for price inquiry processing, which can solve the problems of the existing price inquiry process being tedious and difficult to reuse.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a price inquiry processing method, including receiving invoice information sent by a business system; matching each attribute in the bill information with a preset mark position so as to endow a mark position value corresponding to the mark position with the matched attribute, and further generating mark position information corresponding to the bill information; and determining the type of the bill to which the bill belongs according to the bill information, calling a rule model of the bill type, matching to obtain a corresponding processing rule based on the position marking information, calculating bill cost and returning.
Optionally, matching each attribute in the document information with a preset index position, so that the index position value corresponding to the index position is assigned to the matched attribute, including:
matching each attribute in the bill information with a preset mark position so as to sort the attributes according to a preset mark position sequence;
and then corresponding bit values are given to the sorted attributes.
Optionally, after obtaining the corresponding processing rule based on the matching of the bit information, the method includes:
acquiring state information of the corresponding processing rule, and judging whether the state information is enabled; if yes, calculating the bill cost according to the corresponding processing rule and returning a calculation result; if not, the processing fails and a failure message is returned.
Optionally, calculating the bill charge comprises:
inquiring the associated quotation model and the corresponding expense item information according to the corresponding processing rule obtained by matching;
and calculating bill cost according to the quotation model, and further outputting a calculation result and corresponding expense item information.
In addition, the invention also provides a price enquiring processing device, which comprises a receiving module, a price enquiring module and a price enquiring module, wherein the receiving module is used for receiving the invoice information sent by the service system; the processing module is used for matching each attribute in the bill information with a preset mark position so as to endow a mark position value corresponding to the mark position with the matched attribute and further generate mark position information corresponding to the bill information; and determining the type of the bill to which the bill belongs according to the bill information, calling a rule model of the bill type, matching to obtain a corresponding processing rule based on the position marking information, calculating bill cost and returning.
Optionally, the matching, by the processing module, each attribute in the document information with a preset index position, so that the index position value corresponding to the index position is assigned to the matched attribute, including:
matching each attribute in the bill information with a preset mark position so as to sort the attributes according to a preset mark position sequence;
and then corresponding bit values are given to the sorted attributes.
Optionally, after the processing module obtains the corresponding processing rule based on the matching of the bit information, the processing module includes:
acquiring state information of the corresponding processing rule, and judging whether the state information is enabled; if yes, calculating the bill cost according to the corresponding processing rule and returning a calculation result; if not, the processing fails and a failure message is returned.
Optionally, the processing module calculates a bill charge, including:
inquiring the associated quotation model and the corresponding expense item information according to the corresponding processing rule obtained by matching;
and calculating bill cost according to the quotation model, and further outputting a calculation result and corresponding expense item information.
One embodiment of the above invention has the following advantages or benefits: the invention simplifies the code, removes the fussy assembly process of the inquiry condition, and converts the inquiry elements of the document information into the mark information by using the mark; the inquiry conditions and the quotation are decoupled, the association relation between the position marking and the rule coding is increased, the logic combination relation of various inquiry conditions in the price inquiry process is converted into the matching process of the position marking and the rule, and the configuration is more flexible; moreover, the price inquiry condition is transparent, and the price inquiry condition of each quotation can be directly obtained by checking the association relationship between the mark position and the rule; in addition, the inquiry condition is changed due to the change of the service, the configuration information is directly modified, the inquiry condition can be changed, the system code does not need to be modified again, the system code does not need to be deployed again, and errors caused by the inquiry condition change are reduced.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a main flow of a price inquiry processing method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of the main flow of a price inquiry processing method according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of the major blocks of a query processing device according to an embodiment of the invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 5 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a price inquiry processing method according to a first embodiment of the present invention, as shown in fig. 1, the price inquiry processing method includes:
and step S101, receiving the invoice receipt information sent by the business system.
In an embodiment, the business system generates billing documents of the waybill, for example, document information generated when the waybill is put in due, service documents such as a large delivery service, a large pure distribution (pure distribution refers to that only delivery service is provided and no other related warehousing service is provided compared with warehousing distribution), and value-added services generated by these services, for example, a large delivery guarantee price, a large commodity-based collection payment service (a commission charge for collecting commodities by a customer, a logistics company collects a commodity sale price on behalf of the customer, and collects a certain service fee to the customer).
As a specific embodiment, a certain large-piece pure distribution bill A, the bill type is a large-piece pure distribution bill, the adopted charging products are specially benefited, the charging nodes are collected, and the value-added services comprise price guarantee and collection of goods payment. When the freight note A is paid, the service system sends the data information (such as the information of client code, sku code, weight, volume, number of pieces, premium amount, amount of collected goods and the like) to the charging system.
And S102, matching each attribute in the bill information with a preset position, so that the position value corresponding to the position is endowed with the matched attribute, and further generating position information corresponding to the bill information.
In some embodiments, matching each attribute in the document information with a preset index position, so that the specific implementation process of assigning the index position value corresponding to the index position to the matched attribute includes:
matching each attribute in the bill information with a preset mark position so as to sort the attributes according to a preset mark position sequence; and then corresponding bit values are given to the sorted attributes.
As a specific embodiment, the charging system marks the attributes in the bill information of the waybill a based on a preset bit list, and matches the bit value in the bit list according to the attribute value of each attribute:
the charging product (i.e. attribute) is 93 bits, and the place value (i.e. place value in the place list corresponding to the attribute value) is 5;
the bill status (i.e. attribute) flag bit is 51 bits, and the flag value (i.e. the flag value in the flag bit list corresponding to the attribute value) is L;
whether a mark bit of a guaranteed price (namely an attribute) is 5 bits, and a mark bit value (namely a mark bit value in a mark bit list corresponding to the attribute value) is 1;
whether a mark position of a goods collection money (namely an attribute) is 9 bits, and a mark position value (namely a mark position value in a mark position list corresponding to the attribute value) is 1;
the default value of other index bits is 0, so the index bit information of the document a is: 00001000100000000000000000000000000000000000000000L 00000000000000000000000000000000000005000000000000000000000000000
And S103, determining the type of the bill according to the bill information, calling a rule model of the bill type, matching to obtain a corresponding processing rule based on the position marking information, calculating bill cost and returning.
In the embodiment, the type of the bill to which the bill belongs is inquired according to the bill information, and then the corresponding processing rule is obtained by calling the rule model matching of the bill type, one bill type may match a plurality of corresponding processing rules, because one bill may charge a plurality of fees, such as freight fees, premium fees, fees charged for payment and handling fees, and the like.
According to the position information, the inquired processing rules are filtered based on the rule model (for example, based on the rule description in the rule model to match the processing rules), the bills of the same service type can be charged with different fee items, such as the bill A charges the freight fee, the premium fee (the premium fee: if the premium mail is lost, damaged or short, the premium fee is compensated according to the actual loss value, but the maximum premium fee does not exceed the premium amount of the related mail, the fee generated by the service is the premium fee), and the bill B charges the freight fee, and the commission fee of the goods charge is charged.
As a specific embodiment, the invoice A queries corresponding processing rules of the invoice according to an invoice type 'major part pure distribution invoice (DJCPYD)', wherein one invoice type may match a plurality of rules, and the invoice comprises a plurality of expense items. All rules for DJCPYD are shown in the following table (i.e., rule model):
Figure BDA0002886320980000061
the inquired information is all possible fee items of DJCPYD, but for the actual fees charged by the waybill A, the bills need to be further filtered according to the position marking information of the bills. Namely, by matching the rule description in the form information with the position marking information of the bill information of the actual invoice A, the final matched rule of the bill A is as follows: DJYD _ CHPJD _ LS (Large piece of pure freight forward freight), DJYD _ DJDSHKCHP (Large piece of pure freight receiving fee), DJYD _ DJPSBJCHP (Large piece of pure freight).
In some embodiments, after obtaining the corresponding processing rule based on the bit information matching, state information of the corresponding processing rule may also be obtained, and whether the state information is enabled is determined; if yes, calculating the bill cost according to the corresponding processing rule and returning a calculation result; if not, the processing fails and a failure message is returned. For example: if the information of the column of the 'state' in the table is extracted, then whether the state information is enabled is judged.
As another embodiment, when calculating the bill charge, the associated quotation model and the corresponding expense item information can be queried according to the corresponding processing rule obtained by matching; and calculating bill cost according to the quotation model, and further outputting a calculation result and corresponding expense item information.
That is, corresponding quotation lists can be generated according to different expense item information, that is, the related quotation list is inquired according to the corresponding processing rule obtained by matching, that is, the quotation is inquired, and then charging is carried out. Wherein the quotation is mainly used for the quotation of the supplier to the client, like a price list. The quotation, namely the logistics company, provides services for the client, and the calculation basis for collecting the service fee is generally based on the contract signed by the logistics company and the client.
Fig. 2 is a schematic diagram illustrating a main flow of a price inquiry processing method according to a second embodiment of the present invention, where the price inquiry processing method may include:
step S201, receiving the invoice receipt information sent by the business system.
Step S202, each attribute in the bill information is matched with a preset mark position, and the attributes are sequenced according to a preset mark position sequence.
Step S203, corresponding index bit values are given to the sorted attributes.
And step S204, generating position marking information corresponding to the bill information.
And S205, determining the type of the bill according to the bill information, and calling a rule model of the bill type.
And step S206, obtaining a corresponding processing rule based on the index bit information matching.
And step S207, inquiring the associated quotation model and the corresponding expense item information according to the corresponding processing rule obtained by matching.
And S208, calculating the bill expense according to the quotation model, and further outputting and returning a calculation result and corresponding expense item information.
In conclusion, the invention can improve the system stability, simplify the implementation of price inquiry codes, simplify the configuration of quotation, reduce the complexity of business operation and increase the transparency of price inquiry conditions. The method is not only suitable for price inquiry, but also can be used in other scenes of inquiring the required object information according to different conditions. The association relationship between the marker bits and the rules needs to be configured according to a specific service scenario.
Figure 3 is a schematic diagram of the main blocks of a query processing apparatus according to an embodiment of the present invention, and as shown in figure 3, query processing apparatus 300 includes a receiving module 301 and a processing module 302. The receiving module 401 receives the invoice information sent by the business system; the processing module 302 matches each attribute in the document information with a preset position, so that the position value corresponding to the position is endowed with the matched attribute, and further position information corresponding to the document information is generated; and determining the type of the bill to which the bill belongs according to the bill information, calling a rule model of the bill type, matching to obtain a corresponding processing rule based on the position marking information, calculating bill cost and returning.
In some embodiments, the processing module 302 matches each attribute in the document information with a preset index position, so that the index position value corresponding to the index position is assigned to the matched attribute, including:
matching each attribute in the bill information with a preset mark position so as to sort the attributes according to a preset mark position sequence;
and then corresponding bit values are given to the sorted attributes.
In some embodiments, after the processing module 302 obtains the corresponding processing rule based on the bit information matching, the processing module includes:
acquiring state information of the corresponding processing rule, and judging whether the state information is enabled; if yes, calculating the bill cost according to the corresponding processing rule and returning a calculation result; if not, the processing fails and a failure message is returned.
In some embodiments, the processing module 302 calculates a bill charge, including:
inquiring the associated quotation model and the corresponding expense item information according to the corresponding processing rule obtained by matching;
and calculating bill cost according to the quotation model, and further outputting a calculation result and corresponding expense item information.
It should be noted that, the price inquiry processing method and the price inquiry processing device of the present invention have corresponding relation in the implementation contents, so the repeated contents are not described again.
Fig. 4 illustrates an exemplary system architecture 400 to which a query processing method or query processing apparatus of an embodiment of the invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. The terminal devices 401, 402, 403 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 401, 402, 403 may be various electronic devices having a query processing screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 401, 402, 403. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the price inquiry processing method provided by the embodiment of the present invention is generally executed by the server 405, and accordingly, the computing device is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, shown is a block diagram of a computer system 500 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the computer system 500 are also stored. The CPU501, ROM502, and RAM503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output section 507 including a display such as a Cathode Ray Tube (CRT), a liquid crystal price inquiry processor (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a receiving module and a processing module. Wherein the names of the modules do not in some cases constitute a limitation of the module itself.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include receiving invoice information sent by a business system; matching each attribute in the bill information with a preset mark position so as to endow a mark position value corresponding to the mark position with the matched attribute, and further generating mark position information corresponding to the bill information; and determining the type of the bill to which the bill belongs according to the bill information, calling a rule model of the bill type, matching to obtain a corresponding processing rule based on the position marking information, calculating bill cost and returning.
According to the technical scheme of the embodiment of the invention, the problems of complicated price inquiry process and difficulty in reuse in the prior art can be solved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A price inquiry processing method, comprising:
receiving invoice information sent by a business system;
matching each attribute in the bill information with a preset mark position so as to endow a mark position value corresponding to the mark position with the matched attribute, and further generating mark position information corresponding to the bill information;
and determining the type of the bill to which the bill belongs according to the bill information, calling a rule model of the bill type, matching to obtain a corresponding processing rule based on the position marking information, calculating bill cost and returning.
2. The method of claim 1, wherein matching each attribute in the document information with a preset index position so that the index position value corresponding to the index position is assigned to the matched attribute comprises:
matching each attribute in the bill information with a preset mark position so as to sort the attributes according to a preset mark position sequence; and then corresponding bit values are given to the sorted attributes.
3. The method of claim 1, wherein after obtaining the corresponding processing rule based on the matching of the index information, the method comprises:
acquiring state information of the corresponding processing rule, and judging whether the state information is enabled; if yes, calculating the bill cost according to the corresponding processing rule and returning a calculation result; if not, the processing fails and a failure message is returned.
4. A method according to any of claims 1 to 3, wherein calculating a charge for a document comprises:
inquiring the associated quotation model and the corresponding expense item information according to the corresponding processing rule obtained by matching;
and calculating bill cost according to the quotation model, and further outputting a calculation result and corresponding expense item information.
5. A price inquiry processing apparatus, comprising:
the receiving module is used for receiving the invoice information sent by the business system;
the processing module is used for matching each attribute in the bill information with a preset mark position so as to endow a mark position value corresponding to the mark position with the matched attribute and further generate mark position information corresponding to the bill information; and determining the type of the bill to which the bill belongs according to the bill information, calling a rule model of the bill type, matching to obtain a corresponding processing rule based on the position marking information, calculating bill cost and returning.
6. The apparatus according to claim 1, wherein the processing module matches each attribute in the document information with a preset index position, so that the index position value corresponding to the index position is assigned to the matched attribute, and the processing module comprises:
matching each attribute in the bill information with a preset mark position so as to sort the attributes according to a preset mark position sequence;
and then corresponding bit values are given to the sorted attributes.
7. The apparatus of claim 1, wherein the processing module, after obtaining the corresponding processing rule based on the matching of the bit information, comprises:
acquiring state information of the corresponding processing rule, and judging whether the state information is enabled; if yes, calculating the bill cost according to the corresponding processing rule and returning a calculation result; if not, the processing fails and a failure message is returned.
8. The apparatus of any of claims 5-7, wherein the processing module calculates a document charge comprising:
inquiring the associated quotation model and the corresponding expense item information according to the corresponding processing rule obtained by matching;
and calculating bill cost according to the quotation model, and further outputting a calculation result and corresponding expense item information.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202110014260.4A 2021-01-06 2021-01-06 Price inquiry processing method and device Active CN113780921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110014260.4A CN113780921B (en) 2021-01-06 2021-01-06 Price inquiry processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110014260.4A CN113780921B (en) 2021-01-06 2021-01-06 Price inquiry processing method and device

Publications (2)

Publication Number Publication Date
CN113780921A true CN113780921A (en) 2021-12-10
CN113780921B CN113780921B (en) 2023-12-05

Family

ID=78835411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110014260.4A Active CN113780921B (en) 2021-01-06 2021-01-06 Price inquiry processing method and device

Country Status (1)

Country Link
CN (1) CN113780921B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140188675A1 (en) * 2012-12-31 2014-07-03 Credit Suisse Securities (Usa) Llc Expense Calculation and Business Reporting Apparatuses, Methods, and Systems
CN108718241A (en) * 2018-05-09 2018-10-30 北京京东尚科信息技术有限公司 A kind of charging method and device
CN109814933A (en) * 2019-01-29 2019-05-28 腾讯科技(深圳)有限公司 A kind of business data processing method and device
CN111352932A (en) * 2018-12-20 2020-06-30 ***通信集团广东有限公司 Method and device for improving data processing efficiency based on bitmap tree algorithm
CN111414566A (en) * 2019-01-04 2020-07-14 北京京东尚科信息技术有限公司 Method and device for pushing information
CN111882386A (en) * 2020-07-20 2020-11-03 上海东普信息科技有限公司 Freight quotation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140188675A1 (en) * 2012-12-31 2014-07-03 Credit Suisse Securities (Usa) Llc Expense Calculation and Business Reporting Apparatuses, Methods, and Systems
CN108718241A (en) * 2018-05-09 2018-10-30 北京京东尚科信息技术有限公司 A kind of charging method and device
CN111352932A (en) * 2018-12-20 2020-06-30 ***通信集团广东有限公司 Method and device for improving data processing efficiency based on bitmap tree algorithm
CN111414566A (en) * 2019-01-04 2020-07-14 北京京东尚科信息技术有限公司 Method and device for pushing information
CN109814933A (en) * 2019-01-29 2019-05-28 腾讯科技(深圳)有限公司 A kind of business data processing method and device
CN111882386A (en) * 2020-07-20 2020-11-03 上海东普信息科技有限公司 Freight quotation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SANJAY K. SINGH等: "An inquiry into the cost structure of state transport undertakings in India", 《TRANSPORT POLICY》, vol. 32, pages 1 - 8, XP028626643, DOI: 10.1016/j.tranpol.2013.12.003 *
张永锋;: "一炼钢成本核算信息***的实施", 中小企业管理与科技(上旬刊), no. 12, pages 101 - 102 *

Also Published As

Publication number Publication date
CN113780921B (en) 2023-12-05

Similar Documents

Publication Publication Date Title
CN110751497A (en) Commodity replenishment method and device
CN112884405A (en) Inquiry system and scheduling method thereof
CN109034988A (en) A kind of accounting entry generation method and device
CN113031886A (en) Express bill printing method, system, equipment and storage medium
CN113259144A (en) Storage network planning method and device
CN114118888A (en) Order ex-warehouse method and device
CN108897729A (en) A kind of trading template sharing method, device, electronic equipment and storage medium
CN113326095A (en) Commission data processing method and device
CN107977876B (en) Method and device for processing order information
CN113780969A (en) Customs declaration method and system
CN113112048A (en) Method and device for returning articles to warehouse
CN113780921B (en) Price inquiry processing method and device
CN110826948A (en) Warehouse product selection method and device
CN113641633B (en) File processing method, apparatus, electronic device, medium, and computer program
CN111309722A (en) Data processing method and device
CN110969504A (en) Order canceling method and device
CN113496386A (en) Method and device for combined charging
CN113535769B (en) Method and device for inquiring information
CN115099865A (en) Data processing method and device
CN112651536A (en) Method and device for determining delivery address
CN111309932A (en) Comment data query method, device, equipment and storage medium
CN111695749A (en) Method and device for generating grouping tasks
CN113159859B (en) Expense adjustment method and device
CN109934692B (en) Method and device for automatically generating hedge certificates
CN110956430A (en) Department door recommendation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant