CN116506244B - Chat room configuration method capable of self-adapting to number of people in room - Google Patents

Chat room configuration method capable of self-adapting to number of people in room Download PDF

Info

Publication number
CN116506244B
CN116506244B CN202310590789.XA CN202310590789A CN116506244B CN 116506244 B CN116506244 B CN 116506244B CN 202310590789 A CN202310590789 A CN 202310590789A CN 116506244 B CN116506244 B CN 116506244B
Authority
CN
China
Prior art keywords
chat
server
attribute
room
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310590789.XA
Other languages
Chinese (zh)
Other versions
CN116506244A (en
Inventor
贺益恒
陈建臣
孙一民
王雪静
杨文智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Link Star Technology Co ltd
Original Assignee
Beijing Link Star 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 Beijing Link Star Technology Co ltd filed Critical Beijing Link Star Technology Co ltd
Priority to CN202310590789.XA priority Critical patent/CN116506244B/en
Publication of CN116506244A publication Critical patent/CN116506244A/en
Application granted granted Critical
Publication of CN116506244B publication Critical patent/CN116506244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1827Network arrangements for conference optimisation or adaptation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a chat room configuration method for self-adapting the number of people in a room, which comprises the following steps: acquiring configuration information, the number of people and chat contents corresponding to the people of all chat servers, marking and sorting different people according to attributes, and generating characteristic values of different people according to the sorting; different chat servers are configured for different chat rooms by combining the characteristic values and the configuration information; the chat server gives out the chat content corresponding to the recommendation according to the chat content, and sends the recommended chat content to the chat room. The application realizes the configuration of the chat server according to the characteristic values, the chat content and the configuration information, realizes the optimal configuration of the chat server, better realizes the reasonable utilization of the resources of the chat server, and ensures the smoothness of the network of the chat room; in addition, chat content can be recommended by the chat difficult server, man-machine interaction is achieved, topics of chat rooms are increased, chat fun is improved, and customer experience is further enhanced.

Description

Chat room configuration method capable of self-adapting to number of people in room
Technical Field
The application relates to the technical field of network resource optimal configuration, in particular to a chat room configuration method capable of self-adapting to the number of people in a room.
Background
The chat room is a chat tool of people depending on the Internet and the terminals, and along with the continuous acceleration of the life rhythm and the scientific and technical section, people can realize the relaxation of mind and body in the chat room on one hand, and the amateur cultural life is enhanced on the other hand; however, because the number of people in the chat room is large, and the number of people in the chat room is limited, more continuous servers need to be configured, so that the situation that the number of people in the chat room is large and the number of people in the chat room is small is easily caused, and network resources are definitely wasted; in addition, the existing chat room configuration scheme only adjusts the chat server according to the number of people, cannot establish chat rooms according to different chat contents, pushes topics related to the chat contents, enables establishment of the chat rooms to be purposeless, and simultaneously enables the topics of the chat to be limited.
First, application number: 201710383207.5 discloses a chat room configuration method and a chat room system for self-adapting room population, belonging to the field of network chat. When the chat room has an entering request, the configuration information of the chat room is obtained, the configuration information of the chat room comprises whether the chat room is configured with the chat server or not, and when the chat room has the entering request, if the chat room is not configured with the chat server, a new chat server is configured for the chat room, the entering request is distributed to the chat server configured for the chat room, and the configuration information of the chat room is updated; if the chat room is configured with the chat server, the chat room is configured with the chat server, and the entering request is distributed to the chat server configured with the chat room. Although the chat server and the online people in the chat room can be adaptively matched, the configuration of the chat server is optimized, and the utilization of the chat server resources is improved, the chat room is not built according to the chat content, so that the chat room is built in a non-targeted manner, and the waste of network resources is caused; meanwhile, different chat rooms cannot be established according to different chat contents, so that the chat effect is poor.
Second prior art, application number: CN202010038882.6 discloses an electronic device, method and computer readable recording medium for disabling chat rooms of messaging applications, the electronic device being configured to: receiving a invalidation request for at least one chat room, wherein the invalidation request is associated with a chat room arrangement comprising invalidation conditions for the at least one chat room; storing a chat room configuration including a failure condition for at least one chat room based on the failure request; and disabling the at least one chat room based on determining that the disabling condition for the at least one chat room is satisfied. Although the automatic setting of the chat function is realized, the chat room cannot be switched according to different chat contents, so that the user experience is poor.
Third, application number: CN202111572798.3 is a team cooperation communication method and system applied to a network target range, and comprises the following steps: the network shooting range management module creates chat room configuration information and synchronizes the chat room configuration information to the server side module; after receiving the chat room configuration information, the server side module creates a user virtual machine supporting the chat room function and creates user role information under each task scene in the network target range; the target user accesses the user virtual machine and the obtained target user role information through the client module, so that chatting is carried out in the chatting room. Chat rooms are built between the server side and the client side based on the chat room configuration information generated by the network target range management module, so that the chat rooms and the network target ranges are effectively fused, the efficiency of the network target ranges is improved, based on the fusion operations, the real-time communication and communication requirements of multi-user roles are met, the safety of communication and communication is improved, but the chat rooms can only realize the control of the number of people, the creation of the chat rooms cannot be realized according to the chat content, different people in the same chat room are caused, and the chat effect is directly reduced.
The application provides a chat room configuration method for self-adapting room people, which is characterized in that different people are marked and ordered according to the addition of the self-adapting room people, the specific ordering is based on the characteristic value generated by different people, and different chat servers are configured according to the ordering quantity and the chat content at the same time, and corresponding chat content recommendations are given according to the chat servers, so that chat fun is improved.
Disclosure of Invention
In order to solve the technical problems, the application provides a chat room configuration method for self-adapting the number of people in a room, which comprises the following steps:
acquiring configuration information, the number of people and chat contents corresponding to the people of all chat servers, marking and sorting different people according to attributes, and generating characteristic values of different people according to the sorting;
different chat servers are configured for different chat rooms by combining the characteristic values and the configuration information;
the chat server gives out the chat content corresponding to the recommendation according to the chat content, and sends the recommended chat content to the chat room.
Optionally, the configuration information includes hardware and software configuration of the chat server, the hardware configuration includes a central processing unit, a memory and a hard disk, and the software configuration includes an application protocol, an operating system, a database and a Web server.
Optionally, the process of generating the characteristic values of different people according to the ranking comprises the following steps:
acquiring attributes of chat room personnel, and giving different weights according to different attributes; the attributes include: gender, age, hobbies and occupation information, and the attribute weights are ranked from big to small: hobbies, professions, ages and sexes;
forming an attribute set of chat room personnel according to a set rule, wherein the attribute set comprises attribute elements arranged according to the weight of the attribute, determining the occupation ratio of the attribute elements in the attribute set according to the attribute weights of the attribute elements, and determining whether the attribute weights are used as reference attribute weights according to the occupation ratio;
and combining the reference attribute weights to obtain a reference attribute rule, and determining a characteristic value corresponding to the attribute weight according to the attribute recognition degree of the reference attribute weight in the attribute set aiming at each reference attribute weight, wherein the characteristic value is used for constructing an attribute recognition model.
Optionally, the occupation ratio is a ratio of attribute weight to total attribute weight of a certain attribute element.
Optionally, the process of configuring different chat servers in different chat rooms includes the following steps:
receiving an allocation request of a chat server sent by a client, wherein the allocation request comprises: characteristic values and target configuration information;
acquiring the idle quantity of chat servers meeting the target configuration information, selecting a certain chat server from the idle quantity, judging whether the chat server meets the characteristic value requirement, configuring the currently selected chat server if the chat server meets the characteristic value requirement, and configuring the next chat server if the chat server does not meet the characteristic value requirement until the characteristic value requirement is met;
and finding out the chat server meeting the characteristic value, creating an interface, and distributing the chat server meeting the requirement to the client.
Optionally, the processing procedure of the allocation request includes the following steps:
an application interface of the client sends out an allocation request, and a program is called from a plurality of sub-chat servers in all the chat servers according to the characteristic value and the target configuration information in the allocation request to process the allocation request;
calling a program in the sub chat server to set a timeout point, and setting standard execution duration of each slave program to be executed corresponding to the timeout point; calculating the difference value between the current time of the timeout point and the arrival time of the allocation request, and taking the difference value as the program execution time of a calling program in the currently executed sub-chat server;
determining a balance number of allocation requests according to program execution time consumption, receiving allocation requests with real-time priorities associated with allocation request storage location values, and processing the allocation requests with real-time priorities using a processor based on the allocation request storage location values and parameters characterizing memory devices and workload acquisition.
Optionally, the configuration information includes a network protocol address of each sub-chat server, and a remote procedure call protocol interface of each sub-chat server;
the balance number is a parameter characterizing the memory device, characterizing the load in accordance with at least one chat server parameter associated with distributing the request load.
Optionally, the process of judging whether the chat server meets the characteristic value requirement includes the following steps:
acquiring configuration information of an idle chat server, comparing the target configuration information with the configuration information, and taking the chat server as an alternative target chat server if the comparison result meets the requirement of the target configuration information;
and acquiring a security protocol rule of the alternative target chat server, identifying the security protocol rule by the attribute identification model, judging whether the security protocol rule can be matched with the standard attribute rule of the characteristic value, and taking the alternative target chat server as the target chat server if the security protocol rule can be matched with the standard attribute rule of the characteristic value.
Optionally, the process of creating an interface includes the steps of:
the chat server creates an interface, starts an interface monitoring program to obtain interface monitoring parameters, confirms whether the interface is intercepted according to the interface monitoring parameters, creates a new interface if the interface is intercepted, and uses the interface if the interface is not intercepted;
establishing connection between an interface of a chat server and a client to acquire the occupation proportion of virtual memory of the client;
when the occupation proportion reaches a first threshold, releasing the loaded chat pictures of the current non-displayed chat pages, extracting loading parameters of the loaded chat pictures from a picture loading library, and when the client returns to the non-displayed chat pages, loading the loaded chat pictures again according to the loading parameters;
when the occupation proportion reaches a second threshold value, releasing all contents of the chat page which is not displayed currently, storing the structure and the contents of the released and utilized page into a local file, and when the client opens the released chat page again, loading the released chat page again according to the structure and the contents.
Optionally, the recommended chat content process includes the following steps:
analyzing chat contents of the current chat room in preset time, and searching key words exceeding a frequency threshold;
searching for events and web terms associated with the key words in the web page through the web crawler;
the event and the network term are sent to the current chat room, and a question is sent to the personnel below the activity threshold according to the event or the network term.
Firstly, acquiring configuration information, the number of people and chat contents corresponding to the people of all chat servers, marking and sorting different people according to attributes, and generating characteristic values of different people according to the sorting; secondly, combining the characteristic values and configuration information to configure different chat servers for different chat rooms; finally, the chat server gives out the chat content corresponding to the recommendation according to the chat content, and sends the recommended chat content to the chat room; the scheme sorts the chat personnel according to the attribute of the chat personnel and generates the characteristic value, so that the marking of different personnel in the chat room is realized, the confirmation of the chat content is realized according to the different personnel, the sorting of the different personnel is realized through the confirmation of the personnel and the chat content, and a data base is provided for the calculation of the characteristic value; the configuration of the chat server is realized according to the characteristic values, the chat content and the configuration information, the optimal configuration of the chat server is realized, the defect that the chat server is configured only according to the number of the chat rooms in the prior art is overcome, the reasonable utilization of the resources of the chat server is better realized, and the smoothness of the network of the chat rooms is ensured; in addition, chat content can be recommended by the chat difficult server, man-machine interaction is achieved, topics of chat rooms are increased, people can join the chat as much as possible, chat pleasure is improved, and customer experience is further enhanced.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the application is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate the application and together with the embodiments of the application, serve to explain the application. In the drawings:
FIG. 1 is a flow chart of a chat room configuration method for adapting the number of people in a room in embodiment 1 of the present application;
FIG. 2 is a process diagram showing the generation of feature values of different persons according to the ranking in embodiment 2 of the present application;
FIG. 3 is a process diagram of a chat server configured differently for different chat rooms in accordance with embodiment 3 of the application;
FIG. 4 is a diagram showing the processing procedure of the allocation request in embodiment 4 of the present application;
FIG. 5 is a process diagram of determining whether a chat server meets a characteristic value requirement in embodiment 5 of the application;
FIG. 6 is a diagram of the process of creating an interface in embodiment 6 of the present application;
fig. 7 is a process diagram of chat content recommended in embodiment 7 of the application.
Detailed Description
The preferred embodiments of the present application will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present application only, and are not intended to limit the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of embodiments of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application as detailed in the accompanying claims. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
Example 1: as shown in fig. 1, the embodiment of the application provides a chat room configuration method for self-adapting the number of people in a room, which comprises the following steps:
s100: acquiring configuration information, the number of people and chat contents corresponding to the people of all chat servers, marking and sorting different people according to attributes, and generating characteristic values of different people according to the sorting; the configuration information comprises hardware and software configuration of the chat server, wherein the hardware configuration comprises a central processing unit, a memory, a hard disk and the like, and the software configuration comprises an application protocol, an operating system, a database, a Web server and the like;
s200: different chat servers are configured for different chat rooms by combining the characteristic values and the configuration information;
s300: the chat server gives out the chat content corresponding to the recommendation according to the chat content, and sends the recommended chat content to the chat room;
the working principle and beneficial effects of the technical scheme are as follows: firstly, acquiring configuration information, the number of people and chat contents corresponding to the people of all chat servers, marking and sorting different people according to attributes, and generating characteristic values of different people according to the sorting; secondly, combining the characteristic values and configuration information to configure different chat servers for different chat rooms; finally, the chat server gives out the chat content corresponding to the recommendation according to the chat content, and sends the recommended chat content to the chat room; the scheme sorts the chat personnel according to the attribute of the chat personnel and generates the characteristic value, so that the marking of different personnel in the chat room is realized, the confirmation of the chat content is realized according to the different personnel, the sorting of the different personnel is realized through the confirmation of the personnel and the chat content, and a data base is provided for the calculation of the characteristic value; the configuration of the chat server is realized according to the characteristic values, the chat content and the configuration information, the optimal configuration of the chat server is realized, the defect that the chat server is configured only according to the number of the chat rooms in the prior art is overcome, the reasonable utilization of the resources of the chat server is better realized, and the smoothness of the network of the chat rooms is ensured; in addition, chat content can be recommended by the chat difficult server, man-machine interaction is achieved, topics of chat rooms are increased, people can join the chat as much as possible, chat pleasure is improved, and customer experience is further enhanced.
Example 2: as shown in fig. 2, on the basis of embodiment 1, the process for generating feature values of different people according to the ranking provided by the embodiment of the present application includes the following steps:
s101: acquiring attributes of chat room personnel, and giving different weights according to different attributes; the attributes include: gender, age, hobbies, occupation and other information, and the attribute weights are ranked from big to small: hobbies, professions, ages and sexes;
s102: forming an attribute set of chat room personnel according to a set rule, wherein the attribute set comprises attribute elements arranged according to the weight of the attribute, determining the occupation ratio of the attribute elements in the attribute set according to the attribute weights of the attribute elements, determining whether the attribute weights are used as reference attribute weights or not according to the occupation ratio, and the occupation ratio is the ratio of the attribute weight of one attribute element to the total attribute weight;
s103: combining the reference attribute weights to obtain a reference attribute rule, and determining a characteristic value corresponding to the attribute weight according to the attribute recognition degree of the reference attribute weight in the attribute set aiming at each reference attribute weight, wherein the characteristic value is used for constructing an attribute recognition model;
the working principle and beneficial effects of the technical scheme are as follows: firstly, acquiring attributes of chat room personnel, and giving different weights according to different attributes; the attributes include: gender, age, hobbies, occupation and other information, and the attribute weights are ranked from big to small: hobbies, professions, ages and sexes; secondly, forming an attribute set of chat room personnel according to a set rule, wherein the attribute set comprises attribute elements arranged according to the weight of the attribute, determining the occupation ratio of the attribute elements in the attribute set according to the attribute weights of the attribute elements, and determining whether the attribute weights are used as reference attribute weights according to the occupation ratio, wherein the occupation ratio is the ratio of the attribute weight of one attribute element to the total attribute weight; finally, combining the reference attribute weights to obtain a reference attribute rule, and determining a characteristic value corresponding to the attribute weight according to the attribute recognition degree of the reference attribute weight in the attribute set aiming at each reference attribute weight, wherein the characteristic value is used for constructing an attribute recognition model; according to the scheme, different weights are given to attribute configuration, so that identification of attribute information of different chat room personnel is realized, on one hand, the configuration accuracy of a chat server is ensured, and on the other hand, the problem of inaccurate characteristic values caused by incomplete attribute filling is avoided, and further, the attribute identification degree is influenced; the reference attribute weight is established, a reliable basis is provided for identification of each attribute, and excellent chat servers can be effectively provided according to different attributes.
Example 3: as shown in fig. 3, on the basis of embodiment 2, the process of configuring different chat servers in different chat rooms according to the embodiment of the present application includes the following steps:
s201: receiving an allocation request of a chat server sent by a client, wherein the allocation request comprises: characteristic values and target configuration information;
s202: acquiring the idle quantity of chat servers meeting the target configuration information, selecting a certain chat server from the idle quantity, judging whether the chat server meets the characteristic value requirement, configuring the currently selected chat server if the chat server meets the characteristic value requirement, and configuring the next chat server if the chat server does not meet the characteristic value requirement until the characteristic value requirement is met;
s203: finding out a chat server meeting the characteristic value, creating an interface, and distributing the chat server meeting the requirement to the client;
the working principle and beneficial effects of the technical scheme are as follows: in this embodiment, first, an allocation request of a chat server sent by a client is received, where the allocation request includes: characteristic values and target configuration information; secondly, obtaining the idle quantity of the chat servers meeting the target configuration information, selecting a certain chat server from the idle quantity, judging whether the chat server meets the characteristic value requirement, configuring the currently selected chat server if the chat server meets the characteristic value requirement, and configuring the next chat server if the chat server does not meet the characteristic value requirement until the characteristic value requirement is met; finally, a chat server meeting the characteristic value is found, an interface is created, and the chat server meeting the requirement is distributed to the client; according to the scheme, the chat server is selected according to the characteristic value and the target configuration information, the selection specificity of the target chat server is improved, the configuration information is determined according to the characteristic value, the selected chat server meets the chat requirement of a client, the configuration information meets the actual requirement of a current chat room, the resource optimization configuration of the chat server is realized, and the defect that the chat server is determined according to the chat people in the prior art is overcome.
Example 4: as shown in fig. 4, on the basis of embodiment 3, the processing procedure of the allocation request provided in the embodiment of the present application includes the following steps:
s2011: an application interface of the client sends out an allocation request, and a program is called from a plurality of sub-chat servers in all the chat servers according to the characteristic value and the target configuration information in the allocation request to process the allocation request; the configuration information comprises a network protocol address of each sub-chat server and a remote procedure call protocol interface of each sub-chat server;
s2012: calling a program in the sub chat server to set a timeout point, and setting standard execution duration of each slave program to be executed corresponding to the timeout point; calculating the difference value between the current time of the timeout point and the arrival time of the allocation request, and taking the difference value as the program execution time of a calling program in the currently executed sub-chat server;
s2013: determining a balance number of allocation requests according to program execution time consumption, receiving allocation requests with real-time priorities associated with allocation request storage location values, and processing the allocation requests with real-time priorities using a processor based on the allocation request storage location values and parameters characterizing memory devices and workload acquisition; the balance number is a parameter characterizing the memory device, characterizing the load in accordance with at least one chat server parameter associated with distributing the request load;
the working principle and beneficial effects of the technical scheme are as follows: firstly, an application interface of a client sends out an allocation request, and a program is called from a plurality of sub-chat servers in all chat servers according to characteristic values and target configuration information in the allocation request to process the allocation request; the configuration information comprises a network protocol address of each sub-chat server and a remote procedure call protocol interface of each sub-chat server; calling a program in a secondary sub-chat server to set a timeout point, and setting standard execution duration of each slave program to be executed corresponding to the timeout point; calculating the difference value between the current time of the timeout point and the arrival time of the allocation request, and taking the difference value as the program execution time of a calling program in the currently executed sub-chat server; finally, determining the balance number of the allocation requests according to the time consumption of program execution, receiving the allocation requests with real-time priority associated with the allocation request storage position values, and processing the allocation requests with real-time priority by using a processor based on the allocation request storage position values and parameters obtained by characterizing the memory device and the workload; the balance number is a parameter characterizing the memory device, characterizing the load in accordance with at least one chat server parameter associated with distributing the request load; according to the scheme, programs are called from a plurality of sub-chat servers in all chat servers according to the characteristic values and the target configuration information in the allocation requests, the sub-chat servers calculate the time consumption of the program execution, and the priority of the allocation requests is determined according to the time consumption of the program execution, so that the association between the allocation requests and the priority selection chat servers is realized, the priority of the chat room with larger allocation requests can be ensured to be larger than that of the chat room with smaller accompany requests, good experience of a client is ensured, and meanwhile, the optimization processing is carried out on the plurality of allocation requests, so that the resource configuration optimization effect of the chat room can be ensured.
Example 5: as shown in fig. 5, on the basis of embodiment 3, the process for determining whether the chat server meets the characteristic value requirement provided in the embodiment of the present application includes the following steps:
s2021: acquiring configuration information of an idle chat server, comparing the target configuration information with the configuration information, and taking the chat server as an alternative target chat server if the comparison result meets the requirement of the target configuration information;
s2022: the method comprises the steps that a safety protocol rule of an alternative target chat server is obtained, an attribute identification model identifies the safety protocol rule, whether the safety protocol rule can be matched with a standard attribute rule of a characteristic value is judged, and the alternative target chat server is used as the target chat server if the safety protocol rule can be matched with the standard attribute rule of the characteristic value;
the working principle and beneficial effects of the technical scheme are as follows: firstly, acquiring configuration information of an idle chat server, comparing target configuration information with the configuration information, and taking the chat server as an alternative target chat server if the comparison result meets the requirement of the target configuration information; secondly, acquiring a safety protocol rule of an alternative target chat server, identifying the safety protocol rule by an attribute identification model, judging whether the safety protocol rule can be matched with a standard attribute rule of a characteristic value, and taking the alternative target chat server as the target chat server if the safety protocol rule can be matched with the standard attribute rule of the characteristic value; the scheme firstly realizes the meeting of the configuration requirement of the chat server through the comparison of the configuration information, ensures that the hardware and the software of the chat server meet the requirement of the current chat room, and is beneficial to improving the smoothness of the chat; the attribute identification model is used for identifying the safety protocol rules, so that the adaptation degree of the safety protocol rules and the characteristic values is ensured, the configuration of the chat server is ensured to be reasonable, and the configuration optimality of the chat server is greatly improved through double authentication.
Example 6: as shown in fig. 6, on the basis of embodiment 3, the process of creating an interface provided in the embodiment of the present application includes the following steps:
s2031: the chat server creates an interface, starts an interface monitoring program to obtain interface monitoring parameters, confirms whether the interface is intercepted according to the interface monitoring parameters, creates a new interface if the interface is intercepted, and uses the interface if the interface is not intercepted;
s2032: establishing connection between an interface of a chat server and a client to acquire the occupation proportion of virtual memory of the client;
s2033: when the occupation proportion reaches a first threshold, releasing the loaded chat pictures of the current non-displayed chat pages, extracting loading parameters of the loaded chat pictures from a picture loading library, and when the client returns to the non-displayed chat pages, loading the loaded chat pictures again according to the loading parameters;
when the occupation proportion reaches a second threshold, releasing all contents of the chat page which is not displayed currently, storing the structure and the contents of the released and utilized page into a local file, and when the client opens the released chat page again, loading the released chat page again according to the structure and the contents;
the working principle and beneficial effects of the technical scheme are as follows: firstly, a chat server creates an interface, starts an interface monitoring program to obtain interface monitoring parameters, confirms whether the interface is intercepted according to the interface monitoring parameters, creates a new interface if the interface is intercepted, and uses the interface if the interface is not intercepted; secondly, establishing connection between an interface of the chat server and the client to acquire the occupation proportion of the virtual memory of the client; finally, when the occupation proportion reaches a first threshold, releasing the loaded chat pictures of the current non-displayed chat pages, extracting loading parameters of the loaded chat pictures from a picture loading library, and when the client returns to the non-displayed chat pages, loading the loaded chat pictures again according to the loading parameters; when the occupation proportion reaches a second threshold, releasing all contents of the chat page which is not displayed currently, storing the structure and the contents of the released and utilized page into a local file, and when the client opens the released chat page again, loading the released chat page again according to the structure and the contents; the scheme realizes the monitoring of the interface, avoids the utilization of the special interface for chat, and ensures the data security of the chat room; in addition, the memory of the client is monitored, the chat content and the pictures are stored, and when the client returns, the chat content and the pictures can be timely displayed, so that the continuity of the chat is ensured.
Example 7: as shown in fig. 7, on the basis of embodiment 1, the process of recommending chat content provided by the embodiment of the present application includes the following steps:
s301: analyzing chat contents of the current chat room in preset time, and searching key words exceeding a frequency threshold;
s302: searching for events and web terms associated with the key words in the web page through the web crawler;
s303: sending the event and the network term to a current chat room, and sending a question to a person lower than an activity threshold according to the event or the network term;
the working principle and beneficial effects of the technical scheme are as follows: firstly, analyzing chat contents of a current chat room according to preset time, and searching key words exceeding a frequency threshold; secondly, searching an event and a network term associated with the key word in the webpage through a webpage crawler; finally, sending the event and the network term to the current chat room, and sending a question to a person lower than the activity threshold according to the event or the network term; according to the scheme, the hot topics of the current chat room are determined according to the key words, the factors related to the hot topics are acquired through the webpage crawlers, the recommended chat content is ensured to be highly matched with the topic rooms of the current chat room, meanwhile, the questioning of the event or the network term can be realized, the man-machine interaction is realized, the chat content and topics are added, more people participate in the chat, and the chat pleasure is improved.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (6)

1. A chat room configuration method of an adaptive chat room server, comprising the steps of:
acquiring configuration information, the number of people and chat contents corresponding to the people of all chat servers, marking and sorting different people according to attributes, and generating characteristic values of different people according to the sorting;
different chat servers are configured for different chat rooms by combining the characteristic values and the configuration information;
the chat server gives out the chat content corresponding to the recommendation according to the chat content, and sends the recommended chat content to the chat room;
a process for generating characteristic values for different persons according to a ranking, comprising the steps of:
acquiring attributes of chat room personnel, and giving different weights according to different attributes; the attributes include: gender, age, hobbies and occupation information, and the attribute weights are ranked from big to small: hobbies, professions, ages and sexes;
forming an attribute set of chat room personnel according to a set rule, wherein the attribute set comprises attribute elements arranged according to the weight of the attribute, determining the occupation ratio of the attribute elements in the attribute set according to the attribute weights of the attribute elements, and determining whether the attribute weights are used as reference attribute weights according to the occupation ratio;
combining the reference attribute weights to obtain a reference attribute rule, and determining a characteristic value corresponding to the attribute weight according to the attribute recognition degree of the reference attribute weight in the attribute set aiming at each reference attribute weight, wherein the characteristic value is used for constructing an attribute recognition model;
the occupation proportion is the proportion of the attribute weight of a certain attribute element to the total attribute weight;
a process for configuring different chat servers for different chat rooms, comprising the steps of:
receiving an allocation request of a chat server sent by a client, wherein the allocation request comprises: characteristic values and target configuration information;
acquiring the idle quantity of chat servers meeting the target configuration information, selecting a certain chat server from the idle quantity, judging whether the chat server meets the characteristic value requirement, configuring the currently selected chat server if the chat server meets the characteristic value requirement, and configuring the next chat server if the chat server does not meet the characteristic value requirement until the characteristic value requirement is met;
finding out a chat server meeting the characteristic value, creating an interface, and distributing the chat server meeting the requirement to the client;
the process for judging whether the chat server meets the characteristic value requirement comprises the following steps:
acquiring configuration information of an idle chat server, comparing the target configuration information with the configuration information, and taking the chat server as an alternative target chat server if the comparison result meets the requirement of the target configuration information;
and acquiring a security protocol rule of the alternative target chat server, identifying the security protocol rule by the attribute identification model, judging whether the security protocol rule can be matched with the standard attribute rule of the characteristic value, and taking the alternative target chat server as the target chat server if the security protocol rule can be matched with the standard attribute rule of the characteristic value.
2. The chat room configuration method of an adaptive chat room server as in claim 1, wherein the configuration information comprises hardware and software configurations of the chat server, the hardware configurations comprising a central processor, memory and hard disk, the software configurations comprising an application protocol, an operating system, a database and a Web server.
3. The chat room arrangement method of an adaptive chat room server as in claim 1, wherein the process of assigning the request comprises the steps of:
an application interface of the client sends out an allocation request, and a program is called from a plurality of sub-chat servers in all the chat servers according to the characteristic value and the target configuration information in the allocation request to process the allocation request;
calling a program in the sub chat server to set a timeout point, and setting standard execution duration of each slave program to be executed corresponding to the timeout point; calculating the difference value between the current time of the timeout point and the arrival time of the allocation request, and taking the difference value as the program execution time of a calling program in the currently executed sub-chat server;
determining a balance number of allocation requests according to program execution time consumption, receiving allocation requests with real-time priorities associated with allocation request storage location values, and processing the allocation requests with real-time priorities using a processor based on the allocation request storage location values and parameters characterizing memory devices and workload acquisition.
4. The chat room configuration method of an adaptive chat room server as in claim 3, wherein the configuration information comprises a network protocol address of each sub-chat server, a remote procedure call protocol interface of each sub-chat server;
the balance number is a parameter characterizing the memory device, characterizing the load in accordance with at least one chat server parameter associated with distributing the request load.
5. The chat room arrangement method of an adaptive chat room server as in claim 1, wherein the process of creating an interface comprises the steps of:
the chat server creates an interface, starts an interface monitoring program to obtain interface monitoring parameters, confirms whether the interface is intercepted according to the interface monitoring parameters, creates a new interface if the interface is intercepted, and uses the interface if the interface is not intercepted;
establishing connection between an interface of a chat server and a client to acquire the occupation proportion of virtual memory of the client;
when the occupation proportion reaches a first threshold, releasing the loaded chat pictures of the current non-displayed chat pages, extracting loading parameters of the loaded chat pictures from a picture loading library, and when the client returns to the non-displayed chat pages, loading the loaded chat pictures again according to the loading parameters;
when the occupation proportion reaches a second threshold value, releasing all contents of the chat page which is not displayed currently, storing the structure and the contents of the released and utilized page into a local file, and when the client opens the released chat page again, loading the released chat page again according to the structure and the contents.
6. The chat room arrangement method of an adaptive chat room server as in claim 1, wherein the process of recommending chat content comprises the steps of:
analyzing chat contents of the current chat room in preset time, and searching key words exceeding a frequency threshold;
searching for events and web terms associated with the key words in the web page through the web crawler;
the event and the network term are sent to the current chat room, and a question is sent to the personnel below the activity threshold according to the event or the network term.
CN202310590789.XA 2023-05-24 2023-05-24 Chat room configuration method capable of self-adapting to number of people in room Active CN116506244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310590789.XA CN116506244B (en) 2023-05-24 2023-05-24 Chat room configuration method capable of self-adapting to number of people in room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310590789.XA CN116506244B (en) 2023-05-24 2023-05-24 Chat room configuration method capable of self-adapting to number of people in room

Publications (2)

Publication Number Publication Date
CN116506244A CN116506244A (en) 2023-07-28
CN116506244B true CN116506244B (en) 2023-11-17

Family

ID=87318316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310590789.XA Active CN116506244B (en) 2023-05-24 2023-05-24 Chat room configuration method capable of self-adapting to number of people in room

Country Status (1)

Country Link
CN (1) CN116506244B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571862A (en) * 2010-12-29 2012-07-11 上海博泰悦臻电子设备制造有限公司 Method, system and server for logging in public chat groups based on mobile terminals
CN107222316A (en) * 2017-05-25 2017-09-29 游密科技(深圳)有限公司 A kind of the chatroom collocation method and chat room system of adaptive room number
CN111241259A (en) * 2020-01-08 2020-06-05 百度在线网络技术(北京)有限公司 Interactive information recommendation method and device
CN114797114A (en) * 2021-01-29 2022-07-29 盛趣信息技术(上海)有限公司 Real-time intelligent identification method and system for game chat advertisement
CN115412774A (en) * 2022-07-25 2022-11-29 北京达佳互联信息技术有限公司 Interactive processing method, device, electronic equipment, storage medium and program product

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170041263A1 (en) * 2015-08-07 2017-02-09 Oded Yehuda Shekel Location-based on-demand anonymous chatroom
JP7175788B2 (en) * 2019-02-07 2022-11-21 株式会社ソニー・インタラクティブエンタテインメント Relay point allocation server, chat system, client terminal, chat server, and chat space construction method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571862A (en) * 2010-12-29 2012-07-11 上海博泰悦臻电子设备制造有限公司 Method, system and server for logging in public chat groups based on mobile terminals
CN107222316A (en) * 2017-05-25 2017-09-29 游密科技(深圳)有限公司 A kind of the chatroom collocation method and chat room system of adaptive room number
CN111241259A (en) * 2020-01-08 2020-06-05 百度在线网络技术(北京)有限公司 Interactive information recommendation method and device
CN114797114A (en) * 2021-01-29 2022-07-29 盛趣信息技术(上海)有限公司 Real-time intelligent identification method and system for game chat advertisement
CN115412774A (en) * 2022-07-25 2022-11-29 北京达佳互联信息技术有限公司 Interactive processing method, device, electronic equipment, storage medium and program product

Also Published As

Publication number Publication date
CN116506244A (en) 2023-07-28

Similar Documents

Publication Publication Date Title
US8156497B2 (en) Providing shared tasks amongst a plurality of individuals
US9276894B2 (en) Resource management of social network applications
US7644408B2 (en) System for assigning and monitoring grid jobs on a computing grid
JP4692774B2 (en) Data distribution system and data distribution method
Smith The contract net protocol: High-level communication and control in a distributed problem solver
US7185046B2 (en) Submitting jobs in a distributed computing environment
US8271987B1 (en) Providing access to tasks that are available to be performed
CN109117265A (en) The method, apparatus, equipment and storage medium of schedule job in the cluster
CN108494703A (en) A kind of access frequency control method, device and storage medium
Zuo et al. A multiqueue interlacing peak scheduling method based on tasks’ classification in cloud computing
US20060009987A1 (en) Distributed scheduling
CN108322541B (en) Self-adaptive distributed system architecture
KR20170088351A (en) Multi-device collaboration
CN109241084A (en) Querying method, terminal device and the medium of data
CN109005433B (en) A kind of video cloud service platform architecture and implementation method
CN111935025B (en) Control method, device, equipment and medium for TCP transmission performance
EP3973417A1 (en) Efficient freshness crawl scheduling
Chen et al. A negotiation model based on multi-agent system under cloud computing
CN116506244B (en) Chat room configuration method capable of self-adapting to number of people in room
CN114402313A (en) Label updating method and device, electronic equipment and storage medium
Aringhieri et al. Assessing efficiency of trust management in peer-to-peer systems
Solar et al. A multiagent-based approach to the grid-scheduling problem
CN116764235A (en) Data processing method and related device
EP0213277A2 (en) Propagation system for user queries through a distributed data base
US20050086521A1 (en) Method of dynamically assigning network access privileges

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant