CN109190969A - Weighing-appliance management-control method, system, weighing-appliance management middleware and medium - Google Patents

Weighing-appliance management-control method, system, weighing-appliance management middleware and medium Download PDF

Info

Publication number
CN109190969A
CN109190969A CN201810995519.6A CN201810995519A CN109190969A CN 109190969 A CN109190969 A CN 109190969A CN 201810995519 A CN201810995519 A CN 201810995519A CN 109190969 A CN109190969 A CN 109190969A
Authority
CN
China
Prior art keywords
weighing
appliance
control
target
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810995519.6A
Other languages
Chinese (zh)
Other versions
CN109190969B (en
Inventor
谭明旭
梁志海
张略
谷国栋
李峰
王崇宇
赵文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Matrix Software Engineering Ltd By Share Ltd
Original Assignee
Shandong Matrix Software Engineering Ltd By Share 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 Shandong Matrix Software Engineering Ltd By Share Ltd filed Critical Shandong Matrix Software Engineering Ltd By Share Ltd
Priority to CN201810995519.6A priority Critical patent/CN109190969B/en
Publication of CN109190969A publication Critical patent/CN109190969A/en
Application granted granted Critical
Publication of CN109190969B publication Critical patent/CN109190969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

This application discloses a kind of weighing-appliance management-control methods, middleware is managed applied to weighing-appliance, one end is connected with each weighing-appliance, one end is connected with tension management equipment, the middleware is built-in with the corresponding management application of every kind of weighing-appliance, tension management equipment is received in actual use just unifies the control instruction that format generates, and therefrom extract the practical corresponding target operation object of control instruction and target control content, after determining the corresponding weighing-appliance of target operation object, it is the format that can be read by target weighing-appliance management application by the target control Content Transformation of former format, it can be realized based on this to manage the unification of instruction, the management application different without frequent switching, middleware is transferred to carry out format conversion operation, a possibility that significantly increasing more apparatus management/control efficiency and reducing error.The application further simultaneously discloses a kind of weighing-appliance managing and control system, weighing-appliance management middleware and computer readable storage medium, has above-mentioned beneficial effect.

Description

Weighing-appliance management-control method, system, weighing-appliance management middleware and medium
Technical field
This application involves vehicle weighing technical field, in particular to a kind of weighing-appliance management-control method, system, weighing-appliance Manage middleware and computer readable storage medium.
Background technique
Each function device generally passes through what direct-connected data line was connected with the terminal at weighbridge end in weighing shipping systems Mode realizes data communication.Equipment may include intelligent barrier gate, traffic lights, LED display, stereo set, talk back equipment, infrared Line positioning, RFID card reader, IC card card reader etc..
These different types of equipment are usually generated and are sold by different manufacturers, i.e., the management of every kind equipment is answered Individually developed with all corresponding manufacturer, though the equipment of identical type be also possible to because the difference of producer there are different pipes It ought to use, and simultaneously because multi version management application of the version problem there are identical equipment is applicable in, so that carrying out weighing shipping When management, not only need frequently to be operated in the management application of plurality of devices, and can also make because of operating instruction disunity It must need to carry out according to the operating instruction of distinct device, undoubtedly increase the probability of management difficulty and error.
Meanwhile equipment is directly by the control mode of corresponding management application but also logical if having replaced different manufacturers, difference It has to change original software on a large scale when the equipment of news mode or model or the new equipment of addition.And it of the same race sets For in the case where the method for the management application communication modes provided of different manufacturers and model and calling is different from, it is also necessary to Management application more renew, matched, also needs debugging, operator to adapt to new operating method after the completion of replacement, so that The efficiency of management in more equipment is low.
Therefore, how to overcome existing items technological deficiency when managing in existing weighing shipping systems to more equipment, There is provided a kind of way to manage is more unified, the faster multi weighing apparatus management/control mechanism of the upper hand of operator be those skilled in the art urgently Problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of weighing-appliance management-control method, is applied to weighing-appliance and manages middleware, one End is connected with each weighing-appliance, one end is connected with tension management equipment, which is built-in with the corresponding pipe of every kind of weighing-appliance It ought to use, and receive tension management equipment in actual use and just unify the control instruction that format generates, and therefrom extract the pipe The practical corresponding target operation object of control instruction and target manage content, are determining the corresponding weighing-appliance of target operation object It afterwards, is the format that can be read by target weighing-appliance management application by the target control Content Transformation of former format, it can be real based on this Now to manage the unification of instruction, format conversion operation is transferred to middleware to carry out, pole by the management application different without frequent switching Big a possibility that increasing more apparatus management/control efficiency and reducing error.
The another object of the application is the provision of a kind of weighing-appliance managing and control system, weighing-appliance management middleware and meter Calculation machine readable storage medium storing program for executing.
To achieve the above object, the application provides a kind of weighing-appliance management-control method, and it is intermediate to be applied to weighing-appliance management Part, this method comprises:
The weighing-appliance for receiving administrative staff's input manages instruction;
It is extracted from weighing-appliance control instruction and obtains target operation object and target control content;
The corresponding target weighing-appliance of the target operation object is determined according to corresponding table, and the target is managed into content Being converted to can be by the data of the corresponding management application identification of the target weighing-appliance;It wherein, include each behaviour in the corresponding table Make the corresponding relationship between corresponding relationship, each weighing-appliance and each management application between object and each weighing-appliance;
By the data distributing to the management application of the target weighing-appliance, to utilize management application by the number According to being configured at corresponding weighing-appliance.
Optionally, it is extracted from weighing-appliance control instruction and obtains target operation object and target control content, packet It includes:
It is extracted from weighing-appliance control instruction in the way of keyword extraction and obtains target operation object;
Predetermined position in weighing-appliance control instruction is extracted to obtain the target control content.
Optionally, the weighing-appliance management-control method further include:
It is named in advance for each weighing-appliance, obtains equipment identification marking, and each equipment identification marking is made For the operation object of corresponding weighing-appliance.
Optionally, the weighing-appliance management-control method further include:
Receive the control instruction execution result that the management application of each weighing-appliance is fed back to;
Each control instruction execution result is uniformly converted to and can manage the system that middleware identifies by the weighing-appliance One formatted data;
The control result of corresponding weighing-appliance is shown according to the unified formatted data;
When the control result is configuration failure, warning message is sent by preset path.
Optionally, the source of the weighing-appliance control instruction includes:
The local control host that is connected directly with the management middleware, be remotely connected with the management middleware it is long-range It controls host, control any one in other control hosts that host is connected with the local.
Optionally, the target control content includes:
The start command of weighing-appliance, the ceasing and desisting order of weighing-appliance, the parameter configuration order of weighing-appliance, weighing-appliance Parameter current acquisition instruction, in the log acquisition instructions of weighing-appliance at least one of.
To achieve the above object, present invention also provides a kind of weighing-appliance managing and control systems, are applied to weighing-appliance management Middleware, the system include:
Instruction receiving unit is managed, for receiving the weighing-appliance control instruction of administrative staff's input;
Information extraction unit obtains target operation object and target tube for extracting from weighing-appliance control instruction Control content;
Corresponding relationship determination and converting unit, for determining that the corresponding target of the target operation object claims according to corresponding table Heavy equipment, and being by target control Content Transformation can be by the number of the corresponding management application identification of the target weighing-appliance According to;Wherein, including corresponding relationship, each weighing-appliance and each management between each operation object and each weighing-appliance in the corresponding table Using corresponding relationship;
Data distributing unit, for the management application by the data distributing to the target weighing-appliance, to utilize institute Management application is stated by the data configuration in corresponding weighing-appliance.
Optionally, the information extraction unit includes:
Operation object extracts subelement, for being extracted from weighing-appliance control instruction in the way of keyword extraction Obtain target operation object;
Contents extraction subelement is managed, extracts to obtain institute for the predetermined position in weighing-appliance control instruction State target control content.
Optionally, the weighing-appliance management system further include:
Unit is named, for being in advance that each weighing-appliance is named, obtains equipment identification marking, and described is set each Operation object of the standby identification marking as corresponding weighing-appliance.
Optionally, the weighing-appliance management system further include:
Implementing result receiving unit, the control instruction execution knot that the management application for receiving each weighing-appliance is fed back to Fruit;
Format conversion unit, can be by the weighing-appliance pipe for being uniformly converted to each control instruction execution result Manage the unified formatted data of middleware identification;
Unified display unit, for showing the control result of corresponding weighing-appliance according to the unified formatted data;
Transmission unit is alerted, for sending warning message by preset path when the control result is configuration failure.
To achieve the above object, present invention also provides a kind of weighing-appliances to manage middleware, comprising:
Memory, for storing computer program;
Processor realizes the weighing-appliance management-control method as described in above content when for executing the computer program The step of.
To achieve the above object, described computer-readable to deposit present invention also provides a kind of computer readable storage medium It is stored with computer program on storage media, the title as described in above content is realized when the computer program is executed by processor The step of heavy equipment management-control method.
Obviously, a kind of weighing-appliance management-control method provided herein is applied to weighing-appliance and manages middleware, one End is connected with each weighing-appliance, one end is connected with tension management equipment, which is built-in with the corresponding pipe of every kind of weighing-appliance It ought to use, and receive tension management equipment in actual use and just unify the control instruction that format generates, and therefrom extract the pipe The practical corresponding target operation object of control instruction and target manage content, are determining the corresponding weighing-appliance of target operation object It afterwards, is the format that can be read by target weighing-appliance management application by the target control Content Transformation of former format, it can be real based on this Now to manage the unification of instruction, format conversion operation is transferred to middleware to carry out, pole by the management application different without frequent switching Big a possibility that increasing more apparatus management/control efficiency and reducing error.The application additionally provides a kind of weighing-appliance pipe simultaneously Control system, weighing-appliance management middleware and computer readable storage medium, have above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of weighing-appliance management-control method provided by the embodiments of the present application;
Fig. 2 is the flow chart of another weighing-appliance management-control method provided by the embodiments of the present application;
Fig. 3 is a kind of structural block diagram of weighing-appliance managing and control system provided by the embodiments of the present application;
Fig. 4 is the internal logic schematic diagram that a kind of weighing-appliance provided by the embodiments of the present application manages middleware.
Specific embodiment
The core of the application is to provide a kind of weighing-appliance management-control method, system, weighing-appliance management middleware and calculating Machine readable storage medium storing program for executing is applied to weighing-appliance and manages middleware, and one end is connected with each weighing-appliance, one end and tension management Equipment is connected, which is built-in with the corresponding management application of every kind of weighing-appliance, receives tension management in actual use and sets The control instruction that standby just unified format generates, and therefrom extract the practical corresponding target operation object of control instruction and target Content is managed, after determining the corresponding weighing-appliance of target operation object, being by the target control Content Transformation of former format can quilt The format that target weighing-appliance management application is read can be realized based on this to manage the unification of instruction, different without frequent switching Management application, transfer to middleware to carry out format conversion operation, significantly increase and more apparatus management/control efficiency and reduce out A possibility that wrong.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Embodiment one
Below in conjunction with Fig. 1, Fig. 1 is a kind of flow chart of weighing-appliance management-control method provided by the embodiments of the present application, this reality The method for applying example offer is applied to weighing-appliance and manages middleware, which is connected with each weighing-appliance, one end with it is upper Layer-management equipment is connected, and is wherein built-in with the corresponding management application of weighing-appliance that every kind has connected, the execution of the present embodiment Main body is also weighing-appliance management middleware:
S101: the weighing-appliance for receiving administrative staff's input manages instruction;
This step is intended to receive the weighing-appliance control instruction sent from tension management equipment, it should be noted that by In the presence of weighing-appliance management middleware, so that the data communication that all coupled weighing-appliances carry out can be based on The Middleware implementation, therefore in order to enable tension management operation is more convenient, a set of unified control instruction can be performed and generate lattice Formula so that the control instruction issued to all kinds weighing-appliance is all made of identical operating instruction and realizes, and unifies lattice at this The control instruction of formula was converted corresponding weighing-appliance respective tube when reaching middleware again to use identifiable format, such as This operation not only facilitates operation ease of the upper layer operator when generating control instruction, conversion operation is also transferred to machine Device is realized, error rate can be significantly reduced.
It should be noted that weighing-appliance described herein, not only refers to the ground for measuring truckload Pound or truck scale further include the various types of equipment in entire weighing shipping systems for assisting carrying out weighing operation, shipping operation, Such as given intelligent barrier gate, traffic lights, LED display, stereo set, talk back equipment, infrared ray are fixed in the background technology Position, RFID card reader, IC card card reader etc., weighing-appliance described herein include these above-mentioned auxiliary weighing operations, hair The equipment for operating industry.
Further, the source of weighing-appliance control instruction is not limited only to manage middleware foundation with the weighing-appliance The direct-connected local control host of direct physical connection, can also directly control with long-range on the basis of adding wireless communication module Host processed establishes connection, and then receives the weighing-appliance control instruction directly issued by distance host.What another kind remotely controlled Mode is to establish a connection with direct-connected local control host, is indirectly claimed by the direct-connected local control host to control this Heavy equipment manages middleware, herein and is not specifically limited, can the most suitable mode of flexible choice according to the actual situation.
S102: it is extracted from weighing-appliance control instruction and obtains target operation object and target control content;
On the basis of S101, this step, which is intended to extract from the weighing-appliance control instruction received, obtains object run Object and target manage content.Wherein, target operation object refers to that the control object of this weighing-appliance control instruction is specially Which table scale heavy equipment, target control content refer to which kind of operation wanted to carry out the corresponding weighing-appliance of target operation object, this Two parts are also that every weighing-appliance control instruction centainly needs the content for including, because of the audient of weighing-appliance control instruction Group is not just for an equipment, special therefore in order to which clear operation object there must be this two contents, when needing to institute When thering is the weighing-appliance for being connected to the middleware to issue identical target control content, the mode of broadcast can choose, at this time Target operation object is not needed to distinguish.
It certainly, can be with according to actual demand in weighing-appliance control instruction in addition to two parts that this step refers to Comprising other information, such as Error Correction of Coding, the identification code for instructing sender etc., can according to the actual situation in it is all can The data that the particular/special requirement that can occur flexibly formulates weighing-appliance control instruction constitute format.
Specifically, target control content can be by the start command of weighing-appliance, the ceasing and desisting order of weighing-appliance, weighing-appliance Parameter configuration order, the parameter current acquisition instruction of weighing-appliance, in the log acquisition instructions of weighing-appliance at least one of Composition, herein and is not specifically limited.
S103: the corresponding target weighing-appliance of target operation object is determined according to corresponding table, and target control content is turned Being changed to can be by the data of the corresponding management application identification of target weighing-appliance;
It wherein, include corresponding relationship between each operation object and each weighing-appliance, each weighing-appliance and each in the correspondence table Corresponding relationship between management application, on this basis, this step could determine that target operation object is corresponding according to the correspondence table Target weighing-appliance, and being by target control Content Transformation can be by the data of the corresponding management application identification of target weighing-appliance.
The corresponding relationship in table is corresponded to for ease of description, can also be named, be obtained for each weighing-appliance in advance Equipment identification marking, and using each equipment identification marking as the operation object of corresponding weighing-appliance, specifically how to name, herein simultaneously It is not specifically limited, the emphasis of the application is not how to carry out operation object name, and art technology can be thought in this step A variety of implementations are provided under the guidance thought, details are not described herein.
Meanwhile format of the content can be read is managed in order to the target being included in weighing-appliance control instruction Management application corresponding as target operation object is issued, one can also be executed previously according to the difference of data format between the two Data Format Transform rule, it is a kind of include but is not limited to mode be using regular expression carry out information modification and replacement, To complete the conversion between format, realize so that format can be generated using unified instruction on upper layer to all kinds weighing-appliance Control, greatly reduces the manufacture difficulty of instruction.
S104: by the management application of data distributing to target weighing-appliance, to utilize management application by data configuration in right The weighing-appliance answered.
On the basis of S103, the pipe of data distributing that this step is intended to obtain after converting format to target weighing-appliance It ought to use, and matched control content is configured at corresponding weighing-appliance using management application, complete once to be based on the weighing The weighing-appliance of equipment management middleware is managed.
Further, the control instruction execution result that the management application of each weighing-appliance is fed back to can also be received;It will Each control instruction execution result is uniformly converted to the unified formatted data that can be weighed the identification of equipment management middleware;According to unified Formatted data shows the control result of corresponding weighing-appliance;And when managing result is configuration failure, sent by preset path Warning message.I.e. when being shown in tension management equipment to the information of all weighing-appliances for being connected to the middleware, it is Based under same interface, without being presented on the management of each weighing-appliance is applied respectively, this is because the management The implementing result that middleware can return to each management application carries out unified presentation, to lower management difficulty.
It should be noted that the preset path can be Email, combined aural and visual alarm, instant messaging application and pop-up Prompt etc. mode, can also receive the customized of user, herein and be not specifically limited.
Based on the above-mentioned technical proposal, a kind of weighing-appliance management-control method provided by the embodiments of the present application, sets applied to weighing Standby management middleware, one end is connected with each weighing-appliance, one end is connected with tension management equipment, which is built-in with every kind The corresponding management application of weighing-appliance receives tension management equipment in actual use and just unifies the control instruction that format generates, And the practical corresponding target operation object of control instruction and target control content are therefrom extracted, determining target operation object It is the lattice that can be read by target weighing-appliance management application by the target control Content Transformation of former format after corresponding weighing-appliance Formula can realize that, to manage the unification of instruction, format conversion operation is transferred in the management application different without frequent switching based on this A possibility that middleware carries out, and significantly increases more apparatus management/control efficiency and reduces error.
Embodiment two
Below in conjunction with Fig. 2, Fig. 2 is the flow chart of another weighing-appliance management-control method provided by the embodiments of the present application, this A kind of how to manage from the weighing-appliance of unified format given on the basis of example 1, by S202 and S203 for embodiment In instruction extract obtain target operation object and target control content method, by S206 to S208 give it is a kind of receiving hold Row issue after the returned data returned and the mode handled, it should be noted that above-mentioned two parts can individually with reality It applies example one and forms corresponding embodiment, the present embodiment is only deposited as a kind of preferred embodiment comprising two kinds of preferred embodiments simultaneously , the specific steps are as follows:
S201: the weighing-appliance for receiving administrative staff's input manages instruction;
S202: it is extracted from weighing-appliance control instruction in the way of keyword extraction and obtains target operation object;
S203: the predetermined position in weighing-appliance control instruction is extracted to obtain target control content;
The present embodiment is extracted from weighing-appliance control instruction using keyword extraction mode and obtains target operation object, energy Enough use the premise of the extracting mode for be in advance various types of weighing-appliance carried out there are same section identify name, such as The keyword extraction mode can be used based on same section in equipment 001, equipment 002, equipment 003.And it is extracting in target control When appearance then in such a way that the predetermined position in weighing-appliance control instructs extracts, this is because under normal conditions Target control content usually there will be in a fixed position, and similar, the extraction of target operation object can also be based on Such mode carries out.
S204: the corresponding target weighing-appliance of target operation object is determined according to corresponding table, and target control content is turned Being changed to can be by the data of the corresponding management application identification of target weighing-appliance;
S205: by the management application of data distributing to target weighing-appliance, to utilize management application by data configuration in right The weighing-appliance answered;
S206: the control instruction execution result that the management application of each weighing-appliance is fed back to is received;
S207: each control instruction execution result is uniformly converted to the unified lattice that can be weighed the identification of equipment management middleware Formula data;
S208: the control result of corresponding weighing-appliance is shown according to unified formatted data.
Fig. 3 is referred to below, Fig. 3 is a kind of structural block diagram of weighing-appliance managing and control system provided by the embodiments of the present application, The weighing-appliance managing and control system may include:
Instruction receiving unit 100 is managed, for receiving the weighing-appliance control instruction of administrative staff's input;
Information extraction unit 200 obtains target operation object and target tube for extracting from weighing-appliance control instruction Control content;
Corresponding relationship determination and converting unit 300, for determining that the corresponding target of target operation object claims according to corresponding table Heavy equipment, and being by target control Content Transformation can be by the data of the corresponding management application identification of target weighing-appliance;Wherein, right It answers in table including the corresponding pass between corresponding relationship, each weighing-appliance and each management application between each operation object and each weighing-appliance System;
Data distributing unit 400, for managing application to utilize for the management application of data distributing to target weighing-appliance By data configuration in corresponding weighing-appliance.
Wherein, information extraction unit 200 may include:
Operation object extracts subelement, obtains for being extracted from weighing-appliance control instruction in the way of keyword extraction Target operation object;
Contents extraction subelement is managed, extracts to obtain target tube for the predetermined position in weighing-appliance control instruction Control content.
Further, which can also include:
Unit is named, for being in advance that each weighing-appliance is named, obtains equipment identification marking, and each equipment is known It Biao Shi not be as the operation object of corresponding weighing-appliance.
Implementing result receiving unit, the control instruction execution knot that the management application for receiving each weighing-appliance is fed back to Fruit;
Format conversion unit can be weighed equipment management middleware for being uniformly converted to each control instruction execution result The unified formatted data of identification;
Unified display unit, for showing the control result of corresponding weighing-appliance according to unified formatted data;
Transmission unit is alerted, for sending warning message by preset path when managing result is configuration failure.
Based on the above embodiment, present invention also provides a kind of weighing-appliances to manage middleware, which may include Memory and processor, wherein have computer program in the memory, which calls the computer journey in the memory When sequence, step provided by above-described embodiment may be implemented.Certainly, which can also include that various necessary networks connect Mouth, power supply and other components etc..
Embodiment three
It is intermediate that the present embodiment provides a kind of weighing-appliance management on the basis of the various embodiments described above, in conjunction with concrete scene Part, each weighing-appliance concentration are connected to weighing-appliance management middleware, externally provide service by the middleware, and every kind claims The corresponding management application of heavy equipment then carries out data communication with the middleware, refers to Fig. 4, and Fig. 4 is a kind of weighing-appliance management The internal logic of middleware constitutes schematic diagram:
Each weighing-appliance is directly connected to hardware service, and hardware service and management application connection provide puppy parc, to pipe For ought to using, just for particular kind of equipment, does not have to be concerned about specific producer, communication modes and model, be decoupled with equipment.
As shown in figure 4, wherein successively including three levels, it is followed successively by the interface for providing and externally servicing, TCP/IP is supported to connect Mouth and WebSocket interface (a kind of interface based on socket protocol), can support various development languages and development technique extensively The business interface layer of frame;The received instruction of business interface layer is executed, and autotask scheduling, automatic money are realized by thread pool Whether source scheduling is, it can be achieved that various configurations to equipment, including communications parameter, shield and execute number etc., and will be received The bussiness processing layer of the result record log of instruction and processing;It supports multiple standards communications protocol, can be adapted to most various Different hardware devices realizes the device interface layer with the communication of equipment.Other English not explained are ability in Fig. 4 Agreement known to field technique personnel, no longer repeats one by one herein.
Each equipment is regarded as a resource by hardware service, needs to regard as using the management application of hardware each One task, management application access and control to equipment on demand according to different business, and accessing or control each time can be An independent thread, that is, task is generated in hardware service, thread is put into thread pool by the time sequencing of generation, and presses Mr. It is returned at the sequential access devices resource first handled, and by the result of access or control by task.Each task can match It sets independent parameter for example to execute number, whether shield, hardware service is executed in the task of execution by the parameter of task.In this way It is the equipment of any model of which specific producer that the benefit done, which is for weighing software no longer relationship, it is only necessary to press every kind The agreement of equipment can access to equipment and control by servicing firmly.The equipment of change is only needed in hardware service Middle configuration.And component is mutually independent library one by one, can only be controlled, when be needed assorted by weighing software When call, cannot achieve computing resource it is reasonable utilization and task schedule.
Although hardware service is called by the genesis sequence of task, multitask running is supported in hardware service, Multiple tasks can be supported to be performed simultaneously simultaneously, which task has first carried out which is returned to.Meter can farthest be played The computing resource of calculation machine.
One list of devices of hardware service internal maintenance, can be managed and configure to the equipment connected, It only needs to specify specific model when use, has such as had the equipment of the same race of 10 producer's different models, for example, by using the 3rd Kind, it is only necessary to by the status modifier of the 3rd kind of equipment at enabling, other equipment are set off.This addresses the problem differences Version, different manufacturers, different model equipment management problem.And cannot achieve configuration when using component technology, people can only be relied on Which which work statistics, just quotes using.
Hardware service supports multi-client to call in business interface layer, can thus service multiple programs, weighbridge scene Each management application weighing business is realized by hardware service, due to not using single component, each management using It is called on demand, rather than all components is all added;Tension management terminal can connect all weighbridges simultaneously Hardware service can also send to hardware service if there is failure and refer to the equipment operation condition of each weighbridge as wielded Order is safeguarded and is debugged.This addresses the problem the problems of centralized management and maintenance.
Because situation is complicated, it can not enumerate and be illustrated, those skilled in the art should be able to recognize according to the application The basic skills principle combination actual conditions of offer may exist many examples, in the case where not paying enough creative works, It should within the scope of protection of this application.
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program Step provided by above-described embodiment may be implemented when being performed terminal or processor execution.The storage medium may include: U Disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), the various media that can store program code such as magnetic or disk.
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and between each embodiment For progressive relationship, each embodiment focuses on the differences from other embodiments, identical between each embodiment Similar portion may refer to each other.For the device disclosed in the embodiment, reference can be made to corresponding method part illustration.The above reality The explanation for applying example is merely used to help understand the present processes and its core concept.For the ordinary skill people of the art Member for, under the premise of not departing from the application principle, can also to the application, some improvement and modification can also be carried out, these improve and Modification is also fallen into the protection scope of the claim of this application.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also other elements including being not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or equipment for including element.

Claims (10)

1. a kind of weighing-appliance management-control method, which is characterized in that be applied to weighing-appliance and manage middleware, comprising:
The weighing-appliance for receiving administrative staff's input manages instruction;
It is extracted from weighing-appliance control instruction and obtains target operation object and target control content;
The corresponding target weighing-appliance of the target operation object is determined according to corresponding table, and the target is managed into Content Transformation For the data that can be identified by the corresponding management application of the target weighing-appliance;It wherein, include each operation pair in the corresponding table As the corresponding relationship between corresponding relationship, each weighing-appliance and each management application between each weighing-appliance;
By the data distributing to the management application of the target weighing-appliance, the data to be matched using management application It is placed in corresponding weighing-appliance.
2. weighing-appliance management-control method according to claim 1, which is characterized in that from weighing-appliance control instruction Extraction obtains target operation object and target control content, comprising:
It is extracted from weighing-appliance control instruction in the way of keyword extraction and obtains target operation object;
Predetermined position in weighing-appliance control instruction is extracted to obtain the target control content.
3. weighing-appliance management-control method according to claim 1, which is characterized in that further include:
Be named in advance for each weighing-appliance, obtain equipment identification marking, and using each equipment identification marking as pair Answer the operation object of weighing-appliance.
4. weighing-appliance management-control method according to claim 1, which is characterized in that further include:
Receive the control instruction execution result that the management application of each weighing-appliance is fed back to;
Each control instruction execution result is uniformly converted to and can manage the unified lattice that middleware identifies by the weighing-appliance Formula data;
The control result of corresponding weighing-appliance is shown according to the unified formatted data;
When the control result is configuration failure, warning message is sent by preset path.
5. weighing-appliance management-control method according to any one of claims 1 to 4, which is characterized in that the weighing-appliance pipe The source of control instruction includes:
The local control host being connected directly with the management middleware, the long-range control being remotely connected with the management middleware Any one in host, the other control hosts being connected with the local control host.
6. weighing-appliance management-control method according to any one of claims 1 to 4, which is characterized in that in the target control Appearance includes:
The start command of weighing-appliance, the ceasing and desisting order of weighing-appliance, the parameter configuration order of weighing-appliance, weighing-appliance are worked as At least one of in preceding parameter acquisition instruction, the log acquisition instructions of weighing-appliance.
7. a kind of weighing-appliance managing and control system, which is characterized in that be applied to weighing-appliance and manage middleware, comprising:
Instruction receiving unit is managed, for receiving the weighing-appliance control instruction of administrative staff's input;
Information extraction unit obtains in target operation object and target control for extracting from weighing-appliance control instruction Hold;
Corresponding relationship determination and converting unit, for determining that the corresponding target weighing of the target operation object is set according to corresponding table It is standby, and being by target control Content Transformation can be by the data of the corresponding management application identification of the target weighing-appliance;Its In, it include corresponding relationship, each weighing-appliance and each management application between each operation object and each weighing-appliance in the corresponding table Between corresponding relationship;
Data distributing unit, for the management application by the data distributing to the target weighing-appliance, to utilize the pipe Ought to by the data configuration in corresponding weighing-appliance.
8. weighing-appliance managing and control system according to claim 7, which is characterized in that the information extraction unit includes:
Operation object extracts subelement, obtains for being extracted from weighing-appliance control instruction in the way of keyword extraction Target operation object;
Contents extraction subelement is managed, extracts to obtain the mesh for the predetermined position in weighing-appliance control instruction Mark control content.
9. a kind of weighing-appliance manages middleware characterized by comprising
Memory, for storing computer program;
Processor realizes that weighing-appliance as claimed in any one of claims 1 to 6 such as is managed when for executing the computer program The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as weighing-appliance control side as claimed in any one of claims 1 to 6 when the computer program is executed by processor The step of method.
CN201810995519.6A 2018-08-29 2018-08-29 Weighing equipment management and control method and system, weighing equipment management middleware and medium Active CN109190969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810995519.6A CN109190969B (en) 2018-08-29 2018-08-29 Weighing equipment management and control method and system, weighing equipment management middleware and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810995519.6A CN109190969B (en) 2018-08-29 2018-08-29 Weighing equipment management and control method and system, weighing equipment management middleware and medium

Publications (2)

Publication Number Publication Date
CN109190969A true CN109190969A (en) 2019-01-11
CN109190969B CN109190969B (en) 2021-06-11

Family

ID=64916456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810995519.6A Active CN109190969B (en) 2018-08-29 2018-08-29 Weighing equipment management and control method and system, weighing equipment management middleware and medium

Country Status (1)

Country Link
CN (1) CN109190969B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158763A (en) * 2019-12-06 2020-05-15 思创数码科技股份有限公司 Equipment instruction processing system for building intelligent management and control
CN112433789A (en) * 2020-11-24 2021-03-02 深圳供电局有限公司 Management method and system for intelligent equipment access

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082771A (en) * 2009-11-30 2011-06-01 中国移动通信集团福建有限公司 Service management middleware based on ESB (enterprise service bus) technology
CN102136933A (en) * 2010-09-30 2011-07-27 华为技术有限公司 Equipment management method, middleware and machine communication platform, equipment and system
CN105096083A (en) * 2015-07-30 2015-11-25 中国石油化工股份有限公司 Information system for warehouse
CN105610880A (en) * 2014-11-10 2016-05-25 中兴通讯股份有限公司 M2M communication architecture, information interaction method and information interaction device
CN106209968A (en) * 2016-06-16 2016-12-07 西安佳信系统集成有限责任公司 A kind of Internet of Things data intelligence integration middleware

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082771A (en) * 2009-11-30 2011-06-01 中国移动通信集团福建有限公司 Service management middleware based on ESB (enterprise service bus) technology
CN102136933A (en) * 2010-09-30 2011-07-27 华为技术有限公司 Equipment management method, middleware and machine communication platform, equipment and system
CN105610880A (en) * 2014-11-10 2016-05-25 中兴通讯股份有限公司 M2M communication architecture, information interaction method and information interaction device
CN105096083A (en) * 2015-07-30 2015-11-25 中国石油化工股份有限公司 Information system for warehouse
CN106209968A (en) * 2016-06-16 2016-12-07 西安佳信系统集成有限责任公司 A kind of Internet of Things data intelligence integration middleware

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158763A (en) * 2019-12-06 2020-05-15 思创数码科技股份有限公司 Equipment instruction processing system for building intelligent management and control
CN111158763B (en) * 2019-12-06 2023-08-18 思创数码科技股份有限公司 Equipment instruction processing system for intelligent management and control of building
CN112433789A (en) * 2020-11-24 2021-03-02 深圳供电局有限公司 Management method and system for intelligent equipment access

Also Published As

Publication number Publication date
CN109190969B (en) 2021-06-11

Similar Documents

Publication Publication Date Title
CN106159939B (en) Dispatching of power netwoks is issued an order method and system automatically
CN109684054A (en) Information processing method and device, electronic equipment and memory
CN103208046A (en) Workflow engine architecture method and system based on interactive dynamic flow diagram
CN104156833A (en) Intelligent power failure repairing and dispatch list receiving system loaded into manual power audio signal system and operation method thereof
CN105653401A (en) Method and device for scheduling disaster recovery, operation and maintenance, monitoring and emergency start-stop of application systems
EP2933726A1 (en) Apparatus, system and method for application log data processing
CN107908488A (en) Message request interactive interfacing method, apparatus, computer equipment and storage medium
CN103729742B (en) A kind of Data Resources Management System based on SOA framework and executing model drive structure
CN101483562B (en) Method, system and related equipment for routine test
CN103577165A (en) Form generation method and form generator
CN109190969A (en) Weighing-appliance management-control method, system, weighing-appliance management middleware and medium
CN115022304B (en) Method, device and system for realizing IA (IA-IA) cross-platform file processing based on RPA (remote procedure A) and AI (advanced technology attachment)
CN104298671B (en) data statistical analysis method and device
CN112181542A (en) Function calling method and device, electronic equipment and storage medium
CN113658351B (en) Method and device for producing product, electronic equipment and storage medium
CN102833015A (en) Method for determining public software interface of satellite automatic testing system
CN104506939A (en) Information reporting method and television terminal
CN107133040A (en) A kind of standardized product service apparatus and business module extend method of replacing
CN111784145A (en) Service scheduling method, device, equipment and storage medium
CN110007901A (en) A kind of development system collecting regimental wind-powered electricity generation monitor supervision platform and its operation method and development approach
CN102855297A (en) Method for controlling data transmission, and connector
CN112181695A (en) Abnormal application processing method, device, server and storage medium
CN103914304A (en) Method for converting different structure type parameters on basis of SAP (service access point) platforms
CN107276994A (en) The communication management system and method for a kind of energy-storage system
CN114237634A (en) Application release risk identification method, device, equipment, medium and program product

Legal Events

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