CN111538932B - Cross-platform, terminal and foreign affair management method for internal and external networks - Google Patents

Cross-platform, terminal and foreign affair management method for internal and external networks Download PDF

Info

Publication number
CN111538932B
CN111538932B CN202010235804.5A CN202010235804A CN111538932B CN 111538932 B CN111538932 B CN 111538932B CN 202010235804 A CN202010235804 A CN 202010235804A CN 111538932 B CN111538932 B CN 111538932B
Authority
CN
China
Prior art keywords
data
cross
platform
foreign
internal
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.)
Active
Application number
CN202010235804.5A
Other languages
Chinese (zh)
Other versions
CN111538932A (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.)
Nari Information and Communication Technology Co
Original Assignee
Nari Information and Communication Technology Co
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 Nari Information and Communication Technology Co filed Critical Nari Information and Communication Technology Co
Priority to CN202010235804.5A priority Critical patent/CN111538932B/en
Publication of CN111538932A publication Critical patent/CN111538932A/en
Application granted granted Critical
Publication of CN111538932B publication Critical patent/CN111538932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The invention discloses a cross-platform, terminal and internal and external network foreign affair management method in the technical field of information communication, which comprises the following steps: constructing a cross-platform mobile Web development framework; constructing a data interaction mechanism between the extranet application and the intranet server; and exchanging the foreign data among different platforms, terminals and the internal network and the external network based on the constructed cross-platform mobile Web development framework and a data interaction mechanism between the external network application and the internal network server. The invention exchanges the foreign affair data among different platforms, terminals and internal and external networks based on the built cross-platform mobile Web development framework and the data interaction mechanism between the external network application and the internal network server, improves the compatibility among different information sources, optimizes and integrates the information sources, improves the information processing efficiency, shortens the information processing period and realizes the optimized management of the enterprise foreign affairs.

Description

Cross-platform, terminal and foreign affair management method for internal and external networks
Technical Field
The invention belongs to the technical field of information communication, and particularly relates to a cross-platform and terminal and a foreign matter management method for an internal network and an external network.
Background
Existing forensics management has not been able to adapt to the rapidly changing and complex demands of forensics activities. The foreign affair business handling procedure is complicated and fussy, the department of involvement is numerous, the enterprise is across the region, data can not share, because of the group of the public state and the numerous number of people, some are at the internet, some are at the company intranet, the terminal type of use is various, some are the cell-phone, some company intranet computer, some are personal notebook computer etc. information compatibility is poor, form numerous information islands. The workload of the competent department is large, the information processing period is long, and the working efficiency is low.
Disclosure of Invention
In order to solve the defects in the prior art, the invention provides a cross-platform, terminal and internal and external network foreign matter management method, which improves the compatibility among different information sources, optimizes and integrates the information sources, improves the information processing efficiency and shortens the information processing period.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows: a cross-platform, terminal and foreign management method for internal and external networks comprises the following steps:
a. constructing a cross-platform mobile Web development framework;
b. constructing a data interaction mechanism between the extranet application and the intranet server;
c. and exchanging the foreign data among different platforms, terminals and the internal network and the external network based on the constructed cross-platform mobile Web development framework and a data interaction mechanism between the external network application and the internal network server.
Furthermore, the cross-platform Mobile Web development framework takes JQuery Mobile as a UI layer, MobileGap as a Mobile middleware layer and Android as a terminal system layer.
Further, the step a comprises: building a cross-platform frame structure and performing cross-domain data asynchronous interaction;
the construction of the cross-platform framework structure comprises Web-View loading application, MobileGap expansion and local API call; the cross-domain data asynchronous interaction is based on an improved AJAX data interaction mode.
Further, the MobileGap extension includes:
rewriting an onJsPrompt method in WebView of a MobileGap framework to capture service request operation of a front end; if the request is a synchronous request, directly returning the result to the front end immediately; if the request is an asynchronous request, storing the result into a linked list of Callback, and transmitting the result to the front end through an XHR channel;
and after the request operation is captured, calling the corresponding plugin according to the captured parameters.
Further, the improved data interaction mode of AJAX comprises,
a mobile client is adopted to send a data request to a server,
and the server calls the data to the database after receiving the request, and sends the data to the client after obtaining the data.
Further, a JSON data format is adopted to replace XML, and the client side obtains data in the JSON format.
Further, the step b comprises:
the extranet application and the intranet server respectively establish respective relatively independent security domains, and data entering and exiting the security domains are subjected to communication control by the security domain;
and a central router is arranged, and data transmission between different security domains is distributed, audited in security and controlled in access through the central router.
Further, a front router is arranged in each security domain, the front router is responsible for data transmission in the security domain, when the depth of a data queue in the front router in the security domain reaches a preset value, the front router in the security domain forwards a node blocking message through a central router, and the front routers in other security domains receiving the node blocking message refuse all messages sent to the security domain until the node blocking message is released.
Compared with the prior art, the invention has the following beneficial effects: the invention exchanges the foreign affair data among different platforms, terminals and internal and external networks based on the built cross-platform mobile Web development framework and the data interaction mechanism between the external network application and the internal network server, improves the compatibility among different information sources, optimizes and integrates the information sources, improves the information processing efficiency, shortens the information processing period and realizes the optimized management of the enterprise foreign affairs.
Drawings
FIG. 1 is a schematic diagram of a cross-platform mobile Web development framework constructed by an embodiment of the invention;
FIG. 2 is a schematic representation of a MobileGap data flow in an embodiment of the present invention;
FIG. 3 is a diagram of a prior art Web data access architecture;
FIG. 4 is a mobile Web data access architecture in an embodiment of the present invention;
FIG. 5 is a schematic diagram of a front-end processor based core-type switching technique;
fig. 6 is a schematic diagram of a process for handling information blocking problem according to an embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
A cross-platform, terminal and foreign management method for internal and external networks comprises the following steps: constructing a cross-platform mobile Web development framework; constructing a data interaction mechanism between the extranet application and the intranet server; based on the constructed cross-platform mobile Web development framework and a data interaction mechanism between the extranet application and the intranet server, the extranet data exchange among different platforms, terminals and the extranet is carried out, and the seamless connection of the cross-terminal and cross-platform development of the extranet service is realized.
As shown in fig. 1, a cross-platform mobile Web development framework is constructed; the cross-platform mobile Web development framework technology is very important. A good mobile Web development framework should have the characteristics of cross-platform, cross-domain data asynchronous interaction, safety and the like.
A self-built JQuery Mobile is used as a UI layer, a self-built MobileGap (Mobile middleware layer) is used as a Mobile Web development frame of a Mobile middleware layer, Android and the like are used as terminal system layers, and a general scheme for realizing Mobile Web cross-domain data interaction by using AJAX (small amount of data exchange is carried out with a server at the background to realize asynchronous update of a webpage) and JSON (lightweight data exchange format) is provided by combining HTML5 technology. On one hand, the method overcomes the AJAX cross-domain problem and the JSON security problem. On the other hand, the framework can run on Android, IOS and other systems, and cross-platform is achieved.
The cross-platform mobile Web development framework system provided by the embodiment comprises the building of a cross-platform framework structure and the cross-domain data asynchronous interaction. The construction of a cross-platform architecture is a foundation of a whole mobile Web development framework system, and cross-domain data asynchronous interaction is realized by realizing data operation between a mobile client and a PC server under the framework, and is an important technology for realizing human-computer interaction. The good mobile Web framework can realize cross-platform performance, the cost of mobile development is reduced, the data transmission efficiency can be improved through the good data interaction strategy, and the user experience is improved.
Building a cross-platform framework structure, including Web-View loading application, MobileGap expansion and local API calling; the MobileGap extension is used to enable communication between a Web page and a mobile terminal. Due to certain difference of built-in Web-View components of different terminals, the MobileGap expands and encapsulates the components, so that the components become browsers capable of accessing local APIs. And calling local APIs (application programming interfaces), such as a camera, buzzing, vibrating and the like, through JavaScript, and providing a cross-platform solution. The MobileGap dataflow process is shown in fig. 2. The key point in fig. 2 is that HTML is rendered and analyzed by a browser embedded in a mobile terminal, i.e., Web-View, and an onjsrompt (click request capture) method is rewritten in WebView of a MobileGap framework to capture a service request operation (a prompt (capture) operation in an exec function in a MobileGap. And after capturing the request operation, the Web-View calls the corresponding plugin according to the captured parameters. If the request is a synchronous request, the result is directly returned to the front end immediately, namely, the function of the MobileGap.js file exec (execution script)
varr=prompt(json.stringify(args),"gap:"+JSON.stringify([service,action,callbackid,true])) (1);
Wherein, varr represents a definition variable r, and the stringiness function converts an object into a character string;
the synchronous request can immediately obtain a calling return result; if the request is an asynchronous request; the results are stored in the Callback linked list and passed to the front end, i.e. in the mobilegap.jscallback function, via the XHR (core part contains the various GUI components and IO transfers, the latter for sending requests to the server) channel
var msg=decodeURIComponent(xmlhttp.responseText) (2);
Where var msg represents definition variable msg, and the decoderuricomponent function decodes the encoded link address) will obtain the call return result.
Data interaction technology is an important component in a mobile Web development framework. The principle of traditional Web data interaction is that a client submits a page application to a server, and the server sends the application back to the client through HTTP to generate a browsing page, and the working principle is as shown in fig. 3, but the traditional data interaction mode cannot realize asynchronous support.
The cross-domain data asynchronous interaction is based on an improved AJAX data interaction mode. The improved AJAX data interaction mode comprises the steps that a mobile client is adopted to send a data request to a server, the server receives the request and calls data to a database, and the server sends the data to the client after obtaining the data. The embodiment is based on the data interaction mode of AJAX and is improved. Firstly, data to be displayed by a mobile client in a B/S mode comes from an external server, so data interaction needs to adopt the mobile client to send a data request to a server, in order to avoid the limitation of a homologous strategy, an asynchronous request is carried out by adopting a POST mode packaged in JQuery, and JQuery.post () packages AJAX in JQuery and is safer than JQuery.get (); secondly, the server side calls data to the database after receiving the request, and sends the data to the client side after the server side obtains the data. The combination of the two avoids cross-domain implementation through JSON server-side proxy. And finally, the client obtains the data in the JSON format, the data is displayed on the page after being processed, and the improved architecture is shown in figure 4. The Ajax data interaction method in the framework of FIG. 4 is referred to in the literature "Tianfu, Zhanyanping", the information interaction between clients in the B/S mode is realized by using the Ajax technology, the computer technology and development, 2007 (10) 92-94 ", and the basic flow of the framework is object initialization, request sending, server receiving, server returning, client receiving and client data displaying.
Completing installation and debugging of hardware equipment such as a server, a workstation, a switch, a mobile terminal and the like; and completing network environment configuration, safety access configuration, interconnection channel test and safety access test.
The data interaction mechanism between the built cross-platform mobile Web development framework and the extranet application and intranet server comprises the following steps: the extranet application and the intranet server respectively establish a security domain which is relatively independent from each other, and data entering and exiting the security domain are subjected to communication control by the security domain; and a central router is arranged, and data transmission between different security domains is subjected to unified distribution, security audit and access control through the central router, so that the secure data interaction between the extranet office mobile application and the background system is realized.
The extranet application and the intranet server establish own security domains, each security domain is relatively independent and autonomous, a front-end router is arranged in each security domain, the front-end routers are responsible for data transmission in the security domains, data exchange is realized between the security domains, and two-stage management requirements must be met. Firstly, data entering and exiting a security domain must be controlled by the self-side for communication, so that a front-end router is arranged, and all systems participating in cross-domain data exchange of the self-side carry out indirect data exchange with other security domains through the front-end router; when the second data is transmitted between domains, in order to reflect the unified control requirement, a data exchange center router is arranged, and all data is transmitted between domains through the data exchange center router to carry out unified distribution, security audit, access control and the like, so that a star-shaped data exchange network structure is formed.
The front-end based star fabric switching technique is therefore the best choice, as shown in figure 5. The core type data exchange structure has good expansibility and maintainability besides realizing unified management and control. The change of any access node only relates to the change of the local node and the central node, and the structure is more stable and efficient.
The embodiment designs and realizes a mechanism for monitoring and automatically controlling the traffic of a data exchange platform in a targeted manner, and realizes the reliability, the usability and the flexibility of data interaction between an external network office mobile application and a background system through functions of state monitoring, traffic early warning, automatic blocking and the like of an exchange node and an application system.
The embodiment designs the queue depth (the number of messages to be processed in the queue) early warning and automatic blocking functions of the node, and aims to solve the traffic blocking problem of a central node (a central router), so that the normal operation of the whole data switching network is ensured. When a local system (supposing that a certain mail system is in failure or closed), mail data sent to the system is accumulated in a queue of a front router (switching node) of the security domain, when the depth of the queue reaches a certain preset value, the switching node causes a message of node blocking and transmits the message to other switching nodes through a central node, and each switching node temporarily rejects all data exchange requests sent to the blocking node, so that the data of a target node is not further blocked, and the data in the queue of the switching center can be timely consumed, therefore, data exchange can still be carried out through the switching center among other nodes without failures. As shown in fig. 6. Once the fault system is recovered, the data in the target node queue can be received by the application system, the queue depth is reduced to the alarm elimination threshold value along with the further consumption of the data in the queue, and the current node sends a unblocking message to each node through the switching platform to recover the data exchange transmission of the fault node.
In the embodiment, based on a built cross-platform mobile Web development framework and a data interaction mechanism between an extranet application and an intranet server, foreign data exchange between different platforms, terminals and an extranet is carried out, compatibility among different information sources is improved, the information sources are optimized and integrated, information processing efficiency is improved, an information processing period is shortened, optimized management of enterprise foreign matters is realized, quick deployment of a system based on public cloud is realized, functions are quickly brought on line, the IT resource utilization rate is improved, IT sharing service is provided, efficiency is improved, centralized management is realized, the maintenance difficulty is reduced, and quantifiable service quality is provided.
In the embodiment, the seamless connection of the foreign affair service is carried out in an intranet environment, in a cross-terminal and cross-platform mode, the platform adopts a mixed cloud architecture, the infrastructure is distributed in different cloud platforms, the cross-private cloud platform and the public cloud platform infrastructure, even a part of the cross-private cloud platform and the public cloud platform infrastructure are scenes of traditional physical machines, an internal private cloud platform and an external public cloud are communicated, and the safety of data resources of the platform is ensured; the method comprises the steps that an extranet office class mobile application is interacted with a background system through a security exchange platform; importing traditional IT infrastructure resources by adopting a hybrid cloud management platform through butting northbound interfaces of cloud computing platforms; a multi-terminal data synchronization system architecture is established, transmission control of data interaction is achieved, and time delay of official document circulation and information push application scenes on communication is reduced; the system realizes that the foreign affair management background system is accessed through any equipment, any place and any time through the network, and creates an application mode of the enterprise foreign affair management system; and the two-dimensional code is adopted to intelligently identify and automatically process the foreign documents. The method also comprises a step of external reception management, wherein a scene of each link of the reception scheme is modeled, fine management of each link is realized, the task content can be quantized, the execution condition can be subjected to event perception, and based on event-driven state analysis, operation trend analysis, abnormal diagnosis and abnormal event early warning, complete information is provided for reception work execution and decision, and the quality of on-site reception work is improved. The method also comprises a step of managing the outbound management process, which is to optimize the outbound management process and establish an enterprise outbound process management model; meanwhile, the enterprise outbound flow management key indexes are comprehensively evaluated, and the optimization management of the flow key indexes in the enterprise outbound flow is realized. The system also comprises an intelligent management step of handling the foreign affairs, and the system analyzes and mines the form and the incidence relation of phase policy and regulation, a foreign affair management method, and relevant data of the personnel and the units in the foreign affair management system, and realizes the guide operation and the automatic filling of the online filling of the data; and establishing an enterprise external business process management model, mining and analyzing big data of the subject data in the data warehouse, comprehensively discovering internal rules and linkage relation of the data, and visually displaying an analysis result.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (6)

1. A cross-platform, terminal and foreign management method for internal and external networks is characterized by comprising the following steps:
a. constructing a cross-platform mobile Web development framework;
b. constructing a data interaction mechanism between the extranet application and the intranet server;
c. based on the constructed cross-platform mobile Web development framework and a data interaction mechanism between the extranet application and the intranet server, carrying out foreign data exchange among different platforms, terminals and the extranet;
wherein, step b includes:
the extranet application and the intranet server respectively establish respective relatively independent security domains, and data entering and exiting the security domains are subjected to communication control by the security domain;
setting a central router, and uniformly distributing, auditing safety and controlling access of data transmission between different security domains by the central router;
and when the depth of a data queue in the front router in the security domain reaches a preset value, the front router in the security domain forwards the node blocking message through the central router, and the front routers in other security domains receiving the node blocking message refuse all messages sent to the security domain until the node blocking message is released.
2. The cross-platform, terminal and foreign management method for internal and external networks according to claim 1, wherein JQuery Mobile is used as a UI layer, Mobile gap is used as a Mobile middleware layer, and Android is used as a terminal system layer in the cross-platform Mobile Web development framework.
3. The cross-platform, terminal and foreign matter management method for internal and external networks according to claim 1, wherein the step a comprises: building a cross-platform frame structure and performing cross-domain data asynchronous interaction;
the construction of the cross-platform framework structure comprises Web-View loading application, MobileGap expansion and local API call;
the cross-domain data asynchronous interaction is based on an improved AJAX data interaction mode.
4. The method of claim 3, wherein the MobileGap extension comprises:
rewriting an onJsPrompt method in WebView of a MobileGap framework to capture service request operation of a front end; if the request is a synchronous request, directly returning the result to the front end immediately; if the request is an asynchronous request; storing the result into a linked list of Callback and transmitting the result to the front end through an XHR channel;
and after the request operation is captured, calling the corresponding plugin according to the captured parameters.
5. The cross-platform, terminal and intranet and extranet foreign management method of claim 3 wherein the improved AJAX data interaction mode comprises,
a mobile client is adopted to send a data request to a server,
and the server calls the data to the database after receiving the request, and sends the data to the client after obtaining the data.
6. The cross-platform, terminal and foreign management method for internal and external networks according to claim 5, wherein JSON data format is adopted to replace XML, and the client obtains data in JSON format.
CN202010235804.5A 2020-03-30 2020-03-30 Cross-platform, terminal and foreign affair management method for internal and external networks Active CN111538932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010235804.5A CN111538932B (en) 2020-03-30 2020-03-30 Cross-platform, terminal and foreign affair management method for internal and external networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010235804.5A CN111538932B (en) 2020-03-30 2020-03-30 Cross-platform, terminal and foreign affair management method for internal and external networks

Publications (2)

Publication Number Publication Date
CN111538932A CN111538932A (en) 2020-08-14
CN111538932B true CN111538932B (en) 2022-08-05

Family

ID=71978423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010235804.5A Active CN111538932B (en) 2020-03-30 2020-03-30 Cross-platform, terminal and foreign affair management method for internal and external networks

Country Status (1)

Country Link
CN (1) CN111538932B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167735A (en) * 2018-11-12 2019-01-08 四川长虹电器股份有限公司 A kind of Web firewall jamming control method based on nginx request forwarding
CN109474628A (en) * 2018-12-27 2019-03-15 北京奇安信科技有限公司 A kind of data transmission method, system, equipment and medium based on double unidirectional gateways

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167735A (en) * 2018-11-12 2019-01-08 四川长虹电器股份有限公司 A kind of Web firewall jamming control method based on nginx request forwarding
CN109474628A (en) * 2018-12-27 2019-03-15 北京奇安信科技有限公司 A kind of data transmission method, system, equipment and medium based on double unidirectional gateways

Also Published As

Publication number Publication date
CN111538932A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
Glaroudis et al. Survey, comparison and research challenges of IoT application protocols for smart farming
EP3748908B1 (en) Method, system, network device, storage medium for creating a network slice
CN109327509B (en) Low-coupling distributed streaming computing system of master/slave architecture
US20230300203A1 (en) Data processing method and system, related device, storage medium, and product
CN112448858B (en) Network communication control method and device, electronic equipment and readable storage medium
CN110445856B (en) Internet of things communication assembly management and control system and method supporting multi-protocol access
US8200764B2 (en) System and method for achieving highly scalable real-time collaboration applications using HTTP
CN102891877B (en) Realize the Online Processing System and method of terminal applies
CN104243185B (en) A kind of experience type service monitoring system
EP3053052A1 (en) Managing a number of secondary clouds by a master cloud service manager
CN103067230A (en) Method for achieving hyper text transport protocol (http) service monitoring through embedding monitoring code
CN109391516B (en) Cloud third-party network management system for realizing centralized maintenance and management of multi-manufacturer UTN equipment
US20210034338A1 (en) Communications Enablement Platform, System, and Method
CN101567861B (en) Data synchronization method and application system between heterogeneous application systems
CN101365118A (en) Video monitoring system based on computer network
CN111338893A (en) Process log processing method and device, computer equipment and storage medium
CN113037616B (en) Interactive method and device for cooperatively controlling multiple robots
CN113778615B (en) Rapid and stable network shooting range virtual machine construction system
CN114217981A (en) Bank-enterprise direct connection communication method and device, computer equipment and storage medium
CN116048467A (en) Micro-service development platform and business system development method
US20190104084A1 (en) Managing access to logical objects in software defined networks
US20230086473A1 (en) Smart retry policy for automated provisioning of online resources
CN114465867A (en) Server maintenance method and device, storage medium and processor
CN113626002A (en) Service execution method and device
CN111538932B (en) Cross-platform, terminal and foreign affair management method for internal and external networks

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