CN115037612A - Server configuration method, computing device and storage medium - Google Patents

Server configuration method, computing device and storage medium Download PDF

Info

Publication number
CN115037612A
CN115037612A CN202210520219.9A CN202210520219A CN115037612A CN 115037612 A CN115037612 A CN 115037612A CN 202210520219 A CN202210520219 A CN 202210520219A CN 115037612 A CN115037612 A CN 115037612A
Authority
CN
China
Prior art keywords
server
intelligent pointer
pointer
intelligent
communication connection
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.)
Granted
Application number
CN202210520219.9A
Other languages
Chinese (zh)
Other versions
CN115037612B (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.)
Guangdong Tongxin Software Co ltd
Original Assignee
Guangdong Tongxin Software 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 Guangdong Tongxin Software Co ltd filed Critical Guangdong Tongxin Software Co ltd
Priority to CN202210520219.9A priority Critical patent/CN115037612B/en
Publication of CN115037612A publication Critical patent/CN115037612A/en
Application granted granted Critical
Publication of CN115037612B publication Critical patent/CN115037612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • 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/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session

Landscapes

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

Abstract

The invention discloses a server configuration method, a computing device and a storage medium, and the method comprises the following steps: establishing a first intelligent pointer and a second intelligent pointer, establishing communication connection with a first server through the first intelligent pointer and the second intelligent pointer, and executing one or more tasks; when a configuration request for a server is received, modifying an object of the first intelligent pointer so as to connect a second server, creating a third intelligent pointer, and establishing communication connection with the second server according to the first intelligent pointer and the third intelligent pointer; and when the task execution is completed, the communication connection with the first server is disconnected through the second intelligent pointer. The invention realizes the establishment of communication connection with the new server under the condition of not restarting the computer or the application, and improves the network use experience of a user for connecting the server.

Description

Server configuration method, computing device and storage medium
The application is a divisional application of an invention patent application filed on 10.03.2022, and the application number of the original application is as follows: 2022102295539, title of the invention: a server configuration method, a computing device and a storage medium.
Technical Field
The present invention relates to the field of computer communications, and in particular, to a server configuration method, a computing device, and a storage medium.
Background
With the development of computer technology, people increasingly use computers to access the internet; when accessing the internet, a certain server in the internet is sometimes accessed to acquire files, services and the like of the server. Service providers often use a plurality of servers to provide services, and each server includes a plurality of borrowing ports to provide services such as mass data access.
In the prior art, when people are accessing a certain server, for some reason, for example, the network state is not good, so that the network is slow, the server or the interface is selected to be replaced; at this time, the server is configured in the computer, and after the accessed target server or target port is changed, the client or the computer is generally restarted to realize the access to the changed target server or target port; or the server needs to be reconnected after the task of the related requesting server is completed and then the connection is disconnected, so that the setting is effective, and the configuration of the server is not convenient and quick enough.
For this reason, a new server configuration method is required.
Disclosure of Invention
To this end, the present invention provides a server configuration method in an attempt to solve, or at least alleviate, the problems presented above.
According to an aspect of the present invention, there is provided a server configuration method adapted to be executed in a computing device, the method comprising the steps of: establishing a first intelligent pointer and a second intelligent pointer, establishing communication connection with a first server through the first intelligent pointer and the second intelligent pointer, and executing one or more tasks; when a configuration request for a server is received, modifying the object of the first intelligent pointer so as to connect a second server; establishing a third intelligent pointer, and establishing communication connection with a second server according to the first intelligent pointer and the third intelligent pointer; and when the task execution is completed, disconnecting the communication connection with the first server through the second intelligent pointer.
Optionally, in the method according to the present invention, further comprising the step of: and when the task execution is completed, the communication connection with the first server is disconnected through the second intelligent pointer.
Optionally, in the method according to the present invention, creating the first and second intelligent pointers comprises the steps of: allocating a first connection resource communicatively connected to a first server; and setting the objects of the first intelligent pointer and the second intelligent pointer as the first connection resource.
Optionally, in the method according to the present invention, establishing a communication connection with the first server through the first intelligent pointer and the second intelligent pointer comprises the steps of: and establishing communication connection with a first server through a first connection resource managed by the first intelligent pointer and the second intelligent pointer.
Optionally, in the method according to the present invention, the configuration request of the server includes modifying the server communicatively connected to the computing device, and modifying the object of the first smart pointer to the second server includes: allocating a second connection resource communicatively connected to a second server; and setting the object of the first intelligent pointer as a second connection resource.
Optionally, in the method according to the present invention, creating a third intelligent pointer, and establishing a communication connection with the second server according to the first intelligent pointer and the third intelligent pointer includes: setting an object of the third intelligent pointer as a second connection resource; and establishing communication connection with a second server through a second connection resource managed by the first intelligent pointer and the third intelligent pointer.
Optionally, in the method according to the present invention, the step of disconnecting the communication connection with the first server through the second intelligent pointer comprises: and deleting the second intelligent pointer so as to destroy the first connection resource managed by the second intelligent pointer.
Optionally, in the method according to the present invention, the computing device establishes a communication connection with the server through the first interface of the server, the object of the first smart pointer includes a third connection resource in communication connection with the first interface of the server, and the configuration request of the server further includes modifying the server interface in communication connection with the computing device, the method further includes the steps of: modifying the object of the first smart pointer to connect to a second interface of the server when a server configuration request is received to modify a server interface communicatively connected to the computing device; and establishing a fourth intelligent pointer, and establishing communication connection with a second interface of the server according to the first intelligent pointer and the fourth intelligent pointer.
Optionally, in the method according to the present invention, modifying the object of the first smart pointer comprises the steps of: allocating a fourth connection resource communicatively connected to a second interface of the server; and setting the object of the first intelligent pointer as a fourth connection resource.
Optionally, in the method according to the present invention, creating a fourth intelligent pointer, and establishing a communication connection with the second interface of the server according to the first intelligent pointer and the fourth intelligent pointer includes: setting an object of a fourth intelligent pointer as a fourth connection resource; and establishing communication connection with the second interface of the server through a fourth connection resource managed by the first intelligent pointer and the fourth intelligent pointer.
According to another aspect of the present invention, there is provided a computing device comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the server configuration method according to the present invention.
According to yet another aspect of the present invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform a server configuration method according to the present invention.
The invention discloses a server configuration method which is suitable for being executed in computing equipment. The method comprises the following steps: establishing a first intelligent pointer and a second intelligent pointer, establishing communication connection with a first server through the first intelligent pointer and the second intelligent pointer, and executing one or more tasks; when a configuration request for a server is received, an object of the first intelligent pointer is modified so as to be connected with a second server, a third intelligent pointer is created, and communication connection is established with the second server according to the first intelligent pointer and the third intelligent pointer, so that communication connection with the second server is established simultaneously under the condition that the connection with the first server is not disconnected and the first task is continuously executed, the network transmission efficiency of the computing device and the server is improved, communication connection is established with a new server under the condition that a computer or an application is not restarted, and the network use experience of a user for connecting the server is improved. When the task is executed, the communication connection with the first server is disconnected through the second intelligent pointer, the connection stability is kept, the completion of the preorder task is guaranteed, then the intelligent pointer is informed to recover computer resources, and the computer resources are saved.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a computing device communicatively coupled to a server according to an example embodiment of the present invention;
FIG. 2 illustrates a block diagram of a computing device 200, according to an exemplary embodiment of the invention;
FIG. 3 shows a flow diagram of a server configuration method 300 according to an example embodiment of the invention; and
fig. 4 shows a schematic diagram of a configuration of connected servers according to an exemplary embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Like reference numerals generally refer to like parts or elements.
In the present invention, a computing device may establish a communication connection with one or more servers. FIG. 1 shows a schematic diagram of a computing device communicatively connected to a server according to an example embodiment of the present invention. As shown in FIG. 1, the computing device 200 may establish a communication connection with any one or more of the servers 110-130 and obtain services provided from the servers (including the servers 110-130). The invention is not limited to the type of server provided and the particular manner in which the computing device is communicatively coupled to the server.
FIG. 2 illustrates a block diagram of a computing device 200, according to an exemplary embodiment of the invention. As shown in FIG. 2, in a basic configuration 202, a computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing, including but not limited to: a microprocessor (μ P), a microcontroller (μ C), a digital information processor (DSP), or any combination thereof. The processor 204 may include one or more levels of cache, such as a level one cache 210 and a level two cache 212, a processor core 214, and registers 216. Example processor cores 214 may include Arithmetic Logic Units (ALUs), Floating Point Units (FPUs), digital signal processing cores (DSP cores), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory including, but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 206 may include an operating system 220, one or more programs 222, and program data 228. In some embodiments, the program 222 may be arranged to execute the instructions 223 of the method 300 according to the invention on an operating system by one or more processors 204 using the program data 228.
Computing device 200 may also include a storage interface bus 234. A storage interface bus 234 enables communication from storage devices 232 (e.g., removable storage 236 and non-removable storage 238) to basic configuration 202 via bus/interface controller 230. Operating system 220, programs 222, and at least a portion of data 224 may be stored on removable storage 236 and/or non-removable storage 238, and loaded into system memory 206 via storage interface bus 234 and executed by one or more processors 204 when computing device 200 is powered on or programs 222 are to be executed.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to the basic configuration 202 via the bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. Example peripheral interfaces 244 can include a serial interface controller 254 and a parallel interface controller 256, which can be configured to facilitate communications with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 258. An example communication device 246 may include a network controller 260, which may be arranged to communicate with one or more other computing devices 200 over a network communication link via one or more communication ports 264.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In a device 200 according to the present invention, the program 222 comprises program instructions of the server configuration method 300 that may instruct the processor 204 to perform some of the steps of the server configuration method 300 that are run in the computing device 200 of the present invention, such that some of the components in the computing device 200 are implemented to configure a server to which the computing device is connected by performing the server configuration method 300 of the present invention.
Computing device 200 may be implemented as a server, e.g., file server, database, server, application server, etc., which may be, for example, a Personal Digital Assistant (PDA), a wireless web-browsing device, an application-specific device, or a hybrid device that include any of the above functions. May be implemented as a personal computer including both desktop and notebook computer configurations, and in some embodiments, the computing device 200 is configured as the server configuration method 300.
Fig. 3 shows a flow diagram of a server configuration method 300 according to an exemplary embodiment of the invention. As shown in fig. 3, step S310 is first executed to create a first intelligent pointer and a second intelligent pointer, and establish a communication connection with a first server through the first intelligent pointer and the second intelligent pointer to execute one or more tasks.
The intelligent pointer is a class similar to a common pointer in terms of behavior, and the important difference is that the intelligent pointer encapsulates some memory management or resource management strategies. And creating a first intelligent pointer and a second intelligent pointer for managing resources such as a memory and a network occupied by the communication connection between the computing equipment and the first server.
When the first intelligent pointer and the second intelligent pointer are created, first connection resources in communication connection with a first server are allocated, wherein the first connection resources comprise memory resources and communication resources used by the computing device in communication connection with the first server. According to one embodiment of the present invention, the communication resources may be embodied as dubs bus resources, network interface resources, and the like.
And then setting the objects of the first intelligent pointer and the second intelligent pointer as a first connection resource, and enabling the first intelligent pointer and the second intelligent pointer to manage the first connection resource so as to manage the communication connection between the computing device and the first server through the first intelligent pointer and the second intelligent pointer.
According to an embodiment of the present invention, since a plurality of intelligent pointers manage one resource at the same time, if the objects of the first intelligent pointer and the second intelligent pointer are both the first connection resource, the first intelligent pointer and the second intelligent pointer can be implemented as shared pointers, and the number of times that the shared pointers refer to the objects is counted using the counter at the same time along with the creation of the first intelligent pointer and the second intelligent pointer. For example, if the objects of the first smart pointer and the second smart pointer are both the first connection resource, the reference count of the first connection resource is 2. The position of the counter is located in a single area in the memory, and the purpose of counting the number of times that the object is referred by using the counter is as follows: and when the reference count of the object is 1, destroying the memory occupied by the object through the intelligent finger.
Specifically, in the present invention, when the first intelligent pointer and the second intelligent pointer manage the communication connection between the computing device and the first server, and when the reference count of the first management resource is 0, the memory occupied by the first management resource is destroyed. When the reference count of the first management resource is 0, the first smart pointer and the second smart pointer are either destroyed or the object is not the first management resource.
And when the first intelligent pointer and the second intelligent pointer are in communication connection with the first server, the first connection resource managed by the first intelligent pointer and the second intelligent pointer is in communication connection with the first server. After the computing device establishes a communication connection with the first server, one or more tasks, such as acquiring a data request service, can be executed according to the established communication connection.
Subsequently, step S320 is executed, and when a configuration request to a server is received, the object of the first smart pointer is modified to connect to a second server.
According to one embodiment of the invention, the configuration request to the server may be initiated by a user or automatically by the computing device according to settings. When a user performs a task using a communication connection with a first server, feels the network status is bad, or for some other reason wants to replace a server connected to a computing device, a configuration request may be initiated to the server to modify the server in communication with the computing device. Further, the configuration request for the server can be automatically initiated by the computing device according to the setting, the network transmission speed of the communication connection of the first server in English of the computing device is detected, and when the network transmission speed is smaller than a preset warning value within a certain long time, the configuration request for the server is initiated, and the server in communication connection with the computing device is replaced. The configuration request of the server also comprises the modification of a server interface in communication connection with the computing equipment, the configuration of various servers can be modified through the intelligent pointer, and the specific type of the configuration request of the server is not limited by the invention.
And then, when the object of the first intelligent pointer is modified so as to be connected with a second server, allocating a second connection resource which is in communication connection with the second server, and setting the object of the first intelligent pointer as the second connection resource. The first connection resources include memory resources and communication resources used by the computing device to communicatively connect with the first server.
The life cycle of the first intelligent pointer is long, and the first intelligent pointer always keeps the object of the first intelligent pointer to be one or more connection resources and is used for keeping the communication connection between the computing equipment and the server for a long time. The first intelligent pointer is not destroyed unless the computing equipment is closed or restarted, and the computing equipment is ensured to establish communication connection with a server; in the process of switching the connection between the computing equipment and the server, the network state fluctuation caused by destroying and creating the intelligent pointer is avoided, the computing equipment is kept to have resources to participate in the establishment of the network of the server all the time, and the network stability based on communication connection is maintained. If the communication connection is established only by using the intelligent pointer with the short life cycle, the network connection of the computing equipment is easily lost for a short time or even a long time when the communication connection between the computing equipment and the server is switched. And step one, when a server or a server interface in communication connection with the computing device is switched, the object of the first intelligent pointer is preferentially modified.
When the object of the first intelligent pointer is set as the second connection resource, the counter counts the times of the first connection resource being quoted again, and the quote count of the first connection resource is 1; furthermore, the number of times of reference of the second connection resource is counted, and the reference count of the second connection resource is obtained to be 1.
Subsequently, step S330 is executed to create a third intelligent pointer, and establish a communication connection with the second server according to the first intelligent pointer and the third intelligent pointer, specifically: and setting the object of the third intelligent pointer as a second connection resource so as to manage the communication connection between the computing device and the second server through the first intelligent pointer and the third intelligent pointer. And after the object of the third intelligent pointer is set as the second connection resource, recounting the reference times of the second connection resource to obtain the reference count of the second connection resource as 2.
And then establishing communication connection with a second server through a second connection resource managed by the first intelligent pointer and the third intelligent pointer. After the computing device establishes communication connection with the second server through the second connection resource, one or more tasks can be executed, and at the moment, when the computing device executes the tasks, the computing device executes the tasks by applying the communication connection established with the second server.
When the computing device establishes a communication connection with the second server, a task may be being performed using the communication connection established with the first server. When the connected server needs to be replaced, the computer or the application does not need to be restarted, and tasks executed by connection with other servers before the completion of the tasks are not needed, so that the network transmission efficiency of the computing equipment and the server is improved, and the network use experience of a user for connecting the server is improved.
Finally, step S340 is executed, when the task is completed, the communication connection with the first server is disconnected through the second intelligent pointer, specifically: and deleting the second intelligent pointer so as to destroy the first connection resource managed by the second intelligent pointer. When the server in communication connection with the computing device is replaced, the life cycle of the second intelligent pointer can be set to be finished after the task executed by the communication connection of the current application and the first server is completed. And after the second intelligent pointer is deleted, the counter counts the number of times of being referred to of the first connection resource again, and the reference count of the first connection resource is 0. When the reference count of the first connection resource is 0, triggering the destruction of the memory occupied by the first connection resource, namely deleting the first connection resource, releasing the communication connection with the first server, so that the communication connection between the computing device and the first server is disconnected, and then the computing device executes various tasks by using the communication connection established with the second server.
According to one embodiment of the invention, the computing device establishes a communication connection with a second server through a first interface of the server, the server comprises the first server or the second server, each server has a plurality of interfaces for providing services, and the object of the corresponding first smart pointer comprises a third connection resource of the communication connection of the first interface of the first server or the second interface of the second server. The configuration request of the server further includes modifying a server interface communicatively connected to the computing device. The method of the invention also comprises the following steps: when a server configuration request is received to modify a server interface communicatively coupled to the computing device, the object of the first smart pointer is modified to couple to a second interface of the server. The present invention also enables configuration of a server interface, the configuration request of the server interface including modifying a debit of a server communicatively coupled to the computing device. And when the object of the first intelligent pointer is modified, allocating a fourth connection resource in communication connection with a second interface of the server, and setting the object of the first intelligent pointer as the fourth connection resource.
Then, a fourth intelligent pointer is created, specifically, an object of the fourth intelligent pointer is set as a resource in communication connection with a second interface of the server, that is, a fourth connection resource, so that the first intelligent pointer and the second intelligent pointer are directed at the resource in communication connection with the second interface of the server; and establishing communication connection with a second interface of the server according to a fourth connection resource managed by the first intelligent pointer and the fourth intelligent pointer, and executing subsequent tasks.
Fig. 4 shows a schematic diagram of a configuration of a connected server according to an exemplary embodiment of the present invention. As shown in fig. 4, if the server configures the computing device to establish a communication connection with the first server, step 1 is performed: establishing a communication connection between the first intelligent pointer and the second intelligent pointer and the first server, and then executing the step 2: an interface is requested to perform a task.
When a configuration request for the server is received, step 3 is executed, the configuration of the server is changed, and the first server in communication connection with the computing device is changed into a second server.
And then, executing step 4, changing the pointing direction of the first intelligent pointer, and modifying the object of the first intelligent pointer into a connection resource with the second server.
And then executing step 5, creating a third intelligent pointer, and setting an object of the third intelligent pointer as a connection resource with the second server.
And then, executing step 6, establishing communication connection with the second server according to the first intelligent pointer and the third intelligent pointer, and executing a new task.
And finally, executing step 7, after the second intelligent pointer finishes executing the task executed according to the communication connection established with the first server, destroying the second intelligent pointer, disconnecting the communication connection with the first server, and then executing the task through the communication connection with the second server.
The invention discloses a server configuration method which is suitable for being executed in computing equipment. The method comprises the following steps: establishing a first intelligent pointer and a second intelligent pointer, establishing communication connection with a first server through the first intelligent pointer and the second intelligent pointer, and executing one or more tasks; when a configuration request for a server is received, an object of the first intelligent pointer is modified so as to be connected with a second server, a third intelligent pointer is created, communication connection is established with the second server according to the first intelligent pointer and the third intelligent pointer, the communication connection with the second server is established simultaneously under the condition that the connection with the first server is not disconnected and the first task is continuously executed, the network transmission efficiency of the computing device and the server is improved, the communication connection with a new server is established under the condition that a computer or an application is not restarted, and the network use experience of a user for connecting the server is improved. When the task is executed, the communication connection with the first server is disconnected through the second intelligent pointer, the connection stability is kept, the completion of the preorder task is guaranteed, then the intelligent pointer is informed to recover computer resources, and the computer resources are saved.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Those skilled in the art will appreciate that the modules or units or groups of devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. Modules or units or groups in embodiments may be combined into one module or unit or group and may furthermore be divided into sub-modules or sub-units or sub-groups. All of the features disclosed in this specification, and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except for at least some of such features and/or processes or elements being mutually exclusive. Each feature disclosed in this specification may be replaced by an alternative feature serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Additionally, some of the embodiments are described herein as a method or combination of method elements that can be implemented by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the server configuration method of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer-readable media includes both computer storage media and communication media. Computer storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to practitioners skilled in this art. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention.

Claims (10)

1. A server configuration method adapted to be executed in a computing device, the method comprising the steps of:
creating a first intelligent pointer and a second intelligent pointer, establishing communication connection with a first server through the first intelligent pointer and the second intelligent pointer, and executing one or more tasks;
when a configuration request to a server is received, modifying the object of the first intelligent pointer so as to connect a second server;
establishing a third intelligent pointer, and establishing communication connection with the second server according to the first intelligent pointer and the third intelligent pointer;
when the task execution is completed, disconnecting the communication connection with the first server through the second intelligent pointer;
wherein, establish first intelligent pointer and second intelligent pointer and include the step:
allocating first connection resources communicatively connected to the first server;
and setting the objects of the first intelligent pointer and the second intelligent pointer as a first connection resource.
2. The method of claim 1, wherein said establishing a communication connection with a first server through said first and second intelligent pointers comprises the steps of:
and establishing communication connection with the first server through the first connection resource managed by the first intelligent pointer and the second intelligent pointer.
3. The method of claim 1, wherein the server's configuration request further includes modifying a server communicatively connected to the computing device, the modifying the object of the first smart pointer to connect to a second server comprising the steps of:
allocating second connection resources communicatively connected to the second server;
and setting the object of the first intelligent pointer as the second connection resource.
4. The method of claim 3, wherein said creating a third intelligent pointer and establishing a communication connection with said second server based on said first and third intelligent pointers comprises the steps of:
setting the object of the third intelligent pointer as the second connection resource;
and establishing communication connection with the second server through a second connection resource managed by the first intelligent pointer and the third intelligent pointer.
5. The method of claim 1, wherein said disconnecting communication with said first server via said second smart pointer comprises the steps of:
and deleting the second intelligent pointer so as to destroy the first connection resource managed by the second intelligent pointer.
6. The method of claim 1, wherein the computing device establishes a communication connection with a server through a first interface of the server, the object of the first smart pointer comprising a third connection resource in communication connection with the first interface of the server, the configuration request of the server further comprising modifying the server interface in communication connection with the computing device, the method further comprising the steps of:
modifying an object of a first smart pointer to connect to a second interface of the server when a server configuration request is received to modify a server interface communicatively connected to the computing device;
and creating a fourth intelligent pointer, and establishing communication connection with a second interface of the server according to the first intelligent pointer and the fourth intelligent pointer.
7. The method of claim 6, wherein the object of the first smart pointer comprises a third connection resource communicatively coupled to the first interface of the server, and wherein modifying the object of the first smart pointer comprises:
allocating a fourth connection resource communicatively coupled to a second interface of the server;
and setting the object of the first intelligent pointer as the fourth connection resource to replace the third connection resource.
8. The method of claim 6 or 7, wherein the creating of the fourth intelligent pointer and the establishing of the communication connection with the second interface of the server according to the first intelligent pointer and the fourth intelligent pointer comprises the steps of:
setting an object of the fourth intelligent pointer as the fourth connection resource;
and establishing communication connection with a second interface of the server through a fourth connection resource managed by the first intelligent pointer and the fourth intelligent pointer.
9. A computing device, comprising:
one or more processors;
a memory; and
one or more devices comprising instructions for performing the method of any one of claims 1-8.
10. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform the method of any of claims 1-8.
CN202210520219.9A 2022-03-10 2022-03-10 Server configuration method, computing device and storage medium Active CN115037612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210520219.9A CN115037612B (en) 2022-03-10 2022-03-10 Server configuration method, computing device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210229553.9A CN114338390B (en) 2022-03-10 2022-03-10 Server configuration method, computing device and storage medium
CN202210520219.9A CN115037612B (en) 2022-03-10 2022-03-10 Server configuration method, computing device and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202210229553.9A Division CN114338390B (en) 2022-03-10 2022-03-10 Server configuration method, computing device and storage medium

Publications (2)

Publication Number Publication Date
CN115037612A true CN115037612A (en) 2022-09-09
CN115037612B CN115037612B (en) 2024-03-26

Family

ID=81033188

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210520219.9A Active CN115037612B (en) 2022-03-10 2022-03-10 Server configuration method, computing device and storage medium
CN202210229553.9A Active CN114338390B (en) 2022-03-10 2022-03-10 Server configuration method, computing device and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202210229553.9A Active CN114338390B (en) 2022-03-10 2022-03-10 Server configuration method, computing device and storage medium

Country Status (1)

Country Link
CN (2) CN115037612B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067562A (en) * 2018-06-27 2018-12-21 武汉斗鱼网络科技有限公司 Dynamic configuration update method and system, server and medium based on intelligent pointer
CN109918203A (en) * 2019-03-18 2019-06-21 深圳市网心科技有限公司 Access server memory management optimization method, access server and communication system
US20200020433A1 (en) * 2018-07-13 2020-01-16 International Business Machines Corporation Memory recall assistance for memory loss
US10761741B1 (en) * 2016-04-07 2020-09-01 Beijing Baidu Netcome Science and Technology Co., Ltd. Method and system for managing and sharing data using smart pointers
CN113253940A (en) * 2021-06-17 2021-08-13 北京壁仞科技开发有限公司 Memory data dump and construction method and device, electronic equipment and storage medium
CN113448756A (en) * 2021-08-30 2021-09-28 统信软件技术有限公司 Inter-process communication system and method and computing device
CN113742376A (en) * 2020-10-28 2021-12-03 北京沃东天骏信息技术有限公司 Data synchronization method, first server and data synchronization system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744593B (en) * 2004-08-30 2010-04-28 普天信息技术研究院 Transmission link selecting method
US8713186B2 (en) * 2007-03-13 2014-04-29 Oracle International Corporation Server-side connection resource pooling
CN102508715B (en) * 2011-11-23 2014-02-19 北京地拓科技发展有限公司 Object calling method and device based on multiple threads
CN104216767B (en) * 2014-09-18 2017-10-31 东软集团股份有限公司 The method and device of accessing shared data between multithreading
CN108009022A (en) * 2017-11-06 2018-05-08 联动优势科技有限公司 A kind of message treatment method and server
CN111381965B (en) * 2020-03-03 2023-01-31 百度在线网络技术(北京)有限公司 Method and apparatus for processing requests
CN112367269A (en) * 2020-10-30 2021-02-12 深圳壹账通智能科技有限公司 Double-pointer-based sliding window current limiting method, device, equipment and storage medium
CN113821343A (en) * 2021-09-18 2021-12-21 济南浪潮数据技术有限公司 Method, device, equipment and readable medium for source port allocation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10761741B1 (en) * 2016-04-07 2020-09-01 Beijing Baidu Netcome Science and Technology Co., Ltd. Method and system for managing and sharing data using smart pointers
CN109067562A (en) * 2018-06-27 2018-12-21 武汉斗鱼网络科技有限公司 Dynamic configuration update method and system, server and medium based on intelligent pointer
US20200020433A1 (en) * 2018-07-13 2020-01-16 International Business Machines Corporation Memory recall assistance for memory loss
CN109918203A (en) * 2019-03-18 2019-06-21 深圳市网心科技有限公司 Access server memory management optimization method, access server and communication system
CN113742376A (en) * 2020-10-28 2021-12-03 北京沃东天骏信息技术有限公司 Data synchronization method, first server and data synchronization system
CN113253940A (en) * 2021-06-17 2021-08-13 北京壁仞科技开发有限公司 Memory data dump and construction method and device, electronic equipment and storage medium
CN113448756A (en) * 2021-08-30 2021-09-28 统信软件技术有限公司 Inter-process communication system and method and computing device

Also Published As

Publication number Publication date
CN114338390A (en) 2022-04-12
CN115037612B (en) 2024-03-26
CN114338390B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
US20120096043A1 (en) Data graph cloud system and method
WO2020024408A1 (en) Test device, test method and storage medium
US10324754B2 (en) Managing virtual machine patterns
CN109067841B (en) Service current limiting method, system, server and storage medium based on ZooKeeper
CN111679893B (en) Operating system construction method and device, electronic equipment and storage medium
WO2017089944A1 (en) Techniques for analytics-driven hybrid concurrency control in clouds
US10893091B2 (en) Management of asynchronous content post and media file transmissions
CN106776395B (en) A kind of method for scheduling task and device of shared cluster
CN111651464A (en) Data processing method and system and computing equipment
US11237761B2 (en) Management of multiple physical function nonvolatile memory devices
US11593188B2 (en) Method and apparatus for providing asynchronicity to microservice application programming interfaces
CN110806928A (en) Job submitting method and system
WO2021135742A1 (en) Reconciliation and liquidation method and apparatus
US11706289B1 (en) System and method for distributed management of hardware using intermediate representations of systems to satisfy user intent
WO2022048358A1 (en) Data processing method and device, and storage medium
CN114461382A (en) Flexibly configurable computing power scheduling implementation method and device and storage medium
CN113377289A (en) Cache management method, system, computing device and readable storage medium
CN111736915A (en) Management method, device, equipment and medium for cloud host instance hardware acceleration equipment
CN114416310A (en) Multiprocessor load balancing method, computing device and storage medium
WO2019237587A1 (en) Script execution method, server management system and storage medium
CN113535650A (en) File naming method and computing device
CN114338390B (en) Server configuration method, computing device and storage medium
CN111353766A (en) Service process processing system and method of distributed service system
CN115361285B (en) Method, device, equipment and medium for realizing off-line service mixed deployment
US10447607B2 (en) System and method for dequeue optimization using conditional iteration

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