CN117130654A - Dynamically configurable wagon balance weighing method, device, equipment and medium - Google Patents

Dynamically configurable wagon balance weighing method, device, equipment and medium Download PDF

Info

Publication number
CN117130654A
CN117130654A CN202310992743.0A CN202310992743A CN117130654A CN 117130654 A CN117130654 A CN 117130654A CN 202310992743 A CN202310992743 A CN 202310992743A CN 117130654 A CN117130654 A CN 117130654A
Authority
CN
China
Prior art keywords
identification
weighing
instruction
verification
program
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
CN202310992743.0A
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.)
Fujian Zhijian Zhiyi Information Technology Co ltd
Original Assignee
Fujian Zhijian Zhiyi 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 Fujian Zhijian Zhiyi Information Technology Co ltd filed Critical Fujian Zhijian Zhiyi Information Technology Co ltd
Priority to CN202310992743.0A priority Critical patent/CN117130654A/en
Publication of CN117130654A publication Critical patent/CN117130654A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
    • G01G19/02Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups for weighing wheeled or rolling bodies, e.g. vehicles
    • G01G19/03Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups for weighing wheeled or rolling bodies, e.g. vehicles for weighing during motion
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/18Indicating devices, e.g. for remote indication; Recording devices; Scales, e.g. graduated
    • G01G23/36Indicating the weight by electrical means, e.g. using photoelectric cells
    • G01G23/37Indicating the weight by electrical means, e.g. using photoelectric cells involving digital counting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a dynamically configurable wagon balance weighing method, a dynamically configurable wagon balance weighing device, dynamically configurable wagon balance weighing equipment and a dynamically configurable wagon balance weighing medium, wherein the method comprises the steps of identifying a terminal triggering identification event; the instruction adapting program encapsulates the recognition event according to the agreed unified data format to form a recognition request instruction, and initiates a request to the server; the server side calls a related identification check service interface, and executes identification check operation according to the identification check service interface, wherein the identification check service interface is an address of a third party interface which is built in the system and/or manually configured; after the verification is completed, returning an identification verification result to the weighing program according to the agreed unified data format; the weighing program issues a device linkage instruction to the instruction adapting program, and the instruction adapting program calls a bottom device instruction to control related devices to execute linkage actions. The invention has the advantages that: the project implementation period can be effectively reduced, and the use requirements of various different scenes can be well met.

Description

Dynamically configurable wagon balance weighing method, device, equipment and medium
Technical Field
The invention relates to the technical field of unmanned weighing, in particular to a dynamically configurable wagon balance weighing method, device, equipment and medium.
Background
The intelligent unattended weighing system scientifically applies the latest computer software and hardware technology, adopts an IC card entrance guard all-purpose card system, bluetooth or RFID wireless radio frequency technology to bind an electronic license plate, adopts infrared positioning to prevent the cheating of vehicles in the up-down direction, controls the distance between vehicles by an intelligent barrier system, takes photos, records videos and transmits videos in real time, and adopts a voice broadcasting system to intelligently remind and cooperates with intelligent weighing software to realize unattended weighing of the pound houses.
The existing weighing software generally mainly comprises two functions of recognition and weighing during working, wherein the recognition can comprise card swiping recognition, license plate recognition, two-dimensional code recognition and the like, and the weighing can comprise manual confirmation weighing, self-service weighing and the like. However, the weighing mode supported by the existing weighing software is still relatively single, and particularly, the weighing mode is required to be customized and developed for some additional scenes, so that the weighing mode is inconvenient to use.
Disclosure of Invention
The invention aims to solve the technical problem of providing a dynamically configurable wagon balance weighing method, a dynamically configurable wagon balance weighing device, dynamically configurable wagon balance weighing equipment and dynamically configurable wagon balance weighing medium, and solves the problems that a weighing mode supported by weighing software is still single, and particularly, customization development is required to be carried out aiming at some extra scenes, so that the wagon balance weighing method is inconvenient to use.
In a first aspect, the present invention provides a dynamically configurable wagon balance weighing method, the method comprising the steps of:
the identification terminal triggers an identification event and sends the identification event to the instruction adaptation program;
the instruction adaptation program encapsulates the recognition event according to a agreed unified data format to form a recognition request instruction, and initiates a request to a server based on the recognition request instruction;
the server side calls a related identification check service interface based on the identification request instruction, and executes identification check operation according to the identification check service interface, wherein the identification check service interface is an address of a third party interface which is built in a system and/or manually configured; after the verification is completed, returning an identification verification result to the weighing program according to the agreed unified data format;
and the weighing program issues a device linkage instruction to the instruction adapting program based on the identification verification result, and the instruction adapting program calls a bottom device instruction to control related devices to execute linkage action according to the device linkage instruction.
Further, the method comprises the following steps:
the weighing program triggers and generates a weighing confirmation request instruction, and initiates a request to a server based on the weighing confirmation request instruction, wherein the weighing confirmation request instruction carries service data required by weighing service;
The server side calls a related weighing check service interface based on the weighing confirmation request instruction, and executes weighing check operation according to the weighing check service interface, wherein the weighing check service interface is an address of a third party interface which is built in a system and/or manually configured; after the verification is completed, returning a weighing verification result to the weighing program according to the agreed unified data format;
and the weighing program issues a device linkage instruction to the instruction adapting program based on the weighing verification result, and the instruction adapting program calls a bottom device instruction to control related devices to execute linkage action according to the device linkage instruction.
Further, when the system is configured with more than two identification check service interfaces, each identification check service interface is connected in series to form a complete identification service chain according to a check logic sequence, and each identification check service interface is configured with a blocking mode or a continuous mode; when the identification check service interface is configured into a continuous mode, after the identification check service interface finishes the identification check operation, continuing to execute the subsequent identification check service interface on the identification service chain; when the identification check service interface is configured into a blocking mode, after the identification check operation is executed, if the identification check result is failure, the identification check service interface does not continue to execute the subsequent identification check service interface on the identification service chain.
Further, when the system is configured with more than two weighing check service interfaces, each weighing check service interface is connected in series to form a complete weighing service chain according to a check logic sequence, and each weighing check service interface is configured to be in a blocking mode; and after the identification verification operation is performed on the weighing verification service interface, if the identification verification result is failure, the subsequent weighing verification service interface on the weighing service chain is not continuously performed.
Further, the identification verification result and the weighing verification result comprise a traffic type, returned service data, a license plate and a direction.
Further, when the identification event is a license plate identification event, the identification request instruction comprises equipment codes, directions, license plate numbers, complete picture information, license plate picture information and reporting time;
when the identification event is a card reader identification event, the identification request instruction comprises equipment codes, card types, card numbers and identification time;
when the identification event is a two-dimensional code identification event, the identification request instruction comprises equipment codes, contents and identification time.
In a second aspect, the present invention provides a dynamically configurable wagon balance weighing apparatus, the apparatus comprising an event triggering module, an identification request module, an identification verification module, and a first device linkage module;
The event triggering module is used for identifying a terminal triggering identification event and sending the identification event to the instruction adaptation program;
the identification request module is used for encapsulating the identification event according to a agreed unified data format by the instruction adaptation program to form an identification request instruction, and initiating a request to a server based on the identification request instruction;
the identification verification module is used for calling a related identification verification service interface by the server based on the identification request instruction, and executing identification verification operation according to the identification verification service interface, wherein the identification verification service interface is an address of a third party interface which is built in a system and/or manually configured; after the verification is completed, returning an identification verification result to the weighing program according to the agreed unified data format;
the first equipment linkage module is used for the weighing program issuing equipment linkage instructions to the instruction adaptation program based on the identification verification result, and the instruction adaptation program calls bottom equipment instructions to control related equipment to execute linkage actions according to the equipment linkage instructions.
Further, the device also comprises a weighing request module, a weighing verification module and a second equipment linkage module;
The weighing request module is used for triggering and generating a weighing confirmation request instruction by the weighing program, and initiating a request to a server based on the weighing confirmation request instruction, wherein the weighing confirmation request instruction carries service data required by weighing service;
the weighing verification module is used for calling a related weighing verification service interface by the server based on the weighing confirmation request instruction, and executing weighing verification operation according to the weighing verification service interface, wherein the weighing verification service interface is an address of a third party interface which is built in a system and/or manually configured; after the verification is completed, returning a weighing verification result to the weighing program according to the agreed unified data format;
the second equipment linkage module is used for the weighing program issuing equipment linkage instructions to the instruction adaptation program based on the weighing verification result, and the instruction adaptation program calls bottom equipment instructions to control related equipment to execute linkage actions according to the equipment linkage instructions.
In a third aspect, the invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of the first aspect when executing the program.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the method of the first aspect.
One or more technical solutions provided in the embodiments of the present invention at least have the following technical effects or advantages: the two working links of identification and weighing in the wagon balance are decoupled into a configurable form, so that in the process of weighing by using the wagon balance specifically, a user can manually configure the address of a third party interface to be docked according to actual service requirements, thereby realizing service interaction of the third party system, therefore, by adopting the technical scheme of the invention, the user can realize service interaction of the third party system only through simple configuration without customizing and developing project functions to be expanded, the project implementation period can be effectively reduced, and a plurality of different service systems can jointly use one wagon balance system, thereby being beneficial to reducing the deployment of the wagon balance system and lowering the cost; meanwhile, after the weighing mode is selected by a user, the identification check service interface or the weighing check service interface which needs to be called in the identification or weighing process can be secondarily configured according to the service requirements of the user, so that the weighing mode which can be supported by the weighing software is richer, and the use requirements of various different scenes can be well met.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
The invention will be further described with reference to examples of embodiments with reference to the accompanying drawings.
FIG. 1 is a flowchart of a dynamically configurable wagon balance weighing method according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a dynamically configurable wagon balance weighing method according to the first embodiment of the present invention;
FIG. 3 is a schematic diagram of a dynamically configurable wagon balance weighing device according to a second embodiment of the present invention;
FIG. 4 is a second schematic structural diagram of a dynamically configurable wagon balance weighing device according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of a medium in a fourth embodiment of the present invention.
Detailed Description
In order to better understand the technical scheme of the present invention, the following detailed description will refer to the accompanying drawings and specific embodiments.
Example 1
This embodiment provides a preferred embodiment of a dynamically configurable wagon balance weighing method, as shown in fig. 1, comprising the steps of:
step S11, the identification terminal triggers an identification event and sends the identification event to the instruction adaptation program; the identification terminal comprises a license plate identification instrument, a card reader or a two-dimensional code scanner, and the identification event comprises a license plate identification event, a card reader identification event or a two-dimensional code identification event; the instruction adapting program is used for packaging instructions according to the agreed unified data format;
step S12, the instruction adapting program encapsulates the identification event according to a agreed unified data format to form an identification request instruction, and initiates a request to a server based on the identification request instruction, so that the server can call a relevant identification check service interface to carry out identification check;
step S13, the service end calls a related identification check service interface based on the identification request instruction, and executes identification check operation according to the identification check service interface, wherein the identification check service interface is an address of a third party interface which is built in a system and/or manually configured, and the service end can call a corresponding identification check service interface through the address to execute the identification check operation; after the verification is completed, returning an identification verification result to the weighing program according to the agreed unified data format; when the invention is implemented, a part of addresses of the identification verification service interfaces are built in the system, and meanwhile, a user can configure the addresses of the third party interfaces to be accessed according to the actual identification verification service requirements, so that service interaction can be performed on the third party system through the addresses of the third party interfaces;
And S14, the weighing program issues a device linkage instruction to the instruction adapting program based on the identification verification result, and the instruction adapting program calls a bottom device instruction to control related devices to execute linkage action according to the device linkage instruction.
In a preferred embodiment of the present invention, as shown in fig. 2, the method further comprises the steps of:
step S21, triggering and generating a weighing confirmation request instruction by the weighing program, and initiating a request to a server based on the weighing confirmation request instruction, wherein the weighing confirmation request instruction carries service data required by weighing service;
step S22, the server calls a related weighing check service interface based on the weighing confirmation request instruction, and executes weighing check operation according to the weighing check service interface, wherein the weighing check service interface is an address of a third party interface which is built in a system and/or manually configured; after the verification is completed, returning a weighing verification result to the weighing program according to the agreed unified data format; when the invention is implemented, a part of addresses of the weighing check service interfaces are built in the system, and meanwhile, a user can configure the addresses of the third party interfaces to be accessed according to the actual weighing check service requirements, so that service interaction can be performed on the third party system through the addresses of the third party interfaces;
And S23, the weighing program issues a device linkage instruction to the instruction adapting program based on the weighing verification result, and the instruction adapting program calls a bottom device instruction to control related devices to execute linkage action according to the device linkage instruction.
In step S21, a plurality of weighing modes can be set on the system for the user to select, the user can directly select a required weighing mode from the plurality of weighing modes provided by the system, and after the user selects the weighing mode, the user can also perform secondary configuration on an identification check service interface or a weighing check service interface which needs to be called in the identification or weighing process according to the service requirement of the user, if the configuration in the weighing mode can already meet the actual service requirement, the weighing mode can be directly used without performing secondary configuration; the triggering and generating the weighing confirmation request instruction comprises the following two modes:
the first is manual mode: in the manual mode, when a user selects a required weighing mode or after the user selects the required weighing mode and completes secondary configuration operation, a button on a wagon balance is manually pressed by the user or a driller clicks and confirms weighing on a weighing control console by the driller, so that the weighing program is triggered to generate a weighing confirmation request instruction;
The second is the automatic mode: in the automatic mode, when the user selects a desired weighing mode or after selecting a desired weighing mode and completing the secondary configuration operation, the weighing program automatically triggers generation of a weighing confirmation request instruction after the weight of the wagon balance is stabilized.
According to the invention, two working links identified and weighed in the wagon balance are decoupled into a configurable form, so that in a wagon balance weighing process, a user can manually configure the address of a third party interface required to be docked according to actual service requirements, and thus service interaction is realized on the docking third party system; meanwhile, after the weighing mode is selected by a user, the identification check service interface or the weighing check service interface which needs to be called in the identification or weighing process can be secondarily configured according to the service requirements of the user, so that the weighing mode which can be supported by the weighing software is richer, and the use requirements of various different scenes can be well met.
In the preferred embodiment of the invention, when the system is configured with more than two identification verification service interfaces, each identification verification service interface is connected in series into a complete identification service chain according to a verification logic sequence, and each identification verification service interface is configured with a blocking mode or a continuous mode; when the service end calls the related identification check service interfaces, the service end sequentially calls the identification check service interfaces on the identification service chain according to the check logic sequence, and each time one identification check service interface is called, identification check operation is executed according to the identification check service interfaces;
when the identification check service interface is configured into a continuous mode, after the identification check service interface finishes the identification check operation, continuing to execute the subsequent identification check service interface on the identification service chain; when the identification check service interface is configured into a blocking mode, after the identification check operation is executed, if the identification check result is failure, the identification check service interface does not continue to execute the subsequent identification check service interface on the identification service chain. Of course, it should be noted that if the service interface is checked for the last identification on the identification service chain, the whole identification checking process is ended whether it belongs to the continuation mode or the blocking mode.
For example, the license plate identifier is provided with the following identification verification business interfaces: verifying whether the vehicle is a blacklisted vehicle (blocking mode), whether the vehicle is an own vehicle of the enterprise (continuing mode), and whether the vehicle has a receipt (continuing mode); the whole checking logic sequence is to verify whether the vehicle is a blacklist vehicle or not a priori, verify whether the vehicle is own vehicle of the enterprise or not, and finally verify whether the vehicle has an order; the entire identification verification process is as follows:
(1) The license plate number is used for searching whether the vehicle exists in a vehicle blacklist library of the system, if so, the vehicle is not allowed to Pass, pass in the identification checking result is false, and the identification checking service interface is in a blocking mode, so that the subsequent identification checking service interface on the identification service chain is not executed (namely whether the vehicle is own vehicle of the enterprise and whether the vehicle has a bill); if not, continuing to execute the subsequent recognition verification service interfaces on the recognition service chain (namely, continuing to verify whether the vehicle is own in the enterprise);
(2) Searching whether the vehicle exists in the vehicle library of the enterprise per se through the license plate number, if not, adding the vehicle into the vehicle library of the enterprise per se (of course, the vehicle can be determined according to actual service needs without being added into the vehicle library of the enterprise per se), and meanwhile, as the identification checking service interface is in a continuous mode and the identification service chain is also provided with a subsequent identification checking service interface (namely, whether the vehicle has a receipt or not is verified), the subsequent identification checking service interface on the identification service chain is continuously executed; if the identification service interface exists, the subsequent identification check service interface on the identification service chain is continuously executed;
(3) Judging whether a current vehicle has a waybill or not through the license plate number, if so, allowing weighing by weighing, and identifying Pass in the verification result as true to allow passage; if the Pass is not allowed to Pass through, weighing by weighing means, and identifying Pass in the verification result as false to be forbidden; since there are no other interfaces after the identification check service interface, even if the identification check service interface is in a continuous mode, the whole identification check process is directly ended.
In the preferred embodiment of the invention, when the system is configured with more than two weighing check service interfaces, each weighing check service interface is connected in series into a complete weighing service chain according to a check logic sequence, and each weighing check service interface is configured into a blocking mode; when the server side calls related weighing check service interfaces, the weighing check service interfaces on a weighing service chain are sequentially called according to a check logic sequence, and each time one weighing check service interface is called, weighing check operation is executed according to the weighing check service interfaces;
and after the identification verification operation is performed on the weighing verification service interface, if the identification verification result is failure, the subsequent weighing verification service interface on the weighing service chain is not continuously performed. As weighing is a very strict link, the Pass in the weighing check result is false to disable traffic as long as the identification check result of one weighing check business interface is failed.
For example, several weighing check business interfaces are configured in the weighing link, such as judging whether the vehicle is overloaded, whether a driver exceeds the order receiving limit, whether the warehouse performs confirmation and verification on goods of the vehicle at this time, and the like; the whole checking logic sequence is that whether the vehicle is overloaded or not is firstly judged, then whether a driver exceeds the limit of the order receiving, and then whether a warehouse performs confirmation check on goods of the vehicle or not is judged; when the weighing verification is specifically carried out, each weighing verification service interface is sequentially called to carry out verification according to the verification logic sequence, and once the identification verification result of one weighing verification service interface is failed, the subsequent weighing verification service interfaces on the weighing service chain are not executed continuously.
In the preferred embodiment of the invention, the identification verification result and the weighing verification result comprise a traffic type, returned service data, license plates and directions. The identification verification result and the weighing verification result are generated according to the agreed unified data format, so that the access of each third party system can be better realized in the specific implementation; the specific attribute field of the identification verification result is shown in the following table 1, and the specific attribute field of the weighing verification result is shown in the following table 2.
Table 1 identifies Attribute fields of the verification results
Table 2 attribute field of weighing check result
In a preferred embodiment of the present invention, when the identification event is a license plate identification event, the identification request command includes a device code, a direction, a license plate number, complete picture information, license plate picture information and a reporting time, and in a specific implementation, a specific attribute field of the identification request command is shown in table 3 below, and a specific attribute field of a return command based on the identification request command is shown in table 4 below.
Table 3 identification request instruction when the identification event is a license plate identification event
Table 4 Return instruction when the identification event is a license plate identification event
When the identification event is a card reader identification event, the identification request instruction includes a device code, a card type, a card number and an identification time, and in particular implementation, a specific attribute field of the identification request instruction is shown in table 5 below, and a specific attribute field of a return instruction based on the identification request instruction is shown in table 6 below.
Table 5 identification request instruction when the identification event is the card reader identification event
Table 6 Return instruction when identification event is card reader identification event
When the identification event is a two-dimensional code identification event, the identification request instruction includes a device code, a content and an identification time, and when the identification request instruction is implemented, a specific attribute field of the identification request instruction is shown in the following table 7, and a specific attribute field of a return instruction based on the identification request instruction is shown in the following table 8.
Table 7 identification request instruction when the identification event is a two-dimensional code identification event
Table 8 Return instruction when the identification event is a two-dimensional code identification event
The identification request instruction is generated according to the agreed unified data format, and the identification verification result and the weighing verification result are also generated according to the agreed unified data format, namely, an external standard unified interface is provided, so that the access of each third party system can be better realized in specific implementation.
In the preferred embodiment of the invention, when the instruction adapting program calls the bottom equipment instruction to control the related equipment to execute the linkage action according to the equipment linkage instruction, the method specifically can comprise the steps of controlling a barrier gate lifting lever, controlling signal lamp conversion, controlling LED large screen display information, controlling snapshot equipment to take a snapshot picture and the like; the underlying device instruction also has a agreed unified data format, taking the control of a barrier lifting lever as an example, the specific attribute field of the barrier control instruction is shown in the following table 9, and the specific attribute field of the return instruction based on the barrier control instruction is shown in the following table 10.
TABLE 9 specific Property field of Barrier control instruction
Table 10 Return instruction corresponding to Barrier control instruction
Based on the same inventive concept, the application also provides a device corresponding to the method in the first embodiment, and the details of the second embodiment are shown.
Example two
In this embodiment, a dynamically configurable wagon balance weighing device is provided, as shown in fig. 3, where the device includes an event triggering module, an identification request module, an identification verification module, and a first device linkage module;
the event triggering module is used for identifying a terminal triggering identification event and sending the identification event to the instruction adaptation program; the identification terminal comprises a license plate identification instrument, a card reader or a two-dimensional code scanner, and the identification event comprises a license plate identification event, a card reader identification event or a two-dimensional code identification event; the instruction adapting program is used for packaging instructions according to the agreed unified data format;
the identification request module is used for encapsulating the identification event according to a agreed unified data format by the instruction adaptation program to form an identification request instruction, and initiating a request to a server based on the identification request instruction so that the server can call a related identification check service interface to carry out identification check;
the identification verification module is used for calling a related identification verification service interface by the server based on the identification request instruction, executing identification verification operation according to the identification verification service interface, wherein the identification verification service interface is an address of a third party interface which is built in a system and/or manually configured, and the server can call the corresponding identification verification service interface through the address to perform the identification verification operation; after the verification is completed, returning an identification verification result to the weighing program according to the agreed unified data format; when the application is implemented, a part of addresses of the identification verification service interfaces are built in the system, and meanwhile, a user can configure the addresses of the third party interfaces to be accessed according to the actual identification verification service requirements, so that service interaction can be performed on the third party system through the addresses of the third party interfaces;
The first equipment linkage module is used for the weighing program issuing equipment linkage instructions to the instruction adaptation program based on the identification verification result, and the instruction adaptation program calls bottom equipment instructions to control related equipment to execute linkage actions according to the equipment linkage instructions.
In a preferred embodiment of the present invention, as shown in fig. 4, the apparatus further includes a weighing request module, a weighing check module, and a second device linkage module;
the weighing request module is used for triggering and generating a weighing confirmation request instruction by the weighing program, and initiating a request to a server based on the weighing confirmation request instruction, wherein the weighing confirmation request instruction carries service data required by weighing service;
the weighing verification module is used for calling a related weighing verification service interface by the server based on the weighing confirmation request instruction, and executing weighing verification operation according to the weighing verification service interface, wherein the weighing verification service interface is an address of a third party interface which is built in a system and/or manually configured; after the verification is completed, returning a weighing verification result to the weighing program according to the agreed unified data format; when the invention is implemented, a part of addresses of the weighing check service interfaces are built in the system, and meanwhile, a user can configure the addresses of the third party interfaces to be accessed according to the actual weighing check service requirements, so that service interaction can be performed on the third party system through the addresses of the third party interfaces;
The second equipment linkage module is used for the weighing program issuing equipment linkage instructions to the instruction adaptation program based on the weighing verification result, and the instruction adaptation program calls bottom equipment instructions to control related equipment to execute linkage actions according to the equipment linkage instructions.
In the weighing request module, a plurality of weighing modes can be set on the system for a user to select, the user can directly select a required weighing mode in the plurality of weighing modes provided by the system, after the user selects the weighing mode, the user can also perform secondary configuration on an identification check service interface or a weighing check service interface which needs to be called in the identification or weighing process according to the service requirement of the user, and of course, if the configuration in the weighing mode can already meet the actual service requirement, the weighing mode can be directly used without performing secondary configuration; the triggering and generating the weighing confirmation request instruction comprises the following two modes:
the first is manual mode: in the manual mode, when a user selects a required weighing mode or after the user selects the required weighing mode and completes secondary configuration operation, a button on a wagon balance is manually pressed by the user or a driller clicks and confirms weighing on a weighing control console by the driller, so that the weighing program is triggered to generate a weighing confirmation request instruction;
The second is the automatic mode: in the automatic mode, when the user selects a desired weighing mode or after selecting a desired weighing mode and completing the secondary configuration operation, the weighing program automatically triggers generation of a weighing confirmation request instruction after the weight of the wagon balance is stabilized.
According to the invention, two working links identified and weighed in the wagon balance are decoupled into a configurable form, so that in a wagon balance weighing process, a user can manually configure the address of a third party interface required to be docked according to actual service requirements, and thus service interaction is realized on the docking third party system; meanwhile, after the weighing mode is selected by a user, the identification check service interface or the weighing check service interface which needs to be called in the identification or weighing process can be secondarily configured according to the service requirements of the user, so that the weighing mode which can be supported by the weighing software is richer, and the use requirements of various different scenes can be well met.
In the preferred embodiment of the invention, when the system is configured with more than two identification verification service interfaces, each identification verification service interface is connected in series into a complete identification service chain according to a verification logic sequence, and each identification verification service interface is configured with a blocking mode or a continuous mode; when the service end calls the related identification check service interfaces, the service end sequentially calls the identification check service interfaces on the identification service chain according to the check logic sequence, and each time one identification check service interface is called, identification check operation is executed according to the identification check service interfaces;
when the identification check service interface is configured into a continuous mode, after the identification check service interface finishes the identification check operation, continuing to execute the subsequent identification check service interface on the identification service chain; when the identification check service interface is configured into a blocking mode, after the identification check operation is executed, if the identification check result is failure, the identification check service interface does not continue to execute the subsequent identification check service interface on the identification service chain. Of course, it should be noted that if the service interface is checked for the last identification on the identification service chain, the whole identification checking process is ended whether it belongs to the continuation mode or the blocking mode.
For example, the license plate identifier is provided with the following identification verification business interfaces: verifying whether the vehicle is a blacklisted vehicle (blocking mode), whether the vehicle is an own vehicle of the enterprise (continuing mode), and whether the vehicle has a receipt (continuing mode); the whole checking logic sequence is to verify whether the vehicle is a blacklist vehicle or not a priori, verify whether the vehicle is own vehicle of the enterprise or not, and finally verify whether the vehicle has an order; the entire identification verification process is as follows:
(1) The license plate number is used for searching whether the vehicle exists in a vehicle blacklist library of the system, if so, the vehicle is not allowed to Pass, pass in the identification checking result is false, and the identification checking service interface is in a blocking mode, so that the subsequent identification checking service interface on the identification service chain is not executed (namely whether the vehicle is own vehicle of the enterprise and whether the vehicle has a bill); if not, continuing to execute the subsequent recognition verification service interfaces on the recognition service chain (namely, continuing to verify whether the vehicle is own in the enterprise);
(2) Searching whether the vehicle exists in the vehicle library of the enterprise per se through the license plate number, if not, adding the vehicle into the vehicle library of the enterprise per se (of course, the vehicle can be determined according to actual service needs without being added into the vehicle library of the enterprise per se), and meanwhile, as the identification checking service interface is in a continuous mode and the identification service chain is also provided with a subsequent identification checking service interface (namely, whether the vehicle has a receipt or not is verified), the subsequent identification checking service interface on the identification service chain is continuously executed; if the identification service interface exists, the subsequent identification check service interface on the identification service chain is continuously executed;
(3) Judging whether a current vehicle has a waybill or not through the license plate number, if so, allowing weighing by weighing, and identifying Pass in the verification result as true to allow passage; if the Pass is not allowed to Pass through, weighing by weighing means, and identifying Pass in the verification result as false to be forbidden; since there are no other interfaces after the identification check service interface, even if the identification check service interface is in a continuous mode, the whole identification check process is directly ended.
In the preferred embodiment of the invention, when the system is configured with more than two weighing check service interfaces, each weighing check service interface is connected in series into a complete weighing service chain according to a check logic sequence, and each weighing check service interface is configured into a blocking mode; when the server side calls related weighing check service interfaces, the weighing check service interfaces on a weighing service chain are sequentially called according to a check logic sequence, and each time one weighing check service interface is called, weighing check operation is executed according to the weighing check service interfaces;
and after the identification verification operation is performed on the weighing verification service interface, if the identification verification result is failure, the subsequent weighing verification service interface on the weighing service chain is not continuously performed. As weighing is a very strict link, the Pass in the weighing check result is false to disable traffic as long as the identification check result of one weighing check business interface is failed.
For example, several weighing check business interfaces are configured in the weighing link, such as judging whether the vehicle is overloaded, whether a driver exceeds the order receiving limit, whether the warehouse performs confirmation and verification on goods of the vehicle at this time, and the like; the whole checking logic sequence is that whether the vehicle is overloaded or not is firstly judged, then whether a driver exceeds the limit of the order receiving, and then whether a warehouse performs confirmation check on goods of the vehicle or not is judged; when the weighing verification is specifically carried out, each weighing verification service interface is sequentially called to carry out verification according to the verification logic sequence, and once the identification verification result of one weighing verification service interface is failed, the subsequent weighing verification service interfaces on the weighing service chain are not executed continuously.
In the preferred embodiment of the invention, the identification verification result and the weighing verification result comprise a traffic type, returned service data, license plates and directions. The identification verification result and the weighing verification result are generated according to the agreed unified data format, so that the access of each third party system can be better realized in the specific implementation; the specific attribute field of the identification verification result is shown in the following table 1, and the specific attribute field of the weighing verification result is shown in the following table 2.
Table 1 identifies Attribute fields of the verification results
Table 2 attribute field of weighing check result
In a preferred embodiment of the present invention, when the identification event is a license plate identification event, the identification request command includes a device code, a direction, a license plate number, complete picture information, license plate picture information and a reporting time, and in a specific implementation, a specific attribute field of the identification request command is shown in table 3 below, and a specific attribute field of a return command based on the identification request command is shown in table 4 below.
Table 3 identification request instruction when the identification event is a license plate identification event
Table 4 Return instruction when the identification event is a license plate identification event
When the identification event is a card reader identification event, the identification request instruction includes a device code, a card type, a card number and an identification time, and in particular implementation, a specific attribute field of the identification request instruction is shown in table 5 below, and a specific attribute field of a return instruction based on the identification request instruction is shown in table 6 below.
Table 5 identification request instruction when the identification event is the card reader identification event
Table 6 Return instruction when identification event is card reader identification event
When the identification event is a two-dimensional code identification event, the identification request instruction includes a device code, a content and an identification time, and when the identification request instruction is implemented, a specific attribute field of the identification request instruction is shown in the following table 7, and a specific attribute field of a return instruction based on the identification request instruction is shown in the following table 8.
Table 7 identification request instruction when the identification event is a two-dimensional code identification event
Table 8 Return instruction when the identification event is a two-dimensional code identification event
The identification request instruction is generated according to the agreed unified data format, and the identification verification result and the weighing verification result are also generated according to the agreed unified data format, namely, an external standard unified interface is provided, so that the access of each third party system can be better realized in specific implementation.
In the preferred embodiment of the invention, when the instruction adapting program calls the bottom equipment instruction to control the related equipment to execute the linkage action according to the equipment linkage instruction, the method specifically can comprise the steps of controlling a barrier gate lifting lever, controlling signal lamp conversion, controlling LED large screen display information, controlling snapshot equipment to take a snapshot picture and the like; the underlying device instruction also has a agreed unified data format, taking the control of a barrier lifting lever as an example, the specific attribute field of the barrier control instruction is shown in the following table 9, and the specific attribute field of the return instruction based on the barrier control instruction is shown in the following table 10.
TABLE 9 specific Property field of Barrier control instruction
Table 10 Return instruction corresponding to Barrier control instruction
Based on the same inventive concept, the application provides an electronic device embodiment corresponding to the first embodiment, and the details of the third embodiment are shown in the specification.
Example III
The present embodiment provides an electronic device, as shown in fig. 5, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where any implementation of the first embodiment may be implemented when the processor executes the computer program.
Since the electronic device described in this embodiment is a device for implementing the method in the first embodiment of the present application, those skilled in the art will be able to understand the specific implementation of the electronic device and various modifications thereof based on the method described in the first embodiment of the present application, so how the electronic device implements the method in the embodiment of the present application will not be described in detail herein. The apparatus used to implement the methods of embodiments of the present application will be within the scope of the intended protection of the present application.
Based on the same inventive concept, the application provides a storage medium corresponding to the first embodiment, and the detail of the fourth embodiment is shown in the specification.
Example IV
The present embodiment provides a computer readable storage medium, as shown in fig. 6, on which a computer program is stored, which when executed by a processor, can implement any implementation of the first embodiment.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that the specific embodiments described are illustrative only and not intended to limit the scope of the invention, and that equivalent modifications and variations of the invention in light of the spirit of the invention will be covered by the claims of the present invention.

Claims (10)

1. A dynamically configurable wagon balance weighing method is characterized in that: the method comprises the following steps:
the identification terminal triggers an identification event and sends the identification event to the instruction adaptation program;
the instruction adaptation program encapsulates the recognition event according to a agreed unified data format to form a recognition request instruction, and initiates a request to a server based on the recognition request instruction;
the server side calls a related identification check service interface based on the identification request instruction, and executes identification check operation according to the identification check service interface, wherein the identification check service interface is an address of a third party interface which is built in a system and/or manually configured; after the verification is completed, returning an identification verification result to the weighing program according to the agreed unified data format;
and the weighing program issues a device linkage instruction to the instruction adapting program based on the identification verification result, and the instruction adapting program calls a bottom device instruction to control related devices to execute linkage action according to the device linkage instruction.
2. A dynamically configurable wagon balance weighing method according to claim 1, wherein: the method further comprises the steps of:
The weighing program triggers and generates a weighing confirmation request instruction, and initiates a request to a server based on the weighing confirmation request instruction, wherein the weighing confirmation request instruction carries service data required by weighing service;
the server side calls a related weighing check service interface based on the weighing confirmation request instruction, and executes weighing check operation according to the weighing check service interface, wherein the weighing check service interface is an address of a third party interface which is built in a system and/or manually configured; after the verification is completed, returning a weighing verification result to the weighing program according to the agreed unified data format;
and the weighing program issues a device linkage instruction to the instruction adapting program based on the weighing verification result, and the instruction adapting program calls a bottom device instruction to control related devices to execute linkage action according to the device linkage instruction.
3. A dynamically configurable wagon balance weighing method according to claim 1, wherein: when the system is configured with more than two identification verification service interfaces, each identification verification service interface is connected in series to form a complete identification service chain according to a verification logic sequence, and each identification verification service interface is configured with a blocking mode or a continuous mode; when the identification check service interface is configured into a continuous mode, after the identification check service interface finishes the identification check operation, continuing to execute the subsequent identification check service interface on the identification service chain; when the identification check service interface is configured into a blocking mode, after the identification check operation is executed, if the identification check result is failure, the identification check service interface does not continue to execute the subsequent identification check service interface on the identification service chain.
4. A dynamically configurable wagon balance weighing method according to claim 2, wherein: when the system is configured with more than two weighing check service interfaces, connecting the weighing check service interfaces in series according to a check logic sequence to form a complete weighing service chain, and configuring each weighing check service interface into a blocking mode; and after the identification verification operation is performed on the weighing verification service interface, if the identification verification result is failure, the subsequent weighing verification service interface on the weighing service chain is not continuously performed.
5. A dynamically configurable wagon balance weighing method according to claim 2, wherein: the identification verification result and the weighing verification result comprise a traffic type, returned service data, a license plate and a direction.
6. A dynamically configurable wagon balance weighing method according to claim 1, wherein: when the identification event is a license plate identification event, the identification request instruction comprises equipment codes, directions, license plate numbers, complete picture information, license plate picture information and reporting time;
when the identification event is a card reader identification event, the identification request instruction comprises equipment codes, card types, card numbers and identification time;
When the identification event is a two-dimensional code identification event, the identification request instruction comprises equipment codes, contents and identification time.
7. A dynamically configurable wagon balance weighing device, characterized by: the device comprises an event triggering module, an identification request module, an identification verification module and a first equipment linkage module;
the event triggering module is used for identifying a terminal triggering identification event and sending the identification event to the instruction adaptation program;
the identification request module is used for encapsulating the identification event according to a agreed unified data format by the instruction adaptation program to form an identification request instruction, and initiating a request to a server based on the identification request instruction;
the identification verification module is used for calling a related identification verification service interface by the server based on the identification request instruction, and executing identification verification operation according to the identification verification service interface, wherein the identification verification service interface is an address of a third party interface which is built in a system and/or manually configured; after the verification is completed, returning an identification verification result to the weighing program according to the agreed unified data format;
the first equipment linkage module is used for the weighing program issuing equipment linkage instructions to the instruction adaptation program based on the identification verification result, and the instruction adaptation program calls bottom equipment instructions to control related equipment to execute linkage actions according to the equipment linkage instructions.
8. A dynamically configurable wagon balance weighing device according to claim 7, wherein: the device also comprises a weighing request module, a weighing verification module and a second equipment linkage module;
the weighing request module is used for triggering and generating a weighing confirmation request instruction by the weighing program, and initiating a request to a server based on the weighing confirmation request instruction, wherein the weighing confirmation request instruction carries service data required by weighing service;
the weighing verification module is used for calling a related weighing verification service interface by the server based on the weighing confirmation request instruction, and executing weighing verification operation according to the weighing verification service interface, wherein the weighing verification service interface is an address of a third party interface which is built in a system and/or manually configured; after the verification is completed, returning a weighing verification result to the weighing program according to the agreed unified data format;
the second equipment linkage module is used for the weighing program issuing equipment linkage instructions to the instruction adaptation program based on the weighing verification result, and the instruction adaptation program calls bottom equipment instructions to control related equipment to execute linkage actions according to the equipment linkage instructions.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 6 when the program is executed by the processor.
10. A computer readable storage 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 one of claims 1 to 6.
CN202310992743.0A 2023-08-08 2023-08-08 Dynamically configurable wagon balance weighing method, device, equipment and medium Pending CN117130654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310992743.0A CN117130654A (en) 2023-08-08 2023-08-08 Dynamically configurable wagon balance weighing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310992743.0A CN117130654A (en) 2023-08-08 2023-08-08 Dynamically configurable wagon balance weighing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117130654A true CN117130654A (en) 2023-11-28

Family

ID=88853738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310992743.0A Pending CN117130654A (en) 2023-08-08 2023-08-08 Dynamically configurable wagon balance weighing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117130654A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117553890A (en) * 2024-01-12 2024-02-13 三一重型装备有限公司 Dynamic weighing method and device for vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117553890A (en) * 2024-01-12 2024-02-13 三一重型装备有限公司 Dynamic weighing method and device for vehicle

Similar Documents

Publication Publication Date Title
CN1135022C (en) Method for conveying control commands for SIM card from external apparatus to SIM card
CN117130654A (en) Dynamically configurable wagon balance weighing method, device, equipment and medium
CN1802840A (en) System and method of software transfer between a mobile phone and a mobile phone accessory
CN102217230B (en) Provisioning method and system
CN110750415B (en) Interface service configuration method, device, medium and computer equipment
CN112927548A (en) Mechanical garage vehicle taking method and system and storage medium
CN108920962A (en) Firmware downloads sign test method, firmware dissemination method, mobile terminal and server
CN112634651A (en) Voice vehicle taking method and terminal for mechanical garage, management cloud platform and storage medium
CN112465497A (en) Payment method, payment device, electronic equipment and medium
CN111209036A (en) Method and device for configuring self-service mode of system
CN111045725A (en) Control method, device and storage medium of code management system
CN110191013A (en) Electronic device, the Mock test method of more capital's interfaces and storage medium
CN116340265A (en) Log extraction method and device, electronic equipment and vehicle
CN110517026A (en) It prevents the method, apparatus for repeating to cash, cash system and readable storage medium storing program for executing
CN110851516B (en) Host operation control system and method
CN113687891A (en) Data management method, device and equipment
CN110264366A (en) Terminal device, information processing method and storage medium
CN109491973A (en) Electronic device, declaration form delta data distribution analysis method and storage medium
CN110618937A (en) Software evaluation method, device and equipment
CN112363948B (en) Interface testing method and device, electronic equipment and storage medium
CN110223185A (en) A kind of information benefit transmission method and relevant device based on data processing
CN111967010B (en) Trusted service method, trusted service device, trusted service equipment and storage medium
CN112258300B (en) Auditing method and device for order generation
CN113744423B (en) NFC technology-based operating vehicle driver sign-in method, device and equipment
CN110766886B (en) Driving device, method for driving card reader to realize card service and self-service payment system

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