{'fraction_non_alphanumeric': 0.0186799501867995, 'fraction_numerical': 0.0, 'mean_word_length': 5.28125, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Three-layered mediator architecture based on DHT

The interchange of data between client and heterogeneous sources requires an efficient and dynamic approach to mediation. Our framework features three layers of mediators: presence, integration, and homogenization. On arrival of a request for data exchange, a session initiation server forks to the mediator group to elect one mediator as global presence mediator that is responsible for data caching and service provision. Using distributed hash table (DHT), the presence mediator dispatches the data stream request to other mediators and tracks down to the source, which is then integrated and connected to the client in a user-relevant way. Our mediation process is adaptive and dynamic upon the user request and takes QoS factors into consideration.