CN116208622A - Batch cloud mobile phone synchronous operation method - Google Patents

Batch cloud mobile phone synchronous operation method Download PDF

Info

Publication number
CN116208622A
CN116208622A CN202310473024.8A CN202310473024A CN116208622A CN 116208622 A CN116208622 A CN 116208622A CN 202310473024 A CN202310473024 A CN 202310473024A CN 116208622 A CN116208622 A CN 116208622A
Authority
CN
China
Prior art keywords
cloud mobile
mobile phone
mobile phones
control
controlled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310473024.8A
Other languages
Chinese (zh)
Other versions
CN116208622B (en
Inventor
喻鑫
郭玉其
刘铮
张李秋
谢功淼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Beigong Intelligent Technology Co ltd
Original Assignee
Jiangsu Beigong Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Beigong Intelligent Technology Co ltd filed Critical Jiangsu Beigong Intelligent Technology Co ltd
Priority to CN202310473024.8A priority Critical patent/CN116208622B/en
Publication of CN116208622A publication Critical patent/CN116208622A/en
Application granted granted Critical
Publication of CN116208622B publication Critical patent/CN116208622B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/065Generation of reports related to network devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a batch cloud mobile phone synchronous operation method, which comprises the following steps: selecting a part of cloud mobile phones for synchronous operation control from the cloud mobile phone list, and selecting a master control cloud mobile phone and a controlled cloud mobile phone from the selected part of cloud mobile phones; the control options selected by the user and executed by the master control cloud mobile phone are obtained in real time and sent to each controlled cloud mobile phone, and the corresponding control options are executed by each controlled cloud mobile phone; and receiving test results fed back by the cloud mobile phones and generating corresponding test report files. According to the batch cloud mobile phone synchronous operation method, the cloud mobile phones are set to be the master control cloud mobile phone and each controlled cloud mobile phone, so that the operation of the master control cloud mobile phone is asynchronously executed on each controlled cloud mobile phone, the same operation of a plurality of cloud mobile phones can be controlled by operating one cloud mobile phone, the requirement of quick operation and maintenance is met, the operation efficiency is improved, and the labor cost is reduced.

Description

Batch cloud mobile phone synchronous operation method
Technical Field
The invention relates to a cloud mobile phone operation method, in particular to a batch cloud mobile phone synchronous operation method.
Background
Along with the enhancement of cloud computing capability, the application of cloud mobile phones is also becoming more popular, the use quantity of cloud mobile phones is becoming larger in recent years, the working pressure of cloud mobile phones for management is also becoming larger for operation and maintenance personnel, the cloud mobile phones are operated one by the operation and maintenance personnel in the past, the operation efficiency is low, and human misoperation is easy to occur, so that the management of so many cloud mobile phones is a very headache problem, and if mass cloud mobile phones can be subjected to group control, the management efficiency of the cloud mobile phones can be greatly improved, and the labor cost is reduced.
Disclosure of Invention
The invention aims to: the batch cloud mobile phone synchronous operation method has the advantages that multiple cloud mobile phones can be controlled to perform the same operation by controlling one cloud mobile phone, so that quick operation and maintenance are realized, the control efficiency is improved, and the labor cost is reduced.
The technical scheme is as follows: the invention discloses a batch cloud mobile phone synchronous operation method, which comprises the following steps:
step 1, selecting a part of cloud mobile phones which are subjected to synchronous operation control from a cloud mobile phone list, selecting one cloud mobile phone from the selected part of cloud mobile phones as a master control cloud mobile phone, and taking the rest cloud mobile phones as controlled cloud mobile phones;
step 2, displaying a real-time operation interface of the master control cloud mobile phone, an operation interface screenshot of the controlled cloud mobile phone and control options of each synchronous operation, acquiring control options selected by a user and executed by the master control cloud mobile phone in real time, sending the control options to each controlled cloud mobile phone, and executing corresponding control options by each controlled cloud mobile phone;
and step 3, receiving test results fed back by the cloud mobile phones and generating corresponding test report files.
Further, in step 1, the specific steps of selecting one cloud mobile phone from the selected part of cloud mobile phones as a master cloud mobile phone and using the rest cloud mobile phones as controlled cloud mobile phones are as follows:
step 1.1, a cloud machine list is obtained from a cloud machine server, and all cloud mobile phones in the obtained cloud machine list are marked as not being synchronized;
step 1.2, selecting cloud mobile phones marked as not being synchronized and in an idle state from the cloud mobile phone list, selecting a corresponding number of cloud mobile phones from the selected cloud mobile phones according to a synchronization number threshold to perform synchronization operation control, and selecting all cloud mobile phones in the idle state if the number of the selected cloud mobile phones is smaller than the synchronization number threshold;
step 1.3, marking all cloud mobile phones selected to perform synchronous operation control in the cloud mobile phone list as synchronized according to the selected result in the step 1.2;
step 1.4, selecting one cloud mobile phone meeting the communication rate requirement from cloud mobile phones selected for synchronous operation control as a master control cloud mobile phone, and taking the rest cloud mobile phones selected for synchronous operation control as controlled cloud mobile phones;
and step 1.5, adding the cloud mobile phone marked as synchronized into a recommended use list.
Further, in step 1.4, the specific step of selecting a cloud mobile phone meeting the communication rate requirement as the master control cloud mobile phone includes:
step 1.4.1, selecting a cloud mobile phone from cloud mobile phones which need synchronous operation control;
step 1.4.2, carrying out communication rate test on the selected cloud mobile phone, if the communication rate is smaller than or equal to a rate threshold value, reselecting one cloud mobile phone for carrying out communication rate test until the communication rate of the selected cloud mobile phone is larger than the rate threshold value, and taking the cloud mobile phone with the communication rate larger than the rate threshold value as a master control cloud mobile phone;
and step 1.4.3, after the master cloud mobile phone is selected, taking the rest cloud mobile phones as controlled cloud mobile phones.
Further, in step 2, the specific steps of obtaining, in real time, the control options selected by the user and executed on the master cloud mobile phone and sending the control options to each controlled cloud mobile phone are as follows:
step 2.1, establishing communication connection with a master control cloud mobile phone and each controlled cloud mobile phone, setting screenshot frequency of each controlled cloud mobile phone, displaying a real-time operation interface of the master control cloud mobile phone, an operation interface screenshot of the controlled cloud mobile phone and control options of each synchronous operation, and keeping the screenshot updating rate of the operation interface screenshot of the controlled cloud mobile phone consistent with the screenshot frequency;
step 2.2, acquiring each control option of synchronous operation of a user in real time, establishing a selection sequence, and arranging the control options acquired each time to the tail part of the selection sequence;
and 2.3, sequentially selecting one control option from the selection sequence according to the arrangement sequence, and sending the selected control option to all the controlled cloud mobile phones according to the corresponding preset time interval.
Further, step 2.4 is further included, and all the control options obtained in step 2.2 are sent to each unsynchronized cloud mobile phone in the cloud mobile phone list, specifically including the steps of:
step 2.4.1, recording each control option obtained in step 2.2 and a preset time interval corresponding to each control option sent in step 2.3;
step 2.4.2, periodically checking the states of all cloud mobile phones in the cloud machine list, judging whether the number of cloud mobile phones to be synchronized, which are marked as non-synchronized and in an idle state in the cloud machine list, is more than or equal to a starting threshold, entering step 2.4.3 if the number of cloud mobile phones to be synchronized is less than the starting threshold, entering step 2.4.4 if the number of cloud mobile phones to be synchronized is more than or equal to the starting threshold,
step 2.4.3, judging whether the total number of the unsynchronized cloud mobile phones marked as unsynchronized cloud mobile phones in the cloud machine list is smaller than a starting threshold, if the total number of the unsynchronized cloud mobile phones is smaller than the starting threshold, waiting for all the unsynchronized cloud mobile phones to be converted into an idle state, entering step 2.4.4, and if the total number of the unsynchronized cloud mobile phones is larger than or equal to the starting threshold, returning to step 2.4.2;
step 2.4.4, calling step 1.2, step 1.3 and step 1.5 in sequence, and then sending each recorded control option to each cloud mobile phone selected in step 1.2 according to a corresponding preset time interval.
Further, in step 3, the specific step of generating the corresponding test report file is as follows:
step 3.1, obtaining a result interface screenshot of each control option execution completion moment fed back by each cloud mobile phone after executing the corresponding control option in real time;
step 3.2, obtaining result interface screenshots fed back by each cloud mobile phone in real time, and classifying each received result interface screenshot into a corresponding picture set of the master cloud mobile phone or the controlled cloud mobile phone according to source information;
step 3.3, analyzing each result interface screenshot in each picture set to obtain the screen model of each result interface screenshot and the corresponding control option;
step 3.4, comparing each result interface screenshot with a corresponding preset interface screenshot according to the screen model and the control options, if the images are consistent, judging that the control options are successfully executed, and if the images are inconsistent, judging that the control options are failed to be executed;
and 3.5, counting the judging results of the screenshot of each result interface of each cloud mobile phone, generating a counting table as a test report file and sending the counting table to a communication address preset by a user.
Further, in step 3.4, the specific steps of comparing each result interface screenshot with the corresponding preset screenshot according to the screen model and the control options are as follows:
step 3.4.1, finding a screenshot comparison library corresponding to the control options according to the control options;
step 3.4.2, finding out a preset interface screenshot corresponding to the screen model from a screenshot comparison library according to the screen model;
and 3.4.3, calculating the similarity between the interface screenshot of the result and the preset interface screenshot, if the similarity is greater than 95%, judging that the images are consistent, otherwise, judging that the images are inconsistent.
Further, in step 2.1, an option content interface of the currently ongoing control option of the master control cloud mobile phone is also displayed, and a corresponding parameter input option or an option execution progress is set on the option content interface.
Further, in step 2.1, the specific steps of displaying the screenshot of the operation interface of the controlled cloud mobile phone are as follows:
step 2.1.1, performing display sequencing on all the controlled cloud mobile phones, and setting a display replacement period;
step 2.2.2, defining a controlled display area of the controlled cloud mobile phone in a display interface, and setting the display quantity of the controlled cloud mobile phone in the controlled display area;
and 2.2.3, dividing each controlled cloud mobile phone into a plurality of display groups according to the display sequence and the display quantity, displaying one display group in the controlled display area each time, and replacing one display group in the controlled display area for display when one display replacement period is reached.
Further, in step 2.3, the specific step of sending the extracted control options to all the controlled cloud mobile phones according to the preset time interval is as follows:
step 2.3.1, acquiring each historical execution time length of each control option, and taking 1.2-1.5 times of the maximum historical execution time length of each control option as the optimal execution time length of the corresponding control option;
step 2.3.2, a corresponding interval time table is formulated according to the selection sequence, in the interval time table, a preset time interval corresponding to a first control option of the selection sequence is 0, and a preset time interval corresponding to each subsequent control option of the selection sequence is the optimal execution duration of the previous control option;
step 2.3.3, sequentially selecting one control option from the selection sequence according to the arrangement sequence, and obtaining a preset time interval of the extracted control option from the interval time table;
step 2.3.4, judging whether the extracted control option is the first control option in the selection sequence, if so, directly transmitting the extracted control option to all the controlled cloud mobile phones, otherwise, waiting for the difference between the current time and the transmission time of the last control option to reach the preset time interval of the extracted control option, and transmitting the extracted control option to all the controlled cloud mobile phones after reaching the preset time interval;
step 2.3.5, checking whether the selection sequence has an unsent control option, returning to step 2.3.3 if the selection sequence has the unsent control option, and entering step 2.3.6 if the selection sequence has no unsent control option;
step 2.3.6, acquiring the selection sequence updating information and/or the exit synchronization operation instruction in real time, returning to step 2.3.2 if the selection sequence updating information is acquired, and exiting the synchronization operation method and not acquiring the selection sequence updating information any more if the exit synchronization operation instruction is acquired.
Compared with the prior art, the invention has the beneficial effects that: by setting the cloud mobile phone as the master control cloud mobile phone and each controlled cloud mobile phone, the control of the master control cloud mobile phone is asynchronously executed on each controlled cloud mobile phone, so that the same operation of a plurality of cloud mobile phones can be controlled by operating one cloud mobile phone, the requirement of quick operation and maintenance is met, the control efficiency is improved, and the labor cost is reduced; by generating the corresponding test report file, operation and maintenance personnel can conveniently check the synchronous operation result, and the operation and maintenance quality is ensured.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Description of the embodiments
The technical scheme of the present invention will be described in detail with reference to the accompanying drawings, but the scope of the present invention is not limited to the embodiments.
Examples
As shown in fig. 1, the batch cloud mobile phone synchronous operation method disclosed by the invention comprises the following steps:
step 1, selecting a part of cloud mobile phones which are subjected to synchronous operation control from a cloud mobile phone list, selecting one cloud mobile phone from the selected part of cloud mobile phones as a master control cloud mobile phone, and taking the rest cloud mobile phones as controlled cloud mobile phones;
step 2, displaying a real-time operation interface of the master control cloud mobile phone, an operation interface screenshot of the controlled cloud mobile phone and control options of each synchronous operation, acquiring control options selected by a user and executed by the master control cloud mobile phone in real time, sending the control options to each controlled cloud mobile phone, and executing corresponding control options by each controlled cloud mobile phone;
and step 3, receiving test results fed back by the cloud mobile phones and generating corresponding test report files.
By setting the cloud mobile phone as the master control cloud mobile phone and each controlled cloud mobile phone, the control of the master control cloud mobile phone is asynchronously executed on each controlled cloud mobile phone, so that the same operation of a plurality of cloud mobile phones can be controlled by operating one cloud mobile phone, the requirement of quick operation and maintenance is met, the control efficiency is improved, and the labor cost is reduced; by generating the corresponding test report file, operation and maintenance personnel can conveniently check the synchronous operation result, and the operation and maintenance quality is ensured.
Further, in step 1, the specific steps of selecting one cloud mobile phone from the selected part of cloud mobile phones as a master cloud mobile phone and using the rest cloud mobile phones as controlled cloud mobile phones are as follows:
step 1.1, acquiring a cloud machine list from a cloud machine server, wherein all cloud mobile phone information managed by the cloud machine server is counted in the cloud machine list, wherein the cloud mobile phone information comprises name information, access address, idle state information, synchronous mark information, screen model information and the like of a cloud mobile phone, and all cloud mobile phones in the acquired cloud machine list are marked as not being synchronous;
step 1.2, selecting cloud mobile phones marked as not being synchronized and in an idle state from the cloud mobile phone list, selecting a corresponding number of cloud mobile phones from the selected cloud mobile phones according to a synchronization number threshold to perform synchronization operation control, and selecting all cloud mobile phones in the idle state if the number of the selected cloud mobile phones is smaller than the synchronization number threshold;
step 1.3, marking all cloud mobile phones selected to perform synchronous operation control in the cloud mobile phone list as synchronized according to the selected result in the step 1.2;
step 1.4, selecting one cloud mobile phone meeting the communication rate requirement from cloud mobile phones selected for synchronous operation control as a master control cloud mobile phone, and taking the rest cloud mobile phones selected for synchronous operation control as controlled cloud mobile phones;
and step 1.5, adding the cloud mobile phone marked as synchronized into a recommended use list.
The cloud mobile phones for synchronous operation control are selected in batches according to the synchronous number threshold value, so that the problem of operation control failure caused by excessive single synchronous number is avoided; the cloud mobile phones which are selected to be subjected to synchronous operation control are marked as being subjected to synchronous operation, so that the cloud mobile phones which are subjected to synchronous operation are prevented from being selected to be subjected to synchronous operation again; selecting a cloud mobile phone meeting the communication rate requirement, so as to ensure the synchronous operation timeliness of the master control cloud mobile phone; by using the cloud mobile phone with the synchronization operation as the priority recommendation, the cloud mobile phone which is not synchronized is prevented from being occupied continuously and cannot complete the synchronization operation.
Further, in step 1.4, the specific step of selecting a cloud mobile phone meeting the communication rate requirement as the master control cloud mobile phone includes:
step 1.4.1, selecting a cloud mobile phone from cloud mobile phones which need synchronous operation control;
step 1.4.2, performing communication rate test on the selected cloud mobile phone, wherein the communication rate test method is implemented by adopting the existing network communication rate test method, if the communication rate is smaller than or equal to a rate threshold value, re-selecting one cloud mobile phone for performing communication rate test until the communication rate of the selected cloud mobile phone is larger than the rate threshold value, and taking the cloud mobile phone with the communication rate larger than the rate threshold value as a master control cloud mobile phone;
and step 1.4.3, after the master cloud mobile phone is selected, taking the rest cloud mobile phones as controlled cloud mobile phones.
By testing the communication rate, the selected cloud mobile phone can be guaranteed to have better communication performance, and the timely control response rate of the master control cloud mobile phone is guaranteed.
Further, in step 2, the specific steps of obtaining, in real time, the control options selected by the user and executed on the master cloud mobile phone and sending the control options to each controlled cloud mobile phone are as follows:
step 2.1, establishing communication connection with a master control cloud mobile phone and each controlled cloud mobile phone, setting screenshot frequency of each controlled cloud mobile phone, displaying a real-time operation interface of the master control cloud mobile phone, an operation interface screenshot of the controlled cloud mobile phone and control options of each synchronous operation, keeping the screenshot update rate of the operation interface screenshot of the controlled cloud mobile phone consistent with the screenshot frequency, and uploading, updating and displaying the interface of the controlled cloud mobile phone in an interface screenshot mode, so that data transmission quantity is effectively reduced without real-time video communication;
step 2.2, each control option of synchronous operation of a user is obtained in real time, a selection sequence is established, each obtained control option is arranged at the tail part of the selection sequence, so that the control options timely input by operation and maintenance personnel are cached and then sent to each controlled cloud mobile phone according to a preset time interval, and therefore operation continuity of the operation and maintenance personnel is ensured;
and 2.3, sequentially selecting one control option from the selection sequence according to the arrangement sequence, and sending the selected control option to all the controlled cloud mobile phones according to the corresponding preset time interval.
The real-time operation interface of the master control cloud mobile phone, the operation interface screenshot of the controlled cloud mobile phone and the control options of each synchronous operation are displayed, so that operation and maintenance personnel can conveniently operate and check the corresponding operation control conditions; maintaining the screenshot updating rate of the operation interface consistent with the screenshot frequency, so that the controlled cloud mobile phone interface can be updated in time, an operation and maintenance person can conveniently master the execution condition of the controlled cloud mobile phone, and meanwhile, the resource occupation of the operation of a processor can be effectively reduced by setting the updating rate; the acquired control options are sorted and stored through the selection sequence, so that the selected control options are sent to all the controlled cloud mobile phones according to the corresponding preset time interval, next operation control is carried out on the master control cloud mobile phones without waiting for the completion of execution of each cloud mobile phone, therefore, operation and maintenance personnel can finish operation control of each item of the master control cloud mobile phones at one time according to own operation rhythm, and then can concentrate on checking the execution condition of each controlled cloud mobile phone on a display interface, and the operation control efficiency of the master control cloud mobile phones is ensured.
Further, step 2.4 is further included, and all the control options obtained in step 2.2 are sent to each unsynchronized cloud mobile phone in the cloud mobile phone list, specifically including the steps of:
step 2.4.1, recording each control option obtained in step 2.2 and a preset time interval corresponding to each control option sent in step 2.3, so that each cloud mobile phone which is not synchronously controlled in the following step can obtain the same synchronous control in the background of the method;
step 2.4.2, periodically checking the states of all cloud mobile phones in the cloud machine list, enabling operation and maintenance personnel to set a periodic checking period according to the aging requirement of synchronous operation, judging whether the number of cloud mobile phones to be synchronized, which are marked as non-synchronized and in an idle state in the cloud machine list, is greater than or equal to a starting threshold, entering step 2.4.3 if the number of cloud mobile phones to be synchronized is smaller than the starting threshold, entering step 2.4.4 if the number of cloud mobile phones to be synchronized is greater than or equal to the starting threshold,
step 2.4.3, judging whether the total number of the unsynchronized cloud mobile phones marked as unsynchronized cloud mobile phones in the cloud machine list is smaller than a starting threshold, if the total number of the unsynchronized cloud mobile phones is smaller than the starting threshold, waiting for all the unsynchronized cloud mobile phones to be converted into an idle state, entering step 2.4.4, and if the total number of the unsynchronized cloud mobile phones is larger than or equal to the starting threshold, returning to step 2.4.2;
step 2.4.4, calling step 1.2, step 1.3 and step 1.5 in sequence, and then sending each recorded control option to each cloud mobile phone selected in step 1.2 according to a corresponding preset time interval.
All acquired control options are sent to all the cloud mobile phones which are not synchronized in the cloud mobile phone list, so that all the control options are expanded to all the cloud mobile phones to be executed in the background, and operation and maintenance personnel are not required to repeat operation control after the primary operation is completed; by setting the starting threshold, the operation step 1 is started when a certain number of background synchronous operations are achieved, frequent starting of the operation step 1 can be avoided, and occupation of processor resources during operation is reduced; and when the total number of the non-synchronized cloud mobile phones in all the cloud mobile phones is smaller than the starting threshold, waiting for all the non-synchronized cloud mobile phones to be converted into an idle state and then starting the operation step 1, so that the last few cloud mobile phones finish the synchronization operation once, and the background is prevented from frequently starting the operation step 1.
Further, in step 3, the specific step of generating the corresponding test report file is as follows:
step 3.1, obtaining a result interface screenshot of each control option execution completion moment fed back by each cloud mobile phone after executing the corresponding control option in real time;
step 3.2, obtaining a result interface screenshot fed back by each cloud mobile phone in real time, classifying each received result interface screenshot into a corresponding picture set of a master cloud mobile phone or a controlled cloud mobile phone according to source information, wherein the source information is access address information of each cloud mobile phone, so as to determine which cloud mobile phone sends the result interface screenshot;
step 3.3, analyzing each result interface screenshot in each picture set to obtain a screen model of each result interface screenshot and corresponding control options, wherein the screen model can be obtained according to the size of the result interface screenshot, and the control options are obtained according to the content recognition result of the result interface screenshot, such as text recognition, so that the control options are judged according to the recognized keywords;
step 3.4, comparing each result interface screenshot with a corresponding preset interface screenshot according to the screen model and the control options, if the images are consistent, judging that the control options are successfully executed, and if the images are inconsistent, judging that the control options are failed to be executed;
and 3.5, counting the judging results of the screenshot of each result interface of each cloud mobile phone, generating a counting table as a test report file and sending the counting table to a communication address preset by a user.
Judging whether the control options are successfully executed or not according to the comparison result of the result interface screenshot and the corresponding preset interface screenshot, so that operation and maintenance personnel can master the execution result of each cloud mobile phone; corresponding preset interface screenshots can be accurately found by limiting control options and screen models, and the reliability of comparison is ensured; and the test report file is generated, so that the operation and maintenance personnel can conveniently check the test report file.
Further, in step 3.4, the specific steps of comparing each result interface screenshot with the corresponding preset screenshot according to the screen model and the control options are as follows:
step 3.4.1, finding a screenshot comparison library corresponding to the control options according to the control options, and storing various classified preset interface screenshots in the screenshot comparison library, wherein the first class is classified as the control options, and the second class is classified as the screen types;
step 3.4.2, finding out a preset interface screenshot corresponding to the screen model from a screenshot comparison library according to the screen model;
and 3.4.3, calculating the similarity between the interface screenshot of the result and the preset interface screenshot, if the similarity is greater than 95%, judging that the images are consistent, otherwise, judging that the images are inconsistent.
The screenshot comparison library can be used for conveniently and quickly finding out corresponding preset interface screenshots, so that the comparison efficiency is improved; and determining whether the result interface screenshot is consistent with the preset interface screenshot or not through similarity comparison, so that whether the control options of all cloud mobile phones are successfully executed or not can be accurately judged.
Further, in step 2.1, an option content interface of the currently ongoing control option of the main control cloud mobile phone is also displayed, and a corresponding parameter input option or an option execution progress is set on the option content interface; selectable control options in the display interface include landscape/portrait screen switching, screen capturing, virtual positioning settings, root authority settings, installing applications, uploading files, volume settings, battery settings, shutdown, restarting, and the like.
The on-going control options are displayed through the option content interface, so that operation and maintenance personnel can conveniently check the execution progress and parameter adjustment of the control options.
For example, if the control option is to install the application, when the control option to install the application is sent to the cloud mobile phone, the cloud mobile phone first detects whether the application is installed on the cloud mobile phone, if not, the application is installed, if so, the version of the application is compared with the version of the application, and if the versions are different, the cloud mobile phone covers the application to install the version.
Further, in step 2.1, the specific steps of displaying the screenshot of the operation interface of the controlled cloud mobile phone are as follows:
step 2.1.1, performing display sequencing on all the controlled cloud mobile phones, and setting a display replacement period;
2.2.2, defining a controlled display area of the controlled cloud mobile phone in a display interface, and setting the display quantity of the controlled cloud mobile phone in the controlled display area, wherein the controlled display area is an area except a main control cloud mobile phone display area, a control option display area and an option content interface in the display interface;
and 2.2.3, dividing each controlled cloud mobile phone into a plurality of display groups according to the display sequence and the display quantity, displaying one display group in the controlled display area each time, and replacing one display group in the controlled display area for display when one display replacement period is reached.
Display groups displayed in the controlled display areas can be periodically replaced by setting a display replacement period, so that execution condition display is performed on each controlled cloud mobile phone to the maximum extent.
Further, in step 2.3, the specific step of sending the extracted control options to all the controlled cloud mobile phones according to the preset time interval is as follows:
step 2.3.1, acquiring each historical execution time length of each control option, and taking 1.2-1.5 times of the largest historical execution time length of each control option as the optimal execution time length of the corresponding control option, wherein the optimal execution time length can be preferably set to be 1.3 times;
step 2.3.2, a corresponding interval time table is formulated according to the selection sequence, in the interval time table, a preset time interval corresponding to a first control option of the selection sequence is 0, and a preset time interval corresponding to each subsequent control option of the selection sequence is the optimal execution duration of the previous control option;
step 2.3.3, sequentially selecting one control option from the selection sequence according to the arrangement sequence, and obtaining a preset time interval of the extracted control option from the interval time table;
step 2.3.4, judging whether the extracted control option is the first control option in the selection sequence, if so, directly transmitting the extracted control option to all the controlled cloud mobile phones, otherwise, waiting for the difference between the current time and the transmission time of the last control option to reach the preset time interval of the extracted control option, and transmitting the extracted control option to all the controlled cloud mobile phones after reaching the preset time interval;
step 2.3.5, checking whether the selection sequence has an unsent control option, returning to step 2.3.3 if the selection sequence has the unsent control option, and entering step 2.3.6 if the selection sequence has no unsent control option;
step 2.3.6, acquiring the selection sequence updating information and/or the exit synchronization operation instruction in real time, returning to step 2.3.2 if the selection sequence updating information is acquired, and exiting the synchronization operation method and not acquiring the selection sequence updating information any more if the exit synchronization operation instruction is acquired.
By taking 1.2-1.5 times of the maximum historical execution time length as the optimal execution time length of the corresponding control options, each control option can be ensured to be sent to the next control option after execution is completed, each control option of the cloud mobile phone is ensured to be executed independently, the conflict caused by simultaneous execution of multiple control options is avoided, and the execution success rate of each control option is ensured; the corresponding preset time interval can be rapidly found according to the control options by making an interval time table; the updating information of the selection sequence and/or the synchronous operation instruction are obtained in real time, so that the cloud mobile phone converted into the idle state can be synchronously operated and controlled in time, and the updating and obtaining of the selection sequence can be stopped in time after the operation and maintenance personnel exit.
As described above, although the present invention has been shown and described with reference to certain preferred embodiments, it is not to be construed as limiting the invention itself. Various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. The batch cloud mobile phone synchronous operation method is characterized by comprising the following steps of:
step 1, selecting a part of cloud mobile phones which are subjected to synchronous operation control from a cloud mobile phone list, selecting one cloud mobile phone from the selected part of cloud mobile phones as a master control cloud mobile phone, and taking the rest cloud mobile phones as controlled cloud mobile phones;
step 2, displaying a real-time operation interface of the master control cloud mobile phone, an operation interface screenshot of the controlled cloud mobile phone and control options of each synchronous operation, acquiring control options selected by a user and executed by the master control cloud mobile phone in real time, sending the control options to each controlled cloud mobile phone, and executing corresponding control options by each controlled cloud mobile phone;
and step 3, receiving test results fed back by the cloud mobile phones and generating corresponding test report files.
2. The method for synchronously operating cloud mobile phones in batch according to claim 1, wherein in step 1, the specific steps of selecting one cloud mobile phone from the selected part of cloud mobile phones as a master cloud mobile phone and using the rest cloud mobile phones as controlled cloud mobile phones are as follows:
step 1.1, a cloud machine list is obtained from a cloud machine server, and all cloud mobile phones in the obtained cloud machine list are marked as not being synchronized;
step 1.2, selecting cloud mobile phones marked as not being synchronized and in an idle state from the cloud mobile phone list, selecting a corresponding number of cloud mobile phones from the selected cloud mobile phones according to a synchronization number threshold to perform synchronization operation control, and selecting all cloud mobile phones in the idle state if the number of the selected cloud mobile phones is smaller than the synchronization number threshold;
step 1.3, marking all cloud mobile phones selected to perform synchronous operation control in the cloud mobile phone list as synchronized according to the selected result in the step 1.2;
step 1.4, selecting one cloud mobile phone meeting the communication rate requirement from cloud mobile phones selected for synchronous operation control as a master control cloud mobile phone, and taking the rest cloud mobile phones selected for synchronous operation control as controlled cloud mobile phones;
and step 1.5, adding the cloud mobile phone marked as synchronized into a recommended use list.
3. The batch cloud mobile phone synchronous operation method according to claim 2, wherein in step 1.4, the specific step of selecting a cloud mobile phone meeting the communication rate requirement as the master cloud mobile phone comprises the following steps:
step 1.4.1, selecting a cloud mobile phone from cloud mobile phones which need synchronous operation control;
step 1.4.2, carrying out communication rate test on the selected cloud mobile phone, if the communication rate is smaller than or equal to a rate threshold value, reselecting one cloud mobile phone for carrying out communication rate test until the communication rate of the selected cloud mobile phone is larger than the rate threshold value, and taking the cloud mobile phone with the communication rate larger than the rate threshold value as a master control cloud mobile phone;
and step 1.4.3, after the master cloud mobile phone is selected, taking the rest cloud mobile phones as controlled cloud mobile phones.
4. The batch cloud mobile phone synchronous operation method according to claim 2, wherein in step 2, the specific steps of acquiring control options executed by a user for a master cloud mobile phone in real time and sending the control options to each controlled cloud mobile phone are as follows:
step 2.1, establishing communication connection with a master control cloud mobile phone and each controlled cloud mobile phone, setting screenshot frequency of each controlled cloud mobile phone, displaying a real-time operation interface of the master control cloud mobile phone, an operation interface screenshot of the controlled cloud mobile phone and control options of each synchronous operation, and keeping the screenshot updating rate of the operation interface screenshot of the controlled cloud mobile phone consistent with the screenshot frequency;
step 2.2, acquiring each control option of synchronous operation of a user in real time, establishing a selection sequence, and arranging the control options acquired each time to the tail part of the selection sequence;
and 2.3, sequentially selecting one control option from the selection sequence according to the arrangement sequence, and sending the selected control option to all the controlled cloud mobile phones according to the corresponding preset time interval.
5. The method for synchronously operating cloud mobile phones in batch according to claim 4, further comprising step 2.4, wherein all the control options obtained in step 2.2 are sent to each cloud mobile phone which is not synchronized in the cloud mobile phone list, and the specific steps are as follows:
step 2.4.1, recording each control option obtained in step 2.2 and a preset time interval corresponding to each control option sent in step 2.3;
step 2.4.2, periodically checking the states of all cloud mobile phones in the cloud machine list, judging whether the number of cloud mobile phones to be synchronized, which are marked as non-synchronized and in an idle state in the cloud machine list, is more than or equal to a starting threshold, entering step 2.4.3 if the number of cloud mobile phones to be synchronized is less than the starting threshold, entering step 2.4.4 if the number of cloud mobile phones to be synchronized is more than or equal to the starting threshold,
step 2.4.3, judging whether the total number of the unsynchronized cloud mobile phones marked as unsynchronized cloud mobile phones in the cloud machine list is smaller than a starting threshold, if the total number of the unsynchronized cloud mobile phones is smaller than the starting threshold, waiting for all the unsynchronized cloud mobile phones to be converted into an idle state, entering step 2.4.4, and if the total number of the unsynchronized cloud mobile phones is larger than or equal to the starting threshold, returning to step 2.4.2;
step 2.4.4, calling step 1.2, step 1.3 and step 1.5 in sequence, and then sending each recorded control option to each cloud mobile phone selected in step 1.2 according to a corresponding preset time interval.
6. The batch cloud mobile phone synchronous operation method according to claim 1, wherein in step 3, the specific step of generating the corresponding test report file is:
step 3.1, obtaining a result interface screenshot of each control option execution completion moment fed back by each cloud mobile phone after executing the corresponding control option in real time;
step 3.2, obtaining result interface screenshots fed back by each cloud mobile phone in real time, and classifying each received result interface screenshot into a corresponding picture set of the master cloud mobile phone or the controlled cloud mobile phone according to source information;
step 3.3, analyzing each result interface screenshot in each picture set to obtain the screen model of each result interface screenshot and the corresponding control option;
step 3.4, comparing each result interface screenshot with a corresponding preset interface screenshot according to the screen model and the control options, if the images are consistent, judging that the control options are successfully executed, and if the images are inconsistent, judging that the control options are failed to be executed;
and 3.5, counting the judging results of the screenshot of each result interface of each cloud mobile phone, generating a counting table as a test report file and sending the counting table to a communication address preset by a user.
7. The method for synchronously operating the batch cloud mobile phones according to claim 6, wherein in step 3.4, the specific steps of comparing each result interface screenshot with a corresponding preset screenshot according to the screen model and the control options are as follows:
step 3.4.1, finding a screenshot comparison library corresponding to the control options according to the control options;
step 3.4.2, finding out a preset interface screenshot corresponding to the screen model from a screenshot comparison library according to the screen model;
and 3.4.3, calculating the similarity between the interface screenshot of the result and the preset interface screenshot, if the similarity is greater than 95%, judging that the images are consistent, otherwise, judging that the images are inconsistent.
8. The method for synchronously operating the batch cloud mobile phones according to claim 4, wherein in step 2.1, an option content interface of the currently ongoing control option of the master cloud mobile phone is further displayed, and a corresponding parameter input option or an option execution progress is set on the option content interface.
9. The batch cloud mobile phone synchronous operation method according to claim 4, wherein in step 2.1, the specific step of displaying the running interface screenshot of the controlled cloud mobile phone is:
step 2.1.1, performing display sequencing on all the controlled cloud mobile phones, and setting a display replacement period;
step 2.2.2, defining a controlled display area of the controlled cloud mobile phone in a display interface, and setting the display quantity of the controlled cloud mobile phone in the controlled display area;
and 2.2.3, dividing each controlled cloud mobile phone into a plurality of display groups according to the display sequence and the display quantity, displaying one display group in the controlled display area each time, and replacing one display group in the controlled display area for display when one display replacement period is reached.
10. The method for synchronously operating cloud mobile phones in batch according to claim 4, wherein in step 2.3, the specific step of sending the extracted control options to all the controlled cloud mobile phones according to the preset time interval is as follows:
step 2.3.1, acquiring each historical execution time length of each control option, and taking 1.2-1.5 times of the maximum historical execution time length of each control option as the optimal execution time length of the corresponding control option;
step 2.3.2, a corresponding interval time table is formulated according to the selection sequence, in the interval time table, a preset time interval corresponding to a first control option of the selection sequence is 0, and a preset time interval corresponding to each subsequent control option of the selection sequence is the optimal execution duration of the previous control option;
step 2.3.3, sequentially selecting one control option from the selection sequence according to the arrangement sequence, and obtaining a preset time interval of the extracted control option from the interval time table;
step 2.3.4, judging whether the extracted control option is the first control option in the selection sequence, if so, directly transmitting the extracted control option to all the controlled cloud mobile phones, otherwise, waiting for the difference between the current time and the transmission time of the last control option to reach the preset time interval of the extracted control option, and transmitting the extracted control option to all the controlled cloud mobile phones after reaching the preset time interval;
step 2.3.5, checking whether the selection sequence has an unsent control option, returning to step 2.3.3 if the selection sequence has the unsent control option, and entering step 2.3.6 if the selection sequence has no unsent control option;
step 2.3.6, acquiring the selection sequence updating information and/or the exit synchronization operation instruction in real time, returning to step 2.3.2 if the selection sequence updating information is acquired, and exiting the synchronization operation method and not acquiring the selection sequence updating information any more if the exit synchronization operation instruction is acquired.
CN202310473024.8A 2023-04-28 2023-04-28 Batch cloud mobile phone synchronous operation method Active CN116208622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310473024.8A CN116208622B (en) 2023-04-28 2023-04-28 Batch cloud mobile phone synchronous operation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310473024.8A CN116208622B (en) 2023-04-28 2023-04-28 Batch cloud mobile phone synchronous operation method

Publications (2)

Publication Number Publication Date
CN116208622A true CN116208622A (en) 2023-06-02
CN116208622B CN116208622B (en) 2023-07-07

Family

ID=86514989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310473024.8A Active CN116208622B (en) 2023-04-28 2023-04-28 Batch cloud mobile phone synchronous operation method

Country Status (1)

Country Link
CN (1) CN116208622B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581885A (en) * 2019-08-23 2019-12-17 华云数据(厦门)网络有限公司 Method, device and equipment for determining equipment synchronization and storage medium
CN113242275A (en) * 2021-04-12 2021-08-10 西安神鸟软件科技有限公司 Cloud mobile phone control method and device
CN113301157A (en) * 2021-05-24 2021-08-24 深圳卡多希科技有限公司 Cloud mobile phone group control method, equipment and storage medium based on android system
WO2021218751A1 (en) * 2020-04-30 2021-11-04 华为技术有限公司 Cloud phone-based media data processing method and terminal device
CN113691628A (en) * 2021-08-25 2021-11-23 北京百度网讯科技有限公司 Task switching method and device, system, electronic equipment and computer medium
CN113766504A (en) * 2021-09-01 2021-12-07 北京百度网讯科技有限公司 Communication connection method, device, server, terminal device, system and medium
CN114157701A (en) * 2021-11-19 2022-03-08 北京百度网讯科技有限公司 Task testing method, device, equipment and storage medium
CN114416476A (en) * 2022-01-07 2022-04-29 北京百度网讯科技有限公司 Operation monitoring method, device, equipment and storage medium for cloud mobile phone application
CN114422572A (en) * 2022-01-13 2022-04-29 北京百度网讯科技有限公司 Cloud mobile phone control method and device, electronic equipment and storage medium
CN114567659A (en) * 2022-02-25 2022-05-31 北京百度网讯科技有限公司 Cloud mobile phone control method, device, equipment and storage medium
CN115080076A (en) * 2022-08-23 2022-09-20 江苏北弓智能科技有限公司 Cloud mobile phone software management method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581885A (en) * 2019-08-23 2019-12-17 华云数据(厦门)网络有限公司 Method, device and equipment for determining equipment synchronization and storage medium
WO2021218751A1 (en) * 2020-04-30 2021-11-04 华为技术有限公司 Cloud phone-based media data processing method and terminal device
CN113242275A (en) * 2021-04-12 2021-08-10 西安神鸟软件科技有限公司 Cloud mobile phone control method and device
CN113301157A (en) * 2021-05-24 2021-08-24 深圳卡多希科技有限公司 Cloud mobile phone group control method, equipment and storage medium based on android system
CN113691628A (en) * 2021-08-25 2021-11-23 北京百度网讯科技有限公司 Task switching method and device, system, electronic equipment and computer medium
CN113766504A (en) * 2021-09-01 2021-12-07 北京百度网讯科技有限公司 Communication connection method, device, server, terminal device, system and medium
CN114157701A (en) * 2021-11-19 2022-03-08 北京百度网讯科技有限公司 Task testing method, device, equipment and storage medium
CN114416476A (en) * 2022-01-07 2022-04-29 北京百度网讯科技有限公司 Operation monitoring method, device, equipment and storage medium for cloud mobile phone application
CN114422572A (en) * 2022-01-13 2022-04-29 北京百度网讯科技有限公司 Cloud mobile phone control method and device, electronic equipment and storage medium
CN114567659A (en) * 2022-02-25 2022-05-31 北京百度网讯科技有限公司 Cloud mobile phone control method, device, equipment and storage medium
CN115080076A (en) * 2022-08-23 2022-09-20 江苏北弓智能科技有限公司 Cloud mobile phone software management method

Also Published As

Publication number Publication date
CN116208622B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
WO2019019652A1 (en) Push-information processing method, apparatus, computer device, and storage medium
CN107465599A (en) Schedule method to set up and device in a kind of instant messaging
CN107741950A (en) Processing method, device, processor and the service end of data syn-chronization task
CN109634970A (en) Table method of data synchronization, equipment, storage medium and device
CN112925520A (en) Method and device for building visual page and computer equipment
CN112379963B (en) Remote application window control method and device and computer equipment
US20030135643A1 (en) Data transmission scheduling system and method
CN107704550A (en) File migration method, apparatus and computer-readable recording medium
CN105808231A (en) System and method for recording script and system and method for playing script
CN106682910B (en) Information processing method, system and related equipment
CN116208622B (en) Batch cloud mobile phone synchronous operation method
CN114286167A (en) Cross-device interaction method and device, electronic device and storage medium
CN112003976B (en) Hard-coding and hard-decoding test method and device
CN113076186A (en) Task processing method and device, electronic equipment and storage medium
CN106790424B (en) Timing control method, client, server and timing control system
CN110502574B (en) Cross-system information synchronization method, user equipment, storage medium and device
CN112423024A (en) Video transcoding method and device, computer equipment and storage medium
CN105487769B (en) Media file display method and device and electronic equipment
CN116795256A (en) Task processing method and device, electronic equipment and storage medium
CN116501407A (en) Application starting method, system, equipment and medium
CN110244968A (en) Charging station management system and method
CN114661563A (en) Data processing method and system based on stream processing framework
CN113505179A (en) Access path synchronization method and device
CN113495846A (en) Terminal test system and test device based on cluster
CN113485864A (en) Abnormality detection method, abnormality analysis method, abnormality detection apparatus, abnormality analysis apparatus, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant