Method, device, equipment and medium for prompting a user of a cloud phone network status
By adding JS code to the cloud mobile SDK to obtain and prompt the network delay value of the cloud mobile phone, it solves the problem that users find it difficult to distinguish between network problems and cloud mobile phone problems, and improves user experience and development efficiency.
Patent Information
- Application Number
- CN202411980723.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-08
AI Technical Summary
When users use cloud phones, it is difficult for them to distinguish between network problems and cloud phones themselves, resulting in poor user experience and increasing the workload of developers.
By adding JS code to the cloud mobile SDK, the network delay value of the cloud mobile phone is obtained and the user's network status is prompted based on real-time data, helping users distinguish between network problems and cloud mobile phone problems.
It achieves accurate acquisition of the cloud mobile network status, improves user experience, and reduces user complaints and developer workload.
Smart Images

Figure CN119788570A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field, and in particular to a method, device, equipment and medium for prompting a user of a cloud phone network status. Background Art
[0002] There are cloud phones available for users, and cloud phones are also provided by multiple different cloud vendors. Since different cloud phone vendors use different communication protocols and the user's local network status is unstable, users connect to cloud phones remotely through their local terminals. During the use of cloud phones, network problems may cause cloud machine operation to freeze, image distortion, high latency, and inoperability. However, the cloud phone does not give any prompts, and users cannot intuitively distinguish whether it is a problem with the cloud phone itself or a problem with the local terminal network, which leads to the unsmooth use of the cloud phone. Furthermore, users have poor feedback on the smoothness of the cloud phone experience, which increases the workload of developers. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a method, device, equipment and medium for prompting users of the network status of cloud phones, obtaining the actual network status of cloud phones, accurately prompting users of their local network environment, and improving user experience.
[0004] In a first aspect, the present invention provides a method for prompting a user of a cloud phone network status, comprising the following steps:
[0005] Step 1: Add JS code in a manufacturer's SDK, where the JS code is used to obtain the network delay value of the cloud phone during use;
[0006] Step 2: The client opens the cloud phone of this manufacturer;
[0007] Step 3: Check the network status of the manufacturer's cloud phone and set up the cloud phone network according to the network status;
[0008] Step 4: Obtain the real-time network delay value of a user's cloud phone through the JS code, and prompt the user of the cloud phone network status according to the network delay value.
[0009] In a second aspect, the present invention provides a device for prompting a user of a cloud phone network status, comprising the following modules:
[0010] Setting the module, adding JS code in a manufacturer's SDK, wherein the JS code is used to obtain the network delay value of the cloud phone during use;
[0011] Start the module, and the client starts the cloud phone of this manufacturer;
[0012] Configure the network module, detect the network status of the manufacturer's cloud phone, and set up the cloud phone network according to the network status;
[0013] The prompt module obtains the real-time network delay value of a user's cloud phone through the JS code, and prompts the user of the cloud phone network status according to the network delay value.
[0014] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the program.
[0015] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0016] One or more technical solutions provided by the present invention have at least the following technical effects or advantages:
[0017] The present invention designs a corresponding test method to accurately obtain specific values under each network state, and then corresponds to the specific network state according to the real-time acquired data, and prompts it to the user, so that the user knows the local network state and can distinguish the actual situation, thereby reducing complaints about cloud phones and reducing the workload of developers.
[0018] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.
[0020] Figure 1 is a flow chart of the method in Embodiment 1 of the present invention;
[0021] Figure 2 It is a schematic diagram of the structure of the device in the second embodiment of the present invention. DETAILED DESCRIPTION
[0022] Embodiment 1
[0023] like Figure 1 As shown, this embodiment provides a method for prompting a user of a cloud phone network status, comprising the following steps:
[0024] Step 1: Add JS code in a manufacturer's SDK, where the JS code is used to obtain the network delay value of the cloud phone during use;
[0025] Step 2: The client opens the cloud phone of this manufacturer;
[0026] Step 3: Check the network status of the manufacturer's cloud phone and set up the cloud phone network according to the network status;
[0027] Step 4: Obtain the real-time network delay value of a user's cloud phone through the JS code, and prompt the user of the cloud phone network status according to the network delay value.
[0028] In this embodiment, preferably, step 3 is specifically as follows: if the cloud phone of the manufacturer uses the websocket protocol:
[0029] Open the cloud phone of the cloud vendor in the browser of the client; ensure that the download speed of the local network is greater than or equal to the first set network speed, and obtain the network delay value X11 of the cloud phone through the JS code; the cloud phone operation sets the APP for a set time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y11 of the client pingpong; the fluctuation of the data time difference Y11 is consistent with the fluctuation of the network delay data X11, and when X11<100ms is obtained, and X11<100ms appears for the first set number of times, the cloud phone network is set to good;
[0030] When the download speed of the local network is set to be less than the first set network speed and greater than or equal to the second set network speed through the network speed tool, the first set network speed is greater than the second set network speed, and the network delay value X12 of the cloud phone is obtained through the JS code; the cloud phone operation sets the APP to continue the set time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y12 of the client pingpong; the fluctuation of the data time difference Y12 is consistent with the fluctuation of the network delay data X12, and 100ms≤X12<400ms is obtained, and when X12 appears for the second set number of times within this range, the cloud phone network is set to be poor;
[0031] When the download speed of the local network is set to be less than the second set network speed through the network speed tool, the network delay value X13 of the cloud phone is obtained through the JS code; the cloud phone operation setting APP continues to set the time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y13 of the client pingpong; the fluctuation of the data time difference Y13 is consistent with the fluctuation of the network delay data X13, and 400ms≤X13 is obtained, and when X13 continues to appear for the third set number of times within this range, the cloud phone network is set to be bad;
[0032] If the manufacturer's cloud phone uses the webrtc protocol:
[0033] Open the cloud phone of the cloud vendor in the client's browser;
[0034] Ensure that the download speed of the local network is greater than or equal to the first set network speed, the cloud phone operation setting APP continues to set the time, obtain the network delay value Y21 through the Chrome plug-in webrtc-internals, and the bit rate is ≥2000kbps; obtain the network delay value X21 of the cloud phone through the JS code; the fluctuation of Y21 is consistent with the fluctuation of X21, and when X21<100ms is obtained, and X21<100ms appears for the first set number of times, the cloud phone network is set to good; calculate the bit rate according to the returned data stream: bit rate (kbps) = file size (KB)*8 / time (seconds);
[0035] The network delay value RTT is set to <400ms through the control tool clumsy, the cloud phone operation setting APP continues to set the time, and the network delay value Y22 is obtained through the Chrome plug-in webrtc-internals, and 1000kbps≤bitrate<2000kbps; the network delay value X22 of the cloud phone is obtained through the JS code; the fluctuation of Y22 is consistent with the fluctuation of X22, and 100ms≤X22<400ms is obtained, and when X22 appears for the second set number of times within this range, the cloud phone network is set to be poor;
[0036] The network delay value RTT ≥ 400ms is set through the control tool clumsy, the cloud phone operation setting APP continues to set the time, and the network delay value Y23 is obtained through the Chrome plug-in webrtc-internals, and the bit rate is <1000kbps; the network delay value X23 of the cloud phone is obtained through the JS code; the fluctuation of Y23 is consistent with the fluctuation of X23, and 400ms≤X23 is obtained. When X23 appears for the third set number of times within this range, the cloud phone network is set to bad.
[0037] In this embodiment, preferably, the step 4 is specifically as follows: obtaining a real-time network delay value Z of a user's cloud phone through the JS code; if Z < 100ms, and Z < 100ms appears for a first set number of times continuously, prompting the user's network is good; obtaining 100ms ≤ Z < 400ms, and Z appears for a second set number of times continuously within the range, prompting the user's network is poor; if obtaining 400ms ≤ Z, and Z appears for a third set number of times continuously within the range, prompting the user's network is bad
[0038] In this embodiment, preferably, the first set number of times is 5, the second set number of times is 5, and the third set number of times is 2.
[0039] The core code is as follows:
[0040]
[0041]
[0042] Based on the same inventive concept, the present application also provides a device corresponding to the method in Example 1, see Example 2 for details.
[0043] Embodiment 2
[0044] like Figure 2 As shown, in this embodiment, a device for prompting a user of a cloud phone network status is provided, comprising the following modules:
[0045] Setting the module, adding JS code in a manufacturer's SDK, wherein the JS code is used to obtain the network delay value of the cloud phone during use;
[0046] Start the module, and the client starts the cloud phone of this manufacturer;
[0047] Configure the network module, detect the network status of the manufacturer's cloud phone, and set up the cloud phone network according to the network status;
[0048] The prompt module obtains the real-time network delay value of a user's cloud phone through the JS code, and prompts the user of the cloud phone network status according to the network delay value.
[0049] In this embodiment, preferably, the configuration network module is specifically: if the cloud phone of the manufacturer uses the websocket protocol:
[0050] Open the cloud phone of the cloud vendor in the browser of the client; ensure that the download speed of the local network is greater than or equal to the first set network speed, and obtain the network delay value X11 of the cloud phone through the JS code; the cloud phone operation sets the APP for a set time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y11 of the client pingpong; the fluctuation of the data time difference Y11 is consistent with the fluctuation of the network delay data X11, and when X11<100ms is obtained, and X11<100ms appears for the first set number of times, the cloud phone network is set to good;
[0051] When the download speed of the local network is set to be less than the first set network speed and greater than or equal to the second set network speed through the network speed tool, the first set network speed is greater than the second set network speed, and the network delay value X12 of the cloud phone is obtained through the JS code; the cloud phone operation sets the APP to continue the set time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y12 of the client pingpong; the fluctuation of the data time difference Y12 is consistent with the fluctuation of the network delay data X12, and 100ms≤X12<400ms is obtained, and when X12 appears for the second set number of times within this range, the cloud phone network is set to be poor;
[0052] When the download speed of the local network is set to be less than the second set network speed through the network speed tool, the network delay value X13 of the cloud phone is obtained through the JS code; the cloud phone operation setting APP continues to set the time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y13 of the client pingpong; the fluctuation of the data time difference Y13 is consistent with the fluctuation of the network delay data X13, and 400ms≤X13 is obtained, and when X13 continues to appear for the third set number of times within this range, the cloud phone network is set to be bad;
[0053] If the manufacturer's cloud phone uses the webrtc protocol:
[0054] Open the cloud phone of the cloud vendor in the client's browser;
[0055] Ensure that the download speed of the local network is greater than or equal to the first set network speed, the cloud phone operation setting APP continues to set the time, obtains the network delay value Y21 through the Chrome plug-in webrtc-internals, and the bit rate is ≥2000kbps; obtains the network delay value X21 of the cloud phone through the JS code; the fluctuation of Y21 is consistent with the fluctuation of X21, and when X21<100ms is obtained, and X21<100ms appears for the first set number of times, the cloud phone network is set to good;
[0056] The network delay value RTT is set to <400ms through the control tool clumsy, the cloud phone operation setting APP continues to set the time, and the network delay value Y22 is obtained through the Chrome plug-in webrtc-internals, and 1000kbps≤bitrate<2000kbps; the network delay value X22 of the cloud phone is obtained through the JS code; the fluctuation of Y22 is consistent with the fluctuation of X22, and 100ms≤X22<400ms is obtained, and when X22 appears for the second set number of times within this range, the cloud phone network is set to be poor;
[0057] The network delay value RTT ≥ 400ms is set through the control tool clumsy, the cloud phone operation setting APP continues to set the time, and the network delay value Y23 is obtained through the Chrome plug-in webrtc-internals, and the bit rate is <1000kbps; the network delay value X23 of the cloud phone is obtained through the JS code; the fluctuation of Y23 is consistent with the fluctuation of X23, and 400ms≤X23 is obtained. When X23 appears for the third set number of times within this range, the cloud phone network is set to bad.
[0058] In this embodiment, preferably, the prompt module is specifically: obtaining a real-time network delay value Z of a user's cloud phone through the JS code; if Z < 100ms, and Z < 100ms appears continuously for a first set number of times, prompting the user that the network is good; obtaining 100ms≤Z<400ms, and Z appears continuously for a second set number of times within this range, prompting the user that the network is poor; if obtaining 400ms≤Z, and Z appears continuously for a third set number of times within this range, prompting the user that the network is bad.
[0059] In this embodiment, preferably, the first set number of times is 5, the second set number of times is 5, and the third set number of times is 2.
[0060] Since the device introduced in the second embodiment of the present invention is a device used to implement the method of the first embodiment of the present invention, those skilled in the art can understand the specific structure and deformation of the device based on the method introduced in the first embodiment of the present invention, so it is not described here in detail. All devices used in the method of the first embodiment of the present invention belong to the scope of protection of the present invention.
[0061] Based on the same inventive concept, the present application provides an electronic device embodiment corresponding to the first embodiment, see the third embodiment for details.
[0062] Embodiment 3
[0063] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, any implementation method in the first embodiment can be implemented.
[0064] Since the electronic device introduced in this embodiment is a device used to implement the method in the first embodiment of the present application, based on the method introduced in the first embodiment of the present application, a person skilled in the art can understand the specific implementation of the electronic device of the present embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application is not described in detail here. As long as a person skilled in the art implements the device used by the method in the embodiment of the present application, it belongs to the scope of protection of the present application.
[0065] Based on the same inventive concept, the present application provides a storage medium corresponding to the first embodiment, see the fourth embodiment for details.
[0066] Embodiment 4
[0067] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any implementation method in the first embodiment can be implemented.
[0068] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0069] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0070] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0071] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0072] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.
Claims
1. A method for prompting a user of a cloud phone network status, characterized in that: The steps include: Step 1: Add JS code in a manufacturer's SDK, where the JS code is used to obtain the network delay value of the cloud phone during use; Step 2: The client opens the cloud phone of this manufacturer; Step 3: Check the network status of the manufacturer's cloud phone and set up the cloud phone network according to the network status; Step 4: Obtain the real-time network delay value of a user's cloud phone through the JS code, and prompt the user of the cloud phone network status according to the network delay value.
2. A method for prompting a user of a cloud phone network status according to claim 1, characterized in that: The specific step 3 is: if the cloud phone of the manufacturer uses the websocket protocol: Open the cloud phone of the cloud vendor in the browser of the client; ensure that the download speed of the local network is greater than or equal to the first set network speed, and obtain the network delay value X11 of the cloud phone through the JS code; the cloud phone operation sets the APP for a set time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y11 of the client pingpong; the fluctuation of the data time difference Y11 is consistent with the fluctuation of the network delay data X11, and when X11<100ms is obtained, and X11<100ms appears for the first set number of times, the cloud phone network is set to good; When the download speed of the local network is set to be less than the first set network speed and greater than or equal to the second set network speed through the network speed tool, the first set network speed is greater than the second set network speed, and the network delay value X12 of the cloud phone is obtained through the JS code; the cloud phone operation sets the APP to continue the set time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y12 of the client pingpong; the fluctuation of the data time difference Y12 is consistent with the fluctuation of the network delay data X12, and 100ms≤X12<400ms is obtained, and when X12 appears for the second set number of times within this range, the cloud phone network is set to be poor; When the download speed of the local network is set to be less than the second set network speed through the network speed tool, the network delay value X13 of the cloud phone is obtained through the JS code; the cloud phone operation setting APP continues to set the time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y13 of the client pingpong; the fluctuation of the data time difference Y13 is consistent with the fluctuation of the network delay data X13, and 400ms≤X13 is obtained, and when X13 continues to appear for the third set number of times within this range, the cloud phone network is set to be bad; If the manufacturer's cloud phone uses the webrtc protocol: Open the cloud phone of the cloud vendor in the client's browser; Ensure that the download speed of the local network is greater than or equal to the first set network speed, the cloud phone operation setting APP continues to set the time, obtains the network delay value Y21 through the Chrome plug-in webrtc-internals, and the bit rate is ≥2000kbps; obtains the network delay value X21 of the cloud phone through the JS code; the fluctuation of Y21 is consistent with the fluctuation of X21, and when X21<100ms is obtained, and X21<100ms appears for the first set number of times, the cloud phone network is set to good; The network delay value RTT is set to <400ms through the control tool clumsy, the cloud phone operation setting APP continues to set the time, and the network delay value Y22 is obtained through the Chrome plug-in webrtc-internals, and 1000kbps≤bitrate<2000kbps; the network delay value X22 of the cloud phone is obtained through the JS code; the fluctuation of Y22 is consistent with the fluctuation of X22, and 100ms≤X22<400ms is obtained, and when X22 appears for the second set number of times within this range, the cloud phone network is set to be poor; The network delay value RTT ≥ 400ms is set through the control tool clumsy, the cloud phone operation setting APP continues to set the time, and the network delay value Y23 is obtained through the Chrome plug-in webrtc-internals, and the bit rate is <1000kbps; the network delay value X23 of the cloud phone is obtained through the JS code; the fluctuation of Y23 is consistent with the fluctuation of X23, and 400ms≤X23 is obtained. When X23 appears for the third set number of times within this range, the cloud phone network is set to bad.
3. A method for prompting a user of a cloud phone network status according to claim 2, characterized in that: The step 4 is specifically as follows: obtaining a real-time network delay value Z of a user's cloud phone through the JS code; if Z is less than 100ms, and Z is less than 100ms for a first set number of times, the user's network is prompted to be good; if 100ms≤Z<400ms is obtained, and Z is continuously present for a second set number of times within the range, the user's network is prompted to be poor; if 400ms≤Z is obtained, and Z is continuously present for a third set number of times within the range, the user's network is prompted to be bad.
4. A method for prompting a user of a cloud phone network status according to claim 1, characterized in that: The first set number of times is 5, the second set number of times is 5, and the third set number of times is 2.
5. A device for prompting a user of the network status of a cloud phone, characterized in that: Includes the following modules: Setting the module, adding JS code in a manufacturer's SDK, wherein the JS code is used to obtain the network delay value of the cloud phone during use; Start the module, and the client starts the cloud phone of this manufacturer; Configure the network module, detect the network status of the manufacturer's cloud phone, and set up the cloud phone network according to the network status; The prompt module obtains the real-time network delay value of a user's cloud phone through the JS code, and prompts the user of the cloud phone network status according to the network delay value.
6. The device for prompting a user of a cloud phone network status according to claim 5, characterized in that: The configuration network module is specifically as follows: If the manufacturer's cloud phone uses the websocket protocol: Open the cloud phone of the cloud vendor in the browser of the client; ensure that the download speed of the local network is greater than or equal to the first set network speed, and obtain the network delay value X11 of the cloud phone through the JS code; the cloud phone operation sets the APP for a set time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y11 of the client pingpong; the fluctuation of the data time difference Y11 is consistent with the fluctuation of the network delay data X11, and when X11<100ms is obtained, and X11<100ms appears for the first set number of times, the cloud phone network is set to good; When the download speed of the local network is set to be less than the first set network speed and greater than or equal to the second set network speed through the network speed tool, the first set network speed is greater than the second set network speed, and the network delay value X12 of the cloud phone is obtained through the JS code; the cloud phone operation sets the APP to continue the set time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y12 of the client pingpong; the fluctuation of the data time difference Y12 is consistent with the fluctuation of the network delay data X12, and 100ms≤X12<400ms is obtained, and when X12 appears for the second set number of times within this range, the cloud phone network is set to be poor; When the download speed of the local network is set to be less than the second set network speed through the network speed tool, the network delay value X13 of the cloud phone is obtained through the JS code; the cloud phone operation setting APP continues to set the time, obtains the data in the WS in the browser console network in the client, calculates the message in the data, and obtains the data time difference Y13 of the client pingpong; the fluctuation of the data time difference Y13 is consistent with the fluctuation of the network delay data X13, and 400ms≤X13 is obtained, and when X13 continues to appear for the third set number of times within this range, the cloud phone network is set to be bad; If the manufacturer's cloud phone uses the webrtc protocol: Open the cloud phone of the cloud vendor in the client's browser; Ensure that the download speed of the local network is greater than or equal to the first set network speed, the cloud phone operation setting APP continues to set the time, obtains the network delay value Y21 through the Chrome plug-in webrtc-internals, and the bit rate is ≥2000kbps; obtains the network delay value X21 of the cloud phone through the JS code; the fluctuation of Y21 is consistent with the fluctuation of X21, and when X21<100ms is obtained, and X21<100ms appears for the first set number of times, the cloud phone network is set to good; The network delay value RTT is set to <400ms through the control tool clumsy, the cloud phone operation setting APP continues to set the time, and the network delay value Y22 is obtained through the Chrome plug-in webrtc-internals, and 1000kbps≤bitrate<2000kbps; the network delay value X22 of the cloud phone is obtained through the JS code; the fluctuation of Y22 is consistent with the fluctuation of X22, and 100ms≤X22<400ms is obtained, and when X22 appears for the second set number of times within this range, the cloud phone network is set to be poor; The network delay value RTT ≥ 400ms is set through the control tool clumsy, the cloud phone operation setting APP continues to set the time, and the network delay value Y23 is obtained through the Chrome plug-in webrtc-internals, and the bit rate is <1000kbps; the network delay value X23 of the cloud phone is obtained through the JS code; the fluctuation of Y23 is consistent with the fluctuation of X23, and 400ms≤X23 is obtained. When X23 appears for the third set number of times within this range, the cloud phone network is set to bad.
7. The device for prompting a user of a cloud phone network status according to claim 6, characterized in that: The prompt module is specifically as follows: obtaining a real-time network delay value Z of a user's cloud phone through the JS code; if Z < 100ms, and Z < 100ms appears for a first set number of times continuously, prompting the user that the network is good; obtaining 100ms ≤ Z < 400ms, and Z appears for a second set number of times continuously within the range, prompting the user that the network is poor; if obtaining 400ms ≤ Z, and Z appears for a third set number of times continuously within the range, prompting the user that the network is bad.
8. The device for prompting a user of a cloud phone network status according to claim 5, characterized in that: The first set number of times is 5, the second set number of times is 5, and the third set number of times is 2.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.