CN107888476A - Using the personal assistant system of automatic daily record - Google Patents

Using the personal assistant system of automatic daily record Download PDF

Info

Publication number
CN107888476A
CN107888476A CN201610877300.7A CN201610877300A CN107888476A CN 107888476 A CN107888476 A CN 107888476A CN 201610877300 A CN201610877300 A CN 201610877300A CN 107888476 A CN107888476 A CN 107888476A
Authority
CN
China
Prior art keywords
request
server
daily record
automatic daily
automatic
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
CN201610877300.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.)
Meadow Network Technology (shanghai) Co Ltd
Original Assignee
Meadow Network Technology (shanghai) 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 Meadow Network Technology (shanghai) Co Ltd filed Critical Meadow Network Technology (shanghai) Co Ltd
Priority to CN201610877300.7A priority Critical patent/CN107888476A/en
Publication of CN107888476A publication Critical patent/CN107888476A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/234Monitoring or handling of messages for tracking 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/01Protocols

Abstract

A kind of personal assistant system for applying automatic daily record, server receives a connection request, and establishes connection, is directly to handle the request Concurrency to send response message, then carries out following work again.It is loyal in the process of server processing requests, it is impossible to other request is responded again.Only after the completion of a complete service process, program is recycled back into the place for receiving request, now just can receive next request again.So go round and begin again.Embodiments of the invention provide the automatic daily record relationship mechanism based on Mesh, and communicating pair usually forms the pattern of client/server, i.e., objective user orientation server sends server request, after server receives request, there is provided corresponding service.The complexity and difficulty of application security control on the one hand can be so reduced, on the other hand again Mesh communication structure mechanism can be made full use of to carry out automatic daily record.

Description

Using the personal assistant system of automatic daily record
Technical field
The present invention relates to the automatic log information technical field of internet, more particularly to the personal assistant of the automatic daily record of application System mechanism management.
Background technology
Instant messaging, it is a terminal service, it is allowed to which two people or more people use the instant transmission message language in networking, shelves Case, voice exchange with video.Instant messaging is divided into enterprise instant communication and website instant messaging by use, according to loading Object can be divided into mobile telephone instant communication and PC instant messagings again, and it is short message that mobile telephone instant communication, which represents, website, video IMU News.
In exchange message technology field immediately, client/server configuration is presently the most popular network communication mode, When two computers establish connection, server is the application program operated on side's computer, also referred to as host, with it The service of his computer connection, and provide data for connected computer;Client computer is operated on the opposing party's computer Application program, it asks to be connected with server.A usual server can connect more client computer.Network service can make more meters The transmission of data becomes convenient, quick between calculation machine, is no longer influenced by the limitation of distance.Network instant communication also arises at the historic moment.Network Instant communication software can not only realize the transmission of data between computer, and can realize between computer in real time word, Voice dialogue and image, the transmission of file.Development and maturation with instant communication software, its usability and practicality is also gradually Gradually received by vast user.
System practices benefit caused by the personal assistant system of automatic daily record:On the one hand automatic daily record is system pipes Reason person provides flexible, convenient operation interface, on the other hand makes full use of personal assistant system again, has that security is good, behaviour Work is convenient, realizes the advantages that easy
The content of the invention
In order to overcome the shortcomings of the personal assistant system of the existing automatic daily record of application, the present invention provides one kind and is based on Mesh Automatic daily record relationship mechanism, communicating pair usually forms the pattern of client/server, i.e., objective user orientation server sends service Device is asked, after server receives request, there is provided corresponding service.It on the one hand can so reduce application security control Complexity and difficulty, on the other hand again Mesh communication structure mechanism can be made full use of to carry out automatic daily record
The technical solution adopted for the present invention to solve the technical problems is:Server receives a connection request, and builds Connection is erected, ensuing processing can also be divided into two kinds of completely different modes:1st, it is directly to handle the request Concurrency Response message is sent, then carries out following work again.It is loyal in the process of server processing requests, it is impossible to again to other request Responded.Only after the completion of a complete service process, program is recycled back into the place for receiving request, now just again Next request can be received.So go round and begin again.This mode is called duplicate services device, i.e., can only once handle a service Request.2nd, be when often receiving a service request be activated by a new process (or thread) carry out special disposal this client please Ask.Newly-established process (or thread) inherits the resources such as the connection that establishes from its server is created, and is built using this The connection stood is communicated with client, and service is provided for client.And original server can is returned at once Place to be asked, next connection request can be received.After the completion of being serviced in new process (or thread), oneself and client are closed The communication link at end, and self termination.This mode is called parallel service device, can respond the clear of multiple client simultaneously Ask
The invention has the advantages that using the personal assistant system of automatic daily record, message can be increased substantially more New success rate constantly becomes big with the expansion of network size, the conflict of information updating, and information updating selects automatic daily record relation Mechanism can largely improve influence of the information updating conflict to IMU performance, particularly in group member relationship change Frequently new information selects automatic daily record relationship mechanism to have more advantage in extensive IMU
Brief description of the drawings
The present invention is further described with reference to the accompanying drawings and examples.
Fig. 1 is present example Socket communication structure figure.
Fig. 2 is the basic timing diagram that present example is applied based on Socket.
Fig. 3 is the automatic log information figures of present example cluster head A '.
Fig. 4 is that present example cluster head A ' completes automatic journalizing figure.
Fig. 5 is the automatic log request message collision figure of present example.
Fig. 6 is request message direction of transfer figure when present example conflict occurs.
Embodiment
In figure 3, illustrate present example cluster head A ' and send automatic log request message diagram..Exited when having CH or PN During communication, in order to avoid information updating conflict, it is necessary to first carry out automatic daily record relation to list.Discuss that no conflict occurred first When situation, its specific process is as follows:When cluster head A exits cast communication, the mobile node in cluster can elect one newly Cluster head A '.There are two kinds of situations during election:The first situation is the member that new cluster head A ' is still same group;Second of situation is new Cluster head A ' is the member of other groups.The information that new cluster head A ' can be sent in oneself cluster in both cases gives 3*3 grids In other CH, each CH can update the list oneself stored, and then all list informations are passed by adjacent CH again Give new cluster head A '.
In the first situation, new cluster head A ' initiates the automatic daily record relational operation to table.A ' is deposited according to oneself first List corresponding to this group membership of storage, the algorithm all met according to all cH transmit automatic daily record relationship request message, this Kind algorithm must is fulfilled for automatic daily record relationship request message and must be transferred to each CH and FN for belonging to this group, and the road transmitted It is an acyclic chain after the expansion of footpath.A kind of simple method is the information based on each CH tables stored according to certain side To the automatic daily record relationship request message of transmission.In the network of reality, because the communication between different clusters is completed by CH, Therefore A ' is not that automatic daily record relationship request message is directly issued agent node B and C, but where first issuing B and c CH, agent node B and C are then transmitted to by their CH.Secondly, the automatic daily record relation for cluster head A ' all being received as all CH please After seeking message, an ACK message is sent by the first and last node in list respectively and gives cluster head A '.At this moment cluster head A ' complete to table from Dynamic daily record relation, starts new information.
In second of situation, when new caused CH is no longer this group member, then this group will produce a PN, by Caused PN initiate to the automatic daily record relational operation of table in the network of reality because the communication between different clusters all passes through What CH was carried out, therefore the automatic daily record relationship request message to table is simply sent to CH by PN, then CH is according to sending automatic day Group where the PN of will relationship request message, corresponding list is found in the list of oneself storage and forwards the automatic daily record to close It is request message.Automatic daily record relational operation afterwards is identical with the first situation.

Claims (2)

1. the personal assistant system of the automatic daily record of application, it is characterized in that:Automatic daily record relationship mechanism based on Mesh, communication are double Fang Changchang forms the pattern of client/server, i.e., objective user orientation server sends server request, and server receives request Afterwards, there is provided corresponding service.
2. the automatic daily record relationship mechanism according to claim 1 based on Mesh, it is characterized in that:Server receives one Individual connection request, and connection is established, it is directly to handle the request Concurrency to send response message, then carries out following work again Make, it is loyal in the process of server processing requests, it is impossible to other request to be responded again, only when a complete service After the completion of process, program is recycled back into the place for receiving request, now just can receive next request, such Zhou Erfu again Begin, this mode is called duplicate services device, i.e., can only once handle a service request.
CN201610877300.7A 2016-09-30 2016-09-30 Using the personal assistant system of automatic daily record Pending CN107888476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610877300.7A CN107888476A (en) 2016-09-30 2016-09-30 Using the personal assistant system of automatic daily record

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610877300.7A CN107888476A (en) 2016-09-30 2016-09-30 Using the personal assistant system of automatic daily record

Publications (1)

Publication Number Publication Date
CN107888476A true CN107888476A (en) 2018-04-06

Family

ID=61770123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610877300.7A Pending CN107888476A (en) 2016-09-30 2016-09-30 Using the personal assistant system of automatic daily record

Country Status (1)

Country Link
CN (1) CN107888476A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594342A (en) * 2008-05-29 2009-12-02 国际商业机器公司 log recording method and device
CN105100128A (en) * 2014-04-24 2015-11-25 北京金山网络科技有限公司 Server cluster log acquiring and providing methods, log server and node server
CN105721278A (en) * 2015-03-23 2016-06-29 上海赞越软件服务中心 Question-answer mechanism based on instant communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594342A (en) * 2008-05-29 2009-12-02 国际商业机器公司 log recording method and device
CN105100128A (en) * 2014-04-24 2015-11-25 北京金山网络科技有限公司 Server cluster log acquiring and providing methods, log server and node server
CN105721278A (en) * 2015-03-23 2016-06-29 上海赞越软件服务中心 Question-answer mechanism based on instant communication

Similar Documents

Publication Publication Date Title
CN102571686B (en) Method for realizing cloud conference system
CN100496015C (en) Method for realizing clipboard sharing in multinode intelligent network application service system
CN101729441B (en) Update reminding method, system thereof, update source server and access server
CN103473318A (en) Distributed transaction security method for memory data grid
WO2021051966A1 (en) Information pushing method and system
CN108509523A (en) Structuring processing method, equipment and the readable storage medium storing program for executing of block chain data
CN102447734B (en) Cloud service method for taxation cloud computing network billing IM (Instant Messaging) online customer system
CN112132942B (en) Three-dimensional scene roaming real-time rendering method
BRPI0924555B1 (en) method of implementing call service and call center system
CN103634347A (en) Parallel service processing method, device and system
CN110098942A (en) Message transmitting method, equipment and system
CN108965109A (en) A kind of instant messaging control method, device and storage medium
CN106850698A (en) A kind of User space RPC agreement multithreading optimization methods and system
CN106330683A (en) Multimedia seating system
WO2023165429A1 (en) Session state management method and system, apparatus, device, and storage medium
CN103731465A (en) Distributed system and transaction treatment method thereof
CN114328432A (en) Big data federal learning processing method and system
CN110417876A (en) Node server and main control device in session method, distributed system
WO2023186154A1 (en) Data transmission system and method
CN101047691B (en) Method for integral controlling subscribe
CN103338160A (en) Buffer queue-based polling service optimization system and optimization method
CN107888476A (en) Using the personal assistant system of automatic daily record
CN105721278A (en) Question-answer mechanism based on instant communication
CN110233791A (en) Data duplicate removal method and device
CN110290196A (en) A kind of content distribution method and device

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180406

WD01 Invention patent application deemed withdrawn after publication