CN113780921B - Price inquiry processing method and device - Google Patents

Price inquiry processing method and device Download PDF

Info

Publication number
CN113780921B
CN113780921B CN202110014260.4A CN202110014260A CN113780921B CN 113780921 B CN113780921 B CN 113780921B CN 202110014260 A CN202110014260 A CN 202110014260A CN 113780921 B CN113780921 B CN 113780921B
Authority
CN
China
Prior art keywords
bill
information
matching
bid
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.)
Active
Application number
CN202110014260.4A
Other languages
Chinese (zh)
Other versions
CN113780921A (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

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

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 bill information sent by a service system; matching each attribute in the bill information with a preset index so as to enable an index value corresponding to the index to be endowed with the matched attribute, and further generating index information corresponding to the bill information; and determining the type of the bill according to the bill information, calling a rule model of the bill type to obtain a corresponding processing rule based on the matching of the mark information, calculating the bill cost and returning. Therefore, the embodiment of the invention can solve the problems of complicated price inquiry process and difficult multiplexing in the prior art.

Description

Price 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 warehouse allocation and value-added service for clients, makes different quotations for the clients based on the service, and charges a certain fee. After the service occurs, the offer information needs to be matched according to the information of the service document. The price inquiry is to match the cost items to be charged according to the bill information, and to match the unique quotation from the multiple quotations of each cost item. Since the conditions for each type of fee item to be polled may be different, it is necessary to customize different price-polling devices for each type of service. And the quotation information of the bill is obtained by logically (and/or) combining a plurality of conditions through code assembly and query conditions.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
currently, when a business strip or a price inquiring condition is newly added, a code needs to be modified to add a new inquiring condition. Moreover, it is necessary to construct huge query condition objects, each of which is different in query price condition, if one query condition object is created for each of the cost items, it is necessary to create a very large number of query condition objects, and common query conditions are difficult to multiplex. In addition, because the price inquiry conditions are written in the codes, service personnel cannot directly check the codes, even if documents are maintained, the condition that the codes of the system are inconsistent with the documents can occur, and therefore, the error cognition of the service personnel on the system occurs. Also, the quotation information redundantly contains various price-inquiring condition information, which results in complicated maintenance of the quotation.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a price inquiry processing method and device, which can solve the problems of complicated price inquiry process and difficult multiplexing in the prior art.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a method for processing a poll, including receiving bill information sent by a service system; matching each attribute in the bill information with a preset index so as to enable an index value corresponding to the index to be endowed with the matched attribute, and further generating index information corresponding to the bill information; and determining the type of the bill according to the bill information, calling a rule model of the bill type to obtain a corresponding processing rule based on the matching of the mark information, calculating the bill cost and returning.
Optionally, matching each attribute in the document information with a preset bid so as to enable a bid value corresponding to the bid to be endowed with the matched attribute, including:
matching each attribute in the bill information with a preset position to sort the attributes according to a preset position order;
and then the corresponding index value is given to the sorted attributes.
Optionally, after obtaining the corresponding processing rule based on the matching of the punctuation information, the method includes:
acquiring state information of the corresponding processing rule, and judging whether the state information is enabled or not; if yes, calculating bill cost according to the corresponding processing rule and returning a calculation result; if not, processing fails and a failure message is returned.
Optionally, calculating the bill cost includes:
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 cost item information.
In addition, the invention also provides a price inquiry processing device, which comprises a receiving module, a receiving module and a price inquiry processing module, wherein the receiving module is used for receiving bill information sent by a service system; the processing module is used for matching each attribute in the bill information with a preset index so as to enable the index value corresponding to the index to be endowed with the matched attribute, and further generating index information corresponding to the bill information; and determining the type of the bill according to the bill information, calling a rule model of the bill type to obtain a corresponding processing rule based on the matching of the mark information, calculating the bill cost and returning.
Optionally, the processing module matches each attribute in the document information with a preset bid, so that a bid value corresponding to the bid is endowed with a matched attribute, including:
matching each attribute in the bill information with a preset position to sort the attributes according to a preset position order;
and then the corresponding index value is given to the sorted attributes.
Optionally, after the processing module obtains the corresponding processing rule based on the matching of the index information, the processing module includes:
acquiring state information of the corresponding processing rule, and judging whether the state information is enabled or not; if yes, calculating bill cost according to the corresponding processing rule and returning a calculation result; if not, processing fails and a failure message is returned.
Optionally, the processing module calculates a bill cost, 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 cost item information.
One embodiment of the above invention has the following advantages or benefits: the invention simplifies codes, eliminates the complicated price inquiring condition assembling process, and converts price inquiring elements of bill information into position information by using the position; decoupling the query condition and the quotation, increasing the association relation between the bid position and the rule code, converting the logic combination relation of various query conditions in the price inquiring process into a matching process of the bid position and the rule, and ensuring more flexible configuration; furthermore, the price inquiring condition is transparent, and the price inquiring condition of each quotation can be directly obtained by checking the association relation between the bid position and the rule; in addition, the service is changed to cause the price inquiring condition to be changed, and the configuration information is directly modified, so that the price inquiring condition can be changed without modifying the system code again, and the price inquiring condition is redeployed, so that the errors caused by the price inquiring condition are reduced.
Further effects of the above-described non-conventional alternatives are 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 the main flow of a price polling processing method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of the main flow of a polling processing method according to a second embodiment of the invention;
FIG. 3 is a schematic diagram of the main modules of an enquiry processing apparatus according to an embodiment of the present invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 5 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered 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 the main flow of a query processing method according to a first embodiment of the present invention, as shown in FIG. 1, the query processing method includes:
step S101, receiving bill and receipt information sent by a service system.
In an embodiment, the service system generates billing documents of the shipping bill, such as bill information generated when the shipping bill is properly thrown, such as service documents of large-scale pick-up service, large-scale pure distribution (pure distribution refers to providing distribution service only and no other associated storage service relative to warehouse distribution), and value added services generated by the service, such as large-scale distribution and price-keeping service, large-scale collection service (collection fee refers to selling goods by customers, selling price by customers by logistics companies, and collecting a certain service fee to customers), and the like.
As a specific embodiment, a large piece of pure freight bill A is adopted, the bill type is the large piece of pure freight bill A, the adopted charging product is specially provided, the charging node is for collecting, and the value-added service comprises the protection and the collection of goods. And when the business system is used for making the bill A, bill information (such as information of customer codes, sku codes, weight, volume, number of pieces, insurance amount, deposit amount and the like) is sent to the charging system by the business system.
Step S102, each attribute in the bill information is matched with a preset index, so that the index value corresponding to the index is endowed with the matched attribute, and index information corresponding to the bill information is generated.
In some embodiments, the specific implementation process of matching each attribute in the document information with a preset bid so that a bid value corresponding to the bid is endowed with the matched attribute includes:
matching each attribute in the bill information with a preset position to sort the attributes according to a preset position order; and then the corresponding index value is 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 bid list, and matches the bid values in the bid list according to the attribute values of each attribute:
billing product (i.e., attribute) bid = 93 bits, bid value (i.e., attribute value corresponds to bid value in bid list) =5;
document state (i.e., attribute) bid = 51 bits, bid value (i.e., attribute value corresponds to the bid value in the bid list) = L;
whether there is a guard (i.e., attribute) bid = 5 bits, a bid value (i.e., attribute value corresponds to a bid value in the bid list) =1;
whether there is a deposit (i.e., attribute) bid = 9 bits, and the bid value (i.e., attribute value corresponds to the bid value in the bid list) =1;
other punctuation default = 0, therefore, the punctuation information for document a is: 00001000100000000000000000000000000000000000000000L000000000000000000000000000000000000000005000000000000000000000000000
Step S103, determining the type of the bill according to the bill information, calling a rule model of the bill type to obtain a corresponding processing rule based on the matching of the index information, calculating the bill cost and returning.
In an embodiment, the document type is queried according to the document information, and then the rule model of the document type is invoked to match to obtain the corresponding processing rule, and one document type may match to a plurality of corresponding processing rules, because one bill may charge a plurality of fees, for example, fee items, such as freight fees, insurance fees, and payment charges, etc.
According to the bid information, the processing rules queried are filtered based on the rule model (for example, matching processing rules are described based on rules in the rule model), and the possible fee items of the receipts of the same service type are different, for example, the freight bill A charges freight fees and the fee maintenance fees (fee maintenance: fee maintenance mails are paid according to actual lost value if loss, damage or shortness, but the fee generated by the service is the fee maintenance fee.) the freight bill B charges freight fees instead of fee payment.
As a specific embodiment, the bill a queries the corresponding processing rules of the type of bill according to the bill type "large piece of pure delivery bill (DJCPYD)", and one bill type may match multiple rules, and the bill contains multiple expense items. All rules corresponding to DJCPYD are shown in the following table (namely rule model):
the queried information is all possible expense items of DJCPYD, but which fees are actually charged for the bill A, and the fees need to be further filtered according to the mark information of the bill. The rule description in the table information and the mark information of the actual bill A bill information are matched, and the rule which can be matched by the final bill A is as follows: DJYD_CHPJD_LS (large piece of pure forward freight), DJYD_DJDSHKCHP (large piece of pure substitute payment commission), DJYD_DJPSBJCHP (large piece of pure premium).
In some embodiments, after the corresponding processing rule is obtained based on the matching of the index information, state information of the corresponding processing rule may be further obtained, and whether the state information is enabled is determined; if yes, calculating bill cost according to the corresponding processing rule and returning a calculation result; if not, processing fails and a failure message is returned. For example: if the information in the column of the "state" in the table is extracted, then judging whether the state information is enabled.
As other embodiments, when calculating the bill cost, the associated quotation model and the corresponding cost 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 cost item information.
That is, corresponding quotation can be generated for different fee item information, that is, according to the corresponding processing rule obtained by matching, the associated quotation is queried, that is, the quotation is obtained by polling, and then charging is performed. Wherein, the quotation is mainly used for quoting the customers by the suppliers, and is similar to a price list. The quotation referred to in the invention, namely the logistics company, provides services for clients, and the calculation basis for collecting service fees is generally based on contracts signed by the logistics company and the clients.
FIG. 2 is a schematic diagram of the main flow of a query processing method according to a second embodiment of the present invention, where the query processing method may include:
step S201, receiving bill and receipt information sent by a service system.
Step S202, each attribute in the bill information is matched with a preset index, so that the attributes are ordered according to a preset index sequence.
Step S203, corresponding index values are given to the sorted attributes.
Step S204, generating the index information corresponding to the bill information.
Step S205, determining the type of the bill according to the bill information, and calling a rule model of the type of the bill.
And step S206, matching and obtaining corresponding processing rules based on the punctuation information.
Step S207, according to the corresponding processing rules obtained by matching, the associated quotation model and the corresponding expense item information are queried.
Step S208, calculating bill cost according to the quotation model, and further outputting and returning a calculation result and corresponding cost item information.
In conclusion, the invention can improve the system stability, simplify the realization of price inquiring codes, simplify the configuration of quotation, reduce the complexity of business operation and increase the transparency of price inquiring conditions. The invention is not only suitable for price inquiry, but also can be used in other scenes for inquiring the needed object information according to different conditions. The association relation between the targets and the rules needs to be configured according to specific service scenes.
FIG. 3 is a schematic diagram of main modules of an enquiry processing apparatus according to an embodiment of the present invention, and as shown in FIG. 3, the enquiry processing apparatus 300 includes a receiving module 301 and a processing module 302. Wherein, the receiving module 401 receives the bill information sent by the service system; the processing module 302 matches each attribute in the bill information with a preset index so as to enable the index value corresponding to the index to be endowed with the matched attribute, and then generates index information corresponding to the bill information; and determining the type of the bill according to the bill information, calling a rule model of the bill type to obtain a corresponding processing rule based on the matching of the mark information, calculating the bill cost and returning.
In some embodiments, the processing module 302 matches each attribute in the document information with a preset bid, so that a bid value corresponding to the bid is assigned a matched attribute, including:
matching each attribute in the bill information with a preset position to sort the attributes according to a preset position order;
and then the corresponding index value is given to the sorted attributes.
In some embodiments, after the processing module 302 obtains the corresponding processing rule based on the matching of the punctuation information, the processing module includes:
acquiring state information of the corresponding processing rule, and judging whether the state information is enabled or not; if yes, calculating bill cost according to the corresponding processing rule and returning a calculation result; if not, processing fails and a failure message is returned.
In some embodiments, the processing module 302 calculates a bill cost, 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 cost item information.
It should be noted that, in the present invention, the price inquiry processing method and the price inquiry processing device have a corresponding relationship in the concrete implementation content, so the repeated content is not described.
FIG. 4 illustrates an exemplary system architecture 400 in which the query processing method or query processing apparatus of embodiments of the present 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 is used as a medium to provide communication links between the terminal devices 401, 402, 403 and the server 405. The network 404 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 405 via the network 404 using the terminal devices 401, 402, 403 to receive or send messages or the like. Various communication client applications, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on the terminal devices 401, 402, 403.
The terminal devices 401, 402, 403 may be a variety of electronic devices with a price-inquiring screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 405 may be a server providing various services, such as a background management server (by way of example only) providing support for shopping-type websites browsed by users using the terminal devices 401, 402, 403. The background management server may analyze and process the received data such as the product information query request, and feedback the processing result (e.g., the target push information, the product information—only an example) to the terminal device.
It should be noted that, the query processing method provided in 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, there is illustrated a schematic diagram of a computer system 500 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 5 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU) 501, which 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 required for the operation of the computer system 500 are also stored. The CPU501, ROM502, and RAM503 are connected to each other through 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 section 506 including a keyboard, a mouse, and the like; an output section 507 including a Cathode Ray Tube (CRT), a liquid crystal polling processor (LCD), and the like, and a speaker, and the like; 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 drive 510 is also connected to the I/O interface 505 as needed. 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 needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to 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 shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 501.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 context of this document, 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, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts 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 involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor includes a receiving module and a processing module. The names of these modules do not constitute a limitation on the module itself in some cases.
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 present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by one of the devices, cause the device to include receipt information sent by the business system; matching each attribute in the bill information with a preset index so as to enable an index value corresponding to the index to be endowed with the matched attribute, and further generating index information corresponding to the bill information; and determining the type of the bill according to the bill information, calling a rule model of the bill type to obtain a corresponding processing rule based on the matching of the mark information, calculating the bill cost and returning.
According to the technical scheme provided by the embodiment of the invention, the problems that the existing price inquiring process is complex and difficult to reuse can be solved.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of processing a poll for a price, comprising:
receiving bill information sent by a service system;
matching each attribute in the bill information with a preset bid so that a bid value corresponding to the bid is endowed with the matched attribute, and generating the bid information corresponding to the bill information comprises the following steps: matching each attribute in the bill information with a preset index to sort the attributes according to a preset index sequence, and giving corresponding index values to the sorted attributes;
and determining the type of the bill according to the bill information, calling a rule model of the bill type to obtain a corresponding processing rule based on the matching of the mark information, calculating the bill cost and returning.
2. The method of claim 1, wherein matching each attribute in the document information with a preset bid so that a bid value corresponding to the bid is assigned a matched attribute, comprises:
matching each attribute in the bill information with a preset position to sort the attributes according to a preset position order; and then the corresponding index value is given to the sorted attributes.
3. The method of claim 1, wherein after obtaining the corresponding processing rule based on the matching of the benchmarking information, comprising:
acquiring state information of the corresponding processing rule, and judging whether the state information is enabled or not; if yes, calculating bill cost according to the corresponding processing rule and returning a calculation result; if not, processing fails and a failure message is returned.
4. A method according to any one of claims 1 to 3, wherein calculating the document cost 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 cost item information.
5. An enquiry processing device, comprising:
the receiving module is used for receiving the bill and receipt information sent by the service system;
the processing module is configured to match each attribute in the document information with a preset bid, so that a bid value corresponding to the bid is given to the matched attribute, and further, the generating the bid information corresponding to the document information includes: matching each attribute in the bill information with a preset index to sort the attributes according to a preset index sequence, and giving corresponding index values to the sorted attributes; and determining the type of the bill according to the bill information, calling a rule model of the bill type to obtain a corresponding processing rule based on the matching of the mark information, calculating the bill cost and returning.
6. The apparatus of claim 5, wherein the processing module matches each attribute in the document information with a preset bid to assign a matching attribute to a bid value corresponding to the bid, comprising:
matching each attribute in the bill information with a preset position to sort the attributes according to a preset position order;
and then the corresponding index value is given to the sorted attributes.
7. The apparatus of claim 5, wherein the processing module, after deriving the corresponding processing rule based on the matching of the benchmarking information, comprises:
acquiring state information of the corresponding processing rule, and judging whether the state information is enabled or not; if yes, calculating bill cost according to the corresponding processing rule and returning a calculation result; if not, processing fails and a failure message is returned.
8. The apparatus of any one of claims 5-7, wherein the processing module calculates a bill cost 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 cost item information.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-4.
10. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any 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 CN113780921A (en) 2021-12-10
CN113780921B true 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014106272A1 (en) * 2012-12-31 2014-07-03 Credit Suisse Securities (Usa) Llc Expense calculation and business reporting apparatuses, methods, and systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
An inquiry into the cost structure of state transport undertakings in India;Sanjay K. Singh等;《Transport Policy》;第32卷;1-8 *
一炼钢成本核算信息系统的实施;张永锋;;中小企业管理与科技(上旬刊)(12);101-102+104 *

Also Published As

Publication number Publication date
CN113780921A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN110751497A (en) Commodity replenishment method and device
WO2022237667A1 (en) Method and apparatus for determining order fulfillment warehouse
CN112884405A (en) Inquiry system and scheduling method thereof
CN110648089A (en) Method and device for determining delivery timeliness of articles
CN108897729A (en) A kind of trading template sharing method, device, electronic equipment and storage medium
CN113780921B (en) Price inquiry processing method and device
CN113761565A (en) Data desensitization method and apparatus
CN113112048A (en) Method and device for returning articles to warehouse
CN115330540A (en) Method and device for processing transaction data
CN113535769B (en) Method and device for inquiring information
CN113792039B (en) Data processing method and device, electronic equipment and storage medium
CN110956514A (en) Method and device for generating order information
CN112785358A (en) Order fulfillment merchant access method and device
CN112651536A (en) Method and device for determining delivery address
CN111833037A (en) Account management method and device
CN111309932A (en) Comment data query method, device, equipment and storage medium
CN112418898A (en) Article demand data analysis method and device based on multi-time window fusion
CN110956430A (en) Department door recommendation method and device
US20130054364A1 (en) Offer selection system
CN110826948A (en) Warehouse product selection method and device
CN111291038B (en) Data query method and device
CN110895777A (en) Method and device for processing overtime service list
CN113496386A (en) Method and device for combined charging
CN110796506A (en) Abnormal order judgment method and device
CN112783956B (en) Information processing 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