CN114553877A - Network distributed server and resource allocation method thereof - Google Patents

Network distributed server and resource allocation method thereof Download PDF

Info

Publication number
CN114553877A
CN114553877A CN202210044586.6A CN202210044586A CN114553877A CN 114553877 A CN114553877 A CN 114553877A CN 202210044586 A CN202210044586 A CN 202210044586A CN 114553877 A CN114553877 A CN 114553877A
Authority
CN
China
Prior art keywords
slave
equipment
service
master
slave device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210044586.6A
Other languages
Chinese (zh)
Inventor
王健
齐东伟
靳龙雪
楚海朋
杜庆雨
韩强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Tiandi Weiye Intelligent Security Technology Co ltd
Original Assignee
Tianjin Tiandi Weiye Intelligent Security 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 Tianjin Tiandi Weiye Intelligent Security Technology Co ltd filed Critical Tianjin Tiandi Weiye Intelligent Security Technology Co ltd
Priority to CN202210044586.6A priority Critical patent/CN114553877A/en
Publication of CN114553877A publication Critical patent/CN114553877A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a network distributed server, comprising: the main control equipment is internally provided with a client; a plurality of slave devices respectively connected with the master device; the communication module is arranged on the master control device and the slave device so as to realize service communication connection between the master control device and the slave device; the invention also provides a network distributed server resource allocation method, wherein the master control equipment can be actively connected with the slave equipment and can actively acquire the service of the slave equipment, the master control equipment can be actively connected with the slave equipment, the master equipment is used as a client, the slave equipment is used as a server, the complexity of the slave equipment is reduced, the communication efficiency of the master equipment and the slave equipment is improved, and frequent traversal and query are reduced.

Description

Network distributed server and resource allocation method thereof
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network distributed server and a resource allocation method thereof.
Background
With the continuous development of the internet of things technology, it has become a trend to connect different independent devices with single function into a distributed system with complex functions through a network. However, there is currently no simple and easy way to manage multiple devices. Most solutions have a slave device as a client to connect to a master device as a server. A strong active capability of the slave device is required. The master device is generally a server with stronger performance, while the slave devices are generally exclusive devices with weaker performance and unique functions, and the master device has a single server function, needs to frequently interact with the slave devices when executing tasks, and has low communication efficiency.
Therefore, a network distributed server is needed to solve the above problems.
Disclosure of Invention
The invention provides a network distributed server, wherein a master control device can be actively connected with a slave device, the master device is used as a client, the slave device is used as a server, the complexity of the slave device is reduced, the communication efficiency of the master device and the slave device is improved, and frequent traversal and query are reduced.
The technical scheme provided by the invention is as follows:
a network distributed server, comprising:
a master control device;
a plurality of slave devices respectively connected with the master device;
the communication module is arranged on the master control device and the slave device so as to realize service communication connection between the master control device and the slave device;
the master control device can be actively connected with the slave device and can actively acquire the service of the slave device.
Preferably, the master device includes:
the multi-dimensional sensor acquisition module is used for acquiring wireless communication data;
and the combined communication interface at least comprises RS232, RS485, RS422 and an Ethernet interface.
Preferably, the communication module is a communication network card and communicates through a TCP/IP protocol.
Preferably, an independently operating intelligent chip is arranged in the slave device to load a service system and a service program.
Preferably, the master device further comprises a data statistics module, which is capable of stacking service capabilities of the slave devices for statistics.
The invention also provides a method for distributing the resources of the network distributed server, which comprises the following steps:
the master equipment and the single slave equipment or simultaneously establish active connection to obtain the services required by each slave equipment;
analyzing the service request, splitting the service, and acquiring task execution subordinate equipment corresponding to the service request;
and the master equipment sends a request to the corresponding slave equipment according to the task execution equipment corresponding to the service request and executes processing.
Preferably, the system further comprises a monitoring slave device, and if the slave device reports an error, the master device can actively connect with the slave device, so that the slave device restarts and recovers services.
Preferably, the method further comprises performing lookup filtering on the service request.
Preferably, the master device and the slave device communicate via a TCP/IP protocol.
Advantageous effects
The invention provides a network distributed server, wherein a master control device can be actively connected with a slave device, the master device is used as a client, the slave device is used as a server, the complexity of the slave device is reduced, the communication efficiency of the master device and the slave device is improved, and frequent traversal and query are reduced.
The invention also provides a resource allocation method of the network distributed server, wherein the master device and the single slave device or the master device and the single slave device simultaneously establish active connection to obtain the services required by each slave device; analyzing the service request, splitting the service, and acquiring task execution subordinate equipment corresponding to the service request; and the master device sends the request to the corresponding slave device according to the task execution device corresponding to the service request and executes the processing, so that the query step of the service request is simplified, and the service execution complexity is reduced.
Drawings
Fig. 1 is a schematic structural diagram of a network distributed server according to the present invention.
Fig. 2 is a flowchart of a method for allocating network distributed server resources according to the present invention.
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that in the description of the present invention, the terms "in", "upper", "lower", "lateral", "inner", etc. indicate directions or positional relationships based on those shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected; may be a mechanical connection; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
As shown in fig. 1, based on the technical problem proposed by the background art, the present invention provides a network distributed server comprising: a master device 110, a plurality of slave devices 120, and a communication module 130.
Wherein, the plurality of slave devices 120 are respectively connected with the master device; the communication module 130 is disposed on the master device 110 and the slave device 120 to implement service communication connection between the master device 110 and the slave device 120; the master device 110 can actively connect with the slave device 120 and can actively acquire the service of the slave device 120.
It should be particularly noted that, in the network distributed server provided in this embodiment, the master device can be actively connected to the slave device, the master device serves as the client, and the slave device serves as the server, so that the complexity of the slave device is reduced, the communication efficiency of the master device and the slave device is improved, and frequent traversal and query are reduced.
As one preferable, the master device includes:
the multi-dimensional sensor acquisition module is used for acquiring wireless communication data;
and the combined communication interface at least comprises RS232, RS485, RS422 and an Ethernet interface.
Preferably, the communication module is a communication network card and communicates through a TCP/IP protocol.
In another embodiment, an independently operating smart chip is provided in the slave device 120 to load the service system and the service program.
In a preferred embodiment, the master device further comprises a data statistics module capable of stacking service capabilities of the slave devices for statistics.
The invention also provides a method for distributing the resources of the network distributed server, which comprises the following steps:
step S110, the master device and a single slave device or simultaneously establish active connection to obtain services required by each slave device;
step S120, analyzing the service request, splitting the service, and acquiring a task execution slave device corresponding to the service request;
and step S130, the main device sends a request to the corresponding slave device according to the task execution device corresponding to the service request, and executes processing.
Preferably, the system further comprises a monitoring slave device, and if the slave device reports an error, the master device can actively connect with the slave device, so that the slave device restarts and recovers services.
Preferably, the method further comprises performing lookup filtering on the service request.
Preferably, the master device and the slave device communicate via a TCP/IP protocol.
In a preferred embodiment, the device management method is simplified, the slave device serves as a server to provide a dedicated service, the master device serves as a client to actively connect with the slave device as required, and a certain service is acquired from the connected slave device. The simple and feasible method is implemented on a PCIE intelligent card with 4 independent Haisi 3559A chips. The 4 3559A chips are used as slave devices to run independent Linux systems and service programs. The main device is a server with x86 architecture running Linux system and service program. And the master device and the slave device carry out TCP/IP communication through the PCIE network card.
The working process of the master device and the slave device is as follows:
(1) and the slave equipment is on line, and the master equipment is actively connected to acquire and record the service capacity of each equipment.
(2) The master device actively acquires the required service from the single device.
(3) The master device obtains the required service to a plurality of devices simultaneously.
(4) And the splitting of the complex service is distributed on different devices respectively.
(5) The master device actively acquires the combined service, for example the output of service 1 may be the input of service 2.
(6) And in parallel processing of tasks, the master device can simultaneously send requests to a plurality of slave devices, and the plurality of slave devices process in parallel.
(7) And automatically recovering, if the service of the slave equipment is hung due to abnormality, the slave equipment can be quickly restarted and recovers the service, and the master equipment is automatically connected to continue to acquire the service.
The invention breaks through the limitation that the main equipment is only used as a server, and the main equipment is used as a client and the slave equipment is used as a server. The complexity of the slave device is reduced, the selection right is handed over to the master device, and the master device is given enough freedom of selection. The complex service can be split and the master device is responsible for scheduling and combining. Multiple slaves can simultaneously process tasks in parallel. The method simplifies the management of the distributed equipment, manages the equipment according to the function classification, simplifies the slave equipment providing the specific function and is only responsible for providing single service. The master device for acquiring the service actively selects and acquires the required service. The communication efficiency of the master device and the slave device is improved. Reducing frequent traversals and queries.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (9)

1. A network distributed server, comprising:
the main control equipment is internally provided with a client;
a plurality of slave devices respectively connected with the master device;
the communication module is arranged on the master control device and the slave device so as to realize service communication connection between the master control device and the slave device;
the master control device can be actively connected with the slave device and can actively acquire the service of the slave device.
2. The network distributed server of claim 1, wherein the master device comprises:
the multi-dimensional sensor acquisition module is used for acquiring wireless communication data;
and the combined communication interface at least comprises RS232, RS485, RS422 and an Ethernet interface.
3. The network distributed server according to claim 1 or 2, wherein the communication module is a communication network card and communicates through a TCP/IP protocol.
4. The network distributed server according to claim 3, wherein an intelligent chip which runs independently is arranged in the slave device to load a service system and a service program.
5. The network distributed server of claim 4, wherein said master device further comprises a data statistics module capable of stacking service capabilities of said slave devices for statistics.
6. A method for allocating network distributed server resources is characterized by comprising the following steps:
the master equipment and the single slave equipment or simultaneously establish active connection to obtain the services required by each slave equipment;
analyzing the service request, splitting the service, and acquiring task execution subordinate equipment corresponding to the service request;
and the master equipment sends a request to the corresponding slave equipment according to the task execution equipment corresponding to the service request and executes processing.
7. The method according to claim 6, further comprising monitoring a slave device, wherein if the slave device reports an error, the master device can actively connect to the slave device, so that the slave device restarts and recovers service.
8. The method of claim 7, further comprising performing lookup filtering on the service request.
9. The method according to claim 7 or 8, wherein the master device and the slave device communicate via TCP/IP protocol.
CN202210044586.6A 2022-01-14 2022-01-14 Network distributed server and resource allocation method thereof Pending CN114553877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210044586.6A CN114553877A (en) 2022-01-14 2022-01-14 Network distributed server and resource allocation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210044586.6A CN114553877A (en) 2022-01-14 2022-01-14 Network distributed server and resource allocation method thereof

Publications (1)

Publication Number Publication Date
CN114553877A true CN114553877A (en) 2022-05-27

Family

ID=81672377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210044586.6A Pending CN114553877A (en) 2022-01-14 2022-01-14 Network distributed server and resource allocation method thereof

Country Status (1)

Country Link
CN (1) CN114553877A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100281166A1 (en) * 2007-11-09 2010-11-04 Manjrasoft Pty Ltd Software Platform and System for Grid Computing
CN102695295A (en) * 2012-05-22 2012-09-26 北京建筑技术发展有限责任公司 Distributed data acquisition control system and method for applying same
CN104035817A (en) * 2014-07-08 2014-09-10 领佰思自动化科技(上海)有限公司 Distributed parallel computing method and system for physical implementation of large scale integrated circuit
CN106713484A (en) * 2017-01-10 2017-05-24 微梦创科网络科技(中国)有限公司 Performance pressure measurement implementation method, system and server
CN108565968A (en) * 2018-02-06 2018-09-21 新奥泛能网络科技股份有限公司 Distributed intelligence distribution master & slave control system
CN109218156A (en) * 2018-11-02 2019-01-15 合肥保得工业自动化有限公司 A kind of management method of Dynamic link library data
CN109495462A (en) * 2018-11-02 2019-03-19 合肥保得工业自动化有限公司 A kind of Dynamic link library data distribution formula system and its data interactive method
CN109660381A (en) * 2018-10-25 2019-04-19 中国平安人寿保险股份有限公司 Distribution management method, device, server and storage medium
CN111061762A (en) * 2019-11-08 2020-04-24 京东数字科技控股有限公司 Distributed task processing method, related device, system and storage medium
CN113821506A (en) * 2020-12-23 2021-12-21 京东科技控股股份有限公司 Task execution method, device, system, server and medium for task system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100281166A1 (en) * 2007-11-09 2010-11-04 Manjrasoft Pty Ltd Software Platform and System for Grid Computing
CN102695295A (en) * 2012-05-22 2012-09-26 北京建筑技术发展有限责任公司 Distributed data acquisition control system and method for applying same
CN104035817A (en) * 2014-07-08 2014-09-10 领佰思自动化科技(上海)有限公司 Distributed parallel computing method and system for physical implementation of large scale integrated circuit
CN106713484A (en) * 2017-01-10 2017-05-24 微梦创科网络科技(中国)有限公司 Performance pressure measurement implementation method, system and server
CN108565968A (en) * 2018-02-06 2018-09-21 新奥泛能网络科技股份有限公司 Distributed intelligence distribution master & slave control system
CN109660381A (en) * 2018-10-25 2019-04-19 中国平安人寿保险股份有限公司 Distribution management method, device, server and storage medium
CN109218156A (en) * 2018-11-02 2019-01-15 合肥保得工业自动化有限公司 A kind of management method of Dynamic link library data
CN109495462A (en) * 2018-11-02 2019-03-19 合肥保得工业自动化有限公司 A kind of Dynamic link library data distribution formula system and its data interactive method
CN111061762A (en) * 2019-11-08 2020-04-24 京东数字科技控股有限公司 Distributed task processing method, related device, system and storage medium
CN113821506A (en) * 2020-12-23 2021-12-21 京东科技控股股份有限公司 Task execution method, device, system, server and medium for task system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王国兵;: "嵌入式Linux通讯服务器软件设计", 电子技术与软件工程, no. 10, 15 May 2020 (2020-05-15), pages 4 - 5 *

Similar Documents

Publication Publication Date Title
US10031789B2 (en) Generic distributed processing for multi-agent systems
CN102457906B (en) Load balancing control method and system of message queues
CN109857558A (en) A kind of data flow processing method and system
CN112799789A (en) Node cluster management method, device, equipment and storage medium
EP2012226A2 (en) Computer system, method and program for managing volumes of storage system
US11917027B2 (en) Method and system for providing time-critical services
CN111124806B (en) Method and system for monitoring equipment state in real time based on distributed scheduling task
CN103366022B (en) Information handling system and disposal route thereof
CN110688213B (en) Resource management method and system based on edge calculation and electronic equipment
CN112437129B (en) Cluster management method and cluster management device
CN110297867B (en) Database cluster operation method and system based on domestic CPU and distributed container cluster
US20240152395A1 (en) Resource scheduling method and apparatus, and computing node
CN112543222B (en) Data processing method and device, computer equipment and storage medium
EP2372568A1 (en) Configuration management system, proxy system, and configuration management method
CN115086379B (en) Numerical control machine tool data acquisition method based on edge calculation and virtualization technology
CN116346948A (en) Multi-protocol conversion method and system based on micro-service
EP3611482B1 (en) Collaborative weighing and measuring system and metering system
CN113794781A (en) Data acquisition method, device, equipment and storage medium
EP2472416B1 (en) Data query system and constructing method thereof and corresponding data query method
CN106843890B (en) Sensor network, node and operation method thereof based on intelligent decision
CN114553877A (en) Network distributed server and resource allocation method thereof
CN106899659B (en) Distributed system and management method and management device thereof
CN113765690A (en) Cluster switching method, system, device, terminal, server and storage medium
CN110162381B (en) Agent execution method in container
KR101560879B1 (en) System for managing task and executing service of steel process middleware

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