Remote sharing method and system of game server
By generating shared license feature values and remote intervention management values, the legitimacy and security of the sharing initiator is judged, and data sharing is performed on it, the problem of high sharing risks, low efficiency and low reliability of remote sharing of game servers in the prior art is solved, and more efficient and secure remote sharing is achieved.
Patent Information
- Application Number
- CN202510215551.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2025-06-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the remote sharing of game servers has problems such as high sharing risks, low sharing efficiency and low reliability.
By obtaining the sharing request from the shared initiator, obtaining the shared environment data of the shared initiator based on the sharing request, generating the shared license characteristic value, and determining whether it meets the remote sharing requirements; conducting remote intervention management analysis on the shared initiator that meets the requirements, generating the remote intervention management value, and determining whether it has entered the sharing link; data sharing for the shared initiator entering the sharing link, including encryption and compression processing and key generation.
It improves the security and efficiency of remote sharing, reduces data latency and conflicts, strengthens network security protection, ensures the security and integrity of game data, and improves the gaming experience.
Smart Images

Figure CN120079100A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of server remote sharing, and particularly to a method and system for remote sharing of game servers. Background Art
[0002] With the rapid development of online games, players' demands for game experience are increasing day by day. Among them, the stability and efficiency of game servers have become key factors. In order to improve the performance of servers, reduce operating costs, and achieve the sharing and synchronization of game data, the technology of remote sharing of game servers has emerged as the times require.
[0003] In the prior art, when remotely sharing a game server on the client side, the remote sharing server faces the risk of being attacked from the external network, resulting in waste of server resources and poor game experience for players.
[0004] Therefore, there is an urgent need for a method and system for remote sharing of game servers to solve the above problems. Summary of the Invention
[0005] The purpose of the present invention is to provide a method and system for remote sharing of game servers, which can solve the technical problems of high sharing risk, low sharing efficiency, and low reliability in the remote sharing of game servers in the prior art.
[0006] The purpose of the present invention can be achieved through the following technical solutions: On the one hand, a method for remote sharing of a game server, the method includes: Obtain a sharing request from a sharing initiator, obtain sharing environment data where the sharing initiator is located based on the sharing request, generate a sharing permission eigenvalue based on the sharing environment data, and determine whether the sharing initiator meets the requirements for remote sharing of the game server based on the sharing permission eigenvalue; Conduct remote intervention management analysis on the sharing initiator that meets the requirements for remote sharing of the game server, generate a remote intervention management value, and determine whether the sharing initiator enters the sharing link based on the remote intervention management value; Conduct data sharing on the sharing initiator that enters the sharing link: mark the data to be shared as a sharing object, record the management sequence value corresponding to the sharing object as a sharing execution code, perform encryption and compression processing on the data to be shared to obtain an encrypted data packet, obtain the sharing actual load value and sharing preload value of the sharing initiator, obtain the sharing characteristic coefficient of the sharing initiator based on the sharing actual load value and sharing preload value, form the key of the encrypted data packet with the sharing characteristic coefficient, the common peak value and common valley value of the sharing initiator, and send the encrypted data packet, the sharing execution code, and the key to the sharing initiator.
[0007] Further, generating a sharing permission eigenvalue based on the sharing environment data specifically includes the following process: Set a shared permission period and divide the shared permission period into several shared permission time slots. Among them, the shared permission period is the time period between the shared request moment and a preset moment, and the preset moment is before the shared request moment; Calculate a first shared permission eigenvalue based on the shared environment data; Collect the load rates of the game server during each shared permission time slot within the shared permission period, set a game server load rate margin value. When the load rate is less than the game server load rate margin value, mark this load rate as a normal load rate. When the load rate is greater than the game server load rate margin value, mark this load rate as an abnormal load rate. Respectively count the number of normal load rates and abnormal load rates within the shared permission time slot, and record the ratio of the two as the second shared permission coefficient; Obtain several second shared permission coefficients within the shared permission period. Construct a rectangular coordinate system with the second shared permission coefficient as the X-axis and the execution time of the shared permission time slot as the Y-axis. Mark all the second shared permission coefficients as points in the rectangular coordinate system, connect the adjacent points in the rectangular coordinate system to generate a second shared permission curve. Draw perpendicular lines from both ends of the second shared permission curve to the X-axis to obtain two starting and ending line segments. The closed figure formed by the second shared permission curve, the two starting and ending line segments, and the X-axis is marked as this second shared permission eigenvalue; Multiply the first shared permission eigenvalue and the second shared permission eigenvalue by their corresponding weight coefficients respectively, and sum the two products obtained. Record the sum value as the shared permission eigenvalue.
[0008] Further, the process of calculating the first shared permission eigenvalue based on the shared environment data specifically includes the following: Based on the shared environment data, obtain the IP address information of the shared initiator, the node coding information of the shared initiator, and the shared geographical location of the shared initiator. Judge whether there are abnormalities in the IP address information of the shared initiator, the node coding information of the shared initiator, and the shared geographical location of the shared initiator. If so, set an abnormal parameter , if not, do not set an abnormal parameter ; Based on the shared environment data, obtain the number of abnormal network delay moments of the shared initiator within the shared permission period , where the abnormal network delay moment is the moment when the network delay of the shared initiator exceeds the preset network delay threshold; Obtain the operation timestamp T0 of the shared initiator sending the shared request and the moment T1 when the game server receives the shared request, and calculate the time period T from moment T0 to moment T1; The abnormal parameter , the number of abnormal network delay moments Substitute the time period T into the correlation formula to calculate the first shared permission eigenvalue , and the correlation formula is as follows: ; Among them, , are weight factors, is the bandwidth of the sharing initiator, and E is a preset bandwidth constant.
[0009] Furthermore, based on the judgment of whether there are abnormalities in the IP address information, node coding information, and shared geographical location of the sharing initiator, it specifically includes the following process: Judge whether the IP address information of the sharing initiator is consistent with the registered IP address information. If so, it is determined that the IP address information of the sharing initiator is normal. If not, it is determined that the IP address information of the sharing initiator is abnormal; judge whether the node coding information of the sharing initiator is consistent with the registered node coding information. If so, it is determined that the node coding information of the sharing initiator is normal. If not, it is determined that the node coding information of the sharing initiator is abnormal; judge whether the shared geographical location of the sharing initiator is the registered shared geographical location. If so, it is determined that the shared geographical location of the sharing initiator is normal. If not, it is determined that the shared geographical location of the sharing initiator is abnormal.
[0010] Furthermore, based on the shared permission eigenvalue, judge whether the sharing initiator meets the requirements for remote sharing of the game server, which specifically includes the following process: Load the threshold of the shared permission eigenvalue, and judge whether the shared permission eigenvalue exceeds the preset shared permission eigenvalue threshold. If so, it is determined that the sharing initiator does not meet the requirements for remote sharing of the game server. If not, it is determined that the sharing initiator meets the requirements for remote sharing of the game server.
[0011] Furthermore, perform remote intervention management analysis on the sharing initiator that meets the requirements for remote sharing of the game server to generate a remote intervention management value, which specifically includes the following process: Construct a judgment matrix: Determine the number of influencing factors related to remote intervention management , and construct a set of security factors for remote sharing of the game server , , among which, is a subset of the success rate of the game server in resisting network attacks, is a subset of the game server load rate, is a subset of the abnormal probability of the game server, is a subset of the game server crash failure rate. Take two subsets at the same level from the set for comparison, and use Indicates the ratio of importance, assigns the corresponding importance according to a preset ratio, and combines the importance of each layer to form a judgment matrix; Calculate the maximum eigenvalue of the judgment matrix : ; Among them, is a matrix obtained by normalizing each column vector of the judgment matrix, The value of is 1, 2... m, is the matrix obtained by adding the elements of the matrix row by row, normalizing the obtained vector, is the matrix obtained by adding the elements of the matrix column by column, normalizing the obtained vector; Calculate the consistency index : ; Among them, represents the order of the judgment matrix; Denote the value of as the remote intervention management value.
[0012] Furthermore, obtaining the management sequence value corresponding to the shared object specifically includes the following process: Obtain all shared objects of the game server, sort the shared objects in the order of storage time, calculate the time difference between two adjacent storage times after sorting to obtain the storage interval, sum up all storage intervals and take the average to obtain the average storage interval, mark it as CCT, mark the total number of shared objects as CCZ, and use the formula to obtain the management sequence value GLX corresponding to the shared object. Among them, is the average storage interval coefficient, is the total number of shared object coefficient.
[0013] Furthermore, obtaining the shared actual load value and the shared preload value of the shared initiator, and obtaining the shared characteristic coefficient of the shared initiator based on the shared actual load value and the shared preload value specifically includes the following process: Set detection points, detect the download speed of the shared initiator at the detection points when downloading encrypted data packets, construct a rectangular coordinate system with the download time of the encrypted data packet as the X-axis and the download speed at the detection points as the Y-axis, draw a constant line corresponding to the shared preload value in the rectangular coordinate system, where the shared preload value is the preset download speed when downloading encrypted data packets, connect the download speeds of each detection point with line segments to form a shared actual load broken line, calculate the area of the graph where the shared actual load broken line is above the constant line, and record this area graph as the shared actual load value; Denote the ratio of the shared actual load value to the shared preload value as the shared feature coefficient of the shared initiator.
[0014] Furthermore, the process of forming the key of the encrypted data packet from the shared feature coefficient, the co-peak value and the co-valley value of the shared initiator specifically includes the following steps: Use the hash algorithm to generate a 128-bit hash value, and obtain the co-peak value and the co-valley value of the shared initiator. Among them, the co-peak value is the maximum download speed of the shared initiator at the detection point when downloading the encrypted data packet, and the co-valley value is the minimum download speed of the shared initiator at the detection point when downloading the encrypted data packet. The key of the encrypted data packet is composed of the hash value - the shared feature coefficient - the co-peak value - the co-valley value.
[0015] On the other hand, a remote sharing system for a game server, which includes: A shared permission feature value calculation unit, which is used to obtain the sharing request of the shared initiator, obtain the shared environment data where the shared initiator is located based on the sharing request, generate a shared permission feature value based on the shared environment data, and judge whether the shared initiator meets the remote sharing requirements of the game server based on the shared permission feature value; A remote intervention management unit, which is used to perform remote intervention management analysis on the shared initiator that meets the remote sharing requirements of the game server, generate a remote intervention management value, and judge whether the shared initiator enters the sharing link based on the remote intervention management value; A data sharing unit, which is used to perform data sharing on the shared initiator that enters the sharing link: mark the data to be shared as a shared object, record the management sequence value corresponding to the shared object as a shared execution code, perform encryption and compression processing on the data to be shared to obtain an encrypted data packet, obtain the shared actual load value and the shared preload value of the shared initiator, obtain the shared feature coefficient of the shared initiator based on the shared actual load value and the shared preload value, form the key of the encrypted data packet from the shared feature coefficient, the co-peak value and the co-valley value of the shared initiator, and send the encrypted data packet, the shared execution code and the key to the shared initiator.
[0016] Compared with the existing solutions, the beneficial effects achieved by the present invention are: Based on the sharing request, the present invention obtains the shared environment data where the shared initiator is located, generates a shared permission feature value based on the shared environment data, and judges whether the shared initiator meets the remote sharing requirements of the game server based on the shared permission feature value; performs remote intervention management analysis on the shared initiator that meets the remote sharing requirements of the game server, generates a remote intervention management value, and judges whether the shared initiator enters the sharing link based on the remote intervention management value; performs data sharing on the shared initiator that enters the sharing link, which can conduct a security judgment on the sharing environment of the shared initiator, ensure the security of sharing, and improve the efficiency of shared data.
[0017] Furthermore, the present invention can reduce data latency and conflicts, strengthen network security protection, ensure the security and integrity of game data, and enhance the game experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.
[0019] Figure 1 is the flowchart of the first remote sharing method of the game server according to the embodiment of the present invention; Figure 2 is the flowchart of the second remote sharing method of the game server according to the embodiment of the present invention; Figure 3 is the flowchart of the third remote sharing method of the game server according to the embodiment of the present invention; Figure 4 is the system block diagram of a remote sharing system of the game server according to the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0021] In addition, the described features, structures, or characteristics can be combined in any suitable manner in one or more example embodiments. In the following description, many specific details are provided to give a full understanding of the example embodiments of the present disclosure. However, those skilled in the art will realize that the technical solutions of the present disclosure can be practiced by omitting one or more of the specific details, or by using other methods, components, steps, etc. In other cases, well-known structures, methods, implementations, or operations are not shown or described in detail to avoid obscuring the various aspects of the present disclosure.
[0022] This embodiment provides a remote sharing method for a game server. Figure 1 is the flowchart of the first remote sharing method of the game server according to the embodiment of the present invention. As Figure 1 shown, the method includes the following steps: Step S101: Obtain the sharing request of the sharing initiator, obtain the sharing environment data where the sharing initiator is located based on the sharing request, generate a sharing permission eigenvalue based on the sharing environment data, and determine whether the sharing initiator meets the remote sharing requirements of the game server based on the sharing permission eigenvalue; Step S102: Conduct a remote intervention management analysis on the sharing initiator that meets the remote sharing requirements of the game server, generate a remote intervention management value, and determine whether the sharing initiator enters the sharing link based on the remote intervention management value; Step S103: Perform data sharing on the sharing initiator that enters the sharing link.
[0023] Specifically, mark the data to be shared as a sharing object, record the management sequence value corresponding to the sharing object as a sharing execution code, perform encryption and compression processing on the data to be shared to obtain an encrypted data packet, obtain the sharing actual load value and sharing preload value of the sharing initiator, obtain the sharing characteristic coefficient of the sharing initiator based on the sharing actual load value and sharing preload value, use the sharing characteristic coefficient, the common peak value and common trough value of the sharing initiator to form the key of the encrypted data packet, and send the encrypted data packet, the sharing execution code and the key to the sharing initiator.
[0024] In summary, the present invention obtains the sharing environment data where the sharing initiator is located based on the sharing request, generates a sharing permission eigenvalue based on the sharing environment data, and determines whether the sharing initiator meets the remote sharing requirements of the game server based on the sharing permission eigenvalue; conducts a remote intervention management analysis on the sharing initiator that meets the remote sharing requirements of the game server, generates a remote intervention management value, and determines whether the sharing initiator enters the sharing link based on the remote intervention management value; performs data sharing on the sharing initiator that enters the sharing link, can conduct a security judgment on the sharing environment of the sharing initiator, ensure the security of sharing, and improve the efficiency of shared data.
[0025] In some embodiments, Figure 2 is the flowchart of the second remote sharing method of the game server in the embodiment of the present invention. As Figure 2 shown, generating the sharing permission eigenvalue based on the sharing environment data specifically includes the following steps: Step S201: Set a sharing permission period, and divide the sharing permission period into several sharing permission time periods. Among them, the sharing permission period is the time period between the sharing request moment and a preset moment, and the preset moment is before the sharing request moment; Step S202: Calculate the first sharing permission eigenvalue based on the sharing environment data; Step S203: Collect the load rates of the game server in each sharing permission time period within the sharing permission period, respectively count the number of normal load rates and abnormal load rates within the sharing permission time period, and record the ratio of the two as the second sharing coefficient; Specifically, set the marginal value of the game server load rate. When the load rate is less than the marginal value of the game server load rate, mark this load rate as the normal load rate. When the load rate is greater than the marginal value of the game server load rate, mark this load rate as the abnormal load rate; Step S204: Obtain a number of second sharing permission coefficients within the sharing permission period. Use the second sharing permission coefficient as the X-axis and the execution time of the sharing permission period as the Y-axis to construct a rectangular coordinate system. Mark all the second sharing permission coefficients as points in the rectangular coordinate system, connect the adjacent points in the rectangular coordinate system, generate a second sharing permission curve, draw perpendicular lines from both ends of the second sharing permission curve to the X-axis to obtain two starting and ending line segments. The closed figure formed by the second sharing permission curve, the two starting and ending line segments, and the X-axis is marked as the second sharing permission eigenvalue; Step S205: Multiply the first sharing permission eigenvalue and the second sharing permission eigenvalue by their corresponding weight coefficients respectively, sum the two products obtained, and record the sum value as the sharing permission eigenvalue.
[0026] In some embodiments, in step S202, Figure 3 is the flowchart of the working process of the third remote sharing method for the game server in the embodiments of the present invention. As Figure 3 shown, calculating the first sharing permission eigenvalue based on the shared environment data specifically includes the following steps: Step S301: Based on the shared environment data, obtain the IP address information of the sharing initiator, the node coding information of the sharing initiator, and the shared geographical location of the sharing initiator, and determine whether there are abnormalities in the IP address information of the sharing initiator, the node coding information of the sharing initiator, and the shared geographical location of the sharing initiator. If so, set an abnormal parameter , if not, do not set an abnormal parameter ; Step S302: Based on the shared environment data, obtain the number of abnormal network delay moments of the sharing initiator within the sharing permission period , where the abnormal network delay moment is the moment when the network delay of the sharing initiator exceeds the preset network delay threshold; Step S303: Obtain the operation timestamp T0 of the sharing initiator sending the sharing request and the moment T1 when the game server receives the sharing request, and calculate the time period T from moment T0 to moment T1; Step S304: Substitute the abnormal parameter , the number of abnormal network delay moments and the time period T into the correlation formula to calculate the first sharing permission eigenvalue , and the correlation formula is as follows: ; Among them, , are weighting factors, is the bandwidth of the sharing initiator, and E is a preset bandwidth constant.
[0027] Furthermore, determining whether there are abnormalities in the IP address information of the sharing initiator, the node coding information of the sharing initiator, and the shared geographical location of the sharing initiator specifically includes the following process: Determine whether the IP address information of the sharing initiator is consistent with the registered IP address information. If so, it is determined that the IP address information of the sharing initiator has no abnormality. If not, it is determined that the IP address information of the sharing initiator has an abnormality; determine whether the node coding information of the sharing initiator is consistent with the registered node coding information. If so, it is determined that the node coding information of the sharing initiator has no abnormality. If not, it is determined that the node coding information of the sharing initiator has no abnormality; determine whether the shared geographical location of the sharing initiator is the registered shared geographical location. If so, it is determined that the shared geographical location of the sharing initiator has no abnormality. If not, it is determined that the shared geographical location of the sharing initiator has an abnormality.
[0028] Furthermore, determining whether the sharing initiator meets the requirements for remote sharing of the game server based on the sharing permission eigenvalue specifically includes the following process: Load the sharing permission eigenvalue threshold, and determine whether the sharing permission eigenvalue exceeds the preset sharing permission eigenvalue threshold. If so, it is determined that the sharing initiator does not meet the requirements for remote sharing of the game server. If not, it is determined that the sharing initiator meets the requirements for remote sharing of the game server.
[0029] In some embodiments, performing remote intervention management analysis on the sharing initiator that meets the requirements for remote sharing of the game server and generating a remote intervention management value specifically includes the following process: Construct a judgment matrix: Determine the number of influencing factors related to remote intervention management , construct a set of game server remote sharing security factors , , among which, is a subset of the success rate of the game server in resisting network attacks, is a subset of the game server load rate, is a subset of the abnormal probability of the game server, is a subset of the game server crash rate. Take two subsets at the same level from the set for comparison, use to represent the ratio of importance, and assign the corresponding importance according to a preset ratio. Combine the importance of each layer to form a judgment matrix; Calculate the maximum eigenvalue of the judgment matrix: ; Among them, is a matrix obtained by normalizing each column vector of the judgment matrix, The value of is for the matrix After adding the elements row by row to obtain a vector and then normalizing it, is for the matrix After adding the elements column by column to obtain a vector and then normalizing it; Calculate the consistency index : ; Among them, represents the order of the judgment matrix; Denote the value as the remote intervention management value.
[0030] In some embodiments, obtaining the management sequence value corresponding to the shared object specifically includes the following process: Obtain all shared objects of the game server, sort the shared objects in the order of storage time, calculate the time difference between two adjacent storage times after sorting to obtain the storage interval, sum up all storage intervals and take the average value to obtain the average storage interval, and mark it as CCT, mark the total number of shared objects as CCZ, and use the formula , to obtain the management sequence value GLX corresponding to the shared object, where is the average storage interval coefficient, is the total number of shared object coefficient.
[0031] In some embodiments, obtaining the shared actual load value and the shared preload value of the shared initiator, and obtaining the shared characteristic coefficient of the shared initiator based on the shared actual load value and the shared preload value specifically includes the following process: Set a detection point, detect the download speed of the shared initiator at the detection point when downloading the encrypted data packet, use the download time of the encrypted data packet as the X-axis and the download speed at the detection point as the Y-axis to construct a rectangular coordinate system, draw a constant line corresponding to the shared preload value in the rectangular coordinate system, where the shared preload value is the preset download speed when downloading the encrypted data packet, connect the download speeds of each detection point with line segments to form a shared actual load broken line, calculate the area of the graph where the shared actual load broken line is above the constant line, and denote this area graph as the shared actual load value; Denote the ratio of the shared actual load value to the shared preload value as the shared characteristic coefficient of the shared initiator.
[0032] In some embodiments, the process of forming the key of the encrypted data packet from the shared feature coefficient, the common peak value and the common valley value of the shared initiator specifically includes the following steps: Use a hashing algorithm to generate a 128-bit hash value, and obtain the common peak value and the common valley value of the shared initiator. Among them, the common peak value is the maximum download speed of the shared initiator at the detection point when downloading the encrypted data packet, and the common valley value is the minimum download speed of the shared initiator at the detection point when downloading the encrypted data packet. The key of the encrypted data packet is composed of the hash value - the shared feature coefficient - the common peak value - the common valley value.
[0033] In some embodiments, Figure 4 is a system block diagram of a remote sharing system of a game server according to an embodiment of the present invention. As Figure 4 shown, the system includes: A shared permission feature value calculation unit, configured to obtain a shared request of the shared initiator, obtain shared environment data where the shared initiator is located based on the shared request, generate a shared permission feature value based on the shared environment data, and determine whether the shared initiator meets the requirements for remote sharing of the game server based on the shared permission feature value; A remote intervention management unit, configured to perform remote intervention management analysis on the shared initiator that meets the requirements for remote sharing of the game server, generate a remote intervention management value, and determine whether the shared initiator enters the sharing link based on the remote intervention management value; A data sharing unit, configured to perform data sharing on the shared initiator that enters the sharing link: mark the data to be shared as a shared object, record the management sequence value corresponding to the shared object as a shared execution code, perform encryption and compression processing on the data to be shared to obtain an encrypted data packet, obtain the shared actual load value and the shared preload value of the shared initiator, obtain the shared feature coefficient of the shared initiator based on the shared actual load value and the shared preload value, form the key of the encrypted data packet from the shared feature coefficient, the common peak value and the common valley value of the shared initiator, and send the encrypted data packet, the shared execution code and the key to the shared initiator.
[0034] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more collections of available media. The available media can be magnetic media (such as floppy disks, hard disks, magnetic tapes), optical media (such as DVDs), or semiconductor media. The semiconductor media can be a solid-state drive.
[0035] Those of ordinary skill in the art will realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present application.
[0036] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be described herein again.
[0037] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only for some logical function divisions, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical, or other forms.
[0038] The unit described as a separation component may or may not be physically separated. The component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0039] As described above, the above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A remote sharing method of a game server, characterized in that: Methods include: Obtaining a sharing request from a sharing initiator, obtaining sharing environment data of the sharing initiator based on the sharing request, generating a sharing permission characteristic value based on the sharing environment data, and determining whether the sharing initiator meets the remote sharing requirements of the game server based on the sharing permission characteristic value; Perform remote intervention management analysis on the sharing initiator that meets the remote sharing requirements of the game server, generate a remote intervention management value, and determine whether the sharing initiator enters the sharing link based on the remote intervention management value; Data is shared with the sharing initiator who enters the sharing link: the data to be shared is marked as a shared object, the management sequence value corresponding to the shared object is recorded as a shared execution code, the data to be shared is encrypted and compressed to obtain an encrypted data packet, the shared actual load value and the shared preload value of the sharing initiator are obtained, and the shared characteristic coefficient of the sharing initiator is obtained based on the shared actual load value and the shared preload value. The key of the encrypted data packet is composed of the shared characteristic coefficient, the common peak value and the common valley value of the sharing initiator, and the encrypted data packet, the shared execution code and the key are sent to the sharing initiator.
2. The remote sharing method of the game server according to claim 1, characterized in that: Generating a shared license feature value based on shared environment data specifically includes the following process: Setting a sharing permission period, and dividing the sharing permission period into a number of sharing permission time periods, wherein the sharing permission period is a period between a sharing request moment and a preset moment, and the preset moment is before the sharing request moment; Calculate and obtain a first shared permission characteristic value based on the shared environment data; Collect the load rate of the game server in each shared license period within the shared license cycle, set the marginal value of the game server load rate, when the load rate is less than the marginal value of the game server load rate, mark the load rate as a normal load rate, when the load rate is greater than the marginal value of the game server load rate, mark the load rate as an abnormal load rate, count the number of normal load rates and abnormal load rates in the shared license period, and record the ratio of the two as the second shared license coefficient; Obtain several second shared permission coefficients within the shared permission period, construct a rectangular coordinate system with the second shared permission coefficient as the X-axis and the execution time of the shared permission period as the Y-axis, mark all the second shared permission coefficients in the rectangular coordinate system in the form of points, connect adjacent points in the rectangular coordinate system to generate a second shared permission curve, draw perpendicular lines from both ends of the second shared permission curve to the X-axis to obtain two start and end line segments, and form a closed figure with the second shared permission curve, the two start and end line segments and the X-axis, and mark the total area of the closed figure as the second shared permission characteristic value; The first shared permission characteristic value and the second shared permission characteristic value are respectively multiplied by their corresponding weight coefficients, and the two products are summed, and the sum is recorded as the shared permission characteristic value.
3. The remote sharing method of the game server according to claim 2, characterized in that: The first shared permission characteristic value is calculated based on the shared environment data. The process includes: Based on the shared environment data, the IP address information, node coding information and shared geographic location of the sharing initiator are obtained, and the sharing initiator's IP address information, node coding information and shared geographic location are judged to see whether there are any abnormalities. If so, the abnormal parameters are set. If not, no exception parameters are set. ; Based on the shared environment data, obtain the number of abnormal network delays of the sharing initiator within the sharing permission period , wherein the abnormal network delay moment is the moment when the network delay of the sharing initiator exceeds a preset network delay threshold; Obtain the operation timestamp T0 of the sharing initiator sending the sharing request and the time T1 when the game server receives the sharing request, and calculate the time period T from time T0 to time T1; The exception parameter , the number of abnormal network delay moments Substitute the time period T into the association formula to calculate the first shared permission characteristic value , the association formula is as follows: ; in, , is the weight factor, is the bandwidth of the shared initiator, and E is the preset bandwidth constant.
4. The remote sharing method of a game server according to claim 1, characterized in that: The following process is specifically involved in judging whether there are any abnormalities in the IP address information, node coding information and shared geographic location of the sharing initiator: Determine whether the IP address information of the sharing initiator is consistent with the registered IP address information. If so, determine that there is no abnormality in the IP address information of the sharing initiator; if not, determine that there is an abnormality in the IP address information of the sharing initiator; determine whether the node coding information of the sharing initiator is consistent with the registered node coding information. If so, determine that there is no abnormality in the node coding information of the sharing initiator; if not, determine that there is no abnormality in the node coding information of the sharing initiator; determine whether the shared geographic location of the sharing initiator is the registered shared geographic location. If so, determine that there is no abnormality in the shared geographic location of the sharing initiator; if not, determine that there is an abnormality in the shared geographic location of the sharing initiator.
5. The remote sharing method of a game server according to claim 1, characterized in that: Judging whether the sharing initiator meets the remote sharing requirements of the game server based on the sharing permission characteristic value specifically includes the following process: Load the sharing permission characteristic value threshold, determine whether the sharing permission characteristic value exceeds the preset sharing permission characteristic value threshold, if so, determine that the sharing initiator does not meet the remote sharing requirements of the game server, if not, determine that the sharing initiator meets the remote sharing requirements of the game server.
6. The remote sharing method of a game server according to claim 1, characterized in that: The remote intervention management analysis is performed on the sharing initiator that meets the remote sharing requirements of the game server, and the remote intervention management value is generated, which specifically includes the following processes: Constructing a judgment matrix: Determining the number of influencing factors related to remote intervention management , build a remote shared security factor collection for game servers , ,in, A subset of the success rate of defending the game server against network attacks, is the game server load rate subset, is the abnormal probability subset of the game server, is the game server crash rate subset, from the set Take out two subsets in the same level and compare them, using It represents the ratio of importance, and assigns the corresponding importance according to the preset ratio, and combines the importance of each layer to form a judgment matrix; Calculate the maximum eigenvalue of the judgment matrix : ; in, is the matrix obtained by normalizing each column vector of the judgment matrix. The value of is 1,2...m, For the matrix The elements of are added row by row to obtain the vector and then normalized into a matrix. For the matrix Add the elements of column by column to obtain the vector and then normalize the matrix; Calculate consistency index : ; in, Indicates the order of the judgment matrix; Will The value is recorded as the remote intervention management value.
7. The remote sharing method of a game server according to claim 1, characterized in that: Obtaining the management sequence value corresponding to the shared object specifically includes the following process: Get all shared objects of the game server, sort the shared objects in the order of storage time, calculate the time difference between two adjacent storage times after sorting, get the storage interval, sum up all storage intervals and take the average, get the average storage interval, and mark it as CCT, mark the total number of shared objects as CCZ, and use the formula , get the management sequence value GLX corresponding to the shared object, where is the average storage interval coefficient, is the coefficient of the total number of shared objects.
8. The remote sharing method of a game server according to claim 1, characterized in that: Get the actual shared load value and pre-shared load value of the sharing initiator, and obtain the specific shared characteristic coefficient of the sharing initiator based on the actual shared load value and pre-shared load value. The process includes: Set a detection point to detect the download speed of the sharing initiator at the detection point when downloading the encrypted data packet, construct a rectangular coordinate system with the download time of the encrypted data packet as the X-axis and the download speed of the detection point as the Y-axis, draw a constant straight line corresponding to the shared preload value in the rectangular coordinate system, where the shared preload value is the preset download speed when downloading the encrypted data packet, connect the download speeds of each detection point with a line segment to form a shared actual load polyline, calculate the graphic area of the shared actual load polyline above the constant straight line, and record the area graphic as the shared actual load value; The ratio of the shared actual load value to the shared preload value is recorded as the shared characteristic coefficient of the sharing initiator.
9. The remote sharing method of a game server according to claim 1, characterized in that: The key of the encrypted data packet is formed by the shared characteristic coefficient, the common peak value and the common valley value of the shared initiator, which specifically includes the following process: A hash algorithm is used to generate a 128-bit hash value, and the common peak value and common valley value of the sharing initiator are obtained, where the common peak value is the maximum download speed of the sharing initiator at the detection point when downloading the encrypted data packet, and the common valley value is the minimum download speed of the sharing initiator at the detection point when downloading the encrypted data packet. The key of the encrypted data packet is composed of hash value-shared characteristic coefficient-common peak value-common valley value.
10. A remote sharing system for a game server, characterized in that: A remote sharing method for a game server applicable to any one of claims 1 to 9, the system comprising: A sharing permission characteristic value calculation unit, used to obtain a sharing request from a sharing initiator, obtain sharing environment data where the sharing initiator is located based on the sharing request, generate a sharing permission characteristic value based on the sharing environment data, and determine whether the sharing initiator meets the remote sharing requirements of the game server based on the sharing permission characteristic value; A remote intervention management unit, used to perform remote intervention management analysis on a sharing initiator that meets the remote sharing requirements of the game server, generate a remote intervention management value, and determine whether the sharing initiator enters the sharing link based on the remote intervention management value; A data sharing unit is used to share data with a sharing initiator that enters the sharing link: the data to be shared is marked as a shared object, the management sequence value corresponding to the shared object is recorded as a shared execution code, the data to be shared is encrypted and compressed to obtain an encrypted data packet, the shared actual load value and the shared preload value of the sharing initiator are obtained, and the shared characteristic coefficient of the sharing initiator is obtained based on the shared actual load value and the shared preload value. The key of the encrypted data packet is composed of the shared characteristic coefficient, the common peak value and the common valley value of the sharing initiator, and the encrypted data packet, the shared execution code and the key are sent to the sharing initiator.