CN112488637A - Method and device for collecting inventory information of finished oil, storage medium and electronic equipment - Google Patents

Method and device for collecting inventory information of finished oil, storage medium and electronic equipment Download PDF

Info

Publication number
CN112488637A
CN112488637A CN202011511542.7A CN202011511542A CN112488637A CN 112488637 A CN112488637 A CN 112488637A CN 202011511542 A CN202011511542 A CN 202011511542A CN 112488637 A CN112488637 A CN 112488637A
Authority
CN
China
Prior art keywords
product oil
information
finished product
sold
target server
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.)
Pending
Application number
CN202011511542.7A
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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN202011511542.7A priority Critical patent/CN112488637A/en
Publication of CN112488637A publication Critical patent/CN112488637A/en
Pending legal-status Critical Current

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/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/123Tax preparation or submission
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Technology Law (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Agronomy & Crop Science (AREA)
  • Animal Husbandry (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Mining & Mineral Resources (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a method, a device, a storage medium and electronic equipment for acquiring product oil inventory information, wherein the method comprises the steps of sending an authority verification request message to a target server at preset time so that the target server determines whether an acquisition client has product oil inventory information inquiry authority or not according to a tax number; receiving a query time period sent by a target server under the condition that the target server determines that a client side has a finished product oil inventory information query authority; sending a finished product oil information query request to an invoicing client, wherein the finished product oil information query request comprises a query time period, so that the invoicing client acquires the quantity information of the sold finished product oil in the query time period according to the finished product oil information query request; receiving the quantity information of sold product oil sent by an invoicing client; and sending the quantity information of the sold finished product oil to a target server so that the target server determines the current residual finished product oil inventory information according to the quantity information of the sold finished product oil.

Description

Method and device for collecting inventory information of finished oil, storage medium and electronic equipment
Technical Field
The disclosure relates to the field of automatic control, in particular to a method and a device for collecting storage information of a finished oil product, a storage medium and electronic equipment.
Background
Legal tax payment is a basic obligation of citizens, and the phenomena of tax evasion and tax leakage cannot be avoided for a long time. Gas station enterprises are one of the main sources of taxes in China, and a serious tax evasion phenomenon exists all the time, and in addition, obvious loopholes exist in the supervision of the gas station enterprise operation conditions by the current tax department, for example, the tax department cannot timely and accurately know the quantity of finished oil stored in the gas station currently.
Usually, the phenomena of tax evasion of enterprises in the gas station can not be found in time under the condition that the quantity of the product oil currently stored in the gas station is unknown, so that the tax payment condition of the enterprises in the gas station is difficult to effectively supervise.
Disclosure of Invention
The invention aims to provide a method and a device for acquiring product oil inventory information, a storage medium and electronic equipment.
In order to achieve the above object, a first aspect of the present disclosure provides a product oil inventory information collecting method applied to a collecting client, the method including:
sending an authority verification request message to a target server at preset time, wherein the authority verification request message comprises a tax number of an invoicing main body, so that the target server determines whether the acquisition client side has finished product oil inventory information inquiry authority or not according to the tax number;
under the condition that the target server determines that the client side has the finished product oil inventory information inquiry authority, receiving an inquiry time period sent by the target server;
sending a finished product oil information query request to an invoicing client, wherein the finished product oil information query request comprises the query time period, so that the invoicing client acquires the quantity information of the sold finished product oil in the query time period according to the finished product oil information query request;
receiving the quantity information of the sold finished oil sent by the invoicing client;
and sending the quantity information of the sold finished oil to the target server so that the target server determines the current residual finished oil inventory information according to the quantity information of the sold finished oil.
Optionally, the invoicing client includes a target plug-in, and before sending the product oil information query request to the invoicing client, the method further includes:
generating the product oil information query request according to the query time period;
encrypting the product oil information query request in a preset encryption mode to obtain the encrypted product oil information query request;
correspondingly, the sending of the product oil information query request to the invoicing client includes:
sending the encrypted product oil information query request to the target plugin, so that the target plugin generates the encrypted product oil quantity information under the condition that the quantity information of the sold product oil in the query time period is obtained according to the product oil information query request, and sends the encrypted product oil quantity information to the acquisition client.
Optionally, the method further comprises:
after the sold product oil quantity information is sent, if it is determined that the receiving feedback information sent by the target server is not received when a first preset time period is reached, the receiving feedback information is used for representing the receiving state of the target server for the sold product oil quantity information, the current times of sending the sold product oil quantity information to the target server in a second preset time period are obtained, and under the condition that the current times is determined to be smaller than or equal to a preset times threshold value, the sold product oil quantity information is sent to the target server, and the current times are updated.
A second aspect of the present disclosure provides a product oil inventory information collecting method, applied to a target server, the method including:
in response to receiving permission verification request information sent by the acquisition client, the permission verification request information comprises a tax number of the invoicing main body, sending a preset inquiry time period to the acquisition client under the condition that the acquisition client has the finished product oil inventory information inquiry authority according to the tax number of the invoicing main body, so that the acquisition client sends a finished product oil information query request to the invoicing client after receiving the query time period, wherein the finished product oil information query request comprises the query time period, so that the invoicing client side obtains the sold finished product oil quantity information in the query time period according to the finished product oil information query request and sends the sold finished product oil quantity information to the acquisition client side, so that the acquisition client side sends the quantity information of the sold finished oil to the target server;
and determining the current residual finished oil inventory information in response to receiving the quantity information of the sold finished oil sent by the acquisition client.
A third aspect of the present disclosure provides a finished oil inventory information acquisition device, which is applied to an acquisition client, the device includes:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending an authority verification request message to a target server at preset time, and the authority verification request message comprises a tax number of an invoicing main body, so that the target server determines whether a collection client side has finished product oil inventory information inquiry authority or not according to the tax number;
the first receiving module is used for receiving the query time period sent by the target server under the condition that the target server determines that the client side has the finished product oil inventory information query authority;
the second sending module is used for sending a finished product oil information query request to the invoicing client, wherein the finished product oil information query request comprises the query time period, so that the invoicing client can obtain the quantity information of the sold finished product oil in the query time period according to the finished product oil information query request;
the second receiving module is used for receiving the quantity information of the sold finished oil sent by the invoicing client;
and the third sending module is used for sending the quantity information of the sold finished product oil to the target server so that the target server can determine the current residual finished product oil inventory information according to the quantity information of the sold finished product oil.
Optionally, the billing client includes a target plug-in, and the apparatus further includes:
the generating module is used for generating the product oil information query request according to the query time period;
the encryption module is used for encrypting the product oil information inquiry request in a preset encryption mode to obtain the encrypted product oil information inquiry request;
accordingly, the second sending module is configured to:
sending the encrypted product oil information query request to the target plugin, so that the target plugin generates the encrypted product oil quantity information under the condition that the quantity information of the sold product oil in the query time period is obtained according to the product oil information query request, and sends the encrypted product oil quantity information to the acquisition client.
Optionally, the apparatus further comprises:
and the determining module is used for obtaining the current times of sending the sold product oil quantity information to the target server within a second preset time period if the receiving feedback information sent by the target server is determined not to be received within a first preset time period after the sold product oil quantity information is sent, and the receiving feedback information is used for representing the receiving state of the target server on the sold product oil quantity information, and sending the sold product oil quantity information to the target server and updating the current times under the condition that the current times is determined to be less than or equal to a preset time threshold.
A fourth aspect of the present disclosure provides a finished oil depot information acquisition device, applied to a target server, the device comprising:
a fourth sending module, configured to respond to receiving permission verification request information sent by the collection client, where the permission verification request information includes a tax number of the main invoicing body, sending a preset inquiry time period to the acquisition client under the condition that the acquisition client has the finished product oil inventory information inquiry authority according to the tax number of the invoicing main body, so that the acquisition client sends a finished product oil information query request to the invoicing client after receiving the query time period, wherein the finished product oil information query request comprises the query time period, so that the invoicing client side obtains the sold finished product oil quantity information in the query time period according to the finished product oil information query request and sends the sold finished product oil quantity information to the acquisition client side, so that the acquisition client side sends the quantity information of the sold finished oil to the target server;
and the third receiving module is used for responding to the quantity information of the sold finished oil sent by the acquisition client and determining the stock information of the currently remaining finished oil.
A fifth aspect of the present disclosure provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect above;
alternatively, the program when executed by a processor implements the steps of the method of the second aspect above.
A sixth aspect of the present disclosure provides an electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of the first aspect above;
or the processor, configured to execute the computer program in the memory to implement the steps of the method of the second aspect.
According to the technical scheme, the authority verification request message is sent to the target server at preset time and comprises the tax number of the invoicing main body, so that the target server determines whether the acquisition client side has the finished product oil inventory information inquiry authority or not according to the tax number; under the condition that the target server determines that the client side has the finished product oil inventory information inquiry authority, receiving an inquiry time period sent by the target server; sending a finished product oil information query request to an invoicing client, wherein the finished product oil information query request comprises the query time period, so that the invoicing client acquires the quantity information of the sold finished product oil in the query time period according to the finished product oil information query request; receiving the quantity information of the sold finished oil sent by the invoicing client; and sending the quantity information of the sold finished oil to the target server so that the target server determines the current residual finished oil inventory information according to the quantity information of the sold finished oil. Like this, can make this collection client side gather through this client side of making an invoice and sell finished product oil quantity information to this target server with this finished product oil quantity information of selling, thereby can in time effectually acquire current finished product oil warehouse through this target server and deposit the information, can effectively master the oil condition of selling in filling station, promote the monitoring efficiency to filling station enterprise, thereby can effectively reduce the phenomenon that the enterprise of filling station was taxed and was leaked.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a method of product oil inventory information collection according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method of product oil inventory information collection according to another exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating a method of product oil inventory information collection according to yet another exemplary embodiment of the present disclosure;
FIG. 4 is a block diagram of a finished oil inventory information collection device shown in yet another exemplary embodiment of the present disclosure;
FIG. 5 is a block diagram of a finished oil inventory information collection device shown in yet another exemplary embodiment of the present disclosure;
FIG. 6 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Before describing the specific embodiments of the present disclosure in detail, the following description is first made on the application scenario of the present disclosure, and the present disclosure may be applied to a process of monitoring tax payment status of a gas station enterprise by a tax department, and may also be applied to a process of monitoring operation status of the gas station enterprise by other higher level monitoring departments of the gas station enterprise. At present, the way that the tax department and other upper supervision departments of the gas station know the finished oil inventory information of the gas station enterprise is generally manually reported, the quantity manually reported is obtained by counting of workers of the gas station enterprise, and thus, conditions are provided for false reporting and missing reporting, and convenience is provided for tax evasion and tax evasion. That is to say, the current tax department and other higher level supervision departments of the gas station enterprise cannot accurately know the quantity of the product oil currently stored in the gas station in time. Therefore, the tax department cannot find the tax evasion phenomenon of the enterprise of the gas station in time under the condition that the quantity of the product oil stored in the gas station at present cannot be known, and the tax payment condition of the enterprise of the gas station is difficult to effectively monitor.
In order to solve the technical problems, the present disclosure provides a method, an apparatus, a storage medium and an electronic device for acquiring product oil inventory information, where the method sends an authority verification request message to a target server at a preset time, where the authority verification request message includes a tax number of an invoicing main body, so that the target server determines whether an acquisition client has a product oil inventory information inquiry authority according to the tax number; receiving a query time period sent by the target server under the condition that the target server determines that the client side has the product oil inventory information query authority; sending a finished product oil information query request to an invoicing client, wherein the finished product oil information query request comprises the query time period, so that the invoicing client acquires the quantity information of the sold finished product oil in the query time period according to the finished product oil information query request; receiving the quantity information of the sold product oil sent by the billing client; and sending the quantity information of the sold finished product oil to the target server so that the target server determines the current residual finished product oil inventory information according to the quantity information of the sold finished product oil. Like this, can make this collection client side gather through this client side of making an invoice and sell finished product oil quantity information to this target server with this finished product oil quantity information of selling, thereby can in time effectually acquire current finished product oil warehouse through this target server and deposit the information, can effectively master the oil condition of selling in filling station, promote the monitoring efficiency to filling station enterprise, thereby can effectively reduce the phenomenon that the enterprise of filling station was taxed and was leaked.
The present disclosure is described below with reference to specific examples.
FIG. 1 is a flow chart illustrating a method of product oil inventory information collection according to an exemplary embodiment of the present disclosure; referring to fig. 1, the method for acquiring product oil inventory information is applied to an acquisition client, and may include the following steps:
step 101, sending an authority verification request message to a target server at a preset time, wherein the authority verification request message includes a tax number of an invoicing main body, so that the target server determines whether the acquisition client has a finished product oil inventory information inquiry authority or not according to the tax number.
The preset time can be a certain time and a certain minute within a certain day of a certain month of a certain year, and the invoicing main body can be a taxpayer such as an individual, an enterprise and the like.
And 102, receiving the query time period sent by the target server under the condition that the target server determines that the client has the product oil inventory information query authority.
In this step, when the target server determines that the acquisition client has the finished product oil inventory information inquiry authority, the inquiry time period corresponding to the tax number of the invoicing main body in the authority verification request message can be acquired from the locally stored data, and the inquiry time period is sent to the acquisition client.
Step 103, sending a finished product oil information query request to the invoicing client, wherein the finished product oil information query request includes the query time period, so that the invoicing client obtains the quantity information of the sold finished product oil in the query time period according to the finished product oil information query request.
The product oil information query request can be formed by splicing a query time period and a query instruction field, and the sold product oil quantity information can include the quantity of sold product oil recorded in each invoice issued in the query time period.
It should be noted that, before sending the product oil information query request to the invoicing client, the method may further include: and generating the product oil information query request according to the query time period, and encrypting the product oil information query request in a preset encryption mode to obtain the encrypted product oil information query request. One possible implementation manner of generating the product oil information query request according to the query time period is to splice the query time period and the query instruction field, so as to form the product oil information query request. The preset encryption mode may be any encryption mode in the prior art, which is not limited in this disclosure.
In addition, the billing client may include a target plug-in, and one possible implementation manner in this step is: and sending the encrypted product oil information inquiry request to the target plugin, so that the target plugin generates the encrypted product oil quantity information under the condition that the quantity information of the sold product oil in the inquiry time period is obtained according to the product oil information inquiry request, and sends the encrypted product oil quantity information to the acquisition client. The target plug-in obtains invoicing data of each invoice issued in the query time period, the invoicing data comprises the number of sold finished oil recorded by the current invoice, and the obtained number information of the sold finished oil in the query time period is encrypted and then sent to the acquisition client, so that the safety of data transmission can be effectively improved.
And 104, receiving the quantity information of the sold product oil sent by the billing client.
And 105, sending the quantity information of the sold finished product oil to the target server so that the target server determines the current residual finished product oil inventory information according to the quantity information of the sold finished product oil.
In this step, the target server may pre-store the total stock of each gas station enterprise, and after receiving the quantity information of the sold finished oil sent by the acquisition client, obtain the current remaining finished oil stock information by obtaining the difference between the total stock and the quantity of the sold finished oil.
Above technical scheme can make this collection client side gather through this customer end of making an invoice and sell finished product oil quantity information to with this finished product oil quantity information transmission of selling to this target server, thereby can in time effectually acquire current finished product oil warehouse deposit information through this target server, can effectively master the oil condition of selling of filling station, promote the monitoring efficiency to filling station enterprise, thereby can effectively reduce the phenomenon that the enterprise of filling station was taxed and was leaked.
Optionally, after the step 105, the method may further include: after the sold product oil quantity information is sent, if it is determined that the receiving feedback information sent by the target server is not received within a first preset time period, the current time of sending the sold product oil quantity information to the target server within a second preset time period is obtained, and the sold product oil quantity information is sent to the target server and the current time is updated under the condition that the current time is determined to be less than or equal to a preset time threshold.
The receiving feedback information is used for representing the receiving state of the target server to the sold finished product oil quantity information, the target server can send the receiving feedback information to the acquisition client under the condition that the target server receives the sold finished product oil quantity information, and the target cannot send the receiving feedback information like the acquisition client under the condition that the target server does not receive the sold finished product oil quantity information.
In addition, the preset time threshold may be 3 times, and the duration corresponding to the first preset time period may be less than the duration corresponding to the second preset time period, that is, when the acquisition client sends the sold product oil quantity information to the target server, if the sold product oil quantity information is not sent successfully for 4 times within the second preset time period, the sold product oil quantity information is no longer sent to the target server, and if the number of times of continuously sending the sold product oil quantity information within the second preset time period is less than or equal to 3 times, the sold product oil quantity information is continuously sent to the target server until the number of times of continuously sending the sold product oil quantity information within the second preset time period is greater than 3 times. Therefore, the reliability of the target server for receiving the quantity information of the sold product oil can be effectively improved.
FIG. 2 is a flow chart illustrating a method of product oil inventory information collection according to another exemplary embodiment of the present disclosure; referring to fig. 2, the method for acquiring product oil inventory information is applied to a target server, and includes:
step 201, in response to receiving permission verification request information sent by an acquisition client, the permission verification request information includes a tax number of an invoicing main body, and under the condition that it is determined that the acquisition client has finished product oil inventory information inquiry permission according to the tax number of the invoicing main body, a preset inquiry time period is sent to the acquisition client, so that the acquisition client sends a finished product oil information inquiry request to the invoicing client after receiving the inquiry time period, and the finished product oil information inquiry request includes the inquiry time period, so that the invoicing client obtains sold finished product oil quantity information in the inquiry time period according to the finished product oil information inquiry request, and sends the sold finished product oil quantity information to the acquisition client, so that the acquisition client sends the sold finished product oil quantity information to the target server.
The invoicing subject may be a taxpayer such as an individual or a business, for example, a gas station business. The target server stores the tax number of the invoicing main body with the inquiry authority in advance, and the inquiry time period of a gas station enterprise to be inquired is preset, after the authority verification request message is received, the tax number of the invoicing main body in the authority verification request message is compared with the tax number of the invoicing main body with the inquiry authority in advance, and under the condition that the tax number of the invoicing main body with the inquiry authority includes the tax number of the invoicing main body in the authority verification request message, the acquisition client is determined to have the finished product oil inventory information inquiry authority.
Step 202, in response to receiving the information of the quantity of the sold finished oil sent by the acquisition client, determining the inventory information of the currently remaining finished oil.
In this step, a possible implementation manner is that the target server may pre-store the total inventory of each gas station enterprise, and after receiving the quantity information of the sold finished oil sent by the acquisition client, obtain the current remaining finished oil inventory information by obtaining a difference between the total inventory and the quantity of the sold finished oil.
Like this, can receive the finished product oil quantity information of selling that this collection client sent through this target server, can effectively master the oil condition of selling in filling station, promote the monitoring efficiency to filling station enterprise to can effectively reduce the phenomenon of filling station enterprise tax evasion.
FIG. 3 is a flow chart illustrating a method of product oil inventory information collection according to yet another exemplary embodiment of the present disclosure; referring to fig. 3, the method may include the steps of:
step 301, the acquisition client sends a permission verification request message to a target server at a preset time.
The permission verification request message includes a tax number of an invoicing main body, the preset time can be a certain minute of a certain time within a certain day of a certain month of a certain year, and the invoicing main body can be a taxpayer such as an individual, an enterprise and the like.
Step 302, the target server determines whether the acquisition client has the finished product oil inventory information inquiry authority or not according to the tax number.
One possible implementation manner in this step is: the target server stores the tax number of the invoicing main body with the inquiry authority in advance, and the inquiry time period of a gas station enterprise to be inquired is preset, after the authority verification request message is received, the tax number of the invoicing main body in the authority verification request message is compared with the tax number of the invoicing main body with the inquiry authority in advance, and under the condition that the tax number of the invoicing main body with the inquiry authority includes the tax number of the invoicing main body in the authority verification request message, the acquisition client is determined to have the finished product oil inventory information inquiry authority.
Step 303, sending a query time period to the acquisition client when the target server determines that the client has the product oil inventory information query authority.
For example, the query time period may be 01/month 2020, 2/month 2020, 4/month 2020 to 6/month 2020, or the like, or may be specific to days, hours, or minute time periods, for example, 0:00 on 01/month 15/month 2020 to 24:00 on 01/month 20/month 2020.
In this step, when the target server determines that the acquisition client has the finished product oil inventory information inquiry authority, the inquiry time period corresponding to the tax number of the invoicing main body in the authority verification request message can be acquired from the locally stored data, and then the inquiry time period is sent to the acquisition client.
And 304, in response to receiving the query time period sent by the target server, the acquisition client generates the product oil information query request according to the query time period.
In this step, a possible implementation manner may be that the query time period is spliced with the query instruction field, so as to form the product oil information query request.
And 305, encrypting the product oil information query request in a preset encryption mode to obtain the encrypted product oil information query request, and sending the encrypted product oil information query request to a target plug-in the invoicing client.
And the product oil information inquiry request comprises the inquiry time period. The preset encryption mode may refer to any encryption mode in the prior art, which is not limited in this disclosure.
Step 306, the target plug-in generates the encrypted quantity information of the sold finished product oil under the condition that the quantity information of the sold finished product oil in the query time period is obtained according to the finished product oil information query request, and sends the encrypted quantity information of the sold finished product oil to the acquisition client.
Step 307, in response to receiving the quantity information of the sold finished oil sent by the invoicing client, the collecting client encrypts the quantity information of the sold finished oil and sends the encrypted quantity information to the target server.
Step 308, after receiving the quantity information of the sold finished product oil, the target server determines the current remaining finished product oil inventory information according to the quantity information of the sold finished product oil, and sends receiving feedback information to the acquisition client.
Step 309, after the acquisition client sends the sold finished oil quantity information, if it is determined that the reception feedback information sent by the target server is not received within a first preset time period, the acquisition client obtains the current number of times of sending the sold finished oil quantity information to the target server within a second preset time period, sends the sold finished oil quantity information to the target server and updates the current number of times under the condition that the current number of times is determined to be less than or equal to a preset number threshold, and stops sending the sold finished oil quantity information to the target server under the condition that the current number of times is determined to be greater than the preset number threshold.
Above technical scheme can make this collection client side gather through this customer end of making an invoice and sell finished product oil quantity information to with this finished product oil quantity information transmission of selling to this target server, thereby can in time effectually acquire current finished product oil warehouse deposit information through this target server, can effectively master the oil condition of selling of filling station, promote the monitoring efficiency to filling station enterprise, thereby can effectively reduce the phenomenon that the enterprise of filling station was taxed and was leaked.
FIG. 4 is a block diagram of a finished oil inventory information collection device shown in yet another exemplary embodiment of the present disclosure; referring to fig. 4, the apparatus may include:
a first sending module 401, configured to send an authority verification request message to a target server at a preset time, where the authority verification request message includes a tax number of an invoicing main body, so that the target server determines, according to the tax number, whether the acquisition client has a finished product oil inventory information query authority;
a first receiving module 402, configured to receive an inquiry time period sent by the target server when the target server determines that the client has the product oil inventory information inquiry authority;
a second sending module 403, configured to send a product oil information query request to an invoicing client, where the product oil information query request includes the query time period, so that the invoicing client obtains information about the quantity of product oil sold in the query time period according to the product oil information query request;
a second receiving module 404, configured to receive the quantity information of the sold product oil sent by the invoicing client;
a third sending module 405, configured to send the quantity information of the sold finished product oil to the target server, so that the target server determines, according to the quantity information of the sold finished product oil, current remaining finished product oil inventory information.
Above technical scheme can make this collection client side gather through this customer end of making an invoice and sell finished product oil quantity information to with this finished product oil quantity information transmission of selling to this target server, thereby can in time effectually acquire current finished product oil warehouse deposit information through this target server, can effectively master the oil condition of selling of filling station, promote the monitoring efficiency to filling station enterprise, thereby can effectively reduce the phenomenon that the enterprise of filling station was taxed and was leaked.
Optionally, the billing client includes an object plug-in, and the apparatus may further include:
a generating module 406, configured to generate the product oil information query request according to the query time period;
the encryption module 407 is configured to encrypt the product oil information query request in a preset encryption manner to obtain an encrypted product oil information query request;
accordingly, the second sending module 403 is configured to:
and sending the encrypted product oil information inquiry request to the target plugin, so that the target plugin generates the encrypted product oil quantity information under the condition that the quantity information of the sold product oil in the inquiry time period is obtained according to the product oil information inquiry request, and sends the encrypted product oil quantity information to the acquisition client.
Optionally, the apparatus further comprises:
a determining module 408, configured to, after sending the sold product oil quantity information, if it is determined that the receiving feedback information sent by the target server is not received within a first preset time period, where the receiving feedback information is used to represent a receiving state of the target server for the sold product oil quantity information, obtain a current number of times of sending the sold product oil quantity information to the target server within a second preset time period, and send the sold product oil quantity information to the target server and update the current number of times when it is determined that the current number of times is less than or equal to a preset number threshold.
Above technical scheme can make this collection client side gather through this customer end of making an invoice and sell finished product oil quantity information to with this finished product oil quantity information transmission of selling to this target server, thereby can in time effectually acquire current finished product oil warehouse deposit information through this target server, can effectively master the oil condition of selling of filling station, promote the monitoring efficiency to filling station enterprise, thereby can effectively reduce the phenomenon that the enterprise of filling station was taxed and was leaked.
FIG. 5 is a block diagram of a finished oil inventory information collection device shown in yet another exemplary embodiment of the present disclosure; referring to fig. 5, the product oil inventory information collecting device, applied to a target server, may include:
a fourth sending module 501, configured to, in response to receiving the permission verification request information sent by the collecting client, the authority verification request information comprises the tax number of an invoicing main body, and under the condition that the acquisition client side is determined to have the finished product oil inventory information inquiry authority according to the tax number of the invoicing main body, a preset inquiry time period is sent to the acquisition client side, so that the acquisition client sends a finished product oil information inquiry request to the invoicing client after receiving the inquiry time period, the product oil information query request comprises the query time period so that the invoicing client side can acquire the quantity information of the sold product oil in the query time period according to the product oil information query request, sending the quantity information of the sold product oil to the acquisition client so that the acquisition client sends the quantity information of the sold product oil to the target server;
the third receiving module 502 is configured to determine, in response to receiving the information about the quantity of the sold finished oil sent by the collecting client, information about stock of currently remaining finished oil.
Above technical scheme can receive the finished product oil quantity information of selling that this collection client sent through this target server, can effectively master the oil condition of selling in filling station, promotes the monitoring efficiency to filling station enterprise to can effectively reduce the phenomenon that filling station enterprise was taxed and was leaked.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment. As shown in fig. 6, the electronic device 600 may include: a processor 601 and a memory 602. The electronic device 600 may also include one or more of a multimedia component 603, an input/output (I/O) interface 604, and a communications component 605.
The processor 601 is configured to control the overall operation of the electronic device 600, so as to complete all or part of the steps in the method for collecting the product oil inventory information. The memory 602 is used to store various types of data to support operation at the electronic device 600, such as instructions for any application or method operating on the electronic device 600 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and so forth. The Memory 602 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 603 may include a screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 602 or transmitted through the communication component 605. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 604 provides an interface between the processor 601 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 605 is used for wired or wireless communication between the electronic device 600 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 605 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the product oil inventory information collection method.
In another exemplary embodiment, a computer readable storage medium including program instructions for implementing the steps of the product oil inventory information collection method described above when executed by a processor is also provided. For example, the computer readable storage medium may be the memory 602 including the program instructions, which can be executed by the processor 601 of the electronic device 600 to perform the method for collecting the product oil inventory information.
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 700 may be provided as a server. Referring to fig. 7, an electronic device 700 includes a processor 722, which may be one or more in number, and a memory 732 for storing computer programs that are executable by the processor 722. The computer programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. Further, processor 722 may be configured to execute the computer program to perform the product oil inventory information collection method described above.
Additionally, the electronic device 700 may also include a power component 726 that may be configured to perform power management of the electronic device 700 and a communication component 750 that may be configured to enable communication, e.g., wired or wireless communication, of the electronic device 700. The electronic device 700 may also include input/output (I/O) interfaces 758. The electronic device 700 may operate based on an operating system, such as Windows Server, stored in the memory 732TM,Mac OS XTM,UnixTM,LinuxTMAnd so on.
In another exemplary embodiment, a computer readable storage medium including program instructions for implementing the steps of the product oil inventory information collection method described above when executed by a processor is also provided. For example, the computer readable storage medium may be the memory 732 comprising program instructions executable by the processor 722 of the electronic device 700 to perform the method for collecting product oil inventory information as described above.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A method for collecting product oil inventory information is applied to a collecting client, and comprises the following steps:
sending an authority verification request message to a target server at preset time, wherein the authority verification request message comprises a tax number of an invoicing main body, so that the target server determines whether the acquisition client side has finished product oil inventory information inquiry authority or not according to the tax number;
under the condition that the target server determines that the client side has the finished product oil inventory information inquiry authority, receiving an inquiry time period sent by the target server;
sending a finished product oil information query request to an invoicing client, wherein the finished product oil information query request comprises the query time period, so that the invoicing client acquires the quantity information of the sold finished product oil in the query time period according to the finished product oil information query request;
receiving the quantity information of the sold finished oil sent by the invoicing client;
and sending the quantity information of the sold finished oil to the target server so that the target server determines the current residual finished oil inventory information according to the quantity information of the sold finished oil.
2. The method of claim 1, wherein the billing client comprises a target plug-in, and wherein before sending the product oil information query request to the billing client, the method further comprises:
generating the product oil information query request according to the query time period;
encrypting the product oil information query request in a preset encryption mode to obtain the encrypted product oil information query request;
correspondingly, the sending of the product oil information query request to the invoicing client includes:
sending the encrypted product oil information query request to the target plugin, so that the target plugin generates the encrypted product oil quantity information under the condition that the quantity information of the sold product oil in the query time period is obtained according to the product oil information query request, and sends the encrypted product oil quantity information to the acquisition client.
3. The method of claim 1, further comprising:
after the sold product oil quantity information is sent, if it is determined that the receiving feedback information sent by the target server is not received when a first preset time period is reached, the receiving feedback information is used for representing the receiving state of the target server for the sold product oil quantity information, the current times of sending the sold product oil quantity information to the target server in a second preset time period are obtained, and under the condition that the current times is determined to be smaller than or equal to a preset times threshold value, the sold product oil quantity information is sent to the target server, and the current times are updated.
4. A method for collecting product oil inventory information is applied to a target server, and comprises the following steps:
in response to receiving permission verification request information sent by the acquisition client, the permission verification request information comprises a tax number of the invoicing main body, sending a preset inquiry time period to the acquisition client under the condition that the acquisition client has the finished product oil inventory information inquiry authority according to the tax number of the invoicing main body, so that the acquisition client sends a finished product oil information query request to the invoicing client after receiving the query time period, wherein the finished product oil information query request comprises the query time period, so that the invoicing client side obtains the sold finished product oil quantity information in the query time period according to the finished product oil information query request and sends the sold finished product oil quantity information to the acquisition client side, so that the acquisition client side sends the quantity information of the sold finished oil to the target server;
and determining the current residual finished oil inventory information in response to receiving the quantity information of the sold finished oil sent by the acquisition client.
5. The utility model provides a finished product oil depot information acquisition device which characterized in that, the device includes:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending an authority verification request message to a target server at preset time, and the authority verification request message comprises a tax number of an invoicing main body, so that the target server determines whether a collection client side has finished product oil inventory information inquiry authority or not according to the tax number;
the first receiving module is used for receiving the query time period sent by the target server under the condition that the target server determines that the client side has the finished product oil inventory information query authority;
the second sending module is used for sending a finished product oil information query request to the invoicing client, wherein the finished product oil information query request comprises the query time period, so that the invoicing client can obtain the quantity information of the sold finished product oil in the query time period according to the finished product oil information query request;
the second receiving module is used for receiving the quantity information of the sold finished oil sent by the invoicing client;
and the third sending module is used for sending the quantity information of the sold finished product oil to the target server so that the target server can determine the current residual finished product oil inventory information according to the quantity information of the sold finished product oil.
6. The apparatus of claim 5, wherein the billing client comprises a target plug-in, the apparatus further comprising:
the generating module is used for generating the product oil information query request according to the query time period;
the encryption module is used for encrypting the product oil information inquiry request in a preset encryption mode to obtain the encrypted product oil information inquiry request;
accordingly, the second sending module is configured to:
sending the encrypted product oil information query request to the target plugin, so that the target plugin generates the encrypted product oil quantity information under the condition that the quantity information of the sold product oil in the query time period is obtained according to the product oil information query request, and sends the encrypted product oil quantity information to the acquisition client.
7. The apparatus of claim 5, further comprising:
and the determining module is used for obtaining the current times of sending the sold product oil quantity information to the target server within a second preset time period if the receiving feedback information sent by the target server is determined not to be received within a first preset time period after the sold product oil quantity information is sent, and the receiving feedback information is used for representing the receiving state of the target server on the sold product oil quantity information, and sending the sold product oil quantity information to the target server and updating the current times under the condition that the current times is determined to be less than or equal to a preset time threshold.
8. The utility model provides a finished product oil depot information acquisition device which is characterized in that, is applied to the target server, the device includes:
a fourth sending module, configured to respond to receiving permission verification request information sent by the collection client, where the permission verification request information includes a tax number of the main invoicing body, sending a preset inquiry time period to the acquisition client under the condition that the acquisition client has the finished product oil inventory information inquiry authority according to the tax number of the invoicing main body, so that the acquisition client sends a finished product oil information query request to the invoicing client after receiving the query time period, wherein the finished product oil information query request comprises the query time period, so that the invoicing client side obtains the sold finished product oil quantity information in the query time period according to the finished product oil information query request and sends the sold finished product oil quantity information to the acquisition client side, so that the acquisition client side sends the quantity information of the sold finished oil to the target server;
and the third receiving module is used for responding to the quantity information of the sold finished oil sent by the acquisition client and determining the stock information of the currently remaining finished oil.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3;
alternatively, the program realizes the steps of the method of claim 4 when executed by a processor.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 3;
or the processor, for executing the computer program in the memory to implement the steps of the method of claim 4.
CN202011511542.7A 2020-12-18 2020-12-18 Method and device for collecting inventory information of finished oil, storage medium and electronic equipment Pending CN112488637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011511542.7A CN112488637A (en) 2020-12-18 2020-12-18 Method and device for collecting inventory information of finished oil, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011511542.7A CN112488637A (en) 2020-12-18 2020-12-18 Method and device for collecting inventory information of finished oil, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112488637A true CN112488637A (en) 2021-03-12

Family

ID=74914797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011511542.7A Pending CN112488637A (en) 2020-12-18 2020-12-18 Method and device for collecting inventory information of finished oil, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112488637A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310324A (en) * 2013-06-26 2013-09-18 苏州奇可思信息科技有限公司 Novel factory production and marketing system
CN104700295A (en) * 2013-12-04 2015-06-10 航天信息股份有限公司 Invoicing system with sales analysis function
US9129276B1 (en) * 2011-11-02 2015-09-08 Intuit Inc. Inventory management
CN106469410A (en) * 2015-08-21 2017-03-01 航天信息股份有限公司 tax monitoring method and device
CN108346093A (en) * 2018-01-19 2018-07-31 维沃移动通信有限公司 A kind of revenue and expenditure record queries method and device
CN109255588A (en) * 2018-08-31 2019-01-22 深圳春沐源控股有限公司 Automatic generation method and device for bill for material in and out of warehouse and computer storage medium
CN109784068A (en) * 2018-12-17 2019-05-21 航天信息股份有限公司 A kind of method and system reading invoice information in software of making out an invoice
CN109902992A (en) * 2019-01-25 2019-06-18 平安科技(深圳)有限公司 Inventory data processing method, device, storage medium and server
CN110060111A (en) * 2018-12-12 2019-07-26 阿里巴巴集团控股有限公司 Based on the invoice access method and device of block chain, electronic equipment
CN111105257A (en) * 2018-10-29 2020-05-05 北京国双科技有限公司 Product data processing method and device
CN111190923A (en) * 2019-12-04 2020-05-22 航天信息股份有限公司 Electronic bill query method and device, storage medium and electronic equipment
CN111199414A (en) * 2018-11-20 2020-05-26 航天信息股份有限公司 Data analysis method and device
CN111260453A (en) * 2020-01-02 2020-06-09 航天信息软件技术有限公司 Method and device for generating purchase-sale account based on purchase-sale item invoice data
CN111429054A (en) * 2020-03-17 2020-07-17 北京三快在线科技有限公司 Product inventory prompting method, device, equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9129276B1 (en) * 2011-11-02 2015-09-08 Intuit Inc. Inventory management
CN103310324A (en) * 2013-06-26 2013-09-18 苏州奇可思信息科技有限公司 Novel factory production and marketing system
CN104700295A (en) * 2013-12-04 2015-06-10 航天信息股份有限公司 Invoicing system with sales analysis function
CN106469410A (en) * 2015-08-21 2017-03-01 航天信息股份有限公司 tax monitoring method and device
CN108346093A (en) * 2018-01-19 2018-07-31 维沃移动通信有限公司 A kind of revenue and expenditure record queries method and device
CN109255588A (en) * 2018-08-31 2019-01-22 深圳春沐源控股有限公司 Automatic generation method and device for bill for material in and out of warehouse and computer storage medium
CN111105257A (en) * 2018-10-29 2020-05-05 北京国双科技有限公司 Product data processing method and device
CN111199414A (en) * 2018-11-20 2020-05-26 航天信息股份有限公司 Data analysis method and device
CN110060111A (en) * 2018-12-12 2019-07-26 阿里巴巴集团控股有限公司 Based on the invoice access method and device of block chain, electronic equipment
CN109784068A (en) * 2018-12-17 2019-05-21 航天信息股份有限公司 A kind of method and system reading invoice information in software of making out an invoice
CN109902992A (en) * 2019-01-25 2019-06-18 平安科技(深圳)有限公司 Inventory data processing method, device, storage medium and server
CN111190923A (en) * 2019-12-04 2020-05-22 航天信息股份有限公司 Electronic bill query method and device, storage medium and electronic equipment
CN111260453A (en) * 2020-01-02 2020-06-09 航天信息软件技术有限公司 Method and device for generating purchase-sale account based on purchase-sale item invoice data
CN111429054A (en) * 2020-03-17 2020-07-17 北京三快在线科技有限公司 Product inventory prompting method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US9774510B2 (en) Facilitating collection and display of information related to data usage by a plurality of mobile devices
CN108228814B (en) Data synchronization method and device
CN109460413B (en) Method and system for establishing account across block chains
CN112860451A (en) Multi-tenant data processing method and device based on SaaS
US9930632B2 (en) M2M application remote registration method, device, system and storage medium
CN110856126B (en) Information reporting and receiving method, terminal equipment and storage medium
CN110727560A (en) Cloud service alarm method and device
CN108933789B (en) Method for preventing personal information leakage and third-party application server
CN104599086A (en) Online storage cabinet grid inventory management and grid resource reservation method
CN104917794A (en) Data sharing method, device and system
CN114386896A (en) Information sending method, page display device, electronic equipment and medium
CN107493255B (en) Communication message access control method and device
CN110727563A (en) Cloud service alarm method and device for preset customer
CN114663089A (en) Data processing method and device, electronic equipment and storage medium
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN111181833B (en) Enterprise interconnection realization method and device
CN117390698A (en) Block chain-based data processing method, device, equipment and storage medium
CN112488637A (en) Method and device for collecting inventory information of finished oil, storage medium and electronic equipment
CN104468788A (en) Multi-net and multi-terminal data synchronization method
CN114239510A (en) Service information processing method and device, storage medium and electronic equipment
CN113010587B (en) Data source configuration method, device, terminal, server and medium
CN113221151A (en) Data processing method and device based on block chain and storage medium
CN113157472A (en) Service information processing method, device, equipment and computer storage medium
CN104618494A (en) Method for configuring service rules of intelligent storage cabinet online
CN110262756B (en) Method and device for caching data

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