[go: nahoru, domu]

CN109274585A - Instant message desktop system and method under B/S mode based on AJAX - Google Patents

Instant message desktop system and method under B/S mode based on AJAX Download PDF

Info

Publication number
CN109274585A
CN109274585A CN201811187472.7A CN201811187472A CN109274585A CN 109274585 A CN109274585 A CN 109274585A CN 201811187472 A CN201811187472 A CN 201811187472A CN 109274585 A CN109274585 A CN 109274585A
Authority
CN
China
Prior art keywords
content
announcement
ajax
recipient
time
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
CN201811187472.7A
Other languages
Chinese (zh)
Inventor
邢宏伟
王刚
戚鲁凤
赵红卫
王莉
王晓敏
梁士武
邵常媛
窦蘅
薛俊元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Luneng Software Technology Co Ltd
Original Assignee
Shandong Luneng Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Luneng Software Technology Co Ltd filed Critical Shandong Luneng Software Technology Co Ltd
Priority to CN201811187472.7A priority Critical patent/CN109274585A/en
Publication of CN109274585A publication Critical patent/CN109274585A/en
Pending legal-status Critical Current

Links

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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses the instant message desktop systems under the B/S mode based on AJAX, including input selecting module, memory module, logging modle, timing module and backup module, wherein: the input selecting module, the content of announcement sent is needed for user's typing, and select recipient, the memory module, for storing content of announcement into corresponding tables of data, it is denoted as unprocessed information table, the logging modle, for recording the reading time of recipient, the correspondence content of announcement in unprocessed information table is recorded as in vain;The invention also discloses the implementation methods of the instant message desktop system under the B/S mode based on AJAX, meet the needs of conventional desktop system, and the generation of system state change and time is grasped in timing;Remind user's not miss critical information;Only sender and recipients know content of announcement, are conducive to the secrecy transmission of information, are suitable for enterprise.

Description

Instant message desktop system and method under B/S mode based on AJAX
Technical field
The invention belongs to information reminding technical fields, and in particular to the instant message desktop under the B/S mode based on AJAX System and method.
Background technique
With the prevalence of Web technology, more and more applications are changed into B/S mode from original C/S model, enjoy Various advantages brought by Web technology (such as cross-platform, exempt from client maintenance, across firewall, favorable expandability etc.).But base In the application of browser, also there is its insufficient place.Essentially consist in the friendly and interactivity at interface.Due to the page in browser Face needs refresh all that could obtain newest data from server end or to server transmissioning data every time, view brought by this Feel that impression is very bad.Therefore many desktop applications abandon Web technology to obtain more friendly interface, or using clear Look at the plug-in part technology (ActiveX, Applet, Flash etc.) of device.But there are many problem, examples again for browser plug-in technology itself Such as cross-platform problem and plug-in version compatibility issue.
With the rise of AJAX technology, allows numerous developers to see again using browser and substitute desktop application Chance, and current chance is very big.The refreshing of full page is become the refreshing of page part, and the biography of data by AJAX Sending is to carry out in an asynchronous manner, this makes network delay bring vision difference that will disappear.AJAX also utilizes DHTML and enriches JavaScript language simulate the various events of desktop system and the effect of response process and smooth rolling and dragging. Also it is more than these, more there are some IT giants (Google, Sun, Oracle etc.) to provide AJAX developing instrument very rich, make Must develop and debug AJAX application becomes to be simple and efficient, and the AJAX application developed can also cross over various browsers and operation System.The Web application based on AJAX is filled with rapidly in this case, swallows the share of original desktop system.Chat tool, Mail reader, blog editor, even Office office software and word processor suffer from beauty in a browser Appearance and the interactive interface that can almost match in excellence or beauty with desktop system.Google is even more to propose " there is browser and Google, just Do not need Microsoft " slogan and strategy.In the world of Ajax, in addition to traditional CAD design software and big game software etc. Because also being be unable to do without other than desktop system to the challenging needs of system hardware, it appears that other all applications can become Web It applies.
But when we have seen that AJAX bring dawn while bring another problem again, these asynchronous promptings It is all in browser and web page frame, but without the image of Buddha C/S visitor when user leaves browser or minimizes browser The same backstage real time execution in family end simultaneously gives the eye-catching pop-up prompting of user.
Summary of the invention
It is above-mentioned to solve the purpose of the present invention is to provide the instant message desktop system under the B/S mode based on AJAX The problem of being proposed in background technique.Instant message desktop system under B/S mode provided by the invention based on AJAX has full The characteristics of demand of sufficient conventional desktop system, system state change and the generation of time are grasped in timing.
Another object of the present invention is to provide the realization side of the instant message desktop system under the B/S mode based on AJAX Method.
To achieve the above object, the invention provides the following technical scheme: instant message table under the B/S mode based on AJAX Plane system, including input selecting module, memory module, logging modle, timing module and backup module, in which:
The input selecting module needs the content of announcement sent for user's typing, and selects recipient;
The memory module is denoted as unprocessed information table for storing content of announcement into corresponding tables of data;
The logging modle, the correspondence content of announcement note for recording the reading time of recipient, in unprocessed information table It is invalid for recording, and the content of announcement read is stored to backup table;
The timing module, for by AJAX polling mode timing inquire-receive person whether login system, once detection To recipient's login system, content of announcement is transmitted by the way of user's pop-up prompting, and timing is popped up, until recipient reads Content of announcement;
Creation time is compared by the backup module for backing up content in message table with current time, It can be by content backup in message table into message history table, by this when creation time is greater than the setting time limit if current time subtracts Information flag is invalid.
In the present invention further, whether the memory module is stored with sender, sending time, recipient, has Effect, notice particular content and creation time.
In the present invention further, the backup module, when being stored with sender, sending time, recipient, reception Between, reading time and content of announcement.
In the present invention further, the timing module is stored with poll timing, backup timing, pop-up Timing and setting time limit.
In the present invention further, the realization of the instant message desktop system under the B/S mode based on AJAX Method, comprising the following steps:
(1), the content of announcement that user needs to send by input, selecting module typing, and select recipient;
(2), storage content of announcement is denoted as unprocessed information table into corresponding tables of data;
(3), by AJAX polling mode timing inquire-receive person whether login system, once detect that recipient logs in System transmits content of announcement by the way of user's pop-up prompting, and timing is popped up, until recipient's read notification content;
(4), the reading time of recipient is recorded, the correspondence content of announcement in unprocessed information table is recorded as in vain, will The content of announcement of reading is stored to backup table.
In the present invention further, the realization of the instant message desktop system under the B/S mode based on AJAX Method, in the step 2, unprocessed information table content be record sender, sending time, recipient, whether effectively, notice Particular content and creation time.
In the present invention further, the realization of the instant message desktop system under the B/S mode based on AJAX Method, in the step 3, when the artificial same recipient of specified reception of different contents of announcement, the information content that pop-up is reminded It is cumulative.
In the present invention further, the realization of the instant message desktop system under the B/S mode based on AJAX Method, in the step 4, in backup table for record sender, sending time, recipient, receiving time, reading time and Content of announcement.
In the present invention further, the realization of the instant message desktop system under the B/S mode based on AJAX Method, in the step 4, timing backs up content in message table, and creation time and current time are compared Compared with, if current time subtract creation time be greater than setting the time limit when can by content backup in message table into message history table, It is invalid by the information flag.
In the present invention further, the realization of the instant message desktop system under the B/S mode based on AJAX Method, in the step 4, timing deletes in unprocessed information table and marks the data for being.
Compared with prior art, the beneficial effects of the present invention are:
(1), meets the needs of conventional desktop system, the generation of system state change and time is grasped in timing, reminds user Not miss critical information;
(3), only have sender and recipients to know content of announcement, be conducive to the secrecy transmission of information, be suitable for enterprise.
Detailed description of the invention
Fig. 1 is step structural schematic diagram of the invention;
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Embodiment
Referring to Fig. 1, the present invention is the following technical schemes are provided: instant message desktop system under the B/S mode based on AJAX System, including input selecting module, memory module, logging modle, timing module and backup module, and input selecting module, storage Module, logging modle, timing module and backup module pass through electric connection, in which:
Selecting module is inputted, the content of announcement sent is needed for user's typing, and select recipient;
Memory module is denoted as unprocessed information table for storing content of announcement into corresponding tables of data;
Logging modle, for recording the reading time of recipient, the correspondence content of announcement in unprocessed information table is recorded as In vain, the content of announcement read is stored to backup table;
Timing module, for by AJAX polling mode timing inquire-receive person whether login system, connect once detecting Receipts person's login system transmits content of announcement by the way of user's pop-up prompting, and timing is popped up, until recipient's read notification Content;
Creation time is compared by backup module for backing up content in message table with current time, if Current time subtracts can be by content backup in message table into message history table, by the information when creation time is greater than the setting time limit Labeled as invalid.
Further, memory module is stored with sender, sending time, recipient, whether effective, notice particular content And creation time.
Further, backup module is stored with sender, sending time, recipient, receiving time, reading time and leads to Know content.
Further, timing module is stored with poll timing, backup timing, pop-up timing and setting Time limit.
Further, the implementation method of the instant message desktop system under the B/S mode of the present invention based on AJAX, The following steps are included:
(1), the content of announcement that user needs to send by input, selecting module typing, and select recipient;
(2), storage content of announcement is denoted as unprocessed information table, unprocessed information table content into corresponding tables of data For record sender, sending time, recipient, whether effective, notice particular content and creation time;
(3), by AJAX polling mode timing inquire-receive person whether login system, once detect that recipient logs in System transmits content of announcement by the way of user's pop-up prompting, and timing is popped up, until recipient's read notification content, when Artificially same recipient, the information content that pop-up is reminded are cumulative for the specified reception of different contents of announcement;
(4), the reading time of recipient is recorded, the correspondence content of announcement in unprocessed information table is recorded as in vain, will The content of announcement of reading is stored to backup table, for recording sender, sending time, recipient, receiving time, reading in backup table Time and content of announcement, timing back up content in message table, creation time are compared with current time, such as Fruit current time subtracts can be by content backup in message table into message history table, by the letter when creation time is greater than the setting time limit Breath labeled as in vain, delete in unprocessed information table and mark the data for being by timing.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding And modification, the scope of the present invention is defined by the appended.

Claims (10)

1. the instant message desktop system under the B/S mode based on AJAX, including input selecting module, memory module, record mould Block, timing module and backup module, in which:
The input selecting module needs the content of announcement sent for user's typing, and selects recipient;
The memory module is denoted as unprocessed information table for storing content of announcement into corresponding tables of data;
The logging modle, for recording the reading time of recipient, the correspondence content of announcement in unprocessed information table is recorded as In vain, the content of announcement read is stored to backup table;
The timing module, for by AJAX polling mode timing inquire-receive person whether login system, connect once detecting Receipts person's login system transmits content of announcement by the way of user's pop-up prompting, and timing is popped up, until recipient's read notification Content;
Creation time is compared by the backup module for backing up content in message table with current time, if Current time subtracts can be by content backup in message table into message history table, by the information when creation time is greater than the setting time limit Labeled as invalid.
2. the instant message desktop system under the B/S mode according to claim 1 based on AJAX, it is characterised in that: institute Memory module is stated, sender, sending time, recipient, whether effective, notice particular content and creation time are stored with.
3. the instant message desktop system under the B/S mode according to claim 1 based on AJAX, it is characterised in that: institute Backup module is stated, sender, sending time, recipient, receiving time, reading time and content of announcement are stored with.
4. the instant message desktop system under the B/S mode according to claim 1 based on AJAX, it is characterised in that: institute Timing module is stated, poll timing, backup timing, pop-up timing and setting time limit are stored with.
5. the realization of the instant message desktop system under the B/S mode according to claim 1-4 based on AJAX Method, which comprises the following steps:
(1), the content of announcement that user needs to send by input, selecting module typing, and select recipient;
(2), storage content of announcement is denoted as unprocessed information table into corresponding tables of data;
(3), by AJAX polling mode timing inquire-receive person whether login system, once detect recipient's login system, Content of announcement is transmitted by the way of user's pop-up prompting, and timing is popped up, until recipient's read notification content;
(4), the reading time of recipient is recorded, the correspondence content of announcement in unprocessed information table is recorded as in vain, by what is read Content of announcement is stored to backup table.
6. the implementation method of the instant message desktop system under the B/S mode according to claim 5 based on AJAX, special Sign is: whether in the step 2, unprocessed information table content is record sender, sending time, recipient, effective, logical Know particular content and creation time.
7. the implementation method of the instant message desktop system under the B/S mode according to claim 5 based on AJAX, special Sign is: in the step 3, when the artificial same recipient of specified reception of different contents of announcement, the Information Number that pop-up is reminded Amount is cumulative.
8. the implementation method of the instant message desktop system under the B/S mode according to claim 5 based on AJAX, special Sign is: in the step 4, for recording sender, sending time, recipient, receiving time, reading time in backup table And content of announcement.
9. the implementation method of the instant message desktop system under the B/S mode according to claim 5 based on AJAX, special Sign is, in the step 4, timing backs up content in message table, and creation time and current time are compared Compared with, if current time subtract creation time be greater than setting the time limit when can by content backup in message table into message history table, It is invalid by the information flag.
10. the implementation method of the instant message desktop system under the B/S mode according to claim 5 based on AJAX, Be characterized in that: in the step 4, timing deletes in unprocessed information table and marks the data for being.
CN201811187472.7A 2018-10-12 2018-10-12 Instant message desktop system and method under B/S mode based on AJAX Pending CN109274585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811187472.7A CN109274585A (en) 2018-10-12 2018-10-12 Instant message desktop system and method under B/S mode based on AJAX

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811187472.7A CN109274585A (en) 2018-10-12 2018-10-12 Instant message desktop system and method under B/S mode based on AJAX

Publications (1)

Publication Number Publication Date
CN109274585A true CN109274585A (en) 2019-01-25

Family

ID=65197049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811187472.7A Pending CN109274585A (en) 2018-10-12 2018-10-12 Instant message desktop system and method under B/S mode based on AJAX

Country Status (1)

Country Link
CN (1) CN109274585A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119327A (en) * 2006-08-04 2008-02-06 陆悦 Instant chatting implementation system and method thereof
CN101945055A (en) * 2009-07-09 2011-01-12 深圳市艾派应用系统有限公司 Instant communication system and instant communication method
CN102195992A (en) * 2010-11-01 2011-09-21 卡巴斯基实验室封闭式股份公司 System and method for performing anti-virus scanning for the data downloaded from network
WO2012162397A1 (en) * 2011-05-23 2012-11-29 Twilio, Inc. System and method for connecting a communication to a client
CN104348713A (en) * 2014-10-17 2015-02-11 国家电网公司 Instant messaging method based on comet of network platform under B/S (Browser/Server) architecture
CN105577520A (en) * 2015-12-18 2016-05-11 国云科技股份有限公司 Method for web program instant message interaction
US20160164819A1 (en) * 2014-12-08 2016-06-09 Yahoo Inc. System and method for triaging in a message system on send flow
CN107808010A (en) * 2017-11-17 2018-03-16 北京锐安科技有限公司 A kind of pop-up page generation method, device, browser and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119327A (en) * 2006-08-04 2008-02-06 陆悦 Instant chatting implementation system and method thereof
CN101945055A (en) * 2009-07-09 2011-01-12 深圳市艾派应用系统有限公司 Instant communication system and instant communication method
CN102195992A (en) * 2010-11-01 2011-09-21 卡巴斯基实验室封闭式股份公司 System and method for performing anti-virus scanning for the data downloaded from network
WO2012162397A1 (en) * 2011-05-23 2012-11-29 Twilio, Inc. System and method for connecting a communication to a client
CN104348713A (en) * 2014-10-17 2015-02-11 国家电网公司 Instant messaging method based on comet of network platform under B/S (Browser/Server) architecture
US20160164819A1 (en) * 2014-12-08 2016-06-09 Yahoo Inc. System and method for triaging in a message system on send flow
CN105577520A (en) * 2015-12-18 2016-05-11 国云科技股份有限公司 Method for web program instant message interaction
CN107808010A (en) * 2017-11-17 2018-03-16 北京锐安科技有限公司 A kind of pop-up page generation method, device, browser and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
卢仕伟: ""基于Web的在线交流平台的开发技术研究与应用"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
戚永军: "基于Comet的Web即时通讯系统设计与实现", 《计算机科学》 *
胡锦美: "基于Ajax的企业级即时通讯系统设计与实现", 《福建农机》 *

Similar Documents

Publication Publication Date Title
US11509618B2 (en) Maintaining a message thread with opt-in permanence for entries
EP3005652B1 (en) Apparatus and method for maintaining a message thread with opt-in permanence for entries
Mann et al. Internet interviewing
CN106020595B (en) Message reply method and device
WO2016124074A1 (en) Information processing method, client, server and computer storage medium
AU2003299904A1 (en) Methods and apparatus for displaying and replying to electronic messages
RU2009109687A (en) LOGOKONI - ADVERTISING PRODUCT FOR BRAND ADVERTISERS
CN105094824B (en) A kind of notification message methods of exhibiting on smartwatch and a kind of smartwatch
CN112817602B (en) JSON format data transmitting and receiving method, device and medium
CN102790724A (en) Information prompting method of network memorandum, network server and system
CN102023976B (en) Method for acquiring forum information
WO2001093509A1 (en) Image-included data transmission via electronic mail systems
CN108429667A (en) A kind of method for information display and device
CN109274585A (en) Instant message desktop system and method under B/S mode based on AJAX
CN102404292B (en) Account automatic matching method and system
CN104796324A (en) Instant message prompting method and instant message prompting device
CN104901869B (en) Online group member interaction method
CN105867731A (en) Visualization method, device and system for state of timing messages in visual window
CN104461214B (en) A kind of information processing method and device
CN201146534Y (en) System for prompting user recording log in an enterprise instant communication tool
JP2001222476A (en) Mail system and recording medium
Piety Alone for dinner: Kierkegaard's sombre outlook
Szabo The Creation Process of an Individual Grade Sender via E-Mail for Students Running on the Server of Sun Trackers
KR100788641B1 (en) Event processing method using electronic card service in communication network and recording medium therefor
Thacker Justin Diamond's first resolution mocks the SA's legitimacy Allegory DC honors black bartenders through cocktail series Young core dominates women's tennis ahead of fall slate 9: 30 Club to bring mobile box office truck to campus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190125

RJ01 Rejection of invention patent application after publication