Peer-to-peer group social network system based on decentration and establishment method
By integrating local data processing and self-organization capabilities in network nodes, combining social communication protocols and distributed data processing, the problem of insufficient dependence and scalability of central servers is solved, efficient resource allocation and real-time response are achieved, and the system is improved stability and flexibility.
Patent Information
- Application Number
- CN202411234277.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-17
AI Technical Summary
In the prior art, central servers have strong dependence, weak emergency response capabilities, low resource utilization efficiency, poor system scalability, and difficult to adapt to dynamic environmental changes, resulting in the system being paralyzed in the event of failure, affecting users and services.
Adopting a social network system for peer groups based on decentralization, each network node has the ability to collect, initial processing and decision-making, self-organizing and dynamic participation, and reduces the center through social communication protocols and distributed data processing. Reliable database dependencies to achieve efficient resource allocation and flexible network layout.
It improves the system's fault resistance and scalability, realizes efficient resource utilization and real-time environmental response, is suitable for dynamic and complex environmental needs, and improves management efficiency and user experience.
Smart Images

Figure CN119155304A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a decentralized peer-to-peer social network system and a construction method. Background Art
[0002] The current application technology framework for site resource allocation in large scenarios such as parking lots and exhibition centers is mainly based on a centralized network system, in which the central server plays a hub role, and manual operation is used as an auxiliary means to jointly support the operation of the entire system. This technology is widely used in a variety of scenarios such as exhibition centers, performance centers, large parking lots, traffic management, emergency response, office document processing, and conference management to meet the basic needs in different environments. Although the existing technology can meet the basic needs of the management system, it also exposes some shortcomings. For example: (1) Strong dependence on the central server and weak emergency response capability: The central server is the center of the entire system. Since all resources and operations are concentrated at one point, once this server fails, the entire system may come to a standstill, affecting all users and services of the system. There may be risks of security threats and data loss, and it may also cause the entire user network node scenario system to crash. For example, the parking lot management system may crash, affecting parking space allocation and management.
[0003] (2) Low resource utilization efficiency and poor system scalability: The system design is not flexible enough and it is difficult to adapt to the expansion or changes in the scale of the parking lot, which limits its scalability and makes it unsuitable for use in areas such as smart parking lots that require rapid response to complex environmental changes. Summary of the invention
[0004] The main purpose of the present invention is to overcome the deficiencies in the prior art and provide a decentralized peer-to-peer social network system.
[0005] The technical solution adopted by the present invention to achieve its technical purpose is: a decentralized peer-to-peer social network system, which specifically includes the following steps: S1. Set up network nodes; S2. Each of the network nodes has local data collection, preliminary processing and decision-making capabilities, and can autonomously adjust resource allocation and behavior based on real-time data to cope with dynamic changes in the environment; S3. The network nodes have the ability of self-organization and dynamic participation, and can automatically detect and integrate new network nodes, and reconfigure when network nodes leave to maintain the integrity and efficiency of the network; S4. The system adopts a social communication protocol design, realizes data transmission between the network nodes through wireless communication technology (such as microwave, Bluetooth, etc.), and supports flexible network node layout and communication coverage; S5. The system adopts distributed data processing and storage, and the network nodes share data and perform collaborative processing, which reduces the dependence on the centralized database and improves the system's fault resistance and scalability; The design of social communication protocols enables users and network nodes to achieve efficient information exchange and collaboration, supporting personalized services and optimal resource allocation; S6. Specific applications of the system and network nodes.
[0006] Preferably, each of the network nodes has a high degree of autonomy and local data processing capabilities, and can make real-time decisions independently without relying on centralized servers or remote cloud processing. This feature enables the system to respond to environmental changes more quickly and reliably.
[0007] Preferably, the system adopts a distributed data processing and storage method, and each network node shares and processes locally collected data instead of relying on a centralized database system. This design not only improves the fault tolerance of the system, but also reduces the risk of communication delays and single point failures.
[0008] Preferably, the system adopts a specially designed social communication protocol to support efficient information exchange and collaboration between network nodes. This protocol is not only a tool for data transmission, but also a basis for promoting intelligent interaction and resource sharing between network nodes.
[0009] Preferably, the social communication protocol includes location services, event notifications, and user demand confirmation functions, so that the system can serve user needs more flexibly and intelligently.
[0010] Preferably, the specific application of the system and the network node is as follows: The user enters the user request interface and requests parking in the parking lot or requests to leave the parking lot; When a user requests parking, the network node marks whether there is an empty parking space or not; If there is an empty parking space, the network node allocates the parking space and marks it as occupied, and the user returns a parking success message and requests the parking to be completed; If there is no vacant parking space, the network node enters the return waiting information, and the user waits to find other options, enters the user request interface again, and performs the above operation process again;
[0011] When the user requests to leave, the network node queries the user's parking space; If the user's parking space is found, the network node immediately releases the current parking space and marks it as an empty parking space, and the user returns a successful departure message, and the user departure process ends; If the user's parking space is not found, the network node immediately returns an error message, and then enters the user re-input interface. The user enters the user request interface again and performs the above operation process again.
[0012] The present invention also provides a method for building the decentralized peer-to-peer social network system, which includes the following steps: S1. Build the experimental environment: Build a small-scale network in the laboratory environment, use single-chip microcomputers as network nodes, ensure that each network node has independent storage and processing functions, install and configure necessary software and hardware, and ensure that all network nodes can communicate with each other; S2. Network node configuration: configure an independent storage module for each MCU node to store local data, configure the processing unit so that it can independently process and calculate data, and install sensors and communication modules to ensure that the network node can collect and transmit data in real time; S3. Experimental environment test: Conduct preliminary tests in a laboratory environment to ensure that all network nodes can operate normally, test the communication stability and data transmission speed between network nodes, ensure the reliability of the network, and conduct simulation tests to simulate network node operations and data transmission in different application scenarios; S4, Data Collection and Analysis: Conduct a series of tests in the experimental environment, collect network operation data, record the performance data of each network node, including processing speed, storage capacity, communication delay, compare the performance of the system before and after application, and analyze the improvement effect; S5. System verification and optimization: According to the predetermined evaluation indicators, the system is experimentally verified, and the effects of different algorithms and optimization schemes in the experiment are compared, including resource allocation and navigation efficiency. Based on the experimental results, the system design is adjusted and improved, and the algorithm and network structure are optimized. S6. Scenario testing: Design experiments based on specific needs to test the performance of the system in different application scenarios, including exhibition centers, performance centers, large parking lots, traffic management, emergency management, office document management, and conference management systems. Test the performance and effect of the system in each scenario, and record and analyze the data. S7. Result evaluation and summary: Summarize and analyze all experimental data, evaluate the performance of the system in various scenarios, write an experimental report, summarize the experimental results and findings, put forward improvement suggestions, and further optimize the system design and algorithm based on the experimental results to ensure the efficiency and reliability of the system in practical applications.
[0013] Compared with the prior art, the present invention has the following beneficial effects: This decentralized peer-to-peer social network and construction method, through autonomous interaction and data sharing between network nodes, the system can achieve efficient resource utilization, real-time environmental perception and dynamic decision-making adjustment, improve resource allocation efficiency, realize real-time data acquisition and optimize dynamic environmental response, significantly improve management efficiency and user experience, and is suitable for various dynamic and complex environmental needs.
[0014] It not only improves the efficiency of resource utilization, such as reducing user search time through instant parking space allocation and navigation optimization in parking lots, but also enables real-time data acquisition, such as instant traffic flow and parking space status information, to support management decisions. At the same time, the system's autonomous decision-making and distributed data processing mechanism enhance its responsiveness in dynamic environments, such as optimizing traffic light control to reduce congestion. In addition, the decentralized architecture also improves the stability and flexibility of the system, and the system can still operate normally even if some network nodes fail or new network nodes are added. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A detailed flow chart of system usage in an embodiment of the present invention.
[0016] Figure 2 This is a detailed flow chart of parking lot space allocation and management information in an embodiment of the present invention.
[0017] in: DETAILED DESCRIPTION
[0018] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the inventive product is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0019] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0020] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below through the accompanying drawings and embodiments. However, it should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the scope of the present invention. In addition, in the following description, the description of known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0021] The design proposed in the present invention is built on a decentralized peer-to-peer network framework, presenting an innovative concept. Compared with traditional network structures, which are usually fixed, the notable feature of the present invention is its outstanding flexibility, which allows nodes to freely join or leave the network at any time without any negative impact on the network as a whole. This design is not only suitable for the optimal location selection and optimal route guidance needs of dynamic user nodes in static scenes (such as parking lots, convention and exhibition centers), but also suitable for the information needs of real-time updates of road conditions and route selection in highly dynamic environments (such as urban traffic scenes). Here, the following embodiments and the application of the present invention will be briefly analyzed. Example 1
[0022] See also Figure 1 , a decentralized peer-to-peer social network system, specifically as follows: S1. Setting up network nodes; each of the network nodes has a high degree of autonomy and local data processing capabilities, and can make real-time decisions independently without relying on centralized servers or remote cloud processing. This feature enables the system to respond to environmental changes more quickly and reliably.
[0023] S2. Each of the network nodes has local data collection, preliminary processing and decision-making capabilities, and can autonomously adjust resource allocation and behavior based on real-time data to cope with dynamic changes in the environment.
[0024] S3. The network nodes have the ability of self-organization and dynamic participation, and can automatically detect and integrate new network nodes, and reconfigure when network nodes leave to maintain the integrity and efficiency of the network.
[0025] S4. The system adopts a social communication protocol design, realizes data transmission between the network nodes through wireless communication technology (such as microwave, Bluetooth, etc.), and supports flexible network node layout and communication coverage; The social communication protocol includes location services, event notifications, and user demand confirmation functions, enabling the system to serve user needs more flexibly and intelligently; the system uses a specially designed social communication protocol to support efficient information exchange and collaboration between network nodes. This protocol is not only a tool for data transmission, but also a basis for promoting intelligent interaction and resource sharing between network nodes.
[0026] S5. The system adopts distributed data processing and storage. The network nodes share data and perform collaborative processing, which reduces the dependence on centralized databases and improves the system's fault resistance and scalability. The social communication protocol design enables users and network nodes to achieve efficient information exchange and collaboration, and supports personalized services and optimized resource allocation.
[0027] By adopting a distributed data processing and storage method, each network node shares and processes locally collected data instead of relying on a centralized database system. This design not only improves the fault tolerance of the system, but also reduces the risk of communication delays and single point failures.
[0028] S6. Specific applications of the system and network nodes.
[0029] Specifically, when in use, network nodes are set up. Each network node has a high degree of autonomy and local data processing capabilities. Each network node has local data collection, preliminary processing and decision-making capabilities. The network nodes also have the ability to self-organize and dynamically participate; data transmission between network nodes is achieved through wireless communication technology (such as microwave, Bluetooth, etc.), supporting flexible network node layout and communication coverage.
[0030] Network nodes can make real-time decisions independently without relying on centralized servers or remote cloud processing. This feature enables the system to respond to environmental changes more quickly and reliably. It can autonomously adjust resource allocation and behavior based on real-time data to cope with dynamic changes in the environment. It can also automatically detect and integrate new network nodes, and reconfigure when network nodes leave to maintain the integrity and efficiency of the network.
[0031] The system is designed with social communication protocols and uses distributed data processing and storage; the social communication protocol includes location services, event notifications, and user demand confirmation functions, allowing the system to serve user needs more flexibly and intelligently; the system uses a specially designed social communication protocol to support efficient information exchange and collaboration between network nodes. This protocol is not only a tool for data transmission, but also a basis for promoting intelligent interaction and resource sharing between network nodes. Using distributed data processing and storage methods, each network node shares and processes locally collected data instead of relying on a centralized database system. This design not only improves the system's fault tolerance, but also reduces the risk of communication delays and single point failures.
[0032] Network nodes share data and perform collaborative processing, reducing dependence on centralized databases and improving the system's fault resistance and scalability; the social communication protocol design enables users and network nodes to achieve efficient information exchange and collaboration, supporting personalized services and optimized resource allocation. Example 2
[0033] See also Figure 1-2 Based on the above embodiments, this decentralized peer-to-peer social network system takes the application of venue resource allocation in large scenarios such as parking lots and convention centers as an example, aiming to solve the problem of venue resource allocation in scenarios such as parking lots and convention centers. Traditional solutions often rely on central servers and manual management, resulting in uneven resource utilization and inefficiency.
[0034] The present invention uses intelligent sensors to monitor the real-time occupancy of each parking space, that is, each situation or each signal is set to a corresponding network node, and the data is transmitted to the master node through wireless communication technology. The master node uses the Swarm algorithm to process this data, optimize the allocation of parking spaces for each vehicle and calculate the best navigation route. Users can connect to the network through a smartphone and obtain navigation guidance in real time to reduce search time, improve parking efficiency and user satisfaction.
[0035] The specific application of the system and network nodes is as follows: The user enters the user request interface and requests parking in the parking lot or requests to leave the parking lot; When a user requests parking, the network node marks whether there is an empty parking space or not; If there is an empty parking space, the network node allocates the parking space and marks it as occupied, and the user returns a parking success message and requests the parking to be completed; If there is no vacant parking space, the network node returns a waiting message, and the user waits to find other options, enters the user request interface again, and performs the above operation process again; When the user requests to leave, the network node queries the user's parking space; If the user's parking space is found, the network node immediately releases the current parking space and marks it as an empty parking space, and the user returns a successful departure message, and the user departure process ends; If the user's parking space is not found, the network node immediately returns an error message, and then enters the user re-input interface. The user enters the user request interface again and performs the above operation process again.
[0036] The solution in this embodiment can be selectively combined with the solutions in other embodiments for use. Example
[0037] On the basis of the above embodiment, the embodiment of the present invention further provides a method for building a decentralized peer-to-peer social network system, which is specifically as follows: S1. Build the experimental environment: Build a small-scale network in the laboratory environment, use single-chip microcomputers as network nodes, ensure that each network node has independent storage and processing functions, install and configure necessary software and hardware, and ensure that all network nodes can communicate with each other; S2. Network node configuration: configure an independent storage module for each MCU node to store local data, configure the processing unit so that it can independently process and calculate data, and install sensors and communication modules to ensure that the network node can collect and transmit data in real time; S3. Experimental environment test: Conduct preliminary tests in a laboratory environment to ensure that all network nodes can operate normally, test the communication stability and data transmission speed between network nodes, ensure the reliability of the network, and conduct simulation tests to simulate network node operations and data transmission in different application scenarios; S4, Data Collection and Analysis: Conduct a series of tests in the experimental environment, collect network operation data, record the performance data of each network node, including processing speed, storage capacity, communication delay, compare the performance of the system before and after application, and analyze the improvement effect; S5. System verification and optimization: According to the predetermined evaluation indicators, the system is experimentally verified, and the effects of different algorithms and optimization schemes in the experiment are compared, including resource allocation and navigation efficiency. Based on the experimental results, the system design is adjusted and improved, and the algorithm and network structure are optimized. S6. Scenario testing: Design experiments based on specific needs to test the performance of the system in different application scenarios, including exhibition centers, performance centers, large parking lots, traffic management, emergency management, office document management, and conference management systems. Test the performance and effect of the system in each scenario, and record and analyze the data. S7. Result evaluation and summary: Summarize and analyze all experimental data, evaluate the performance of the system in various scenarios, write an experimental report, summarize the experimental results and findings, put forward improvement suggestions, and further optimize the system design and algorithm based on the experimental results to ensure the efficiency and reliability of the system in practical applications.
[0038] Specifically, when in use, the method for building a decentralized peer-to-peer social network system has the following specific process: building an experimental environment - network node configuration - experimental environment testing - data collection and analysis - system verification and optimization - scenario testing - result evaluation and summary.
[0039] Build a small-scale network in a laboratory environment, use single-chip microcomputers as network nodes, configure independent storage modules for each single-chip microcomputer node to store local data, configure processing units to enable independent data processing and calculation, install sensors and communication modules to ensure that network nodes can collect and transmit data in real time, ensure that each network node has independent storage and processing functions, install and configure necessary software and hardware to ensure that all network nodes can communicate with each other; Conduct preliminary tests and a series of tests in a laboratory environment to ensure that all network nodes can operate normally, collect network operation data, record the performance data of each network node, including processing speed, storage capacity, and communication delay, compare the performance of the system before and after application, analyze the improvement effect, test the communication stability and data transmission speed between network nodes, ensure the reliability of the network, and conduct simulation tests to simulate network node operations and data transmission in different application scenarios; Design experiments based on predetermined evaluation indicators and specific requirements, conduct experimental verification of the system, test the performance of the system in different application scenarios, including exhibition centers, performance centers, large parking lots, traffic management, emergency management, office document management, and conference management systems, and test the performance and effect of the system in each scenario, record and analyze data, compare the effects of different algorithms and optimization schemes in the experiment, including resource allocation and navigation efficiency, and adjust and improve the system design, optimize the algorithm and network structure based on the experimental results; Summarize and analyze all experimental data, evaluate the performance of the system in various scenarios, write experimental reports, summarize the experimental results and findings, put forward improvement suggestions, and further optimize the system design and algorithm based on the experimental results to ensure the efficiency and reliability of the system in practical applications.
[0040] The solution in this embodiment can be selectively combined with the solutions in other embodiments for use.
[0041] It should be noted that although the above embodiments have been described in this article, the scope of patent protection of the present invention is not limited thereby. Therefore, based on the innovative concept of the present invention, changes and modifications made to the embodiments described herein, or equivalent structures, equivalent processes or equivalent functional transformations made using the contents of the present specification and drawings, directly or indirectly applying the above technical solutions to other related technical fields are all included in the scope of protection of the patent of the present invention.
Claims
1. A decentralized peer-to-peer social network system, characterized in that: The specific steps are as follows: S1. Set up network nodes; S2. Each of the network nodes has local data collection, preliminary processing and decision-making capabilities, and can autonomously adjust resource allocation and behavior based on real-time data to cope with dynamic changes in the environment; S3. The network nodes have the ability of self-organization and dynamic participation, and can automatically detect and integrate new network nodes, and reconfigure when network nodes leave to maintain the integrity and efficiency of the network; S4. The system adopts a social communication protocol design, realizes data transmission between the network nodes through wireless communication technology, and supports flexible network node layout and communication coverage; S5. The system adopts distributed data processing and storage, and the network nodes share data and perform collaborative processing; S6. Specific applications of the system and network nodes.
2. A decentralized peer-to-peer social network system according to claim 1, characterized in that: Each of the network nodes has a high degree of autonomy and local data processing capabilities, and can make real-time decisions independently without relying on centralized servers or remote cloud processing.
3. A decentralized peer-to-peer social network system according to claim 1, characterized in that: The system adopts a distributed data processing and storage method, and each network node shares and processes locally collected data instead of relying on a centralized database system.
4. The decentralized peer-to-peer social network system according to claim 1, characterized in that: The system adopts a specially designed social communication protocol to support efficient information exchange and collaboration between network nodes.
5. A decentralized peer-to-peer social network system according to claim 1 or 4, characterized in that: The social communication protocol includes location services, event notifications, and user demand confirmation functions, so that the system can serve user needs more flexibly and intelligently.
6. A decentralized peer-to-peer social network system according to claim 1, characterized in that: The specific application of the system and network nodes is as follows: The user enters the user request interface and requests parking in the parking lot or requests to leave the parking lot; When a user requests parking, the network node marks whether there is an empty parking space or not; If there is an empty parking space, the network node allocates the parking space and marks it as occupied, and the user returns a parking success message and requests the parking to be completed; If there is no vacant parking space, the network node enters the return waiting information, and the user waits to find other options, enters the user request interface again, and performs the above operation process again; When the user requests to leave, the network node queries the user's parking space; If the user's parking space is found, the network node immediately releases the current parking space and marks it as an empty parking space, and the user returns a successful departure message, and the user departure process ends; If the user's parking space is not found, the network node immediately returns an error message, and then enters the user re-input interface. The user enters the user request interface again and performs the above operation process again.
7. The method for building a decentralized peer-to-peer social network system according to any one of claims 1 to 6, characterized in that: The specific steps are as follows: S1. Build the experimental environment: Build a small-scale network in the laboratory environment, use single-chip microcomputers as network nodes, ensure that each network node has independent storage and processing functions, install and configure necessary software and hardware, and ensure that all network nodes can communicate with each other; S2. Network node configuration: configure an independent storage module for each MCU node to store local data, configure the processing unit so that it can independently process and calculate data, and install sensors and communication modules to ensure that the network node can collect and transmit data in real time; S3. Experimental environment test: Conduct preliminary tests in a laboratory environment to ensure that all network nodes can operate normally, test the communication stability and data transmission speed between network nodes, ensure the reliability of the network, and conduct simulation tests to simulate network node operations and data transmission in different application scenarios; S4, Data Collection and Analysis: Conduct a series of tests in the experimental environment, collect network operation data, record the performance data of each network node, including processing speed, storage capacity, communication delay, compare the performance of the system before and after application, and analyze the improvement effect; S5. System verification and optimization: According to the predetermined evaluation indicators, the system is experimentally verified, and the effects of different algorithms and optimization schemes in the experiment are compared, including resource allocation and navigation efficiency. Based on the experimental results, the system design is adjusted and improved, and the algorithm and network structure are optimized. S6. Scenario testing: Design experiments based on specific needs to test the performance of the system in different application scenarios, including exhibition centers, performance centers, large parking lots, traffic management, emergency management, office document management, and conference management systems. Test the performance and effect of the system in each scenario, and record and analyze the data. S7. Result evaluation and summary: Summarize and analyze all experimental data, evaluate the performance of the system in various scenarios, write an experimental report, summarize the experimental results and findings, put forward improvement suggestions, and further optimize the system design and algorithm based on the experimental results to ensure the efficiency and reliability of the system in practical applications.
Citation Information
Cited By
Social dynamic mesh communication network control method
CN120378434A
