CN113985793A - Intelligent equipment remote interaction method and system based on middle layer - Google Patents

Intelligent equipment remote interaction method and system based on middle layer Download PDF

Info

Publication number
CN113985793A
CN113985793A CN202111387940.7A CN202111387940A CN113985793A CN 113985793 A CN113985793 A CN 113985793A CN 202111387940 A CN202111387940 A CN 202111387940A CN 113985793 A CN113985793 A CN 113985793A
Authority
CN
China
Prior art keywords
signal
client
request
butted
intelligent equipment
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
CN202111387940.7A
Other languages
Chinese (zh)
Inventor
史纪
黄勇光
陈喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Power Supply Bureau Co Ltd
Original Assignee
Shenzhen Power Supply Bureau 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 Shenzhen Power Supply Bureau Co Ltd filed Critical Shenzhen Power Supply Bureau Co Ltd
Priority to CN202111387940.7A priority Critical patent/CN113985793A/en
Publication of CN113985793A publication Critical patent/CN113985793A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23051Remote control, enter program remote, detachable programmer

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a remote interaction method and a remote interaction system for intelligent equipment based on an intermediate layer, wherein the intermediate layer receives a handshake request signal of a client, and determines the intelligent equipment and request parameters which are butted by the handshake request signal through inquiring a preset request parameter table; the middle layer generates a corresponding equipment opening signal according to the determined request parameter and sends the equipment opening signal to the butted intelligent equipment; receiving a response result signal returned by the docked intelligent device; and the middle layer judges whether the client side establishes continuous remote connection with the butted intelligent equipment or not according to the returned response result signal, and judges that the continuous remote connection is established when the returned response result signal is successful. The invention controls data exchange between hardware service layers of equipment of different systems by one server terminal, realizes real-time cross-system calling of each hardware module of the self-service equipment, and completes service handling of VTM self-service electric equipment of Linux and android systems.

Description

Intelligent equipment remote interaction method and system based on middle layer
Technical Field
The invention relates to the technical field of remote interaction, in particular to a method and a system for intelligent device remote interaction based on an intermediate layer.
Background
With the construction of the intelligent business hall, a lot of simple businesses with larger workload can be handled through self-service without manual counter handling. Meanwhile, through the construction of an information service platform of the intelligent equipment network, the working mode of the south mountain intelligent business hall has extremely high popularization, and especially the intelligent equipment has the conditions of quick purchase and popularization. Along with the quantity of smart machine is more and more, for the standardization of ensureing the smart machine access, improve the management dynamics to the smart machine, reduce the smart machine fortune dimension cost. In this background, the establishment of a unified smart device access standard is imminent.
In particular, self-service power services are becoming the mainstream of the power services industry and gaining wide acceptance by customers. At present, more and more services are handled by adopting VTM self-service handling equipment gradually. However, with the iterative upgrade of new products and equipment accessories, a situation that multiple systems and multiple system versions of equipment coexist follows, and how to realize the remote interaction of the VTM terminal in such a situation is particularly important.
Disclosure of Invention
The invention aims to provide a method and a system for remotely interacting intelligent equipment based on an intermediate layer, and solves the technical problem that the interaction specifications are not uniform in the coexistence scene of equipment of multiple systems and multiple system versions in the conventional method.
In one aspect, a method for remotely interacting intelligent equipment based on a middle layer is provided, which includes:
the intermediate layer receives a handshake request signal of a client, determines the handshake request signal to determine the butted intelligent equipment and request parameters by inquiring a preset request parameter table, generates a corresponding approval signal and returns the approval signal to the client;
the middle layer generates a corresponding equipment opening signal according to the determined request parameter and sends the equipment opening signal to the butted intelligent equipment; receiving a response result signal returned by the docked intelligent device; wherein the response result signal comprises success or failure;
and the intermediate layer judges whether the client side establishes continuous remote connection with the butted intelligent equipment or not according to the returned response result signal, and judges that the client side establishes continuous remote connection with the butted intelligent equipment when the returned response result signal is successful.
Preferably, the method further comprises the following steps:
and when the returned response result signal is failure, judging that the client does not establish continuous remote connection with the docked intelligent device.
Preferably, the generating the corresponding approval signal and returning the approval signal to the client specifically includes:
after the middle layer determines the butted intelligent equipment and the request parameters, inquiring whether a preset request parameter table contains the corresponding request parameters; if yes, determining the butted intelligent equipment according to the query result, and generating an approval signal as success, otherwise, generating an approval signal as failure.
Preferably, the receiving of the response result signal returned by the docked smart device specifically includes:
determining accessories of the butted intelligent equipment to be called according to the request parameters;
initializing the butted intelligent equipment and detecting whether corresponding accessories are normal or not; if all the accessories are normal, the response result signal is generated to be successful, and if any one of the accessories is abnormal, the response result signal is generated to be failed.
Preferably, the method further comprises the following steps:
and when the middle layer receives a device closing request of a client or cancels a current accessory operation request, interrupting the remote connection established between the client and the butted intelligent device.
Preferably, the method further comprises the following steps:
when the middle layer receives a request of reusing the accessory of the client, the middle layer directly calls the corresponding accessory to establish continuous remote connection with the client.
In another aspect, a middle layer-based intelligent device remote interaction system is further provided, where the middle layer-based intelligent device remote interaction method is used for:
the client is used for receiving a handshake request signal input by a user and forwarding the handshake request signal to the middle layer;
the intermediate layer is used for determining the intelligent equipment and the request parameters which are butted by the handshake request signals through inquiring a preset request parameter table, generating corresponding approval signals and returning the approval signals to the client; generating a corresponding device opening signal according to the determined request parameter and sending the device opening signal to the butted intelligent device; receiving a response result signal returned by the docked intelligent device; wherein the response result signal comprises success or failure; and judging whether continuous remote connection is established between the client and the butted intelligent equipment or not according to the returned response result signal, and judging that continuous remote connection is established between the client and the butted intelligent equipment when the returned response result signal is successful.
Preferably, the intermediate layer is further configured to query whether a preset request parameter table includes a corresponding request parameter after determining the docked intelligent device and the request parameter; if yes, determining the butted intelligent equipment according to the query result, and generating an approval signal as success, otherwise, generating an approval signal as failure.
Preferably, the middle layer is further configured to determine, according to the request parameter, an accessory of the docked smart device that needs to be invoked;
initializing the butted intelligent equipment and detecting whether corresponding accessories are normal or not; if all the accessories are normal, the response result signal is generated to be successful, and if any one of the accessories is abnormal, the response result signal is generated to be failed.
Preferably, the intermediate layer is further configured to interrupt a remote connection established between the client and the docked smart device when a device closing request of the client is received or a current accessory operation request is cancelled;
when the middle layer receives a request of reusing the accessory of the client, the middle layer directly calls the corresponding accessory to establish continuous remote connection with the client.
In summary, the embodiment of the invention has the following beneficial effects:
according to the intermediate layer-based intelligent device remote interaction method and system, data exchange between hardware service layers of devices of different systems is controlled by one server terminal through a formulated intermediate layer interaction protocol and an agreed standard interface specification, real-time cross-system calling of each hardware module of self-service equipment is realized, and service handling of VTM self-service electric equipment of Linux and android systems is completed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is within the scope of the present invention for those skilled in the art to obtain other drawings based on the drawings without inventive exercise.
Fig. 1 is a main flow diagram of an intelligent device remote interaction method based on an intermediate layer in an embodiment of the present invention.
Fig. 2 is a schematic diagram of an intelligent device remote interaction system based on an intermediate layer in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an embodiment of a method for remotely interacting an intelligent device based on an intermediate layer according to the present invention. In this embodiment, the method comprises the steps of:
the intermediate layer receives a handshake request signal of a client, determines the handshake request signal to determine the butted intelligent equipment and request parameters by inquiring a preset request parameter table, generates a corresponding approval signal and returns the approval signal to the client; that is, the device is initialized and called before using the device to know whether the device is normal.
In a specific embodiment, after the middle layer determines the butted intelligent equipment and the request parameters, whether a corresponding request parameter is contained in a preset request parameter table is inquired; if yes, determining the butted intelligent equipment according to the query result, and generating an approval signal as success, otherwise, generating an approval signal as failure.
The request parameter table is as follows,
Figure BDA0003367706270000041
Figure BDA0003367706270000051
the approval signal is as follows
Figure BDA0003367706270000052
Further, the intermediate layer generates a corresponding device opening signal according to the determined request parameter and sends the device opening signal to the butted intelligent device; receiving a response result signal returned by the docked intelligent device; wherein the response result signal comprises success or failure; that is, a request to open the device and corresponding accessory, a corresponding response signal is returned. The turn-on device signal is as follows,
Figure BDA0003367706270000053
the response result signal is as follows
Figure BDA0003367706270000054
In a specific embodiment, the accessory of the butted intelligent equipment needing to be called is determined according to the request parameter; initializing the butted intelligent equipment and detecting whether corresponding accessories are normal or not; if all the accessories are normal, the response result signal is generated to be successful, and if any one of the accessories is abnormal, the response result signal is generated to be failed.
Further, the intermediate layer judges whether a continuous remote connection is established between the client and the docked intelligent device according to the returned response result signal, and judges that a continuous remote connection is established between the client and the docked intelligent device when the returned response result signal is successful. And when the returned response result signal is failure, judging that the client does not establish continuous remote connection with the docked intelligent device.
Further, when the middle layer receives a device closing request of a client or cancels a current accessory operation request, the remote connection established between the client and the docked intelligent device is interrupted. When the middle layer receives a request of reusing the accessory of the client, the middle layer directly calls the corresponding accessory to establish continuous remote connection with the client. That is, the device is turned off or the operation of the current accessory is cancelled, and the accessory method is directly transferred to the openDevice if it needs to be reused.
Fig. 2 is a schematic diagram of an embodiment of an intelligent device remote interaction system based on a middle layer according to the present invention. In this embodiment, the method includes:
the client is used for receiving a handshake request signal input by a user and forwarding the handshake request signal to the middle layer;
the intermediate layer is used for determining the intelligent equipment and the request parameters which are butted by the handshake request signals through inquiring a preset request parameter table, generating corresponding approval signals and returning the approval signals to the client; generating a corresponding device opening signal according to the determined request parameter and sending the device opening signal to the butted intelligent device; receiving a response result signal returned by the docked intelligent device; wherein the response result signal comprises success or failure; and judging whether continuous remote connection is established between the client and the butted intelligent equipment or not according to the returned response result signal, and judging that continuous remote connection is established between the client and the butted intelligent equipment when the returned response result signal is successful.
Specifically, the intermediate layer is further configured to query whether a preset request parameter table includes a corresponding request parameter after determining the docked intelligent device and the request parameter; if yes, determining the butted intelligent equipment according to the query result, and generating an approval signal as success, otherwise, generating an approval signal as failure. The middle layer is also used for determining accessories of the butted intelligent equipment needing to be called according to the request parameters; initializing the butted intelligent equipment and detecting whether corresponding accessories are normal or not; if all the accessories are normal, the response result signal is generated to be successful, and if any one of the accessories is abnormal, the response result signal is generated to be failed. The middle layer is also used for interrupting the remote connection established between the client and the butted intelligent equipment when receiving a request of closing the equipment of the client or canceling the current accessory operation request; when the middle layer receives a request of reusing the accessory of the client, the middle layer directly calls the corresponding accessory to establish continuous remote connection with the client.
For a specific implementation process of the intelligent device remote interaction system based on the middle layer, reference may be made to the above-mentioned intelligent device remote interaction method based on the middle layer, which is not described herein again.
In summary, the embodiment of the invention has the following beneficial effects:
according to the intermediate layer-based intelligent device remote interaction method and system, data exchange between hardware service layers of devices of different systems is controlled by one server terminal through a formulated intermediate layer interaction protocol and an agreed standard interface specification, real-time cross-system calling of each hardware module of self-service equipment is realized, and service handling of VTM self-service electric equipment of Linux and android systems is completed.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A remote interaction method for intelligent equipment based on an intermediate layer is characterized by comprising the following steps:
the intermediate layer receives a handshake request signal of a client, determines the handshake request signal to determine the butted intelligent equipment and request parameters by inquiring a preset request parameter table, generates a corresponding approval signal and returns the approval signal to the client;
the middle layer generates a corresponding equipment opening signal according to the determined request parameter and sends the equipment opening signal to the butted intelligent equipment; receiving a response result signal returned by the docked intelligent device; wherein the response result signal comprises success or failure;
and the intermediate layer judges whether the client side establishes continuous remote connection with the butted intelligent equipment or not according to the returned response result signal, and judges that the client side establishes continuous remote connection with the butted intelligent equipment when the returned response result signal is successful.
2. The method of claim 1, further comprising:
and when the returned response result signal is failure, judging that the client does not establish continuous remote connection with the docked intelligent device.
3. The method of claim 1, wherein said generating a corresponding acceptance signal back to the client specifically comprises:
after the middle layer determines the butted intelligent equipment and the request parameters, inquiring whether a preset request parameter table contains the corresponding request parameters; if yes, determining the butted intelligent equipment according to the query result, and generating an approval signal as success, otherwise, generating an approval signal as failure.
4. The method of claim 3, wherein receiving the response-to-result signal returned by the docked smart device specifically comprises:
determining accessories of the butted intelligent equipment to be called according to the request parameters;
initializing the butted intelligent equipment and detecting whether corresponding accessories are normal or not; if all the accessories are normal, the response result signal is generated to be successful, and if any one of the accessories is abnormal, the response result signal is generated to be failed.
5. The method of claim 4, further comprising:
and when the middle layer receives a device closing request of a client or cancels a current accessory operation request, interrupting the remote connection established between the client and the butted intelligent device.
6. The method of claim 5, further comprising:
when the middle layer receives a request of reusing the accessory of the client, the middle layer directly calls the corresponding accessory to establish continuous remote connection with the client.
7. An intelligent device remote interaction system based on a middle layer, which is used for realizing the method of any one of claims 1-6, and is characterized by comprising:
the client is used for receiving a handshake request signal input by a user and forwarding the handshake request signal to the middle layer;
the intermediate layer is used for determining the intelligent equipment and the request parameters which are butted by the handshake request signals through inquiring a preset request parameter table, generating corresponding approval signals and returning the approval signals to the client; generating a corresponding device opening signal according to the determined request parameter and sending the device opening signal to the butted intelligent device; receiving a response result signal returned by the docked intelligent device; wherein the response result signal comprises success or failure; and judging whether continuous remote connection is established between the client and the butted intelligent equipment or not according to the returned response result signal, and judging that continuous remote connection is established between the client and the butted intelligent equipment when the returned response result signal is successful.
8. The system of claim 7, wherein the middle layer is further configured to query whether a preset request parameter table includes corresponding request parameters after determining the docked smart device and the request parameters; if yes, determining the butted intelligent equipment according to the query result, and generating an approval signal as success, otherwise, generating an approval signal as failure.
9. The system of claim 8, wherein the middle tier is further configured to determine an accessory of the docked smart device that needs to be invoked based on the request parameter;
initializing the butted intelligent equipment and detecting whether corresponding accessories are normal or not; if all the accessories are normal, the response result signal is generated to be successful, and if any one of the accessories is abnormal, the response result signal is generated to be failed.
10. The system of claim 9, wherein the middle tier is further configured to interrupt a remote connection established between a client and the docked smart device upon receiving a request to close the device from the client or canceling a current accessory operation request;
when the middle layer receives a request of reusing the accessory of the client, the middle layer directly calls the corresponding accessory to establish continuous remote connection with the client.
CN202111387940.7A 2021-11-22 2021-11-22 Intelligent equipment remote interaction method and system based on middle layer Pending CN113985793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111387940.7A CN113985793A (en) 2021-11-22 2021-11-22 Intelligent equipment remote interaction method and system based on middle layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111387940.7A CN113985793A (en) 2021-11-22 2021-11-22 Intelligent equipment remote interaction method and system based on middle layer

Publications (1)

Publication Number Publication Date
CN113985793A true CN113985793A (en) 2022-01-28

Family

ID=79749855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111387940.7A Pending CN113985793A (en) 2021-11-22 2021-11-22 Intelligent equipment remote interaction method and system based on middle layer

Country Status (1)

Country Link
CN (1) CN113985793A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201286116Y (en) * 2008-09-01 2009-08-05 中国移动通信集团湖南有限公司 Service processing equipment and system
CN103761626A (en) * 2014-02-13 2014-04-30 国家电网公司 Two-way interactive supporting system of power supply business hall and implementation method thereof
CN104333808A (en) * 2014-11-14 2015-02-04 复旦大学 General player applied to Android and Linux smart televisiosn
CN106506565A (en) * 2017-01-04 2017-03-15 上海上讯信息技术股份有限公司 A kind of remote command executes method and apparatus
CN108062382A (en) * 2017-12-13 2018-05-22 广州视源电子科技股份有限公司 Method, apparatus, equipment and the storage medium of information exchange
CN108765785A (en) * 2018-04-02 2018-11-06 广州供电局有限公司 A kind of long-distance video automatic teller machine VTM self-service terminal systems
CN109243106A (en) * 2018-08-28 2019-01-18 山东浪潮商用系统有限公司 A kind of contract tax based on cloud computing pays self-service tax system
CN111787097A (en) * 2020-06-30 2020-10-16 北京同邦卓益科技有限公司 Interface message conversion configuration method, interface message conversion method and equipment
CN112562217A (en) * 2020-12-16 2021-03-26 恒银金融科技股份有限公司 Flow engine design, communication mode and working method of self-service terminal control system
CN112751929A (en) * 2020-12-28 2021-05-04 深圳市科创思科技有限公司 Method and system for communicating with remote PLC (programmable logic controller) equipment
CN112835733A (en) * 2021-03-31 2021-05-25 中国工商银行股份有限公司 Self-service equipment service processing method and device and self-service equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201286116Y (en) * 2008-09-01 2009-08-05 中国移动通信集团湖南有限公司 Service processing equipment and system
CN103761626A (en) * 2014-02-13 2014-04-30 国家电网公司 Two-way interactive supporting system of power supply business hall and implementation method thereof
CN104333808A (en) * 2014-11-14 2015-02-04 复旦大学 General player applied to Android and Linux smart televisiosn
CN106506565A (en) * 2017-01-04 2017-03-15 上海上讯信息技术股份有限公司 A kind of remote command executes method and apparatus
CN108062382A (en) * 2017-12-13 2018-05-22 广州视源电子科技股份有限公司 Method, apparatus, equipment and the storage medium of information exchange
CN108765785A (en) * 2018-04-02 2018-11-06 广州供电局有限公司 A kind of long-distance video automatic teller machine VTM self-service terminal systems
CN109243106A (en) * 2018-08-28 2019-01-18 山东浪潮商用系统有限公司 A kind of contract tax based on cloud computing pays self-service tax system
CN111787097A (en) * 2020-06-30 2020-10-16 北京同邦卓益科技有限公司 Interface message conversion configuration method, interface message conversion method and equipment
CN112562217A (en) * 2020-12-16 2021-03-26 恒银金融科技股份有限公司 Flow engine design, communication mode and working method of self-service terminal control system
CN112751929A (en) * 2020-12-28 2021-05-04 深圳市科创思科技有限公司 Method and system for communicating with remote PLC (programmable logic controller) equipment
CN112835733A (en) * 2021-03-31 2021-05-25 中国工商银行股份有限公司 Self-service equipment service processing method and device and self-service equipment

Similar Documents

Publication Publication Date Title
CN1649324B (en) Method and apparatus for operating an open API network having a proxy
KR0163251B1 (en) Client server type network
CN105939201A (en) Method and device for checking state of server
US20120144387A1 (en) Method and system for performing services in server and client of client/server architecture
CN114691567A (en) Multi-cloud interface adaptation method, system and storage medium based on micro-service
KR101416280B1 (en) Event handling system and method
CN111405130B (en) Voice interaction system and method
US20220327010A1 (en) Extensible communication framework and communication method supporting multiple communication protocols
KR102233152B1 (en) Ocpp .
US9172581B2 (en) Communication system, datacenter apparatus, and control method used in datacenter apparatus
CN109815056A (en) Realize method, apparatus, storage medium and the equipment of message queue reconnection
CN113985793A (en) Intelligent equipment remote interaction method and system based on middle layer
CN104349499A (en) Session access system, access system with communication of mobile terminal and call center and methods thereof
US20060050856A1 (en) Computer telephony server for scripted call termination
US5828744A (en) Call waiting processing system, and originating terminal unit, destination terminal unit and originating/destination terminal unit utilized in the same system
CN111131643B (en) Call control method and device
CN113765871B (en) Method and device for managing fort machine
US20020168062A1 (en) Methods and apparatus for automatically determining a call service request
CN112905273A (en) Service calling method and device
CN113312390A (en) Service data calling method and device, storage medium and electronic equipment
US5594902A (en) Custom service control system
KR20050067413A (en) Method and apparatus for a service integration system
CN111711660B (en) Method, device, equipment and storage medium for communication between electronic equipment
EP3567831B1 (en) Communication management
CN112468479B (en) Remote assistance method of contact center and CTI (computer telephony integration) assembly

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