CN106210008B - Data interactive method, client and system - Google Patents
Data interactive method, client and system Download PDFInfo
- Publication number
- CN106210008B CN106210008B CN201610511912.4A CN201610511912A CN106210008B CN 106210008 B CN106210008 B CN 106210008B CN 201610511912 A CN201610511912 A CN 201610511912A CN 106210008 B CN106210008 B CN 106210008B
- Authority
- CN
- China
- Prior art keywords
- dialog box
- page
- information
- modal dialog
- modal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of data interactive method, client and systems, this method includes: the control instruction and data file that receiver management terminal issues, modal dialog box is opened according to the control instruction, the data file is obtained and parsed by Web Engine, generates data encoding information;The modal dialog box loads the data encoding information and generates the dialog box page, establishes the first communication channel between the modal dialog box and the dialog box page;When receiving the closing modal dialog box instruction that the management end issues, the modal dialog box is closed.The present invention makes the operation behavior of client all under the control of management end by the way of modal dialog box, and the contents diversification for showing modal dialog box.This invention ensures that user client carries out arbitrarily completing the interaction other than modeless dialog box in work or study etc., the concentration of user is improved, has also ensured the treatment effeciency of data interaction between management end and client.
Description
Technical field
The present invention relates to information technology field, espespecially a kind of data interactive method, client and system.
Background technique
With the high speed development of network technology, internet data interaction technique, which becomes, works as previous big hot topic field;It is interconnecting
In network data interaction, both ends, i.e. management end and user terminal are generally comprised;According to title, management end is main execution data
Initiate the port with data management, the end that client is accordingly then managed by the data and Managed Client of receiver management terminal initiation
Mouthful;Due to the powerful performance of internet, management end and client is allowed to separate two places, it only can be real by internet platform
Now data transmission thousands of miles away, the appearance of internet is so that the transmission of electronic data becomes particularly simple and cheap.It is interconnecting
Network technology more mature today, both management end and client, which have been write from memory, breathless spreads to people's lives and study
In, what the data interaction safety and efficiency between management end and client thus generated also became that people increasingly pay close attention to asks
Topic;How to guarantee between management end and client under the premise of normal communication, improves the management end management more efficient to client
Make great efforts the big project solved as industry personnel.
In existing computer operating system, the use of modal dialog box is more frequent, it, which has, has monopolized user behaviour
The speciality for making other interfaces in addition to it makes modal dialog box become system, the webpage prompt important letter of user based on the speciality
One big important technology of breath embodies, but when it leads to prompt user due to the defect of itself, is only capable of showing in a manner of text
User, in the demand that cannot have fully met user today of Internet technology high speed development.
Summary of the invention
It is an object of the invention to overcome the defect of existing modal dialog box, and management is realized based on modal dialog box
Client is further controlled at end, the contents diversification for improving the administration authority of management end, and showing modal dialog box.It ensures
The treatment effeciency of data interaction and the concentration of user is improved between management end and client.
In order to achieve the above object, data interactive method provided by the present invention, specifically includes: the control that receiver management terminal issues
Instruction and data file open modal dialog box according to the control instruction, and the data file is obtained by Web Engine conciliates
Analysis generates data encoding information;The modal dialog box loads the data encoding information and generates the dialog box page, the mode
Dialog box and the dialog box page establish the first communication channel;When the closing modal dialog box for receiving the management end sending
When instruction, the modal dialog box is closed.
In above-mentioned data interactive method, it is preferred that described also to include according to control instruction unlatching modal dialog box:
Hide or lock the control button of the modal dialog box.
In above-mentioned data interactive method, it is preferred that described when the closing multimodal dialogue for receiving the management end sending
When frame instructs, closing the modal dialog box includes: when the closing mould that customer terminal webpage window reception to the management end issues
When state dialog box instructs, closing modal dialog box instruction is sent to the dialog box page by the customer terminal webpage window
Closing modal dialog box instruction is sent to the mode pair using first communication channel by face, the dialog box page
Frame is talked about, the modal dialog box executes closing motion.
In above-mentioned data interactive method, it is preferred that the data file is obtained and parsed by Web Engine, generates data
Encoded information includes: the data file includes the address information of specified page, and Web Engine obtains the address letter of specified page
Breath parses the displaying information carried in specified page, generates and corresponds to the data encoding information for showing information;The mode
Dialog box loads the data encoding information generation dialog box page: the modal dialog box is obtained by Web Engine
Specified page address information loads the specified page, generates the dialog box page, the dialog box page is according to the finger
Determine the corresponding data encoding information of the page, shows the displaying information carried in the specified page.
In above-mentioned data interactive method, it is preferred that the displaying information carried in the specified page includes multiple sub- exhibitions
Show information.
In above-mentioned data interactive method, it is preferred that the dialog box page display shows that information also includes: the mode
Dialog box by preset script to the display orders of the corresponding multiple data encoding informations of the multiple sub- displaying information into
The customized arrangement of row, and sorted lists are generated, it is successively shown on the dialog box page according to the sorted lists described more
The corresponding sub- displaying information of a data encoding information.
In above-mentioned data interactive method, it is preferred that the modal dialog box loads the data encoding information generation pair
The words frame page also includes: when the dialog box page shows according to the data encoding information displaying information of the specified page
Period, when the Web Engine receives the address information for the specified page that the management end issues again, the Web Engine
The address information for obtaining the specified page that this is received parses the exhibition carried in the specified page that this is received
Show information, and generate and correspond to the data encoding information for showing information, the modal dialog box believes the data encoding
Breath is prestored into spatial cache;When the modal dialog box monitors user in the dialog box page by the first communication channel
When executing predetermined operation, all data encoding informations in the spatial cache are sorted by the precedence of access time, and
It is stored into the existing data encoding information that the dialog box page is replaced after the time most preceding data encoding information extracts,
The dialog box page shows the displaying information of the replaced specified page according to the replaced data encoding information.
A preferred embodiment of the invention also provides a kind of client for data interaction, and the client includes client
Hold page window, Web Engine, modal dialog box module and dialog box units of pages;When the customer terminal webpage window reception arrives
When control instruction and data file that management end issues, mould is opened by the modal dialog box module according to the control instruction
State dialog box, the Web Engine obtain and parse the data file, generate data encoding information;The modal dialog box mould
Block loads the data encoding information and generates the dialog box page by the dialog box units of pages, and in the mode pair
The first communication channel is established between words frame and the dialog box page;When the customer terminal webpage window reception to the management end
When the closing modal dialog box instruction of sending, the modal dialog box is closed by the modal dialog box module.
In the client of above-mentioned data interaction, it is preferred that the client also includes display module: the data file
Address information comprising specified page, when the Web Engine parses in specified page according to the address information of the specified page
The displaying information of carrying, and the displaying information include multiple sub- displaying information when, the modal dialog box passes through the displaying
Module carries out customized arrangement to the display order of the corresponding multiple data encoding informations of the multiple sub- displaying information, and
Sorted lists are generated, successively show the multiple data encoding information pair on the dialog box page according to the sorted lists
The son answered shows information.
It includes management end and at least one that an of the invention preferred embodiment, which also provides system described in a kind of data interaction system,
A client;Control instruction, out code and data file of the management end for sending;The client is for passing through institute
Control instruction and data file that customer terminal webpage window reception is issued to management end are stated, and institute is passed through according to the control instruction
It states modal dialog box module and opens modal dialog box, the Web Engine obtains and parse the data file, generates data and compiles
Code information;Data encoding information described in the modal dialog box module loading simultaneously generates dialogue by the dialog box units of pages
The frame page, and the first communication channel is established between the modal dialog box and the dialog box page;When the client
When page window receives the closing modal dialog box instruction that the management end issues, closed by the modal dialog box module
The modal dialog box.
The beneficial technical effect of the present invention lies in: make the work and study of client by using the mode of modal dialog box
Etc. operation behaviors all under the control of management end, using the user of client while can not close modal dialog box,
The content at he and the modal dialog box difference interface is also operated by limitation;This restrictive pipe provided by through the invention
Reason, it is ensured that user is not influenced during work or study etc. by other interfaces of system, improves the management of management end
Permission has ensured the treatment effeciency of data interaction between management end and client.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, not
Constitute limitation of the invention.In the accompanying drawings:
Fig. 1 is data interactive method flow diagram provided by the present invention;
Fig. 2 is the flow diagram of one preferred embodiment of data interactive method provided by the present invention;
Fig. 3 is the flow diagram of one preferred embodiment of data interactive method provided by the present invention;
Fig. 4 is the flow diagram of one preferred embodiment of data interactive method provided by the present invention;
Fig. 5 is the structural schematic diagram of the client provided by the present invention for data interaction;
Fig. 6 is the structural schematic diagram of client one preferred embodiment provided by the present invention for data interaction;
Fig. 7 is the structural schematic diagram of data interaction system provided by the present invention.
Specific embodiment
Understand in order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below with reference to embodiment and attached
Figure, is described in further details the present invention.Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention,
But it is not as a limitation of the invention.
In general, in window application, dialog box is divided into modal dialog box and two kinds of modeless dialog box.Two
The difference of person is when dialog box is opened, if user is allowed to carry out the operation of other objects.
Modal dialog box (Modal Dialogue Box, be called and do modal dialog) refers to and wants in user to dialogue
When application program other than frame is operated, it is necessary to be responded first to the dialog box, as click OK or " cancellation " are pressed
Button etc. closes the dialog box.Modal dialog box has monopolized the input of user, and when a modal dialog box is opened, user can only
It is interacted with the dialog box, and other users interface object can not receive input information.
The illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but not as a limitation of the invention.
In addition, in the drawings and embodiments the use of element/component of same or like label is for representing same or like portion
Point.About " first " used herein, " second " ... etc., not especially censure the meaning of order or cis-position, nor to
The present invention is limited, only for distinguishing with the element of same technique term description or operation;Used "comprising", " comprising ",
" having ", " containing " etc. are open term, that is, mean including but not limited to.
Management end involved in herein includes the compositions such as computer, server and database used in manager
Integral tube platform, and the non-limiting management end is an individual management computer, therefore relevant technical staff in the field works as
Know that management end as described herein is the management terminal platform that all are able to carry out its corresponding function.
Please refer to shown in Fig. 1, data interactive method provided by the present invention specifically includes: S101 receiver management terminal issues
Control instruction and data file, modal dialog box is opened according to the control instruction, the data file obtained by Web Engine
It takes and parses, generate data encoding information;Modal dialog box described in S102 loads the data encoding information and generates dialog box page
Face, the modal dialog box and the dialog box page establish the first communication channel;S103, which works as, receives the management end sending
Closing modal dialog box instruction when, close the modal dialog box.
In the above-described embodiments, management end sends data packet to client by way of wired or wireless network first,
Wherein the data packet includes control instruction and data file, and the effect of the control instruction is management end according to the control instruction
It is required that the display platform that the client unlatching later period interacts with user data, i.e. modal dialog box;And data file then includes carrying
The address dates such as the website information of webpage of multimedia file of multiplicity;After client receives control instruction, then client
The modal dialog box is opened according to the webpage of oneself, above-mentioned webpage network address is accessed by Web Engine, and parse the webpage and hold
The displaying information of load generates data encoding information, in real work, believes in view of the address that the data file includes specified page
Breath, Web Engine obtain the address information of specified page and access, parse the displaying information carried in specified page, generate and correspond to
In the data encoding information for showing information;The data encoding information can be web page source code;Thereafter those data are compiled again
Code information fills into modal dialog box for showing the function position of data information, generates pair for showing the displaying information
The frame page is talked about, is at this time the source code of the named web page of the translated offer of Web Engine in view of content in the dialog box page,
Therefore the dialog box page actually is equivalent to webpage corresponding to web page address provided by management end, thus modal dialog box
First communication channel of the modal dialog box Yu the dialog box page is also set up, passing through with this convenient for later period modal dialog box should
The dialog box page carries out some necessary data communications, such as carry broadcast message, monitoring operation.Since modal dialog box is included
Attribute, cause client after opening modal dialog box, user be only capable of operation modal dialog box in by the dialogue
The content that the frame page is shown, the modal dialog box are operated by limitation with outer boundary, while being communicated by provided first
Channel, modal dialog box can also real-time monitoring management end provided by control instruction, so as to when management end send out code when,
It can know in time and complete the shutoff operation to oneself.By the above-mentioned means, enabling existing modal dialog box into one
Step display multi-medium data gets rid of existing modal dialog box and is only capable of displaying under by way of combining with Web Engine
The defect of text information provides the more diversified transmission data selection of management end.
It is please referred to shown in Fig. 1 again, the modal dialog box loads the mistake that the data encoding information generates the dialog box page
Journey is specific as follows: the modal dialog box loads the specified page by the specified page address information that Web Engine obtains,
The dialog box page is generated, the dialog box page is according to the corresponding data encoding information of the specified page, display
The displaying information carried in the specified page.In the process, the dialog box page is performed similar to web displaying page
The work in face, and all the elements shown by its webpage are added by Web Engine, in consideration of it, these are being added in Web Engine
Pass through the address information for the displaying information that modal dialog box has determined on the dialog box page when showing content first, i.e., for adding
It carries and shows that the address information of information loads the data encoding information of parsing, after load thereafter according to the address information
The display content of the dialog box page is supplemented, and can be shown as needing specific page to be shown at this time in the dialog box page
The displaying information carried on face.
In the above-mentioned methods, the overall flow of data interactive method provided by the present invention is to work as to receive control instruction
When, modal dialog box is opened by the webpage that client carries, which opens the dialog box page again;Then when connecing
When receiving out code, the modal dialog box obtains out code by monitoring the dialog box page then to close certainly
Body;Only the instruction as transmitted by management end is dominated for modal dialog box on and off in whole flow process;It is based on mould simultaneously
The property of state dialog box, modal dialog box have monopolized the input of user, and when a modal dialog box is opened, user can only be with this
Modal dialog box interacts, and other users interface object can not receive input information, also limits the user of client to other
The operation of application program, the generation for the problems such as reducing dispersion attention.
Above-mentioned modal dialog box is the important management means of management end control client, to guarantee that the modal dialog box is pressed
Expected purpose executes, in an of the invention preferred embodiment, additionally provide prevent the artificial active of user pass through multimodal dialogue
The control button of frame, i.e. closing key go to close modal dialog box, get rid of the technology of operation limitation of the modal dialog box to itself
Scheme, which specifically includes: after client opens modal dialog box, further limiting the modal dialog box
System, limiting means may include the control button hidden or lock modal dialog box, or carry out to the modal dialog box
The operation such as Rimless, user client be unable to control after modal dialog box unlatching the control of the modal dialog box by
Key, such as key is closed, the modal dialog box also can not be just actively closed, the mesh that management end is managed client is reached
's.Such as the above method is applied in teaching in actual operation, then can more preferably help teacher's management client of management end
Student avoids the client that student arbitrarily operates oneself during distance learning, to improve concentration.Wherein above-mentioned limit
Means processed can take the circumstances into consideration to select according to actual needs using which kind of mode, and the present invention no longer illustrates one by one herein.
After client communicates docking with management end, management end can efficiently accomplish the control to client.On this basis,
The technical solution for helping client accurately to select suitable management end is additionally provided in a preferred embodiment of the invention, is please referred to
Shown in Fig. 2, selected to provide management end and the more data interactions of client, in data interactive method provided by the present invention also
May include data processing method of the webpage of client before opening the modal dialog box page, specifically include: S201 opens visitor
Family end page window, and the second communication channel is established with the customer terminal webpage window;And S202 is obtained by Web Engine
And the preset display interface of the management end is parsed, and show in the customer terminal webpage window;S203 is when user is to described aobvious
When the operation for showing that interface carries out conforms to a predetermined condition, the customer terminal webpage window notifies the client by the second communication channel
End issues request of data;Wherein, the webpage of the customer terminal webpage window, that is, client is flat convenient for distinguishing in the present specification
Platform is shown, so difference name, relevant technical staff in the field is when being illustrated, and the customer terminal webpage window is not to the client
Webpage further makes restriction.
Specifically, in the above-described embodiments, before management end issues data packet, also user is needed to be first turned on client
End, client system is customer terminal webpage window at this time, that is, client system is carried on the app on webpage or depending on webpage
On.Establish the second communication channel of client Yu customer terminal webpage window (i.e. webpage), the effect of second communication channel and the
One communication channel is similar, and difference is only that, which is to carry out one to customer terminal webpage window for client
The data channel of a little necessary communications then passes through when client needs carry broadcast message or monitors customer terminal webpage window
Second communication channel carries out data communication.After the second communication channel is established, customer terminal webpage window, that is, webpage passes through webpage
The Web Engine acquisition of carrying is stored in the display interface that management end prestores, such as A management end is carrying out C class explanation, B management
Rectify in the related display interface for carrying out multiple management ends such as D class explanation;The display interface is issued by management end, can be according to reality
Management end variation dynamic in border adjusts, and in view of the technology emphasis of the processing method non-present invention of the display interface, and the technology can lead to
Common technology realization is crossed, therefore how to construct the detailed process of display interface, the present invention does not do excessive introduction herein;When described
After Web Engine obtains the display interface, the customer terminal webpage window is loaded directly into those display interfaces and shows output;
User can recognize the letter of current selectable management end in customer terminal webpage window, that is, web interface of client this moment
Breath, and operated according to oneself demand, as may be selected to say skill in current display interface if wanting to listen the user of mathematics class
Management end carries out click confirmation operation, when client listened to by the second communication channel it is above-mentioned in customer terminal webpage window
It when operation, is compared with predetermined condition, such as when user selects A management end and clicks the confirmation operation, meets and make a reservation for really
Recognize A operation, client sends data connection request to the position a of A management end at this time;Thereafter management end, which works as discovery, data connection
It after request, then can be confirmed whether that data packet is connect and sent with its client, it is unrelated with process of the present invention in view of the process, herein
It is not explained.Above scheme is applied in teaching field, it is possible to provide student selects oneself to like or the machine of demand subject
It is not high to reduce students ' interest of study with this for meeting, teacher then influence teaching mood bad because of student's attitude towards study the case where occur.
After management end and client complete data interaction, management end needs to close the modal dialog box of client, please join
One embodiment of the present invention shown in Fig. 3 is examined, S301 works as the closing mould that customer terminal webpage window reception is issued to the management end
When state dialog box instructs, closing modal dialog box instruction is sent to the dialog box by customer terminal webpage window described in S302
Closing modal dialog box instruction is sent to described by the page, the dialog box page described in S303 using first communication channel
Modal dialog box, modal dialog box described in S304 execute closing motion.
In the above-described embodiments, after client receives the out code that management end is sent, the webpage of client is (i.e. objective
Family end page window) Web Engine the dialog box page of modal dialog box is sent the message to by communication mechanism between the page
Face;Communication mechanism is customer terminal webpage window after receiving the out code between the page, will by way of broadcast
The out code is broadcast to all communication channels, and (communication channel is herein only with the first communication channel and the second communication channel
For) at this point, customer terminal webpage window is judged as certainly after receiving the broadcast message (out code) by the second communication channel
Body is issued, therefore is not responded;When the dialog box page receives the broadcast message (out code) by the first communication channel
Afterwards, whether effective judge the broadcast, such as confirm whether the identification information carried in the broadcast message includes oneself (out code
Whether for the modal dialog box for opening itself dialog box page), as closed the broadcast message comprising if, and notify the mode
Dialog box executes shutoff operation;After modal dialog box is connected to the notice of the shutoff operation by the first communication channel, itself is executed
Shutoff operation.
Existing web interface may include a large amount of data information, and the displaying information carried in specified page includes multiple
Son shows information, such as a large amount of exercise, formulates each exercise as son and shows information, completely shows this little exhibition to become apparent from
Show information, the dialog box page only shows that a son shows information, please refers to the preferred embodiment of the present invention one shown in Fig. 4 every time
For S401 pre-establishes the corresponding multiple data encoding informations of the multiple sub- displaying information, and every height shows information all
There is respective difference to indicate, modal dialog box described in S402 carries out customized mode to respective distinctive mark by preset script
Arrangement, and sorted lists are generated, S403 is when the initiation instruction that receive client, according to the arrangement order of the sorted lists,
Show that next height shows information on the dialog box page.Every height shows the display of information, all user is needed to initiate.
In the above-described embodiments, the displaying information carried transmitted by the management end in specified page includes multiple sub- displayings
When information, modal dialog box first by pre-set script to data encoding information corresponding to a little displaying information into
Row is customized to be arranged and generates sorted lists, which is used to indicate the display order of the data encoding information, thereafter
Further according to sorting position of each data encoding information in the sorted lists in the sorted lists, successively by dialog box page exhibition
Show the corresponding sub- displaying information of those data encoding informations, such as position of the distinctive mark in sorted lists of A topic is that 2, B is inscribed
Position of the distinctive mark in sorted lists be 1, then the son in dialog box page presentation shows that information is then first to show B
Topic after user answers and submits the answer of B topic, then shows that A is inscribed.Wherein the definition method of customized arrangement may include passing through number
The distinctive marks such as serial number, customized a little exhibition are carried according to exercise number in encoded information or in data encoding information
Show the sequencing that information is shown, list is ranked up with this and is generated, list is ranked up using which kind of logic or which kind of method
Generation can pre-define according to actual needs, and the present invention does not do excessive limitation herein.
Different specified page addresses can also be repeatedly sent to client in management end, can equally complete different displayings
The display respectively of information, which specifically includes: generating the dialog box page, and shows the exhibition carried in the specified page
After showing information, when the Web Engine obtains the address information of another specified page again, another specific page is parsed
The displaying information carried on face, and generate and correspond to the data encoding information for showing information;The modal dialog box passes through
Another specified page address information that Web Engine obtains loads another specified page, generates the dialog box page
Face, the dialog box page are shown described another specified according to the corresponding data encoding information of another specified page
The displaying information carried on the page.
It please refers to shown in Fig. 5, the present invention also provides a kind of client for data interaction, the client includes client
Hold page window, Web Engine, modal dialog box module and dialog box units of pages;When the customer terminal webpage window reception arrives
When control instruction and data file that management end issues, mould is opened by the modal dialog box module according to the control instruction
State dialog box, the Web Engine obtain and parse the data file, generate data encoding information;The modal dialog box mould
Block loads the data encoding information and generates the dialog box page by the dialog box units of pages, and in the mode pair
The first communication channel is established between words frame and the dialog box page;When the customer terminal webpage window reception to the management end
When the closing modal dialog box instruction of sending, the modal dialog box is closed by the modal dialog box module.
It please refers to shown in Fig. 6, in one preferred embodiment of aforementioned present invention, the client also includes display module:
The data file includes the address information of specified page, when the Web Engine is according to the address information solution of the specified page
The displaying information that carries in analysis specified page, and when the displayings information is comprising multiple sub- displaying information, the modal dialog box
It is carried out by display order of the display module to the corresponding multiple data encoding informations of the multiple sub- displaying information
Customized arrangement, and sorted lists are generated, it is successively shown on the dialog box page according to the sorted lists the multiple
The corresponding sub- displaying information of data encoding information.
The more succinct clear operation interface of user is provided with this, by sorted lists provided by display module in dialogue
Frame page presentation successively this little displaying information;The display module is to the corresponding multiple numbers of the multiple sub- displaying information
Carry out customized arrangement according to the display order of encoded information, and generate sorted lists, display mode can be initiated by client, by with
Family determines whether initiation carries out the display that next height shows information in client, and the display module is connected to user's initiation, according to
Arrangement order in phototypesetting sequence table shows that next height shows the display of information.Every height shows the display of information, all needs to use
It initiates at family.In certain real work, mode is not aforementioned one kind, can also take and directly provide sorted lists, for display module
The modes such as calling;Relevant technical staff in the field can take the circumstances into consideration to use different trigger methods according to actual needs.
It please refers to shown in Fig. 7, the present invention also provides a kind of data interaction system, the system includes management end and at least one
A client;Control instruction, out code and data file of the management end for sending;The client is for passing through institute
Control instruction and data file that customer terminal webpage window reception is issued to management end are stated, and institute is passed through according to the control instruction
It states modal dialog box module and opens modal dialog box, the Web Engine obtains and parse the data file, generates data and compiles
Code information;Data encoding information described in the modal dialog box module loading simultaneously generates dialogue by the dialog box units of pages
The frame page, and the first communication channel is established between the modal dialog box and the dialog box page;When the client
When page window receives the closing modal dialog box instruction that the management end issues, closed by the modal dialog box module
The modal dialog box.
In the above-described embodiments, the management end in actual operation can be by server, database and multiple computers
Or other smart machines for having processing function are constituted;Herein by taking computer as an example, those computers provide manager and log in simultaneously
The data window for issuing management instruction, the computer used in those managers issue control instruction and show information command
When, pass through the address data memory that the displaying information is corresponded in the displaying information command called data library by server, and should
Address data memory and control instruction are distributed to specified client;It is calculated used in client and manager in the process
All data between machine are interacted by server, and all displaying information are stored in database, and client is logical
It crosses the address data memory that server is transferred and shows the displaying information that manager specifies;Then, when manager is sent out by computer
Out when out code, closing instruction is transmitted to corresponding client again by the server, terminates entire data interaction with this
Process;Certain above-mentioned process is only a kind of common data process flow provided by the present invention;Also using equity in real work
Network, that is, P2P form reaches management end and interacts with client data, the present invention herein not to its management end and client it
Between instruction transmitting-receiving etc. data interactions process limit.
With this, make the operation behaviors such as the work and study of client all in management end by using the mode of modal dialog box
Control under, using the user of client while can not close modal dialog box, other are different from the modal dialog box
The content at interface is also operated by limitation;Through the invention provided by this restrictive management, it is ensured that user work or
It is not influenced by other interfaces of system during study etc., improves the administration authority of management end, ensured management end and visitor
The treatment effeciency of data interaction between the end of family.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical scheme and beneficial effects
Describe in detail it is bright, it should be understood that the above is only a specific embodiment of the present invention, the guarantor being not intended to limit the present invention
Range is protected, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in this
Within the protection scope of invention.
Claims (10)
1. a kind of data interactive method, which is characterized in that the method includes:
The control instruction and data file that receiver management terminal issues open modal dialog box, the number according to the control instruction
It is obtained and is parsed by Web Engine according to file, generate data encoding information;Wherein, the data file includes bearing multimedia text
Website information, the address information of specified page of the webpage of part;
The Web Engine obtains the address information of the specified page and accesses, and parses and carries in the specified page
It shows information, generates and correspond to the data encoding information for showing information;The data encoding information is web page source generation
Code;
The modal dialog box loads the data encoding information and generates the dialog box page, the modal dialog box and the dialogue
The first communication channel is established between the frame page;
When receiving the closing modal dialog box instruction that the management end issues, the modal dialog box is closed;
It is described when receiving the closing modal dialog box instruction that the management end issues, close the modal dialog box, comprising:
After client receives the management end sending out code, the Web Engine of the webpage of the client passes through between the page
The out code is sent to the dialog box page of the modal dialog box by communication mechanism;The customer terminal webpage window is connecing
After receiving the out code, the out code is broadcast to first communication channel by way of broadcast and second is led to
Believe channel;After the dialog box page receives the out code by first communication channel, the mode is notified
Dialog box executes shutoff operation;After the modal dialog box is connected to the shutoff operation by first communication channel, execute
The shutoff operation of itself.
2. data interactive method according to claim 1, which is characterized in that described to open mode according to the control instruction
Dialog box also includes: hiding or lock the control button of the modal dialog box.
3. data interactive method according to claim 1, which is characterized in that described to receive what the management end issued
When closing modal dialog box instruction, closing the modal dialog box includes: when customer terminal webpage window reception to the management end
When the closing modal dialog box instruction of sending, closing modal dialog box instruction is sent to institute by the customer terminal webpage window
The dialog box page is stated, closing modal dialog box instruction is sent to by the dialog box page using first communication channel
The modal dialog box, the modal dialog box execute closing motion.
4. data interactive method according to claim 1, which is characterized in that the data file by Web Engine obtain and
Parsing, generating data encoding information includes: the data file includes the address information of specified page, and Web Engine obtains specified
The address information of the page parses the displaying information carried in specified page, generates and corresponds to the data encoding for showing information
Information;
The modal dialog box loads the data encoding information generation dialog box page: the modal dialog box passes through net
The specified page address information that page engine obtains loads the specified page, generates the dialog box page, the dialog box page
Face shows the displaying information carried in the specified page according to the corresponding data encoding information of the specified page.
5. data interactive method according to claim 4, which is characterized in that the displaying information carried in the specified page
Include multiple sub- displaying information.
6. data interactive method according to claim 5, which is characterized in that the dialog box page display shows information also
Include:
The modal dialog box is believed by preset script multiple data encodings corresponding to the multiple sub- displaying information
The display order of breath carries out customized arrangement, and generates sorted lists, when the initiation for receiving client instructs, according to the sequence
The sort order of list shows the corresponding sub- displaying information of next data encoding information on the dialog box page.
7. data interactive method according to claim 4, which is characterized in that generate the dialog box page, and show institute
After stating the displaying information carried in specified page, when the Web Engine obtains the address information of another specified page again
When, the displaying information carried in another specified page is parsed, and generate and correspond to the data encoding letter for showing information
Breath;The modal dialog box loads another specific page by another specified page address information that Web Engine obtains
Face, generates the dialog box page, and the dialog box page is believed according to the corresponding data encoding of another specified page
Breath shows the displaying information carried in another specified page.
8. a kind of client for data interaction, which is characterized in that the client is drawn comprising customer terminal webpage window, webpage
It holds up, modal dialog box module and dialog box units of pages;
When the control instruction and data file that the customer terminal webpage window reception to management end issues, referred to according to the control
It enables and modal dialog box is opened by the modal dialog box module, the Web Engine obtains and parses the data file, raw
At data encoding information;Wherein, the data file includes the website information of the webpage of bearing multimedia file, specified page
Address information;
The Web Engine obtains the address information of the specified page and accesses, and parses and carries in the specified page
It shows information, generates and correspond to the data encoding information for showing information;The data encoding information is web page source generation
Code;
Data encoding information described in the modal dialog box module loading simultaneously generates dialog box by the dialog box units of pages
The page, and the first communication channel is established between the modal dialog box and the dialog box page;
When the closing modal dialog box instruction that the customer terminal webpage window reception to the management end issues, pass through the mould
State dialog box module closes the modal dialog box;
When the closing modal dialog box instruction issued when the customer terminal webpage window reception to the management end, pass through institute
It states modal dialog box module and closes the modal dialog box, comprising:
After the client receives the management end sending out code, the Web Engine of the webpage of the client passes through page
The out code is sent to the dialog box page of the modal dialog box by communication mechanism between face;The customer terminal webpage window
After receiving the out code, the out code is broadcast to first communication channel and by way of broadcast
Two communication channels;After the dialog box page receives the out code by first communication channel, described in notice
Modal dialog box executes shutoff operation;After the modal dialog box is connected to the shutoff operation by first communication channel,
Execute the shutoff operation of itself.
9. the client according to claim 8 for data interaction, which is characterized in that the client also includes to show
Module: the data file includes the address information of specified page, when the Web Engine is according to the address of the specified page
The displaying information that carries in information parsing specified page, and when the displayings information is comprising multiple sub- displaying information, the mode
Dialog box is suitable by display of the display module to the corresponding multiple data encoding informations of the multiple sub- displaying information
Sequence carries out customized arrangement, and generates sorted lists, the arrangement when the initiation instruction for receiving client, according to the sorted lists
Order shows the corresponding sub- displaying information of next data encoding information on the dialog box page.
10. a kind of data interaction system, which is characterized in that the system includes management end and at least one client;
Control instruction, out code and data file of the management end for sending;
The client is used for the control instruction and data file issued by the customer terminal webpage window reception to management end,
And modal dialog box is opened by modal dialog box module according to the control instruction, Web Engine obtains and parses the data
File generates data encoding information;Wherein, the data file includes the website information of the webpage of bearing multimedia file, refers to
Determine the address information of the page;
The Web Engine obtains the address information of the specified page and accesses, and parses and carries in the specified page
It shows information, generates and correspond to the data encoding information for showing information;The data encoding information is web page source generation
Code;
Data encoding information described in the modal dialog box module loading simultaneously generates dialog box by the dialog box units of pages
The page, and the first communication channel is established between the modal dialog box and the dialog box page;
When the closing modal dialog box instruction that the customer terminal webpage window reception to the management end issues, pass through the mould
State dialog box module closes the modal dialog box;
When the closing modal dialog box instruction issued when the customer terminal webpage window reception to the management end, pass through institute
It states modal dialog box module and closes the modal dialog box, comprising:
After client receives the management end sending out code, the Web Engine of the webpage of the client passes through between the page
The out code is sent to the dialog box page of the modal dialog box by communication mechanism;The customer terminal webpage window is connecing
After receiving the out code, the out code is broadcast to first communication channel by way of broadcast and second is led to
Believe channel;After the dialog box page receives the out code by first communication channel, the mode is notified
Dialog box executes shutoff operation;After the modal dialog box is connected to the shutoff operation by first communication channel, execute
The shutoff operation of itself.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610511912.4A CN106210008B (en) | 2016-06-30 | 2016-06-30 | Data interactive method, client and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610511912.4A CN106210008B (en) | 2016-06-30 | 2016-06-30 | Data interactive method, client and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106210008A CN106210008A (en) | 2016-12-07 |
CN106210008B true CN106210008B (en) | 2019-08-02 |
Family
ID=57464076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610511912.4A Active CN106210008B (en) | 2016-06-30 | 2016-06-30 | Data interactive method, client and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210008B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110399040B (en) * | 2019-07-23 | 2023-05-12 | 芋头科技(杭州)有限公司 | Multi-mode interaction method, user terminal equipment, server and system |
CN111176631B (en) * | 2019-12-31 | 2023-11-03 | 上海米哈游天命科技有限公司 | Interaction system and interaction method based on Unity |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867634A (en) * | 2010-03-03 | 2010-10-20 | 深圳市同洲电子股份有限公司 | Information prompting method and device in mobile terminal |
CN102143134A (en) * | 2010-08-05 | 2011-08-03 | 华为技术有限公司 | Method, device and system for distributed identity authentication |
CN102546997A (en) * | 2010-12-22 | 2012-07-04 | 北京国微集成技术有限公司 | Management method for application modules and network multi-media device |
CN103176798A (en) * | 2013-02-21 | 2013-06-26 | 用友软件股份有限公司 | Data interaction system and data interaction method |
CN103853712A (en) * | 2012-11-28 | 2014-06-11 | 金蝶软件(中国)有限公司 | Display method of floating layer window and browser |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012170838A1 (en) * | 2011-06-09 | 2012-12-13 | My Interest Broker, LLC | System and method for trading debt instruments |
-
2016
- 2016-06-30 CN CN201610511912.4A patent/CN106210008B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867634A (en) * | 2010-03-03 | 2010-10-20 | 深圳市同洲电子股份有限公司 | Information prompting method and device in mobile terminal |
CN102143134A (en) * | 2010-08-05 | 2011-08-03 | 华为技术有限公司 | Method, device and system for distributed identity authentication |
CN102546997A (en) * | 2010-12-22 | 2012-07-04 | 北京国微集成技术有限公司 | Management method for application modules and network multi-media device |
CN103853712A (en) * | 2012-11-28 | 2014-06-11 | 金蝶软件(中国)有限公司 | Display method of floating layer window and browser |
CN103176798A (en) * | 2013-02-21 | 2013-06-26 | 用友软件股份有限公司 | Data interaction system and data interaction method |
Also Published As
Publication number | Publication date |
---|---|
CN106210008A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Dyckhoff et al. | Design and implementation of a learning analytics toolkit for teachers | |
CN112148390B (en) | Task processing method and device, electronic equipment and computer readable storage medium | |
CN110413263A (en) | The development approach and device of course packet, system, equipment and storage medium | |
CN106210008B (en) | Data interactive method, client and system | |
US20190251145A1 (en) | System for markup language conversion | |
Tobar et al. | WebA: A Tool for the Assistance in Design and Evaluation of Websites. | |
JP2008250889A (en) | Community management system | |
CN110334014A (en) | For user interface automated testing method, system, server and storage medium | |
US20190251146A1 (en) | Device for rendering markup language with structured data | |
Glahn et al. | Smart indicators to support the learning interaction cycle | |
Wang et al. | Graphical visualization of sustainable manufacturing aspects for knowledge transfer to public audience | |
Pazin et al. | Empirical study on software process variability modelling with SMartySPEM and vSPEM | |
CN110784543B (en) | Application widget module and access and push method thereof | |
Pocatilu | Developing an M-Learning Application for iOS. | |
CN110648119A (en) | Training method and device, storage medium and electronic equipment | |
Dounas et al. | Runtime requirements monitoring framework for adaptive e-learning systems | |
Filho et al. | A requirements catalog for mobile learning environments | |
Khaddam et al. | A linguistic perspective to develop graphical user interfaces | |
Tatnall et al. | Modelling the adoption of web-based mobile learning–an innovation translation approach | |
KR20090120177A (en) | Structure integrated service method and system of scenario/requirement analysis | |
Zhang | Research of Online Examination System based on JavaEE | |
Zhang et al. | Design and implementation of java sniper: A community-based software code review web solution | |
CN114153450A (en) | Questionnaire display dynamic control method, system, electronic equipment and storage medium | |
Roa | Designing mobile instant messaging for collaborative health data management in Rwanda | |
CN112860546A (en) | Service testing method, service testing device, electronic equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |