CN115118707A - Instruction control method and system for multi-terminal interaction based on WEB operating system - Google Patents

Instruction control method and system for multi-terminal interaction based on WEB operating system Download PDF

Info

Publication number
CN115118707A
CN115118707A CN202210586786.4A CN202210586786A CN115118707A CN 115118707 A CN115118707 A CN 115118707A CN 202210586786 A CN202210586786 A CN 202210586786A CN 115118707 A CN115118707 A CN 115118707A
Authority
CN
China
Prior art keywords
hoc network
service
application
communication
layer
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
CN202210586786.4A
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.)
CETC 32 Research Institute
Original Assignee
CETC 32 Research Institute
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 CETC 32 Research Institute filed Critical CETC 32 Research Institute
Priority to CN202210586786.4A priority Critical patent/CN115118707A/en
Publication of CN115118707A publication Critical patent/CN115118707A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Abstract

The invention provides a command control method and a system of multi-terminal interaction based on a WEB operating system, which comprises the following steps: step S1: the Ad hoc network communication of the communication layer and the Ad hoc network communication protocol SDK of the protocol layer establish a data link channel, and provide interface service for the application layer through data interaction with the protocol layer; step S2: the master control equipment on the application layer sends instruction control to the slave control equipment, and the slave control equipment realizes the self-networking service function by calling interface service. Through the ad hoc network communication, the equipment does not need to access the Internet, and the instruction control of multi-terminal interaction can be realized; meanwhile, in consideration of safety, the master control device can also execute commands executed by the background on the slave control device, even destroy data, and the customization of the requirements is very convenient.

Description

Instruction control method and system for multi-terminal interaction based on WEB operating system
Technical Field
The invention relates to the technical field of WEB operating systems, in particular to a command control method and a command control system for multi-terminal interaction based on a WEB operating system, and more particularly to a command control method and a command control implementation for multi-terminal interaction by using an ad hoc network based on WebOS.
Background
With the continuous development of science and technology, the WEB operating system is widely applied to various devices. The interaction of multi-device terminals is also applied to different venue scenarios. Interaction in a voice instruction control mode is also one of the scenes, and mainly aims to realize that the specified equipment can remotely operate equipment connected in the same communication network in a voice mode, so that the function of instruction control is realized. The existing voice instruction control is mostly in an interphone mode, and in devices in a network, one device initiates voice, and other devices can receive the voice, so that information exchange is carried out. However, in many scenarios, it is more desirable to implement that the master control device initiates voice and the slave control device automatically operates after receiving the voice from the perspective of information security or convenience in operation. Even when the information security and other reasons are involved, the main control device can directly destroy all data and the like on the specified device.
Aiming at the scene, a command control method and implementation of multi-terminal interaction based on a WEB operating system and using ad hoc network communication are provided.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a multi-terminal interactive instruction control method and system based on a WEB operating system.
The invention provides a command control method of multi-terminal interaction based on a WEB operating system, which comprises the following steps:
step S1: the Ad hoc network communication of the communication layer and the Ad hoc network communication protocol SDK of the protocol layer establish a data link channel, and provide interface service for the application layer through data interaction with the protocol layer;
step S2: the master control equipment on the application layer sends instruction control to the slave control equipment, and the slave control equipment realizes the self-networking service function by calling interface service.
Preferably, the instruction control application on the master control device operates the corresponding application on the slave control device through ad hoc network communication, and different applications are started or different applications are modified or data is destroyed according to different instructions.
Preferably, the ad hoc network communication protocol SDK of the protocol layer includes: after the device starts the ad hoc network service, the ad hoc network waveform service is started to complete the self-waveform loading of the protocol layer.
Preferably, the ad hoc network communication protocol SDK of the protocol layer is an executable program running based on ad hoc network service, and is responsible for distributing and receiving ad hoc network messages.
Preferably, the ad-hoc network communication of the communication layer includes: analyzing and packaging a communication protocol through UDP communication and carrying out functional interaction with a service interface; and packaging the web interface, and providing bridging for calling the ad hoc network service function for the application.
Preferably, the interface service is responsible for receiving application initiated service function requests, sending replies and distributing messages.
The invention provides a command control system of multi-terminal interaction based on a WEB operating system, which comprises:
module M1: the Ad hoc network communication of the communication layer and the Ad hoc network communication protocol SDK of the protocol layer establish a data link channel, and provide interface service for the application layer through data interaction with the protocol layer;
module M2: the master control equipment on the application layer sends instruction control to the slave control equipment, and the slave control equipment realizes the self-networking service function by calling interface service.
Preferably, the instruction control application on the master control device operates the corresponding application on the slave control device through ad hoc network communication, and different applications are started or different applications are modified or data is destroyed according to different instructions.
Preferably, the ad hoc network communication protocol SDK of the protocol layer includes: after the device starts the ad hoc network service, starting the ad hoc network waveform service to complete the self-waveform loading of the protocol layer;
the self-organizing network communication protocol SDK of the protocol layer is an executable program operated based on self-organizing network service and is responsible for distributing and receiving self-organizing network messages.
Preferably, the ad-hoc network communication of the communication layer includes: analyzing and packaging a communication protocol through UDP communication and carrying out functional interaction with a service interface; and packaging the web interface, and providing bridging for calling the ad hoc network service function for the application.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention is constructed based on a YROS mobile terminal system, all applications can be developed by using Web technology, and the method is very convenient and fast;
2. through the ad hoc network communication, the equipment does not need to access the Internet, and the instruction control of multi-terminal interaction can be realized; meanwhile, in consideration of safety, the master control device can also execute a background execution command or even destroy data for the slave control device, and customization of requirements is convenient.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
fig. 1 is a block diagram of a system.
Fig. 2 is a schematic view of interface access.
FIG. 3 is a flow of application to web interface communication.
FIG. 4 is a flow chart of an instruction control application.
Fig. 5 is a slave control device processing flow.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that variations and modifications can be made by persons skilled in the art without departing from the concept of the invention. All falling within the scope of the present invention.
The WEB operating system used by the invention is WebOS, is an operating system based on the HTML5 technology, and the user interface and the application are completely realized by using the Web technology. The invention provides a multi-terminal interaction instruction control method based on the system, and the multi-terminal interaction which ensures information safety and is more convenient and faster to operate is realized based on ad hoc network communication. The user carries out specific requirements such as background permission modification, device data destruction, conversation, information interaction and the like on the slave control device through the master control device.
Example 1
The invention provides a command control method of multi-terminal interaction based on a WEB operating system, which comprises the following steps:
step S1: the Ad hoc network communication of the communication layer and the Ad hoc network communication protocol SDK of the protocol layer establish a data link channel, and provide interface service for the application layer through data interaction with the protocol layer;
step S2: the master control equipment on the application layer sends instruction control to the slave control equipment, and the slave control equipment realizes the self-networking service function by calling interface service.
Specifically, the instruction control application on the master control device operates the corresponding application on the slave control device through ad hoc network communication, and different applications are started or different applications are modified or data is destroyed according to different instructions.
Specifically, the ad hoc network communication protocol SDK of the protocol layer includes: after the device starts the ad hoc network service, the device starts the ad hoc network waveform service to complete the self-waveform loading of the protocol layer.
Specifically, the ad hoc network communication protocol SDK of the protocol layer is an executable program that runs based on ad hoc network services and is responsible for distributing and receiving ad hoc network messages.
Specifically, the ad hoc network communication of the communication layer includes: analyzing and packaging a communication protocol through UDP communication and carrying out functional interaction with a service interface; and packaging the web interface, and providing bridging for calling the ad hoc network service function for the application.
Specifically, the interface service is responsible for receiving application initiated service function requests, sending replies, and distributing messages.
The invention provides a multi-terminal interactive instruction control system based on a WEB operating system, which comprises:
module M1: the Ad hoc network communication of the communication layer and the Ad hoc network communication protocol SDK of the protocol layer establish a data link channel, and provide interface service for the application layer through data interaction with the protocol layer;
module M2: the master control equipment on the application layer sends instruction control to the slave control equipment, and the slave control equipment realizes the self-networking service function by calling interface service.
Specifically, the instruction control application on the master control device operates the corresponding application on the slave control device through ad hoc network communication, and different applications are started or different applications are modified or data is destroyed according to different instructions.
Specifically, the ad hoc network communication protocol SDK of the protocol layer includes: after the device starts the ad hoc network service, the device starts the ad hoc network waveform service to complete the self-waveform loading of the protocol layer.
Specifically, the ad hoc network communication protocol SDK of the protocol layer is an executable program that runs based on ad hoc network services and is responsible for distributing and receiving ad hoc network messages.
Specifically, the ad hoc network communication of the communication layer includes: analyzing and packaging a communication protocol through UDP communication and carrying out functional interaction with a service interface; and packaging the web interface, and providing bridging for calling the ad hoc network service function for the application.
Specifically, the interface service is responsible for receiving application initiated service function requests, sending replies, and distributing messages.
Example 2
Example 2 is a preferred example of example 1
The invention provides a command control method of multi-terminal interaction based on a WEB operating system, which is based on an HTML5 technology, operates on a YROS mobile terminal operating system platform, uses ad hoc network communication, and one device in multiple terminals is a master control device, and other devices are slave control devices. When the master device uses the command to control the application to perform voice output, the application recognizes the command and sends messages to all the slave devices in the network. And the slave control equipment receives the message and performs corresponding operation according to the content of the message. Such as modifying configuration items, modifying groups, modifying permissions, destroying devices, and so forth. The implementation relates to a system application layer, a communication layer and a protocol layer as shown in figure 1.
And (3) protocol layer: mainly relates to an SDK (self-organizing network protocol stack development tool library). The operation system of the YROS mobile terminal adapts to the communication protocol of the ad hoc network and is integrated with the ad hoc network communication module of the communication layer, so that data transmission of a communication link is realized.
A communication layer: the ad hoc network communication module is responsible for establishing a data link channel with an ad hoc network communication protocol stack of a protocol layer and providing interface service for an application layer through data interaction with the protocol layer. By packaging the WEB interface, including call service, instant message, basic setting, authority management and group service, the application layer can be connected with the self-networking service functions by calling the WEB interface.
An application layer: the application layer is divided into two types of applications, one type is an instruction control application on the master control device, and the other type is a function application on the slave control device, including a call application, an address list application, a setting application, a self-destruction application and a notification application. The instruction control application operates the corresponding application on the slave control equipment through ad hoc network communication, and different applications are started according to different instructions, or different applications are modified or data are destroyed.
The specific implementation is described below in the system framework shown in fig. 1. The system is generally divided into two parts, wherein one part is a communication brief description of an ad hoc network, and the other part is a detailed description of application functions.
Ad hoc network communication
The ad hoc network communication comprises waveform loading, message encapsulation and analysis and interface access.
(1) Waveform loading
An ad hoc network SDK is an executable program that runs based on ad hoc network services, and is mainly responsible for distributing and receiving ad hoc network messages. And after the equipment starts the ad hoc network service, starting the ad hoc network waveform service to finish the self-waveform loading.
(2) Message encapsulation parsing
At the heart of any communication mode is the protocol processing for communication data interaction. The ad hoc network analyzes and encapsulates the communication protocol through UDP communication and interacts with the service interface function, and provides support for the application to use the ad hoc network service.
(3) Interface access
The part of functions mainly carries out web interface encapsulation and provides a bridging function for calling the ad hoc network service for the application. The ad hoc network service function is divided into management of a call service, a short message service, a contact service and the like. The ad hoc network interface access diagram is shown in fig. 2.
The service interface is responsible for receiving application initiated service function requests and sending responses, and distributing messages. Each caller (i.e., application) instantiates a sub-process instance, forwarding the service request. And the embodiment acquires the service response to complete the interface access flow.
The instruction control application is installed on the main control equipment and has the function of sending the instruction to all the equipment of the ad hoc network on the network or selected equipment by calling a WEB interface through voice recognition. The system can perform corresponding operation on the slave control equipment according to the received message. The communication flow with the web interface is shown in fig. 3;
the workflow of the command control application is shown in figure 4,
1) the master control equipment starts an instruction command application;
2) the main control equipment starts application biological authentication, the authentication is carried out according to an authentication mode set by the system, if the system does not set the authentication mode, the authentication is carried out in a user name and password login mode, and if the authentication fails, the application cannot be started;
3) the master control equipment user inputs an instruction or manually inputs the instruction after passing the authentication;
4) selecting a receiver in the application, or sending the selected receiver to all users on the network if the receiver does not select the receiver;
5) calling a corresponding ad hoc network communication web interface according to the instruction recognized by the voice or the input instruction, sending the web interface to a communication layer of the master control equipment and calling an ad hoc network SDK interface of the master control equipment, selecting slave control equipment by a receiver, and then sending a message to the slave control equipment;
6) after the master control equipment sends the message, returning an operation result to the command application;
the working flow after the slave control device receives the message is shown in figure 5,
1) the self-organizing network SDK of the slave control equipment receives the message sent by the master control equipment and analyzes the received data; and transparently transmitting the analyzed data to a communication layer of the slave control equipment. The communication layer classifies operations based on the received message.
2) The communication layer classifies the operations into three categories based on the received messages. Sending a message to be displayed to a notification column of the slave control equipment system; the application type is started, the operation of the type needs the communication layer to distribute events to the application layer of the slave control equipment, and the application layer performs operation according to the received events, such as starting a call interface, starting a short message interface and the like; one type is a background execution type, and the operation can directly call an interface to perform operation, such as modifying the current user authority, destroying data, locking equipment and the like;
3) and finishing the instruction control flow.
Example 3
Example 3 is a preferred example of example 1
Because data leakage exists, the main control equipment needs to perform data clearing and locking operation on one equipment;
firstly, opening an application, and clicking an instruction control icon on a desktop of a YROS system;
performing identity authentication, and inputting a user name and a password;
and (5) successfully authenticating and entering the application. Clicking a voice input icon to enter 'self-destruction operation on equipment with the number of 1';
the application identifies the input voice to be converted into characters, and searches the ip address of the equipment with the number of 1;
sending a message to the ip address, wherein the content is self-destruction operation;
the device with the number of 1 receives the information, analyzes the information into a background execution type instruction and does not inform the user;
the equipment with the number of 1 analyzes the instruction as self-destruction and immediately executes self-destruction operation;
after self-destruction is executed, the equipment is locked;
and finishing an instruction control flow.
Those skilled in the art will appreciate that, in addition to implementing the systems, apparatus, and various modules thereof provided by the present invention in purely computer readable program code, the same procedures can be implemented entirely by logically programming method steps such that the systems, apparatus, and various modules thereof are provided in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

Claims (10)

1. A command control method of multi-terminal interaction based on a WEB operation system is characterized by comprising the following steps:
step S1: the Ad hoc network communication of the communication layer and the Ad hoc network communication protocol SDK of the protocol layer establish a data link channel, and provide interface service for the application layer through data interaction with the protocol layer;
step S2: the master control equipment on the application layer sends instruction control to the slave control equipment, and the slave control equipment realizes the self-networking service function by calling interface service.
2. The instruction control method for multi-terminal interaction based on a WEB operating system according to claim 1, wherein the instruction control application on the master control device operates the corresponding application on the slave control device through ad hoc network communication, and starts different applications or modifies different applications or destroys data according to different instructions.
3. The instruction control method of multi-terminal interaction based on WEB operating system according to claim 1, wherein the SDK comprises: after the device starts the ad hoc network service, the device starts the ad hoc network waveform service to complete the self-waveform loading of the protocol layer.
4. The instruction control method for multi-terminal interaction based on WEB operating system according to claim 1, wherein the SDK is an executable program operating based on an Ad hoc network service and is responsible for distributing and receiving Ad hoc network messages.
5. The instruction control method of multi-terminal interaction based on WEB operating system according to claim 1, wherein the ad hoc network communication of the communication layer comprises: analyzing and packaging a communication protocol through UDP communication and carrying out functional interaction with a service interface; and packaging the web interface, and providing bridging for calling the ad hoc network service function for the application.
6. The instruction control method of multi-terminal interaction based on WEB operating system according to claim 1 wherein the interface service is responsible for receiving application initiated service function requests, sending responses and distributing messages.
7. A command control system of multi-terminal interaction based on a WEB operation system is characterized by comprising:
module M1: the Ad hoc network communication of the communication layer and the Ad hoc network communication protocol SDK of the protocol layer establish a data link channel, and provide interface service for the application layer through data interaction with the protocol layer;
module M2: the master control equipment on the application layer sends instruction control to the slave control equipment, and the slave control equipment realizes the self-networking service function by calling interface service.
8. The instruction control system based on multi-terminal interaction of the WEB operating system according to claim 7, wherein the instruction control application on the master control device operates the corresponding application on the slave control device through ad hoc network communication, and different applications are started or different applications are modified or data are destroyed according to different instructions.
9. The command control system for multi-terminal interaction based on WEB operating system of claim 7, wherein the self-organizing network communication protocol SDK of the protocol layer comprises: after the device starts the ad hoc network service, starting the ad hoc network waveform service to complete the self-waveform loading of the protocol layer;
the self-organizing network communication protocol SDK of the protocol layer is an executable program operated based on self-organizing network service and is responsible for distributing and receiving self-organizing network messages.
10. The command control system for multi-terminal interaction based on WEB operating system according to claim 7, wherein said ad hoc network communication of said communication layer comprises: analyzing and packaging a communication protocol through UDP communication and carrying out functional interaction with a service interface; and packaging the web interface, and providing bridging for calling the ad hoc network service function for the application.
CN202210586786.4A 2022-05-27 2022-05-27 Instruction control method and system for multi-terminal interaction based on WEB operating system Pending CN115118707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210586786.4A CN115118707A (en) 2022-05-27 2022-05-27 Instruction control method and system for multi-terminal interaction based on WEB operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210586786.4A CN115118707A (en) 2022-05-27 2022-05-27 Instruction control method and system for multi-terminal interaction based on WEB operating system

Publications (1)

Publication Number Publication Date
CN115118707A true CN115118707A (en) 2022-09-27

Family

ID=83326631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210586786.4A Pending CN115118707A (en) 2022-05-27 2022-05-27 Instruction control method and system for multi-terminal interaction based on WEB operating system

Country Status (1)

Country Link
CN (1) CN115118707A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040266439A1 (en) * 2003-06-25 2004-12-30 Lynch Jamel P Systems, methods and computer program products for connecting ad hoc piconets to wide area networks
CN104184821A (en) * 2014-08-29 2014-12-03 北京奇虎科技有限公司 Conversation and terminal response feedback method and device based on push notification
CN106993340A (en) * 2016-02-02 2017-07-28 中国科学院上海高等研究院 A kind of multistage gateway wireless self-networking, network-building method and its communication means
CN111901444A (en) * 2020-09-01 2020-11-06 莱盟通信科技(上海)有限公司 Repeater monitoring device based on broadband IP (Internet protocol) backhaul
CN113825258A (en) * 2021-08-18 2021-12-21 华东计算技术研究所(中国电子科技集团公司第三十二研究所) FirefoxOS-based multimode communication method and operating system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040266439A1 (en) * 2003-06-25 2004-12-30 Lynch Jamel P Systems, methods and computer program products for connecting ad hoc piconets to wide area networks
CN104184821A (en) * 2014-08-29 2014-12-03 北京奇虎科技有限公司 Conversation and terminal response feedback method and device based on push notification
CN106993340A (en) * 2016-02-02 2017-07-28 中国科学院上海高等研究院 A kind of multistage gateway wireless self-networking, network-building method and its communication means
CN111901444A (en) * 2020-09-01 2020-11-06 莱盟通信科技(上海)有限公司 Repeater monitoring device based on broadband IP (Internet protocol) backhaul
CN113825258A (en) * 2021-08-18 2021-12-21 华东计算技术研究所(中国电子科技集团公司第三十二研究所) FirefoxOS-based multimode communication method and operating system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭鑫: "《信息安全等级保护测评与整改指导手册》", 31 August 2020, 机械工业出版社, pages: 157 - 165 *

Similar Documents

Publication Publication Date Title
CN112399130B (en) Processing method and device of cloud video conference information, storage medium and communication equipment
CN113825258B (en) FirefoxOS-based multimode communication method and operating system
EP2234438A1 (en) Wireless personal area network accessing method
US10204098B2 (en) Method and system to communicate between devices through natural language using instant messaging applications and interoperable public identifiers
US11947640B2 (en) Adaptive, multi-channel, embedded application programming interface (API)
US7154883B2 (en) Internet telephone system
CN115150113A (en) Method for accessing intranet application and related equipment
CN115118707A (en) Instruction control method and system for multi-terminal interaction based on WEB operating system
CN112367297B (en) Service control method and device
CN112367296B (en) Service control method and device
CN112398718A (en) Network transmission method and device, electronic equipment and storage medium
CN114095615A (en) Session establishment method, device, equipment and storage medium
CN112804676A (en) Autonomous number issuing method and system based on eSIM M2M
CN107547336B (en) Method and device for adding authorized VLAN into authentication port
CN112866239B (en) Proxy authentication device and method and electronic equipment
CN116248657B (en) Control method and device of screen projection system, computer equipment and storage medium
CN114124508B (en) Application login method and system
CN113542313B (en) Third-party Internet of things platform equipment docking system and method
CN114338633B (en) Method and system for remotely connecting Linux server
CN115277273B (en) Resource sharing method and resource sharing device
CN113271229B (en) Equipment control method and device, storage equipment, safety equipment, switch, router and server
CN111294313B (en) Control method and controller of access equipment
Laurențiu-Bogdan et al. Command and Control Systems for Video Sensors Communications Based on Python Application for Mobile Smart Devices
CN117376336A (en) Long connection communication method, long connection communication device, storage medium and electronic device
WO2002001832A1 (en) Device and methods for screening access to a computer network in a telecommunication 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