CN106656780B - Data configuration method and device of virtual gateway - Google Patents

Data configuration method and device of virtual gateway Download PDF

Info

Publication number
CN106656780B
CN106656780B CN201710114312.9A CN201710114312A CN106656780B CN 106656780 B CN106656780 B CN 106656780B CN 201710114312 A CN201710114312 A CN 201710114312A CN 106656780 B CN106656780 B CN 106656780B
Authority
CN
China
Prior art keywords
processing
virtual
core
data
user data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710114312.9A
Other languages
Chinese (zh)
Other versions
CN106656780A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201710114312.9A priority Critical patent/CN106656780B/en
Publication of CN106656780A publication Critical patent/CN106656780A/en
Application granted granted Critical
Publication of CN106656780B publication Critical patent/CN106656780B/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
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The invention provides a data configuration method and a device of a virtual gateway, wherein the virtual gateway comprises the following steps: a plurality of virtual processing cores and a temporary processing core, the method comprising: acquiring actual data processing resources for processing user data by the virtual processing core; and configuring the user data of the virtual processing core according to the temporary processing core and the actual data processing resources. The data configuration method and the device of the virtual gateway provided by the invention effectively avoid the phenomenon that the processing capacity of the virtual core is wasted in different time periods, and can also effectively ensure the normal operation of the data processing of the user by the virtual processing core when the user service is concentrated, thereby ensuring the normal operation of the user service, further improving the practicability of the data configuration method and being beneficial to the popularization and the application of the market.

Description

Data configuration method and device of virtual gateway
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a data configuration method and device of a virtual gateway.
Background
With the continuous development of scientific technology, broadband customer premises equipment (vCPE) becomes mature step by step, and more new service functions are deployed to the network side. Evaluation of the processing power and price of the network side server will be the key to deciding the success of the vCPE.
At present, a virtual machine technology is used, a processor of a server is divided into 8, 16 or 32 virtual processing cores, each core is evenly distributed according to geographical positions to process a certain number of users (for example, 5000), if each virtual core processes 500 users, one virtual core a provides services for a residential area according to a physical address, and one virtual core B provides services for an office building according to a physical address (assuming that all users are 800 users), according to a normal usage rule, the processing capacity of the virtual core a is tense at 7 to 12 o' clock in the evening, so that only 500 users can be processed, and the processing capacity of only 100 users is generally processed at other time; in contrast, virtual core B processes 500 users from 9 am to 5 pm, and only 100 users at other times.
However, in the process of implementing the technical scheme, the following defects are found in the prior art: the usage frequency of different users cannot be balanced (for example, the daily usage time of some users is 8 hours, and only a few users are 3 hours), and then the time latitude of the processing capacity cannot be effectively allocated, so that the processing capacity in different time periods is wasted, and when the user service is concentrated, the normal operation of the user data service cannot be guaranteed.
Disclosure of Invention
Embodiments of the present invention provide a data configuration method and apparatus for a virtual gateway, which can effectively overcome the problems in the prior art that processing capabilities in different time periods are wasted, and normal operation of user data services cannot be guaranteed even when user services are relatively centralized.
An aspect of an embodiment of the present invention provides a data configuration method for a virtual gateway, where the virtual gateway includes: a plurality of virtual processing cores and a temporary processing core, the method comprising:
acquiring actual data processing resources for processing user data by the virtual processing core;
and configuring the user data of the virtual processing core according to the temporary processing core and the actual data processing resources.
Another aspect of the embodiments of the present invention provides a data configuration apparatus for a virtual gateway, where the virtual gateway includes: a plurality of virtual processing cores and a temporary processing core, the apparatus comprising:
the acquisition module is used for acquiring actual data processing resources for processing the user data by the virtual processing core;
and the configuration module is used for configuring the user data of the virtual processing core according to the temporary processing core and the actual data processing resources.
According to the data configuration method and device of the virtual gateway, the actual data processing resource for processing the user data by the virtual processing core is obtained, then the processing capacity for processing the user service by the virtual processing core can be accurately judged according to the actual data processing resource, the processing capacity of the virtual processing core is confirmed, and the user data of the virtual processing core is comprehensively configured by combining temporary processing and checking, so that the phenomenon that the processing capacity of the virtual core is wasted in different time periods is effectively avoided, and when the user service is concentrated, the normal operation of the user data processing by the virtual processing core can be effectively ensured, the normal operation of the user service is ensured, the practicability of the data configuration method is improved, and the popularization and application of the market are facilitated.
Drawings
Fig. 1 is a schematic flowchart of a data configuration method for a virtual gateway according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a data configuration method for a virtual gateway according to another embodiment of the present invention;
fig. 3 is a schematic flowchart of a data configuration method for a virtual gateway according to another embodiment of the present invention;
fig. 4 is a schematic flowchart of a data configuration method for a virtual gateway according to yet another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data configuration apparatus of a virtual gateway according to an embodiment of the present invention.
In the figure, the position of the upper end of the main shaft,
1. an acquisition module; 2. and configuring the module.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 is a schematic flowchart of a data configuration method for a virtual gateway according to an embodiment of the present invention; as can be seen from fig. 1, this embodiment provides a data configuration method for a virtual gateway, where the virtual gateway includes: the data configuration method is used for balancing data processing resources of the virtual processing cores to ensure normal operation of user services, and specifically, the data configuration method comprises the following steps:
s101: acquiring actual data processing resources for processing user data by a virtual processing core;
the user data is user service data received by the virtual processing core, and the virtual processing core processes the part of user data so as to ensure normal operation of user services; in addition, the actual data processing resource can be obtained by obtaining the bandwidth information and the channel resource information of the virtual processing core, and the actual data processing resource is the bandwidth resource or the channel resource occupied by the virtual processing core to normally process the user data, that is, the data processing resource required by normally processing the user data, so as to ensure the normal operation of the user service.
S102: and configuring the user data of the virtual processing core according to the temporary processing core and the actual data processing resource.
After the actual data processing resources are obtained, the actual data processing resources can be analyzed and processed, and user data of the virtual processing cores can be reconfigured according to the analysis results of the actual data processing resources and the temporary processing cores; the specific analysis processing process of the actual data processing resource may be to analyze and compare the actual data processing resource with the maximum data processing resource of the virtual processing core, or may also analyze and compare the actual data processing resource with a preset data processing resource threshold value, where the data processing resource threshold value may be 80%, 90%, or 70% of the maximum data processing resource, and the like, as long as the processing capability of the virtual processing core for processing the user data can be accurately determined according to the actual processing resource, so as to configure the user data of the virtual processing core according to the processing capability of the virtual processing core in combination with the temporary processing core, and ensure normal operation of the user service.
In the data configuration method for the virtual gateway provided by this embodiment, the actual data processing resource for processing the user data by the virtual processing core is acquired, then the processing capability of processing the user service by the virtual processing core can be accurately judged according to the actual data processing resource, and by confirming the processing capability of the virtual processing core, the user data of the virtual processing core is checked by the temporary processing core is comprehensively configured, so that the phenomenon that the processing capability of the virtual core is wasted in different time periods is effectively avoided, and when the user service is concentrated, the normal operation of processing the user data by the virtual processing core can be effectively ensured, the normal operation of the user service is ensured, and further the practicability of the data configuration method is improved, which is beneficial to popularization and application in the market.
Fig. 2 is a schematic flowchart of a data configuration method for a virtual gateway according to another embodiment of the present invention; on the basis of the foregoing embodiment, with reference to fig. 1-2, it can be seen that, in this embodiment, a specific implementation process for configuring user data of a virtual processing core according to a temporary processing core and actual data processing resources is not limited, and a person skilled in the art may set the configuration according to a specific design requirement, where preferably, the configuring of user data of a virtual processing core according to a temporary processing core and actual data processing resources specifically includes:
s1021: and if the actual processing resource is less than or equal to the preset first processing resource threshold value, acquiring a preset number of user data to be processed in the temporary processing core, and processing the acquired user data to be processed through the virtual processing core.
The first processing resource threshold may be set in advance, and a specific numerical range may be set by a person skilled in the art according to specific design requirements, for example, the first processing resource threshold may be set as a maximum processing resource threshold of the virtual processing core or as a part of the maximum processing resource threshold, and preferably, the first processing resource threshold is set as 60% of the maximum resource threshold of the virtual processing core, when the actual processing resource is less than or equal to the first processing resource threshold, it indicates that the virtual processing core still has more idle data processing resources after performing normal processing on the user data, so as to avoid waste of processing capacity, at this time, the virtual processing core may obtain other user data to be processed through the temporary processing core, so as to implement processing the obtained user data through the idle data processing resources, the effect of fully utilizing the processing capacity of the virtual processing core is effectively realized.
In addition, the specific implementation process of acquiring the preset number of pieces of to-be-processed user data in the temporary processing core is not limited in this embodiment, where preferably, the setting of acquiring the preset number of pieces of to-be-processed user data in the temporary processing core specifically includes:
s10211: determining the residual processing resources of the virtual processing core according to the actual processing resources and the first processing resource threshold value;
because the actual processing resource is less than or equal to the first processing resource threshold, the remaining processing resource, that is, the idle data resource of the virtual processing core after processing the user data, can be accurately and effectively acquired through the formula — the first processing resource threshold — the actual processing resource.
S10212: and acquiring a preset number of user data to be processed in the temporary processing core according to the residual processing resources, wherein the processing resources required by the user data to be processed are less than or equal to the residual processing resources.
In order to ensure the normal processing of the user data to be processed, the number of the user data to be processed acquired by the temporary processing core is not unlimited, but the processing resource required by the user data to be processed is smaller than or equal to the remaining processing resource, so that the processing capacity of the virtual processing core is fully utilized, the normal processing of the user data is ensured, the normal processing of the user service is further ensured, and the stability and the reliability of the data configuration method are improved.
Fig. 3 is a schematic flowchart of a data configuration method for a virtual gateway according to another embodiment of the present invention; based on the foregoing embodiment, with continued reference to fig. 1 and 3, it can be seen that the configuring, according to the temporary processing core and the actual data processing resource, the user data of the virtual processing core in this embodiment may further be specifically configured to include:
s1022: and if the actual processing resource is greater than a preset first processing resource threshold and less than or equal to a preset second processing resource threshold, storing the working time period of the virtual processing core in the working state and the user data in the working time period, wherein the second processing resource threshold is greater than the first processing resource threshold.
The first processing resource threshold and the second processing resource threshold are both preset, and a specific numerical range may be set by those skilled in the art according to specific design requirements, for example, the first processing resource threshold may be set as a part of the maximum processing resource threshold, the second processing resource threshold may be set as the maximum processing resource threshold of the virtual processing core or a part of the maximum processing resource threshold, where it should be noted that the second processing resource threshold is greater than the first processing resource threshold, and preferably, the first processing resource threshold is set as 60% of the maximum resource threshold of the virtual processing core, and the second processing resource threshold is set as 80% of the maximum resource threshold of the virtual processing core, so that, when the actual processing resource is greater than the first processing resource threshold and is less than or equal to the preset second processing resource threshold, at this time, in order to facilitate management and storage of the virtual processing core, the working time period of the virtual processing core in the working state and the user data in the working time period are stored, so as to facilitate effective control of the working state of the virtual processing core according to the time period, and further improve the practicability of the data configuration method.
Fig. 4 is a schematic flowchart of a data configuration method for a virtual gateway according to yet another embodiment of the present invention; based on the foregoing embodiment, with continued reference to fig. 1 and 4, it can be seen that the configuring, according to the temporary processing core and the actual data processing resource, the user data of the virtual processing core in this embodiment may further be specifically configured to include:
s1023: if the actual processing resource is larger than a preset second processing resource threshold value, determining the overload data processing resource of the virtual processing core according to the actual processing resource and the second processing resource threshold value;
the second processing resource threshold may be set in advance, and a specific numerical range may be set by a person skilled in the art according to specific design requirements, for example, the second processing resource threshold may be set as the maximum processing resource threshold of the virtual processing core or a part of the maximum processing resource threshold, and preferably, the second processing resource threshold is set as 80% of the maximum resource threshold of the virtual processing core, when the actual processing resource is greater than the second processing resource threshold, it indicates that the virtual processing core at this time cannot guarantee normal processing on the user data, that is, the data processing resource is insufficient, and the user data is more, at this time, in order to guarantee normal processing on the user data, the overloaded data processing resource may be accurately and effectively obtained by using a formula, that is the actual processing resource — the second processing resource threshold, the overloaded data processing resource is a data resource corresponding to the virtual processing core which cannot process the user data normally.
S1024: and sending a preset number of user data to be processed in the virtual processing core to the temporary processing core according to the overload data processing resources, wherein the processing resources required by the preset number of user data to be processed are greater than or equal to the overload data processing resources.
In order to avoid the situation of data resource waste of the virtual processing core, when the virtual processing core sends the user data to be processed to the temporary processing core, the number of the user data to be processed is not unlimited, but the processing resource required by the user data to be processed is larger than or equal to the overload data processing resource, so that the processing capacity of the virtual processing core is fully utilized, the normal operation of the user data is ensured, the normal operation of user services is further ensured, and the stability and the reliability of the data configuration method are improved.
In order to make the technical solution of the present application clearer, the following specific application examples are illustrated:
if each virtual core processes 500 users, one virtual core a provides services for a residential area according to a physical address, and one virtual core B provides services for an office building according to the physical address (assuming that all 800 users are provided), then according to a normal use rule, the virtual core a has a processing capacity shortage at 7 to 12 points at night, so that only 500 users can be processed, and the processing capacity of only 100 users is generally processed at other times; on the contrary, the virtual core B processes 500 users from 9 am to 5 pm, and only 100 users at other times; by acquiring the working state information of the virtual core A and the virtual core B, labeling users according to a time period, and reasonably distributing the users in different time periods to different virtual cores, namely dividing the virtual cores according to the use frequency and the period of the users instead of the traditional physical address, the specific analysis process comprises the following steps:
1. starting a virtual core A (assuming that the processing capacity is 500 users) initially according to user distribution, setting the number of processing users of the virtual core to be 800, and dividing an additional virtual core as a temporary processing core;
2. when the number of users is below a certain proportion (such as 80%) of 500, the virtual core A normally processes the users and marks each user according to a time period;
3. when the number of users exceeds a certain proportion (such as 80%) of 500, the virtual core A forwards users who need to be processed at the current stage and cannot be processed to the temporary processing core for processing, and the temporary processing core also marks each user according to a time period;
4. when the number of processing users of the virtual core a is lower than a certain percentage (for example, 60%, that is, the processing amount is less than 300 users), the virtual core a will call a certain number of users that need to be processed at the present stage from the temporary core (for example, 100, so that the virtual core a actually processes 600 users).
Considering a structure that a plurality of virtual cores correspond to a temporary core, the whole system structure will be in balance for a period of time with continuous calling, wherein it should be noted that all the virtual processing cores must support adding remark information to the user, so as to record and store the time period and the user data, and to know the working state of the virtual processing cores.
User name IP address A IP address B IP address C IP address D
Time period 1 (divided by 1h, 2 h) Required processing capacity 0.5 0.3 0.2 1
Time period 2 0.8 0.3 0.2. 0.7
Time period 3 1 0.4 0.3 0.3
Time period 4 1 1 0 0
Time of dayPeriod 5 0.5 1 0.3 0.2
Assuming that the processing capacity of a single virtual core is 1, 4 virtual cores are theoretically needed for 4 users, but as can be seen from the above table, 4 users can be placed in 2 virtual cores for processing through a scheduling algorithm.
The whole architecture must support the scheduling function of processing information by different virtual cores.
Virtual nucleus A Virtual nucleus B Virtual nucleus C Temporary nucleus
Time period 1 380 500 250 0
After being changed 380 400 300 50
The above table shows that, assuming that there are three virtual cores, namely virtual core a, virtual core B, and virtual core C, in a time period, the processing capabilities of the three virtual cores are obtained, and when the processing capability of virtual core B is too high (for example, 9 o' clock, many office building users corresponding to virtual core B are working, and the processing capability in a short time is rapidly improved), then virtual core B transfers a part of users to temporary core processing, and the processing capability of virtual core C is too low, then temporary core transfers 50 users that need to be processed at this time to virtual core C, so that users in time period 1 are reduced in virtual core B, and virtual core C obtains a part of users (i.e. a part of office building users are transferred to virtual core C originally facing residential area processing through temporary core), thereby implementing optimization and avoiding the phenomenon that the processing capabilities of virtual cores are wasted in different time periods, and when the user service is concentrated, the normal operation of the user data processing can be effectively ensured to be checked by the virtual processing, and the normal operation of the user service is ensured.
Fig. 5 is a schematic structural diagram of a data configuration device of a virtual gateway according to an embodiment of the present invention, and it can be seen with reference to fig. 5 that the present embodiment provides a data configuration device of a virtual gateway, where the virtual gateway includes: the data configuration device is used for balancing the processing capacity of the virtual processing cores, and specifically, the device comprises:
the system comprises an acquisition module 1, a virtual processing core and a virtual processing core, wherein the acquisition module is used for acquiring actual data processing resources for processing user data by the virtual processing core;
and the configuration module 2 is used for configuring the user data of the virtual processing core according to the temporary processing core and the actual data processing resource.
In this embodiment, specific shape and structure of the obtaining module 1 and the configuring module 2 are not limited, and a person skilled in the art may arbitrarily set the obtaining module and the configuring module according to the functional steps implemented by the obtaining module and the configuring module, as long as the operation steps can be implemented, which is not described herein again; in addition, the specific implementation process and the achievable functional effect of the operation steps implemented by the obtaining module 1 and the configuring module 2 in this embodiment are the same as the specific implementation process and the achievable functional effect of the steps S101 to S102 in the foregoing embodiment, and the above statements may be specifically referred to, and are not repeated herein.
The data configuration device of the virtual gateway provided by this embodiment acquires, by the acquisition module 1, an actual data processing resource for processing the user data checked by the virtual processing, and then the configuration module 2 can accurately judge the processing capability of the user service checked by the virtual processing according to the actual data processing resource, and by confirming the processing capability of the virtual processing core, the user data checked by the virtual processing core is combined with the temporary processing to perform comprehensive configuration, thereby effectively avoiding the phenomenon that the processing capability of the virtual core is wasted in different time periods, and when the user service is relatively centralized, the normal operation of the user data processing checked by the virtual processing can be effectively ensured, the normal operation of the user service is ensured, further the practicability of the data configuration device is improved, and the popularization and application of the market are facilitated.
Based on the foregoing embodiment, with reference to fig. 5, it can be seen that in this embodiment, a specific implementation process of configuring, by the configuration module 2, the user data of the virtual processing core according to the temporary processing core and the actual data processing resource is not limited, and a person skilled in the art may set the configuration module 2 according to a specific design requirement, where it is preferable that:
and if the actual processing resource is less than or equal to the preset first processing resource threshold value, acquiring a preset number of user data to be processed in the temporary processing core, and processing the acquired user data to be processed through the virtual processing core.
Further, the configuration module 2 is specifically configured to:
determining the residual processing resources of the virtual processing core according to the actual processing resources and the first processing resource threshold value;
and acquiring a preset number of user data to be processed in the temporary processing core according to the residual processing resources, wherein the processing resources required by the user data to be processed are less than or equal to the residual processing resources.
The specific implementation process and the achievable functional effects of the operation steps implemented by the configuration module 2 in this embodiment are the same as the specific implementation processes and the achievable functional effects of steps S1021 and S10211-S10212 in the above embodiment, and specific reference may be made to the above statements, and details are not described here again.
On the basis of the foregoing embodiment, as can be seen with reference to fig. 5, in this embodiment, the configuration module 2 may be further configured to:
and if the actual processing resource is greater than a preset first processing resource threshold and less than or equal to a preset second processing resource threshold, storing the working time period of the virtual processing core in the working state and the user data in the working time period, wherein the second processing resource threshold is greater than the first processing resource threshold.
The specific implementation process and the achievable functional effect of the operation step implemented by the configuration module 2 in this embodiment are the same as the specific implementation process and the achievable functional effect of the step S1022 in the above embodiment, and the above statements may be specifically referred to, and are not described herein again.
On the basis of the foregoing embodiment, with reference to fig. 5, further, the configuration module 2 may be further configured to specifically:
if the actual processing resource is larger than a preset second processing resource threshold value, determining the overload data processing resource of the virtual processing core according to the actual processing resource and the second processing resource threshold value;
and sending a preset number of user data to be processed in the virtual processing core to the temporary processing core according to the overload data processing resources, wherein the processing resources required by the preset number of user data to be processed are greater than or equal to the overload data processing resources.
The specific implementation process and the achievable functional effects of the operation steps implemented by the configuration module 2 in this embodiment are the same as the specific implementation processes and the achievable functional effects of the steps S1023 to S1024 in the above embodiment, and specific reference may be made to the above statements, which are not described herein again.
The data configuration apparatus for a virtual gateway provided in this embodiment guarantees normal operation of user data while guaranteeing full utilization of processing capability of a virtual processing core, thereby further guaranteeing normal operation of user services, and improving stability and reliability of use of the data configuration apparatus.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1. A data configuration method of a virtual gateway is characterized in that the virtual gateway comprises the following steps: a plurality of virtual processing cores and a temporary processing core, the method comprising:
acquiring actual data processing resources for processing user data by the virtual processing core;
configuring the user data of the virtual processing core according to the temporary processing core and the actual data processing resources;
the configuring, according to the temporary processing core and the actual data processing resource, user data of the virtual processing core includes:
if the actual data processing resource is smaller than or equal to a preset first processing resource threshold value, acquiring a preset number of user data to be processed in the temporary processing core, and processing the acquired user data to be processed through the virtual processing core;
if the actual data processing resource is greater than a preset first processing resource threshold and less than or equal to a preset second processing resource threshold, storing the working time period of the virtual processing core and the user data in the working time period in a working state that the actual data processing resource is greater than the preset first processing resource threshold and less than or equal to the preset second processing resource threshold, wherein the second processing resource threshold is greater than the first processing resource threshold.
2. The method according to claim 1, wherein the acquiring of the preset number of to-be-processed user data in the temporary processing core specifically includes:
determining the residual processing resources of the virtual processing core according to the actual data processing resources and the first processing resource threshold value;
and acquiring a preset number of to-be-processed user data in the temporary processing core according to the residual processing resources, wherein the processing resources required by the to-be-processed user data are less than or equal to the residual processing resources.
3. The method according to claim 1, wherein configuring the user data of the virtual processing core according to the temporary processing core and the actual data processing resource includes:
if the actual data processing resource is larger than a preset second processing resource threshold value, determining the overload data processing resource of the virtual processing core according to the actual data processing resource and the second processing resource threshold value;
and sending a preset number of user data to be processed in the virtual processing core to the temporary processing core according to the overload data processing resources, wherein the processing resources required by the preset number of user data to be processed are greater than or equal to the overload data processing resources.
4. A data configuration apparatus of a virtual gateway, wherein the virtual gateway comprises: a plurality of virtual processing cores and a temporary processing core, the apparatus comprising:
the acquisition module is used for acquiring actual data processing resources for processing the user data by the virtual processing core;
the configuration module is used for configuring the user data of the virtual processing core according to the temporary processing core and the actual data processing resources;
wherein the configuration module is specifically configured to:
if the actual data processing resource is smaller than or equal to a preset first processing resource threshold value, acquiring a preset number of user data to be processed in the temporary processing core, and processing the acquired user data to be processed through the virtual processing core;
if the actual data processing resource is greater than a preset first processing resource threshold and less than or equal to a preset second processing resource threshold, storing the working time period of the virtual processing core and the user data in the working time period in a working state that the actual data processing resource is greater than the preset first processing resource threshold and less than or equal to the preset second processing resource threshold, wherein the second processing resource threshold is greater than the first processing resource threshold.
5. The apparatus of claim 4, wherein the configuration module is specifically configured to:
determining the residual processing resources of the virtual processing core according to the actual data processing resources and the first processing resource threshold value;
and acquiring a preset number of to-be-processed user data in the temporary processing core according to the residual processing resources, wherein the processing resources required by the to-be-processed user data are less than or equal to the residual processing resources.
6. The apparatus of claim 4, wherein the configuration module is specifically configured to:
if the actual data processing resource is larger than a preset second processing resource threshold value, determining the overload data processing resource of the virtual processing core according to the actual data processing resource and the second processing resource threshold value;
and sending a preset number of user data to be processed in the virtual processing core to the temporary processing core according to the overload data processing resources, wherein the processing resources required by the preset number of user data to be processed are greater than or equal to the overload data processing resources.
CN201710114312.9A 2017-02-28 2017-02-28 Data configuration method and device of virtual gateway Active CN106656780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710114312.9A CN106656780B (en) 2017-02-28 2017-02-28 Data configuration method and device of virtual gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710114312.9A CN106656780B (en) 2017-02-28 2017-02-28 Data configuration method and device of virtual gateway

Publications (2)

Publication Number Publication Date
CN106656780A CN106656780A (en) 2017-05-10
CN106656780B true CN106656780B (en) 2020-07-28

Family

ID=58847703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710114312.9A Active CN106656780B (en) 2017-02-28 2017-02-28 Data configuration method and device of virtual gateway

Country Status (1)

Country Link
CN (1) CN106656780B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488216B (en) * 2019-01-28 2024-04-30 北京灵汐科技有限公司 Data processing method and device and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8862738B2 (en) * 2010-10-18 2014-10-14 International Business Machines Corporation Reallocating resource capacity among resource pools in a cloud computing environment
US8806503B2 (en) * 2011-01-24 2014-08-12 Nec Laboratories America, Inc. Method and system for memory aware runtime to support multitenancy in heterogeneous clusters
CN104683428B (en) * 2013-11-26 2019-02-19 华为技术有限公司 Network service processing method and device
CN103744735B (en) * 2014-01-09 2017-07-25 福建星网锐捷网络有限公司 The dispatching method and device of a kind of multi-core resource
CN104951369B (en) * 2014-03-28 2018-06-05 华为技术有限公司 The method and apparatus for eliminating hot point resource competition
CN104102543B (en) * 2014-06-27 2018-09-11 北京奇艺世纪科技有限公司 The method and apparatus of adjustment of load in a kind of cloud computing environment
CN106201711B (en) * 2016-06-29 2019-07-26 联想(北京)有限公司 A kind of task processing method and server

Also Published As

Publication number Publication date
CN106656780A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
Wang et al. Dominant resource fairness in cloud computing systems with heterogeneous servers
US9201686B2 (en) Task execution by idle resources in grid computing system
CN107426274B (en) Method and system for service application and monitoring, analyzing and scheduling based on time sequence
Nir et al. An energy optimizing scheduler for mobile cloud computing environments
KR20150054998A (en) Method and apparatus for automated deployment of geographically distributed applications within a cloud
CN104380277A (en) Method, system, and device for managing server hardware resources in a cloud scheduling environment
CN105791254B (en) Network request processing method and device and terminal
CN115328663A (en) Method, device, equipment and storage medium for scheduling resources based on PaaS platform
CN104348798B (en) A kind of method, apparatus, dispatch server and system for distributing network
WO2020119060A1 (en) Method and system for scheduling container resources, server, and computer readable storage medium
WO2014194704A1 (en) A grouping processing method and system
CN103414657A (en) Cross-data-center resource scheduling method, super scheduling center and system
CN110149377A (en) A kind of video service node resource allocation methods, system, device and storage medium
CN104202305B (en) A kind of trans-coding treatment method, device and server
CN108924203B (en) Data copy self-adaptive distribution method, distributed computing system and related equipment
CN111092921A (en) Data acquisition method, device and storage medium
JP2016119583A (en) Ip telephone network system, server, ip exchange unit and resource capacity expansion method
CN103530335A (en) In-stockroom operation method and device of electric power measurement acquisition system
CN106656780B (en) Data configuration method and device of virtual gateway
CN110519317B (en) Data transmission method and equipment
US20190042294A1 (en) System and method for implementing virtualized network functions with a shared memory pool
KR20170014804A (en) Virtual machine provisioning system and method for cloud service
US20150212834A1 (en) Interoperation method of newtork device performed by computing device including cloud operating system in could environment
CN103973811A (en) High-availability cluster management method capable of conducting dynamic migration
EP3038306B1 (en) Load balancing method and system

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