Component category identification method, device and computer equipment
By testing and calculating the operating parameters of components in a 5G environment in a 4G environment, the problems of component transmission timeout in a 4G environment and difficult to test parameters in a 5G environment are solved, and the accurate identification of component categories and efficiency improvements are achieved.
Patent Information
- Application Number
- CN202010123863.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-27
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2040-02-27
AI Technical Summary
In a 4G environment, components cannot operate normally due to transmission timeout, and component parameters running in a 5G environment are difficult to test and determine, resulting in difficulty in identifying component categories.
By obtaining the target operation parameter set of target components in the 5G environment and the test operation parameter set of test operation parameter set in the 4G environment, the test operation parameter set of components in the 5G environment is calculated, and the category of components is determined based on these parameters.
It realizes the identification of component categories without relying on 5G environments, simplifies the comparison of operating parameters of components in different network environments, and improves the efficiency and accuracy of component identification.
Smart Images

Figure CN113259963B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communication technology, and in particular to a component category identification method, device and computer equipment. Background Art
[0002] Many components in the terminal device need to communicate with the server. The component sends the relevant data to the server through the wireless network. The server processes the relevant data and returns the execution result to the component. In this process, due to the large amount of data that needs to be transmitted by the wireless network, if the 4G network is used for transmission, it will often cause transmission timeouts and the business process cannot continue to execute, or the execution results will be seriously distorted due to transmission timeouts. The data transmission speed of the 5G network is much faster than that of the 4G network. Therefore, although transmission timeouts may occur through the 4G network, such problems may not occur when transmitting through the 5G network.
[0003] That is to say, the same component can run well in a 4G environment and can also run well in a 5G environment. However, a component that can run well in a 5G environment may not run well in a 4G environment due to timeout. Therefore, a method is urgently needed to identify the category of the component.
[0004] Furthermore, 5G technology has not yet been fully popularized. It is very inconvenient to test the various parameters of components running in a 5G environment. It is even more difficult to determine whether a component is a 5G component by testing the various parameters of components running in a 5G environment. Summary of the invention
[0005] Based on this, it is necessary to propose a component category identification method, device and computer equipment that do not rely on the 5G environment to identify component categories in order to address the above problems.
[0006] A method for identifying a component category, the method comprising:
[0007] Obtain a target operating parameter set of a target component in a 5G environment, wherein the target operating parameter set includes multiple target operating parameters;
[0008] Obtaining a test running parameter set of the target component in a 4G environment;
[0009] Calculate the test operation parameter set of the target component in the 5G environment according to the test operation parameter set of the target component in the 4G environment;
[0010] Determine the category of the target component according to the test operation parameter set of the target component in the 5G environment and the target operation parameter set.
[0011] In one embodiment, the multiple target operating parameters include data communication duration, response delay and maximum moving speed.
[0012] In one embodiment, the test operation parameter set of the target component in the 5G environment is calculated based on the test operation parameter set of the target component in the 4G environment, including: calculating the data communication duration of the target component in the 5G environment based on the data communication duration of the target component in the 4G environment; calculating the response delay of the target component in the 5G environment based on the response delay of the target component in the 4G environment; and calculating the maximum moving speed of the target component in the 5G environment based on the maximum moving speed of the target component in the 4G environment.
[0013] In one embodiment, obtaining the test operation parameter set of the target component in the 4G environment includes: obtaining the maximum data transmission volume of the target component in the 4G environment; obtaining a reference network speed corresponding to the 4G environment; and determining the data communication duration of the target component in the 4G environment based on the reference network speed and the maximum data transmission volume.
[0014] In one embodiment, determining the data communication duration of the target component in a 4G environment based on the reference network speed and the maximum data transmission amount includes: determining the data communication duration of the target component in a 4G environment based on the reference network speed, the maximum data transmission amount and the response delay of the target component in a 4G environment.
[0015] In one embodiment, determining the data communication duration of the target component in a 4G environment based on the reference network speed, the maximum data transmission volume and the response delay of the target component in the 4G environment includes: determining the data communication duration of the target component in a 4G environment based on the reference network speed, the maximum data transmission volume, the response delay of the target component in a 4G environment and the maximum moving speed of the target component in a 4G environment.
[0016] In one embodiment, obtaining the reference network speed corresponding to the 4G environment includes: obtaining the peak network speed corresponding to the 4G environment; obtaining the type coefficient corresponding to the service type of the target component; and determining the reference network speed corresponding to the 4G environment according to the peak network speed and the type coefficient.
[0017] A device for identifying a component category, comprising:
[0018] A first acquisition module is used to acquire a target operation parameter set of a target component in a 5G environment, wherein the target operation parameter set includes a plurality of target operation parameters;
[0019] A first acquisition module is used to acquire a test operation parameter set of the target component in a 4G environment;
[0020] A parameter calculation module, used to calculate the test operation parameter set of the target component in the 5G environment according to the test operation parameter set of the target component in the 4G environment;
[0021] A network determination module is used to determine the category of the target component based on the test operation parameter set of the target component in the 5G environment and the target operation parameter set.
[0022] In one embodiment, the multiple target operating parameters include data communication duration, response delay and maximum moving speed.
[0023] In one embodiment, the parameter calculation module includes: a duration calculation module, which is used to calculate the data communication duration of the target component in the 5G environment according to the data communication duration of the target component in the 4G environment; a delay calculation module, which is used to calculate the response delay of the target component in the 5G environment according to the response delay of the target component in the 4G environment; and a speed calculation module, which is used to calculate the maximum moving speed of the target component in the 5G environment according to the maximum moving speed of the target component in the 4G environment.
[0024] In one embodiment, the second acquisition module includes: a data acquisition module for acquiring the maximum data transmission volume of the target component in a 4G environment; a network speed acquisition module for acquiring a reference network speed corresponding to the 4G environment; and a data network calculation module for determining the data communication duration of the target component in the 4G environment based on the reference network speed and the maximum data transmission volume.
[0025] In one embodiment, the digital network calculation module includes: a digital network delay calculation module, which is used to determine the data communication duration of the target component in the 4G environment based on the reference network speed, the maximum data transmission volume and the response delay of the target component in the 4G environment.
[0026] In one embodiment, the digital network delay calculation module includes: a multi-parameter calculation module, which is used to determine the data communication duration of the target component in the 4G environment based on the reference network speed, the maximum data transmission volume, the response delay of the target component in the 4G environment and the maximum moving speed of the target component in the 4G environment.
[0027] In one embodiment, the network speed acquisition module includes: a peak acquisition module for acquiring a peak network speed corresponding to a 4G environment; a coefficient acquisition module for acquiring a type coefficient corresponding to a service type of the target component; and a peak coefficient module for determining a reference network speed corresponding to the 4G environment based on the peak network speed and the type coefficient.
[0028] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0029] Obtain a target operating parameter set of a target component in a 5G environment, wherein the target operating parameter set includes multiple target operating parameters;
[0030] Obtaining a test running parameter set of the target component in a 4G environment;
[0031] Calculate the test operation parameter set of the target component in the 5G environment according to the test operation parameter set of the target component in the 4G environment;
[0032] Determine the category of the target component according to the test operation parameter set of the target component in the 5G environment and the target operation parameter set.
[0033] A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the following steps:
[0034] Obtain a target operating parameter set of a target component in a 5G environment, wherein the target operating parameter set includes multiple target operating parameters;
[0035] Obtaining a test running parameter set of the target component in a 4G environment;
[0036] Calculate the test operation parameter set of the target component in the 5G environment according to the test operation parameter set of the target component in the 4G environment;
[0037] Determine the category of the target component according to the test operation parameter set of the target component in the 5G environment and the target operation parameter set.
[0038] Implementing the embodiments of the present invention will have the following beneficial effects:
[0039] The present invention proposes a component category identification method, device and computer equipment, firstly obtaining a target operation parameter set of a target component in a 5G environment, wherein the target operation parameter set includes a plurality of target operation parameters; then obtaining a test operation parameter set of the target component in a 4G environment; and calculating the test operation parameter set of the target component in a 5G environment according to the test operation parameter set of the target component in the 4G environment; finally determining the category of the target component according to the test operation parameter set of the target component in the 5G environment and the target operation parameter set. It can be seen that since the test operation parameter set of the target component in the 4G environment is obtained, the test operation parameter set of the target component in the 5G environment is determined according to the test operation parameter set, and finally the target operation parameter set of the target component is compared with the test operation parameter set to determine the type of the component, and the identification of the component category can be realized without pre-installing the 5G environment, that is, without relying on the 5G environment, which is simple and effective. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] in:
[0042] Figure 1 A schematic diagram of an implementation flow of a method for identifying a component category in an embodiment;
[0043] Figure 2 1 is a schematic diagram of an implementation flow of step 106 in one embodiment;
[0044] Figure 3 1 is a schematic diagram of an implementation flow of step 104 in one embodiment;
[0045] Figure 4 1 is a schematic diagram of the implementation flow of step 104B in one embodiment;
[0046] Figure 5 is a structural block diagram of a device for identifying component categories in one embodiment;
[0047] Figure 6 FIG. 4 is a structural block diagram of a computer device in one embodiment. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] In one embodiment, a method for identifying component categories is provided. The execution subject of the method for identifying component categories described in the embodiment of the present invention is a device capable of implementing the method for identifying component categories described in the embodiment of the present invention. The device may include but is not limited to a terminal and a server. Among them, the terminal includes a desktop terminal and a mobile terminal. The desktop terminal includes but is not limited to a desktop computer and a car computer; the mobile terminal includes but is not limited to a mobile phone, a tablet, a laptop computer and a smart watch. The server includes a high-performance computer and a high-performance computer cluster.
[0050] like Figure 1 As shown, the component category identification method described in the embodiment of the present invention specifically includes:
[0051] Step 102: Obtain a target operating parameter set of a target component in a 5G environment, wherein the target operating parameter set includes multiple target operating parameters.
[0052] The component includes an application or a module in an application for realizing a certain function. The target component is a component whose type is to be determined.
[0053] Among them, the target operation parameter set includes multiple target operation parameters, each of which reflects the requirements that the target component must meet when operating its function in a 5G environment.
[0054] Among them, multiple target operating parameters may include but are not limited to data communication duration, response delay and maximum moving speed.
[0055] Among them, data communication duration refers to the duration required for the network (for example, 4G network or 5G network) to transmit the maximum data transmission volume. Among them, the maximum data transmission volume is the maximum requirement for the amount of data transmitted by the component each time, that is, the amount of data transmitted by the component each time cannot exceed the maximum data transmission volume. The maximum data transmission volume is related to the category of the component, the performance of the server (the amount of data of each component that the server can handle, the processing speed of the server, etc.). For example, the component is a video recognition component, and the video recognition component needs to transmit video to the server, so the amount of data to be transmitted will be relatively large. Therefore, the maximum data transmission volume corresponding to the video recognition component will be relatively large; for another example, the component is a fingerprint recognition component, and the fingerprint recognition component needs to transmit fingerprints to the server. Compared with the video recognition component, the amount of data transmitted by the fingerprint recognition component will be relatively smaller. Therefore, the maximum data transmission volume corresponding to the fingerprint recognition component will be smaller.
[0056] The response delay is the preparation time required for the communication system to start executing a task. For example, if the current environment is 5G, the communication system is a 5G communication system. If a component needs to send data, the 5G communication system needs to prepare for the task of sending data. For another example, if the current environment is 4G, the communication system is a 4G communication system. If a component needs to send data, the 4G communication system needs to prepare for the task of sending data.
[0057] Among them, the maximum moving speed reflects the mobility of the target component, that is, at what moving speed the target component can still normally send and receive data with the server. When the maximum moving speed is exceeded, the data sent and received between the target component and the server will be abnormal or unable to send and receive data. For example, when the user is taking a bus, the moving speed of the bus does not exceed the maximum moving speed. Therefore, the components in the user terminal can send and receive data normally. For another example, when the user is taking a high-speed train, the speed of the high-speed train sometimes exceeds the maximum moving speed. Therefore, the components in the user terminal will not be able to send and receive data normally at this time. The greater the maximum moving speed of the target component, the stronger the mobility of the target component, that is, the target component can normally send and receive data with the server at a greater moving speed.
[0058] In an embodiment of the present invention, a target operating parameter set of a target component in a 5G environment is first obtained as a comparison benchmark for subsequent determination of the category of the target component.
[0059] Step 104, obtaining a test operation parameter set of the target component in a 4G environment.
[0060] Among them, the test operation parameter set includes multiple test operation parameters, and each test operation parameter is obtained by testing the target component in a certain test environment (for example, a 4G test environment or a 5G test environment).
[0061] Since the 5G environment is difficult to build, most companies do not have a 5G operating environment. Therefore, in order to facilitate these companies to determine the category of components, the test operation parameter set of the target component in the 4G environment is obtained in advance, and then the test operation parameter set of the target component in the 5G environment is calculated based on the obtained test operation parameter set of the target component in the 4G environment to determine the component category.
[0062] Step 106: Calculate the test operation parameter set of the target component in the 5G environment based on the test operation parameter set of the target component in the 4G environment.
[0063] After obtaining the test operation parameters of the target component in the 4G environment, the test operation parameters of the target component in the 5G environment can be calculated according to the conversion relationship between the preset 4G parameters and the 5G parameters. For example, if the test operation parameter in the 4G environment is T, and the conversion relationship between the 4G parameter and the 5G parameter is m, then the test operation parameter in the 5G environment is T×m or T / m.
[0064] Step 108, determining the category of the target component based on the test operation parameter set of the target component in the 5G environment and the target operation parameter set.
[0065] The test operation parameter set of the target component in the 5G environment is compared with the target operation parameter set in the 5G environment to obtain a comparison result, thereby determining the category of the target component according to the comparison result.
[0066] Exemplarily, if the data communication duration in the test operating parameter set is less than the data communication duration in the target operating parameter set, and the response delay in the test operating parameter set is less than the response delay in the target operating parameter set, and the maximum moving speed in the test operating parameter set is greater than the maximum moving speed in the target operating parameter set, then the category of the target component is the 5G category; otherwise, the category of the target component is the 4G category.
[0067] The above-mentioned component category identification method first obtains the target operation parameter set of the target component in the 5G environment, wherein the target operation parameter set includes multiple target operation parameters; then obtains the test operation parameter set of the target component in the 4G environment; and calculates the test operation parameter set of the target component in the 5G environment based on the test operation parameter set of the target component in the 4G environment; finally, the category of the target component is determined based on the test operation parameter set of the target component in the 5G environment and the target operation parameter set. It can be seen that since the test operation parameter set of the target component in the 4G environment is obtained, the test operation parameter set of the target component in the 5G environment is determined based on the test operation parameter set, and finally the target operation parameter set of the target component is compared with the test operation parameter set to determine the type of the component. There is no need to pre-install the 5G environment, that is, the component category can be identified without relying on the 5G environment. It is simple and effective.
[0068] In one embodiment, the test value of each operating parameter in the 5G environment can be calculated based on the test value of each operating parameter in the 4G environment. Figure 2 As shown, step 106, calculating the test operation parameter set of the target component in the 5G environment according to the test operation parameter set of the target component in the 4G environment, includes:
[0069] Step 106A, calculate the data communication duration of the target component in the 5G environment based on the data communication duration of the target component in the 4G environment.
[0070] Obtain the network speed corresponding to the 5G environment and the network speed corresponding to the 4G environment; divide the network speed corresponding to the 5G environment by the network speed corresponding to the 4G environment to obtain the network speed ratio; multiply the data communication time of the target component in the 4G environment by the inverse of the network speed ratio to obtain the data communication time of the target component in the 5G environment.
[0071] For example, the network speed corresponding to the 5G environment is 10Gbps, and the network speed corresponding to the 4G environment is 100Mbps. The network speed ratio is 100, and the reciprocal of the network speed ratio is 1 / 100. The data communication time of the target component in the 4G environment is 10 seconds. Multiply 10 by 1 / 100 to obtain the data communication time of the target component in the 5G environment, which is 0.1.
[0072] Step 106B, calculate the response delay of the target component in the 5G environment based on the response delay of the target component in the 4G environment.
[0073] Obtain the response delay corresponding to the 5G environment and the response delay corresponding to the 4G environment; divide the response delay corresponding to the 5G environment by the response delay corresponding to the 4G environment to obtain a response delay ratio; multiply the response delay of the target component in the 4G environment by the response delay ratio to obtain the response delay of the target component in the 5G environment.
[0074] For example, the response delay corresponding to the 5G environment is 1 millisecond, and the response delay corresponding to the 4G environment is 50 milliseconds. The response delay ratio is 0.02. The response delay of the target component in the 4G environment is 10 seconds. Multiplying 10 by 0.02, the response delay of the target component in the 5G environment is 0.2 seconds.
[0075] Step 106C, calculating the maximum moving speed of the target component in the 5G environment based on the maximum moving speed of the target component in the 4G environment.
[0076] Obtain the maximum mobile speed corresponding to the 5G environment and the maximum mobile speed corresponding to the 4G environment; divide the maximum mobile speed corresponding to the 5G environment by the maximum mobile speed corresponding to the 4G environment to obtain the maximum mobile speed ratio; multiply the maximum mobile speed of the target component in the 4G environment by the maximum mobile speed ratio to obtain the maximum mobile speed of the target component in the 5G environment.
[0077] For example, the maximum moving speed corresponding to the 5G environment is 30 m / s, and the maximum moving speed corresponding to the 4G environment is 20 m / s, so the maximum moving speed ratio is 1.5. The maximum moving speed of the target component in the 4G environment is 10 m / s. Multiplying 10 by 1.5, the maximum moving speed of the target component in the 5G environment is 15 m / s.
[0078] In one embodiment, the data communication duration cannot be directly obtained and needs to be calculated based on the maximum data transmission volume. Figure 3 As shown, step 104 of obtaining the test operation parameter set of the target component in the 4G environment includes:
[0079] Step 104A, obtaining the maximum data transmission volume of the target component in a 4G environment.
[0080] The maximum data transmission amounts corresponding to different components are stored in advance so that the stored maximum data transmission amounts can be directly obtained when calculating the data communication duration.
[0081] Step 104B, obtaining a reference network speed corresponding to the 4G environment.
[0082] The reference network speed is the speed of data transmission corresponding to the preset 4G environment. For example, the peak network speed corresponding to the 4G environment can be used as the reference network speed.
[0083] Step 104C, determining the data communication duration of the target component in the 4G environment according to the reference network speed and the maximum data transmission amount.
[0084] The data communication duration of the target component in the 4G environment can be obtained by dividing the maximum data transmission volume by the reference network speed. For example, the reference network speed corresponding to the 4G environment is S, the maximum data transmission volume is M, and thus the data communication duration T=M / S.
[0085] In one embodiment, since the peak network speed cannot represent the network speed in the actual application process, and the service type reflects to a certain extent the amount of data that the component needs to transmit, the reference network speed is determined in combination with the service type of the component. Figure 4 As shown, step 104B of obtaining the reference network speed corresponding to the 4G environment includes:
[0086] Step 104B1, obtaining the peak network speed corresponding to the 4G environment.
[0087] Among them, the peak network speed is the maximum network speed in the 4G environment.
[0088] Step 104B2, obtaining the type coefficient corresponding to the business type of the target component.
[0089] Among them, the type coefficient is used to determine the reference network speed, and the type coefficient is a positive number less than 1.
[0090] A business type coefficient table is pre-established, as shown in Table 1, which records the correspondence between business types and type coefficients, so that after determining the business type of a component, the type coefficient corresponding to the business type can be directly determined according to the business type coefficient table.
[0091] Table 1
[0092]
[0093]
[0094] Step 104B3, determining a reference network speed corresponding to the 4G environment according to the peak network speed and the type coefficient.
[0095] The product of the peak network speed and the type coefficient is used as the reference network speed corresponding to the 4G environment.
[0096] In one embodiment, since the communication system has a response delay, when the response delay is relatively large, it will also have a great impact on the data communication duration. Therefore, in order to improve the calculation accuracy of the data communication duration, the response delay should also be considered when calculating the data communication duration. Step 104C determines the data communication duration of the target component in the 4G environment according to the reference network speed and the maximum data transmission amount, including:
[0097] The data communication duration of the target component in the 4G environment is determined according to the reference network speed, the maximum data transmission volume and the response delay of the target component in the 4G environment.
[0098] Assuming that the reference network speed is S, the maximum data transmission volume is M, and the response delay of the target component in the 4G environment is T1, the data communication duration of the target component in the 4G environment is: (M / S)+T1.
[0099] In one embodiment, considering that the mobile speed will also affect the data communication duration, in order to improve the calculation accuracy of the data communication duration, the mobile speed should also be considered when calculating the data communication duration. Determining the data communication duration of the target component in the 4G environment according to the reference network speed, the maximum data transmission amount and the response delay of the target component in the 4G environment includes:
[0100] The data communication duration of the target component in the 4G environment is determined according to the reference network speed, the maximum data transmission volume, the response delay of the target component in the 4G environment and the maximum moving speed of the target component in the 4G environment.
[0101] Establish a duration determination model in advance and train the duration determination model: obtain input samples and output samples corresponding to the input samples, wherein the input samples include a reference network speed, a maximum data transmission amount, a response delay of the component in a 4G environment, and a maximum moving speed of the component in a 4G environment, and the output samples include data communication duration; use the input samples as the input of the duration determination model, use the output samples corresponding to the input samples as the output of the duration determination model, train the duration determination model, and obtain a trained duration determination model.
[0102] After obtaining the trained duration determination model, the reference network speed, maximum data transmission volume, response delay of the target component in the 4G environment and the maximum moving speed of the target component in the 4G environment in actual application can be input into the trained duration determination model to obtain the data communication duration output by the trained duration determination model, and the data communication duration of the target component in the 4G environment is obtained according to the data communication duration output by the trained duration determination model. For example, the data communication duration output by the trained duration determination model is directly used as the data communication duration of the target component in the 4G environment; for another example, the data communication duration output by the trained duration determination model is added to a certain correction duration (used to correct the data communication duration output by the model) to obtain the data communication duration of the target component in the 4G environment.
[0103] In order to better illustrate the embodiment of the present invention, a specific example is given below for illustration.
[0104] For example, the existing target component is a voice recognition component. The target operating parameter set of the voice recognition component in the 5G environment is: data communication time, response delay and maximum moving speed are: 5 seconds, 0.3 seconds, 40m / s respectively. Through testing, the maximum data transmission volume, response delay and maximum moving speed of the voice recognition component in the 4G environment are: 10G, 10 seconds, 30m / s respectively. Assuming that the reference network speed corresponding to the 4G environment is 100Mbps, 10G / 100Mbps is used to obtain the data communication time of the voice recognition component in the 4G environment is 400 seconds. Assuming that the reference network speed corresponding to the 5G environment is 10G bps, the data communication time of the voice recognition component in the 5G environment is 4 seconds, which meets the requirement of 5 seconds for data communication time; further, assuming that the response delay in the 5G environment is 1 / 50 of the response delay in the 4G environment, the response delay of the voice recognition component in the 5G environment is 0.2 seconds, which meets the requirement of 0.3 seconds for response delay; finally, assuming that the maximum mobile speed in the 5G environment is 1.5 times the maximum mobile speed in the 4G environment, the maximum mobile speed of the voice recognition component in the 5G environment is 30m / s×1.5=45m / s, which meets the requirement of 40m / s for maximum mobile speed. It can be seen that since the maximum data transmission volume, response delay and maximum mobile speed of the voice recognition component in the 5G environment all meet the requirements of data communication time, response delay and maximum mobile speed in the target operation parameter set, the category of the voice recognition component is determined to be the 5G category.
[0105] like Figure 5 As shown, a component category identification device 500 is provided, which specifically includes:
[0106] A first acquisition module 502 is used to acquire a target operating parameter set of a target component in a 5G environment, wherein the target operating parameter set includes a plurality of target operating parameters;
[0107] A first acquisition module 504 is used to acquire a test operation parameter set of the target component in a 4G environment;
[0108] A parameter calculation module 506, configured to calculate a test operation parameter set of the target component in a 5G environment according to the test operation parameter set of the target component in a 4G environment;
[0109] The network determination module 508 is used to determine the category of the target component based on the test operation parameter set of the target component in the 5G environment and the target operation parameter set.
[0110] The above-mentioned component category identification device first obtains the target operation parameter set of the target component in the 5G environment, wherein the target operation parameter set includes multiple target operation parameters; then obtains the test operation parameter set of the target component in the 4G environment; and calculates the test operation parameter set of the target component in the 5G environment based on the test operation parameter set of the target component in the 4G environment; finally, determines the category of the target component based on the test operation parameter set of the target component in the 5G environment and the target operation parameter set. It can be seen that since the test operation parameter set of the target component in the 4G environment is obtained, the test operation parameter set of the target component in the 5G environment is determined based on the test operation parameter set, and finally the target operation parameter set of the target component is compared with the test operation parameter set to determine the type of the component. There is no need to pre-install the 5G environment, that is, the component category can be identified without relying on the 5G environment. It is simple and effective.
[0111] In one embodiment, the multiple target operating parameters include data communication duration, response delay and maximum moving speed.
[0112] In one embodiment, the parameter calculation module 506 includes: a duration calculation module, which is used to calculate the data communication duration of the target component in the 5G environment according to the data communication duration of the target component in the 4G environment; a delay calculation module, which is used to calculate the response delay of the target component in the 5G environment according to the response delay of the target component in the 4G environment; and a speed calculation module, which is used to calculate the maximum moving speed of the target component in the 5G environment according to the maximum moving speed of the target component in the 4G environment.
[0113] In one embodiment, the second acquisition module 504 includes: a data acquisition module for acquiring the maximum data transmission volume of the target component in a 4G environment; a network speed acquisition module for acquiring a reference network speed corresponding to the 4G environment; and a data network calculation module for determining the data communication duration of the target component in the 4G environment based on the reference network speed and the maximum data transmission volume.
[0114] In one embodiment, the digital network calculation module includes: a digital network delay calculation module, which is used to determine the data communication duration of the target component in the 4G environment based on the reference network speed, the maximum data transmission volume and the response delay of the target component in the 4G environment.
[0115] In one embodiment, the digital network delay calculation module includes: a multi-parameter calculation module, which is used to determine the data communication duration of the target component in the 4G environment based on the reference network speed, the maximum data transmission volume, the response delay of the target component in the 4G environment and the maximum moving speed of the target component in the 4G environment.
[0116] In one embodiment, the network speed acquisition module includes: a peak acquisition module for acquiring a peak network speed corresponding to a 4G environment; a coefficient acquisition module for acquiring a type coefficient corresponding to a service type of the target component; and a peak coefficient module for determining a reference network speed corresponding to the 4G environment based on the peak network speed and the type coefficient.
[0117] Figure 6 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may specifically be a server or a terminal. Figure 6 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement a component category identification method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement a component category identification method. Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0118] In one embodiment, the component category identification method provided in the present application can be implemented in the form of a computer program. The computer program can be used in Figure 6The computer device shown in the figure is run. The memory of the computer device can store various program templates of the identification device constituting the component category, such as the first acquisition module 502, the second acquisition module 504 and the parameter calculation module 506.
[0119] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps:
[0120] Obtain a target operating parameter set of a target component in a 5G environment, wherein the target operating parameter set includes multiple target operating parameters;
[0121] Obtaining a test running parameter set of the target component in a 4G environment;
[0122] Calculate the test operation parameter set of the target component in the 5G environment according to the test operation parameter set of the target component in the 4G environment;
[0123] Determine the category of the target component according to the test operation parameter set of the target component in the 5G environment and the target operation parameter set.
[0124] In one embodiment, the multiple target operating parameters include data communication duration, response delay and maximum moving speed.
[0125] In one embodiment, the test operation parameter set of the target component in the 5G environment is calculated based on the test operation parameter set of the target component in the 4G environment, including: calculating the data communication duration of the target component in the 5G environment based on the data communication duration of the target component in the 4G environment; calculating the response delay of the target component in the 5G environment based on the response delay of the target component in the 4G environment; and calculating the maximum moving speed of the target component in the 5G environment based on the maximum moving speed of the target component in the 4G environment.
[0126] In one embodiment, obtaining the test operation parameter set of the target component in the 4G environment includes: obtaining the maximum data transmission volume of the target component in the 4G environment; obtaining a reference network speed corresponding to the 4G environment; and determining the data communication duration of the target component in the 4G environment based on the reference network speed and the maximum data transmission volume.
[0127] In one embodiment, determining the data communication duration of the target component in a 4G environment based on the reference network speed and the maximum data transmission amount includes: determining the data communication duration of the target component in a 4G environment based on the reference network speed, the maximum data transmission amount and the response delay of the target component in a 4G environment.
[0128] In one embodiment, determining the data communication duration of the target component in a 4G environment based on the reference network speed, the maximum data transmission volume and the response delay of the target component in the 4G environment includes: determining the data communication duration of the target component in a 4G environment based on the reference network speed, the maximum data transmission volume, the response delay of the target component in a 4G environment and the maximum moving speed of the target component in a 4G environment.
[0129] In one embodiment, obtaining the reference network speed corresponding to the 4G environment includes: obtaining the peak network speed corresponding to the 4G environment; obtaining the type coefficient corresponding to the service type of the target component; and determining the reference network speed corresponding to the 4G environment according to the peak network speed and the type coefficient.
[0130] In one embodiment, a computer-readable storage medium is provided, storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:
[0131] Obtain a target operating parameter set of a target component in a 5G environment, wherein the target operating parameter set includes multiple target operating parameters;
[0132] Obtaining a test running parameter set of the target component in a 4G environment;
[0133] Calculate the test operation parameter set of the target component in the 5G environment according to the test operation parameter set of the target component in the 4G environment;
[0134] Determine the category of the target component according to the test operation parameter set of the target component in the 5G environment and the target operation parameter set.
[0135] In one embodiment, the multiple target operating parameters include data communication duration, response delay and maximum moving speed.
[0136] In one embodiment, the test operation parameter set of the target component in the 5G environment is calculated based on the test operation parameter set of the target component in the 4G environment, including: calculating the data communication duration of the target component in the 5G environment based on the data communication duration of the target component in the 4G environment; calculating the response delay of the target component in the 5G environment based on the response delay of the target component in the 4G environment; and calculating the maximum moving speed of the target component in the 5G environment based on the maximum moving speed of the target component in the 4G environment.
[0137] In one embodiment, obtaining the test operation parameter set of the target component in the 4G environment includes: obtaining the maximum data transmission volume of the target component in the 4G environment; obtaining a reference network speed corresponding to the 4G environment; and determining the data communication duration of the target component in the 4G environment based on the reference network speed and the maximum data transmission volume.
[0138] In one embodiment, determining the data communication duration of the target component in a 4G environment based on the reference network speed and the maximum data transmission amount includes: determining the data communication duration of the target component in a 4G environment based on the reference network speed, the maximum data transmission amount and the response delay of the target component in a 4G environment.
[0139] In one embodiment, determining the data communication duration of the target component in a 4G environment based on the reference network speed, the maximum data transmission volume and the response delay of the target component in the 4G environment includes: determining the data communication duration of the target component in a 4G environment based on the reference network speed, the maximum data transmission volume, the response delay of the target component in a 4G environment and the maximum moving speed of the target component in a 4G environment.
[0140] In one embodiment, obtaining the reference network speed corresponding to the 4G environment includes: obtaining the peak network speed corresponding to the 4G environment; obtaining the type coefficient corresponding to the service type of the target component; and determining the reference network speed corresponding to the 4G environment according to the peak network speed and the type coefficient.
[0141] It should be noted that the above-mentioned component category identification method, component category identification device, computer equipment and computer-readable storage medium belong to a general inventive concept, and the contents of the component category identification method, component category identification device, computer equipment and computer-readable storage medium embodiments are applicable to each other.
[0142] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0143] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0144] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for identifying a component category, characterized in that: include: Obtain a target operating parameter set of a target component in a 5G environment, wherein the target operating parameter set includes multiple target operating parameters; The target operating parameters are requirements that the target component must meet when operating its functions in a 5G environment; Obtaining a test running parameter set of the target component in a 4G environment; Calculate the test operation parameter set of the target component in the 5G environment according to the test operation parameter set of the target component in the 4G environment; Determining a category of the target component according to a test operation parameter set of the target component in a 5G environment and the target operation parameter set; Determining the category of the target component according to the test operation parameter set of the target component in the 5G environment and the target operation parameter set includes: Compare the test operation parameter set of the target component in the 5G environment with the target operation parameter set in the 5G environment; If the data communication duration in the test operating parameter set is less than the data communication duration in the target operating parameter set, and the response delay in the test operating parameter set is less than the response delay in the target operating parameter set, and the maximum moving speed in the test operating parameter set is greater than the maximum moving speed in the target operating parameter set, then the category of the target component is the 5G category; otherwise, the category of the target component is the 4G category.
2. The method according to claim 1, characterized in that The multiple target operating parameters include data communication duration, response delay and maximum moving speed.
3. The method according to claim 2, characterized in that The calculating, according to the test operation parameter set of the target component in the 4G environment, the test operation parameter set of the target component in the 5G environment comprises: The data communication duration of the target component in the 5G environment is calculated according to the data communication duration of the target component in the 4G environment; Calculate the response delay of the target component in the 5G environment according to the response delay of the target component in the 4G environment; The maximum moving speed of the target component in the 5G environment is calculated based on the maximum moving speed of the target component in the 4G environment.
4. The method according to claim 2, characterized in that The obtaining of the test operation parameter set of the target component in the 4G environment includes: Obtain the maximum data transmission volume of the target component in a 4G environment; Get the reference network speed corresponding to the 4G environment; The data communication duration of the target component in the 4G environment is determined according to the reference network speed and the maximum data transmission volume.
5. The method according to claim 4, characterized in that The determining, according to the reference network speed and the maximum data transmission amount, the data communication duration of the target component in the 4G environment includes: The data communication duration of the target component in the 4G environment is determined according to the reference network speed, the maximum data transmission volume and the response delay of the target component in the 4G environment.
6. The method according to claim 5, characterized in that Determining the data communication duration of the target component in the 4G environment according to the reference network speed, the maximum data transmission amount, and the response delay of the target component in the 4G environment includes: The data communication duration of the target component in the 4G environment is determined according to the reference network speed, the maximum data transmission volume, the response delay of the target component in the 4G environment and the maximum moving speed of the target component in the 4G environment.
7. The method according to claim 4, characterized in that The obtaining of the reference network speed corresponding to the 4G environment includes: Get the peak network speed corresponding to the 4G environment; Obtaining a type coefficient corresponding to the business type of the target component; A reference network speed corresponding to the 4G environment is determined according to the peak network speed and the type coefficient.
8. A device for identifying component categories, characterized in that: include: A first acquisition module is used to acquire a target operation parameter set of a target component in a 5G environment, wherein the target operation parameter set includes a plurality of target operation parameters; The target operating parameters are the requirements that the target component must meet when operating its functions in a 5G environment. A second acquisition module is used to acquire a test operation parameter set of the target component in a 4G environment; A parameter calculation module, used to calculate the test operation parameter set of the target component in the 5G environment according to the test operation parameter set of the target component in the 4G environment; A network determination module, used to determine the category of the target component according to the test operation parameter set of the target component in the 5G environment and the target operation parameter set; Determining the category of the target component according to the test operation parameter set of the target component in the 5G environment and the target operation parameter set includes: Compare the test operation parameter set of the target component in the 5G environment with the target operation parameter set in the 5G environment; If the data communication duration in the test operating parameter set is less than the data communication duration in the target operating parameter set, and the response delay in the test operating parameter set is less than the response delay in the target operating parameter set, and the maximum moving speed in the test operating parameter set is greater than the maximum moving speed in the target operating parameter set, then the category of the target component is the 5G category; otherwise, the category of the target component is the 4G category.
9. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the component category identification method as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the component category identification method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Configuration method and system for realizing 5G and 4G base station signal coverage continuity
CN110149590A
Method and device for setting up test environment, electronic equipment and medium
CN110532170A