A method, device, equipment and medium for realizing operator cold number recycling reuse
By using Selenium to simulate browser operations, the automatic recycling and reuse of cold numbers from telecom operators is achieved. This solves the problems of low efficiency and insufficient accuracy in existing technologies, improves the efficiency and accuracy of the cold number recycling and reuse process, enhances user experience, and reduces operating costs.
Patent Information
- Application Number
- CN202411731538.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2044-11-28
AI Technical Summary
In existing technologies, the process of cold number recycling and reuse by operators is inefficient and inaccurate. The different work schedules of sales staff and number administrators lead to excessively long customer waiting times. Manual processing is inefficient, and there is a lack of unified order dispatch standards, which affects service efficiency and customer experience.
Selenium is used to simulate browser operations to achieve automatic recycling and reuse of cold numbers from operators. This includes obtaining numbers to be recycled and reused, performing recycling and transfer operations, and checking the status, thereby improving the automation and accuracy of the operation.
Through automated control, the time for number recycling and reuse is significantly shortened, improving the efficiency and accuracy of cold number recycling and reuse processes for operators, enhancing user experience, reducing operating costs, and increasing system transparency and competitiveness.
Smart Images

Figure CN119562247B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of network communication, and particularly relates to a method, device, equipment and medium for realizing operator cold number recycling and reuse. BACKGROUND
[0002] The mobile phone number of a user will enter a frozen state within 90 days of suspension, and will be recycled and reassigned after 90 days. Within these 90 days, the original user can apply to resume using the number, but needs to verify their identification information to ensure consistency with the original user. The recycling and allocation of numbers is the responsibility of the city code administrator, and although this business is not common, it is particularly important to complete number allocation quickly once a customer applies.
[0003] However, the efficiency and accuracy of cold number recycling and reuse by operators currently face challenges. First, the salesperson sends a request to the number administrator by email and makes a phone call, but the number administrator is not full-time for cold number reuse, and often causes customers to wait for a long time due to not being in front of the computer or being in a meeting, which seriously affects service efficiency and customer experience. In addition, due to the different work schedules of salespersons and number administrators, the number administrator often needs to work overtime to handle requests, thereby increasing the workload. Second, manual processing is inefficient, and the accuracy of operations depends on individual experience, and there is a lack of unified dispatching standards, making it difficult to effectively guarantee the accuracy of dispatching orders. SUMMARY
[0004] The present application addresses the above deficiencies in the prior art by providing a method, device, equipment and medium for realizing operator cold number recycling and reuse. The method can realize automatic recycling and reuse of operator cold numbers based on Selenium, and can improve the efficiency and accuracy of operators in the process of cold number recycling and reuse.
[0005] In a first aspect, the present application provides a method for realizing operator cold number recycling and reuse based on Selenium, comprising the following steps:
[0006] Step S1: obtaining a to-be-recycled number in an operator cold number recycling and reuse order;
[0007] Step S2: using Selenium to simulate browser operations to perform a recycling operation on the to-be-recycled number, and obtaining a recycling result of the to-be-recycled number;
[0008] Step S3: based on the recycling result of the to-be-recycled number, performing an allocation operation through Selenium to simulate browser operations, and obtaining an allocation result of the to-be-recycled number;
[0009] Step S4: based on the allocation result of the to-be-recycled multiplex number, performing a state checking operation on the to-be-recycled multiplex number to obtain a to-be-recycled multiplex number of which the allocation is successful;
[0010] Step S5: outputting the to-be-recycled multiplex number of which the allocation is successful, so that a clerk performs an account opening operation on the to-be-recycled multiplex number of which the allocation is successful, thereby completing the recycling of the cold number of the operator based on Selenium.
[0011] Further, the step S2 specifically comprises the following steps:
[0012] Step S21: opening a cold number recycling menu through Selenium simulation;
[0013] Step S22: inputting a to-be-recycled multiplex number in the cold number recycling menu through Selenium simulation;
[0014] Step S23: performing a query on the inputted to-be-recycled multiplex number through Selenium simulation to obtain a query result of the to-be-recycled multiplex number;
[0015] Step S24: based on the query result of the to-be-recycled multiplex number, performing a selection on the to-be-recycled multiplex number through Selenium simulation to obtain a selection result of the to-be-recycled multiplex number;
[0016] Step S25: based on the selection result of the to-be-recycled multiplex number, performing a batch selection on the to-be-recycled multiplex number through Selenium simulation, i.e., obtaining a recycling result of the to-be-recycled multiplex number.
[0017] Further, the step S3 specifically comprises the following steps:
[0018] Step S31: opening a number allocation menu through Selenium simulation;
[0019] Step S32: based on the recycling result of the to-be-recycled multiplex number, inputting the to-be-recycled multiplex number in the number allocation menu through Selenium simulation; and inputting an allocation quantity through Selenium simulation according to the inputted to-be-recycled multiplex number;
[0020] Step S33: based on the allocation quantity, selecting an allocation position through Selenium simulation;
[0021] Step S34: performing a query on the allocation position through Selenium simulation to obtain a query result of the allocation position;
[0022] Step S35: based on the query result of the call-in position, selecting the call-in position through Selenium simulation to obtain a selection result of the call-in position;
[0023] Step S36: based on the selection result of the call-in position, performing batch allocation on the to-be-recycled reuse numbers through Selenium simulation, i.e., obtaining an allocation result of the to-be-recycled reuse numbers.
[0024] Further, the step S4 specifically comprises the following steps:
[0025] Step S41: obtaining the to-be-recycled reuse numbers through Selenium simulation;
[0026] Step S42: checking the states of the to-be-recycled reuse numbers through Selenium simulation;
[0027] Step S43: repeating the steps S41 to S42 until the states of all the to-be-recycled reuse numbers are checked to obtain an allocation result;
[0028] Step S44: based on the allocation result of the to-be-recycled reuse numbers, performing allocation on the to-be-recycled reuse numbers through Selenium simulation to obtain allocated to-be-recycled reuse numbers.
[0029] In a second aspect, the present application provides a device for realizing operator cold number recycling and reuse based on Selenium, which comprises:
[0030] An obtaining unit, configured to obtain to-be-recycled reuse numbers in an operator cold number recycling and reuse order;
[0031] A recycling unit, connected with the obtaining unit, configured to perform a recycling operation on the to-be-recycled reuse numbers by using Selenium simulation browser operation to obtain a recycling result of the to-be-recycled reuse numbers;
[0032] An allocation unit, connected with the recycling unit, configured to perform an allocation operation by using Selenium simulation browser operation based on the recycling result of the to-be-recycled reuse numbers to obtain an allocation result of the to-be-recycled reuse numbers;
[0033] An inspection unit, connected with the allocation unit, configured to perform a state inspection operation on the to-be-recycled reuse numbers based on the allocation result of the to-be-recycled reuse numbers to obtain allocated to-be-recycled reuse numbers;
[0034] An output unit, connected with the inspection unit, configured to output the allocated to-be-recycled reuse numbers to enable a salesperson to open an account for the allocated to-be-recycled reuse numbers, thereby realizing operator cold number recycling and reuse based on Selenium.
[0035] Further, the recycling unit comprises:
[0036] A first opening module is configured to open a frozen number recycling menu through Selenium simulation.
[0037] A first input module is connected with the first opening module and configured to input a to-be-recycled multipurpose number in the frozen number recycling menu through Selenium simulation.
[0038] A first query module is connected with the first input module and configured to query the input to-be-recycled multipurpose number through Selenium simulation to obtain a query result of the to-be-recycled multipurpose number.
[0039] A first selection module is connected with the first query module and configured to select the to-be-recycled multipurpose number based on the query result of the to-be-recycled multipurpose number to obtain a selection result of the to-be-recycled multipurpose number.
[0040] A recycling module is connected with the first selection module and configured to batch select the to-be-recycled multipurpose number based on the selection result of the to-be-recycled multipurpose number, that is, to obtain a recycling result of the to-be-recycled multipurpose number.
[0041] Further, the allocation unit comprises:
[0042] A second opening module is configured to open a number allocation menu through Selenium simulation.
[0043] A second input module is connected with the second opening module and configured to input the to-be-recycled multipurpose number in the number allocation menu through Selenium simulation based on the recycling result of the to-be-recycled multipurpose number, and to input an allocation quantity through Selenium simulation according to the input to-be-recycled multipurpose number.
[0044] A second input module is connected with the second opening module and configured to input the to-be-recycled multipurpose number in the number allocation menu through Selenium simulation based on the recycling result of the to-be-recycled multipurpose number, and to input an allocation quantity through Selenium simulation according to the input to-be-recycled multipurpose number.
[0045] A second query module is connected with the second input module and configured to query the input to-be-recycled multipurpose number through Selenium simulation to obtain a query result of the to-be-recycled multipurpose number.
[0046] A second selection module is connected with the second query module and configured to select the to-be-recycled multipurpose number through Selenium simulation based on the query result of the to-be-recycled multipurpose number to obtain a selection result of the to-be-recycled multipurpose number.
[0047] The allocation module is connected with the second selection module, and is configured to allocate the recycling numbers in batches based on the selection result of the allocation position by Selenium simulation, so as to obtain an allocation result of the to-be-recycled multiplex numbers.
[0048] Further, the checking unit comprises:
[0049] The acquisition module is configured to acquire the allocation numbers by Selenium simulation.
[0050] The checking module is connected with the acquisition module, and is configured to check the state of the to-be-recycled multiplex numbers by Selenium simulation based on the allocation result of the to-be-recycled multiplex numbers.
[0051] The processing module is connected with the checking module, and is configured to take the to-be-recycled multiplex numbers that are successfully allocated as the to-be-recycled multiplex numbers that are successfully allocated by Selenium simulation based on the allocation result of the to-be-recycled multiplex numbers.
[0052] In a third aspect, the present application provides an electronic device, which comprises a memory and a processor, and the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the method for realizing operator cold number recycling and multiplexing based on Selenium according to the first aspect.
[0053] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, and when the processor executes the computer program, the method for realizing operator cold number recycling and multiplexing based on Selenium according to the first aspect is realized.
[0054] The present application realizes operator cold number recycling and multiplexing based on Selenium, which can improve the efficiency and accuracy of operators in the process of cold number recycling and multiplexing, and also improves the transparency and user experience in the whole business process, thereby bringing higher competitiveness to operators.
[0055] Specific beneficial effects are as follows:
[0056] 1. Automatic control: the present application adopts Selenium, which can realize full-automatic operation, automatically complete information collection, data checking and process management, reduce manual participation, and thereby improve work efficiency. Selenium is a widely used open-source automation testing framework, mainly used for the automation testing of Web applications. It supports multiple programming languages (such as Python, Java, C#, etc.), and can simulate user operations on the browser, thereby realizing automation testing and task execution.
[0057] 2. Efficiency improvement: The present invention uses Selenium to quickly and accurately perform repetitive tasks such as logging into systems and clicking buttons, significantly reducing the time for number recycling and reuse, and improving the response speed of the entire process.
[0058] 3. Reduction of human error: The present invention reduces errors caused by manual input and operation by automating script execution, improving data processing accuracy and ensuring accurate user information verification.
[0059] 4. Flexibility and scalability: The present invention uses Selenium to support multiple browsers and platforms, easily adapting to various business scenarios and requirements. Additionally, subsequent process optimization and expansion are relatively simple, requiring only modifications or additions of corresponding scripts.
[0060] 5. High concurrent processing capability: The present invention uses Selenium to efficiently process a large number of number recycling applications by executing multiple automated scripts in parallel, improving the system's concurrent processing capability and meeting peak business demand.
[0061] 6. Detailed operation log: The present invention uses Selenium to record logs of each operation step, facilitating subsequent audits and problem troubleshooting, improving system transparency and traceability.
[0062] 7. Strong integration: The present invention uses Selenium to integrate with other technologies and tools, such as databases for data storage and management, and APIs for external data acquisition, forming a more complete and efficient system architecture.
[0063] 8. Improved user experience: The present invention's fast and accurate number recycling and reuse process improves user satisfaction, enhances customer experience, and increases customer trust and reliance on the operator.
[0064] 9. Reduced operating costs: The present invention reduces reliance on manual labor due to automated and efficient operations, allowing operators to reduce labor costs while maintaining high service quality.
[0065] 10. Timely response to market changes: The present invention allows operators to respond more flexibly to market changes and customer needs through automated processes, quickly adjusting business strategies to maintain a competitive advantage. BRIEF DESCRIPTION OF DRAWINGS
[0066] Figure 1 A method for implementing operator cold number recycling and reuse based on Selenium in the embodiments of the present invention is shown in the accompanying drawings.
[0067] Figure 2A total flow diagram of the operator cold number recycling reuse based on Selenium in the embodiment of the present application is shown in the figure;
[0068] Figure 3 A system structure diagram of the operator cold number recycling reuse based on Selenium in the embodiment of the present application is shown in the figure;
[0069] Figure 4 A recycling operation flow diagram of the operator cold number recycling reuse based on Selenium in the embodiment of the present application is shown in the figure;
[0070] Figure 5 An allocation operation flow diagram of the operator cold number recycling reuse based on Selenium in the embodiment of the present application is shown in the figure;
[0071] Figure 6 An operation software interface diagram of the operator cold number recycling reuse based on Selenium in the embodiment of the present application is shown in the figure;
[0072] Figure 7 An apparatus diagram of the operator cold number recycling reuse based on Selenium in the embodiment of the present application is shown in the figure;
[0073] Wherein, the reference numerals: 10, acquisition unit, 20, recycling unit, 30, allocation unit, 40, checking unit, 50, output unit. DETAILED DESCRIPTION
[0074] In order for those skilled in the art to better understand the technical solutions of the present application, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0075] It can be understood that the specific embodiments and drawings described herein are only used to explain the present application, not to limit the present application.
[0076] It can be understood that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0077] It can be understood that, for the convenience of description, only the parts related to the present application are shown in the drawings of the present application, and the parts unrelated to the present application are not shown in the drawings.
[0078] It can be understood that each unit and module involved in the embodiments of the present application can correspond to only one entity structure, or can be composed of multiple entity structures, or multiple units and modules can be integrated into one entity structure.
[0079] It can be understood that the functions and steps marked in the flowchart and block diagram of the present application can occur in an order different from that marked in the drawings without conflict.
[0080] It can be understood that the flowcharts and block diagrams of the present application show the architecture, functions and operations of possible implementations of systems, devices, apparatuses, methods according to embodiments of the present application. Each block in the flowchart or block diagram can represent a unit, module, program segment, code containing executable instructions for implementing the specified function. Moreover, each block or combination of blocks in the block diagram and flowchart can be implemented by a hardware-based system for implementing the specified function, or by a combination of hardware and computer instructions.
[0081] It can be understood that the units and modules involved in the embodiments of the present application can be implemented in software or hardware, for example, the units and modules can be located in a processor.
[0082] Embodiment 1:
[0083] As shown in Figure 1 and Figure 2 , the present embodiment provides a method for implementing operator cold number recycling and reuse based on Selenium. The method for implementing operator cold number recycling and reuse based on Selenium provided by the present embodiment is applicable to customer service centers, number management systems and batch operation processing scenarios, and can help customer service personnel quickly respond to user cold number recycling and reuse requests, realize the automation of number management, improve work efficiency and accuracy. In addition, the method can also be used for business process optimization, data monitoring and system testing, providing more efficient and reliable number resource management solutions for operators. The method of the present embodiment includes the following steps:
[0084] Step S1: Obtain the to-be-recycled and reused numbers in the operator cold number recycling and reuse order.
[0085] As shown in Figure 3 , the to-be-recycled and reused numbers in the operator cold number recycling and reuse order are obtained from the database. The process of obtaining the to-be-recycled and reused numbers in the operator cold number recycling and reuse order includes first logging in to the operator management system, navigating to the cold number recycling or order management page, then inputting the query conditions to filter out the to-be-recycled orders. Then, by traversing the query results, the to-be-recycled and reused number information in each order is extracted, and finally these numbers are sorted into a list or a database.
[0086] Step S2: Use Selenium to simulate browser operations to perform recycling operations on the to-be-recycled and reused numbers, and obtain the recycling results of the to-be-recycled and reused numbers.
[0087] This step S2 specifically includes the following steps:
[0088] Step S21: Open the frozen number recycling menu through Selenium simulation;
[0089] Step S22: input the reuse number to be recycled in the frozen number recycling menu through Selenium simulation;
[0090] Step S23: query the inputted reuse number to be recycled through Selenium simulation, and obtain the query result of the reuse number to be recycled;
[0091] Step S24: based on the query result of the reuse number to be recycled, select the reuse number to be recycled through Selenium simulation, and obtain the selection result of the reuse number to be recycled;
[0092] Step S25: based on the selection result of the reuse number to be recycled, batch select the reuse number to be recycled through Selenium simulation, and obtain the recycling result of the reuse number to be recycled.
[0093] As shown in Figure 4 To recycle a frozen number (also referred to as a recycled number), first call open_menu("frozen number recycling") to open the corresponding menu and switch to the page of frozen number recycling. Next, input the number to be recycled in the input box, clear the existing content, input the target number, and set the quantity to 1. Then click the "query" button, and the system will retrieve the relevant frozen number. Check if the number exists, if found, check the number and click the "batch operation" button, select "OK" to batch recycle. In the pop-up confirmation window, fill in the recycling reason and confirm the operation. Wait for a moment, the system will prompt that the recycling is successful, then click the "return" button in the prompt box. Finally, update the number record and log, and complete the entire number recycling process.
[0094] This process is implemented through code, and specifically includes the following steps:
[0095] (1) Open menu code
[0096]
[0097]
[0098]
[0099] (2) Simulate operation to open the recycling menu, input the number, and quantity code
[0100]
[0101] (3) Simulate point query, check the number code
[0102]
[0103]
[0104] (4) Point batch recycling, confirming code
[0105]
[0106]
[0107] Step S3: Based on the recycling result of the to-be-recycled multiplex number, a dispatch operation is performed by simulating a browser operation through Selenium to obtain a dispatch result of the to-be-recycled multiplex number.
[0108] This step S3 specifically includes the following steps:
[0109] Step S31: A number dispatch menu is opened by simulating through Selenium;
[0110] Step S32: Based on the recycling result of the to-be-recycled multiplex number, the to-be-recycled multiplex number is input in the number dispatch menu by simulating through Selenium; and according to the input to-be-recycled multiplex number, a dispatch quantity is input by simulating through Selenium;
[0111] Step S33: Based on the dispatch quantity, an incoming position is selected by simulating through Selenium;
[0112] Step S34: The incoming position is queried by simulating through Selenium to obtain a query result of the incoming position;
[0113] Step S35: Based on the query result of the incoming position, the incoming position is selected by simulating through Selenium to obtain a selection result of the incoming position;
[0114] Step S36: Based on the selection result of the incoming position, the to-be-recycled multiplex number is batch dispatched by simulating through Selenium, that is, a dispatch result of the to-be-recycled multiplex number is obtained.
[0115] As Figure 5As shown, to dial the number, first check if the number starts with "0", if so, call the num allocateFix method to process the number; otherwise, record the dial start log and confirm that WebDriver is logged in. Next, select the corresponding dial menu according to the beginning of the number, call the open_menu method to open the "number dialing" or "fixed number dialing" page, and then switch to the corresponding iframe. Enter the number to be dialed and the quantity as 1 in the input box, and confirm the input. Next, click the target dial-in position, and select the appropriate warehouse, if it is a specific warehouse ID, select the corresponding position in the warehouse tree. After completing the selection, click the Confirm button, and the system will wait for the page to load. Then, click the Query button to retrieve the dialing record, and check the number to be dialed. If the number exists, perform batch dialing, select whether to direct the on-shelf, and finally confirm the dialing operation. After completion, click the Back button, update the number dialing record and record the operation log, thus ending the entire number dialing process. This process is implemented through code, and specifically includes the following steps:
[0116] (1) Open the dialing menu, enter the number, and the quantity code
[0117]
[0118]
[0119]
[0120] (2) Select the dial-in position core code
[0121]
[0122]
[0123]
[0124] (3) Point to query, check the number, and batch dial core code
[0125]
[0126]
[0127]
[0128] Step S4: Based on the dialing result of the to-be-recycled reusable number, a state checking operation is performed on the to-be-recycled reusable number to obtain a dialing successful to-be-recycled reusable number.
[0129] This step S4 specifically includes the following steps:
[0130] Step S41: Obtain the to-be-recycled multiplex number through Selenium simulation;
[0131] Step S42: Check the status of the to-be-recycled multiplex number through Selenium simulation;
[0132] Step S43: Repeat steps S41 to S42 until the status of all to-be-recycled multiplex numbers is checked, and obtain the allocation result;
[0133] Step S44: Based on the allocation result of the to-be-recycled multiplex number, use Selenium simulation to take the to-be-recycled multiplex number that is successfully allocated as the to-be-recycled multiplex number that is successfully allocated.
[0134] Step S5: Output the to-be-recycled multiplex number that is successfully allocated, so that the salesperson opens an account for the to-be-recycled multiplex number that is successfully allocated, thereby completing the recycling and multiplexing of the operator cold number based on Selenium.
[0135] The operation software interface schematic diagram of this embodiment is shown in Figure 6 , which shows the overall process and interface layout of recycling and multiplexing of operator cold numbers based on Selenium. The interface has clear navigation and function modules, allowing users to intuitively perform cold number recycling, number allocation, and information query operations, improving the convenience of operation and user experience. The diagram includes buttons and input boxes for each key function, providing a simple and easy-to-use interface for users, thereby effectively supporting the automation of cold number management.
[0136] This embodiment realizes recycling and multiplexing of operator cold numbers based on Selenium, which can significantly improve the efficiency and accuracy of operators in the process of cold number recycling and multiplexing. In addition, this method can also enhance the transparency and user experience of the entire business process, thereby providing operators with stronger competitiveness.
[0137] Embodiment 2:
[0138] As shown in Figure 7 , this embodiment provides a device for recycling and multiplexing of operator cold numbers based on Selenium, which includes:
[0139] The acquisition unit 10 is configured to acquire the to-be-recycled multiplex number in the order for recycling and multiplexing of operator cold numbers.
[0140] The recycling unit 20 is connected to the acquisition unit 10 and is configured to perform recycling operations on the to-be-recycled multiplex number using Selenium simulation browser operation, and obtain the recycling result of the to-be-recycled multiplex number.
[0141] The allocation unit 30 is connected with the recovery unit 20, and is configured to perform an allocation operation based on the recovery result of the to-be-recovered multiplex number by simulating browser operation through Selenium, so as to obtain an allocation result of the to-be-recovered multiplex number.
[0142] The checking unit 40 is connected with the allocation unit 30, and is configured to perform a state checking operation on the to-be-recovered multiplex number based on the allocation result of the to-be-recovered multiplex number, so as to obtain a to-be-recovered multiplex number of which allocation is successful.
[0143] The output unit 50 is connected with the checking unit 40, and is configured to output the to-be-recovered multiplex number of which allocation is successful, so that a clerk performs an account opening operation on the to-be-recovered multiplex number of which allocation is successful, thereby completing the recovery of the cold number of the operator based on Selenium.
[0144] As a specific implementation, the recovery unit 20 comprises:
[0145] The first opening module is configured to simulate opening of a cold number recovery menu through Selenium;
[0146] The first input module is connected with the first opening module, and is configured to simulate input of a to-be-recovered multiplex number in the cold number recovery menu through Selenium;
[0147] The first query module is connected with the first input module, and is configured to simulate querying of the input to-be-recovered multiplex number through Selenium, so as to obtain a query result of the to-be-recovered multiplex number;
[0148] The first selection module is connected with the first query module, and is configured to select the to-be-recovered multiplex number based on the query result of the to-be-recovered multiplex number, so as to obtain a selection result of the to-be-recovered multiplex number;
[0149] The recovery module is connected with the first selection module, and is configured to batch select the to-be-recovered multiplex number based on the selection result of the to-be-recovered multiplex number, so as to obtain a recovery result of the to-be-recovered multiplex number.
[0150] As a specific implementation, the allocation unit 30 comprises:
[0151] The second opening module is configured to simulate opening of a number allocation menu through Selenium;
[0152] The second input module is connected with the second opening module, and is configured to simulate input of a to-be-recovered multiplex number in the number allocation menu through Selenium based on the recovery result of the to-be-recovered multiplex number, and to simulate input of an allocation quantity through Selenium according to the input to-be-recovered multiplex number;
[0153] The tuning-in module is connected with the second input module, and is configured to tune in to a warehouse position based on the tuning quantity by Selenium simulation;
[0154] The second query module is connected with the tuning-in module, and is configured to query the tuned-in warehouse position by Selenium simulation to obtain a query result of the tuned-in warehouse position;
[0155] The second selection module is connected with the second query module, and is configured to select the tuned-in warehouse position based on the query result of the tuned-in warehouse position by Selenium simulation to obtain a selection result of the tuned-in warehouse position;
[0156] The tuning module is connected with the second selection module, and is configured to tune the recycling number in batches based on the selection result of the tuned-in warehouse position by Selenium simulation, that is, to obtain a tuning result of the to-be-recycled multipurpose number.
[0157] As a specific implementation, the checking unit 40 includes:
[0158] The acquisition module is configured to acquire the tuning number by Selenium simulation;
[0159] The checking module is connected with the acquisition module, and is configured to check the state of the to-be-recycled multipurpose number based on the tuning result of the to-be-recycled multipurpose number by Selenium simulation;
[0160] The processing module is connected with the checking module, and is configured to process the to-be-recycled multipurpose number based on the tuning result of the to-be-recycled multipurpose number by Selenium simulation.
[0161] The device in this embodiment can perform the method in Embodiment 1.
[0162] Embodiment 3:
[0163] This embodiment provides an electronic device, which includes a memory and a processor, and the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the method for realizing operator cold number recycling multipurpose based on Selenium according to Embodiment 1.
[0164] Embodiment 4:
[0165] This embodiment provides a computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the method for realizing operator cold number recycling multipurpose based on Selenium according to Embodiment 1.
[0166] It will be understood that the above embodiments are merely exemplary embodiments for illustrating the principles of the present invention, and the present invention is not limited thereto. Those skilled in the art will appreciate that various modifications and improvements can be made without departing from the spirit and substance of the present invention, and such modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A method for realizing operator cold number recovery and reuse based on Selenium, characterized in that: The method comprises the following steps: Step S1: Obtain the number to be recycled and reused in the operator's cold number recycling and reuse order; Step S2: using Selenium to simulate browser operations to perform a recycling operation on the multiplexed number to be recycled, and obtaining a recycling result of the multiplexed number to be recycled; Step S3: Based on the recovery result of the multiplexed number to be recovered, performing a transfer operation by simulating a browser operation through Selenium to obtain the transfer result of the multiplexed number to be recovered; Step S4: Based on the allocation result of the multiplexing number to be recovered, a status check operation is performed on the multiplexing number to be recovered to obtain the multiplexing number to be recovered that has been successfully allocated; Step S5: outputting the successfully allocated reused number to be recovered, so that the salesperson can open an account for the successfully allocated reused number to be recovered, thereby completing the operator's cold number recovery and reuse based on Selenium.
2. The method for realizing operator cold number recovery and reuse based on Selenium according to claim 1 is characterized in that: The step S2 specifically includes the following steps: Step S21: Open the frozen number recovery menu through Selenium simulation; Step S22: using Selenium to simulate inputting the reused number to be recycled in the frozen number recycling menu; Step S23: query the input multiplexing number to be recycled through Selenium simulation to obtain the query result of the multiplexing number to be recycled; Step S24: Based on the query result of the multiplexed number to be recovered, the multiplexed number to be recovered is selected through Selenium simulation to obtain a selection result of the multiplexed number to be recovered; Step S25: Based on the selection result of the multiplexed numbers to be recovered, batch selection is performed on the multiplexed numbers to be recovered through Selenium simulation, so as to obtain the recovery result of the multiplexed numbers to be recovered.
3. The method for realizing operator cold number recovery and reuse based on Selenium according to claim 1 is characterized in that: The step S3 specifically includes the following steps: Step S31: Open the number dialing menu through Selenium simulation; Step S32: Based on the recovery result of the multiplexed number to be recovered, input the multiplexed number to be recovered in the number dialing menu through Selenium simulation; And, based on the input reuse number to be recycled, the allocation quantity is input through Selenium simulation; Step S33: Based on the transfer quantity, select the transfer-in warehouse through Selenium simulation; Step S34: query the transferred-in warehouse location through Selenium simulation to obtain the query result of the transferred-in warehouse location; Step S35: Based on the query result of the transfer-in warehouse, the transfer-in warehouse is selected through Selenium simulation to obtain the selection result of the transfer-in warehouse; Step S36: Based on the selection result of the transfer-in position, the to-be-reclaimed multiplexed numbers are batch-allocated through Selenium simulation, thereby obtaining the allocation result of the to-be-reclaimed multiplexed numbers.
4. The method for realizing operator cold number recovery and reuse based on Selenium according to any one of claims 1 to 3, characterized in that: The step S4 specifically includes the following steps: Step S41: obtaining the reused number to be recycled through Selenium simulation; Step S42: Check the status of the reused number to be recycled through Selenium simulation; Step S43: Repeat steps S41 to S42 until the status of all reused numbers to be recovered is checked and the transfer result is obtained; Step S44: Based on the allocation result of the multiplexed number to be recovered, the successfully allocated multiplexed number to be recovered is used as the successfully allocated multiplexed number to be recovered through Selenium simulation.
5. A device based on Selenium to realize the recovery and reuse of cold numbers of operators, characterized by: The device comprises: An acquisition unit, used to acquire the numbers to be recovered and reused in the operator's cold number recovery and reuse order; A recycling unit, connected to the acquisition unit, configured to use Selenium to simulate browser operations to perform a recycling operation on the multiplexed number to be recycled, and obtain a recycling result of the multiplexed number to be recycled; An allocation unit connected to the recovery unit is used to perform an allocation operation based on the recovery result of the multiplexed number to be recovered by simulating a browser operation through Selenium to obtain the allocation result of the multiplexed number to be recovered; A checking unit connected to the allocation unit, configured to perform a status check operation on the multiplexing number to be recovered based on the allocation result of the multiplexing number to be recovered, so as to obtain the multiplexing number to be recovered that has been successfully allocated; The output unit is connected to the inspection unit and is used to output the successfully allocated reused number to be recovered, so that the salesperson can open an account for the successfully allocated reused number to be recovered, thereby completing the operator's cold number recovery and reuse based on Selenium.
6. The Selenium-based device for realizing operator cold number recovery and reuse according to claim 5, characterized in that: The recovery unit comprises: The first opening module is used to simulate opening the frozen number recovery menu through Selenium; A first input module, connected to the first opening module, for simulating inputting a reused number to be recycled in the frozen number recycling menu through Selenium; A first query module, connected to the first input module, is used to query the inputted reused number to be recycled through Selenium simulation to obtain a query result of the reused number to be recycled; a first selection module, connected to the first query module, configured to select the multiplexed number to be recovered based on the query result of the multiplexed number to be recovered, and obtain a selection result of the multiplexed number to be recovered; The recycling module is connected to the first selection module and is used to batch select the multiplexed numbers to be recycled based on the selection result of the multiplexed numbers to be recycled, that is, to obtain the recycling result of the multiplexed numbers to be recycled.
7. The Selenium-based device for realizing operator cold number recovery and reuse according to claim 5, characterized in that: The allocation unit includes: The second opening module is used to simulate opening the number dialing menu through Selenium; A second input module, connected to the second opening module, is used to simulate inputting the multiplexed number to be recycled in the number transfer menu through Selenium based on the recycling result of the multiplexed number to be recycled; and, based on the input multiplexed number to be recycled, simulate inputting the transfer quantity through Selenium; A transfer module, connected to the second input module, configured to select a transfer location based on the transfer quantity through Selenium simulation; A second query module is connected to the transfer module and is used to query the transferred-in warehouse through Selenium simulation to obtain a query result of the transferred-in warehouse; a second selection module connected to the second query module, configured to select the transfer-in warehouse based on the query result of the transfer-in warehouse through Selenium simulation to obtain a selection result of the transfer-in warehouse; The allocation module is connected to the second selection module and is used to batch allocate the multiplexed numbers to be recovered based on the selection result of the transferred-in position through Selenium simulation, that is, to obtain the allocation result of the multiplexed numbers to be recovered.
8. The Selenium-based device for reusing cold carrier numbers according to any one of claims 5 to 7, characterized in that: The inspection unit includes: The acquisition module is used to obtain the dialing number through Selenium simulation; A checking module, connected to the acquisition module, for checking the status of the to-be-reclaimed multiplexed number through Selenium simulation based on the allocation result of the to-be-reclaimed multiplexed number; The processing module is connected to the checking module and is used to simulate the successfully allocated multiplexing number to be recovered as the successfully allocated multiplexing number to be recovered based on the allocation result of the multiplexing number to be recovered through Selenium.
9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory. When the processor runs the computer program stored in the memory, the processor executes the method for realizing operator cold number recovery and reuse based on Selenium according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method for realizing operator cold number recovery and reuse based on Selenium according to any one of claims 1 to 4.
Citation Information
Patent Citations
Intelligent decoration industry number pool matching strategy system and method
CN114168638A
Insect production systems and methods
US20170325431A1