CN114139038A - Terminal replacement method and device for cloud classroom, electronic equipment and storage medium - Google Patents

Terminal replacement method and device for cloud classroom, electronic equipment and storage medium Download PDF

Info

Publication number
CN114139038A
CN114139038A CN202111436493.XA CN202111436493A CN114139038A CN 114139038 A CN114139038 A CN 114139038A CN 202111436493 A CN202111436493 A CN 202111436493A CN 114139038 A CN114139038 A CN 114139038A
Authority
CN
China
Prior art keywords
information
terminal
new
old
new terminal
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.)
Pending
Application number
CN202111436493.XA
Other languages
Chinese (zh)
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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN202111436493.XA priority Critical patent/CN114139038A/en
Publication of CN114139038A publication Critical patent/CN114139038A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education

Abstract

The application discloses a terminal replacement method, a terminal replacement device, electronic equipment and a storage medium for a cloud classroom, wherein new terminal ID information, new terminal IP information, a seat number and an old terminal information query instruction sent by a new terminal are received, the new terminal IP information comprises IP information distributed by a DHCP relay server when the new terminal is started, and the seat number is a seat number corresponding to the old terminal or a newly added seat number; searching a network segment where the IP information of the new terminal is located according to the old terminal information query instruction; according to the network segment where the IP information of the new terminal is located, cloud classroom information associated with the network segment is determined; searching whether old terminal information exists in the cloud classroom information according to the seat number; if the old terminal information exists, the old terminal information is sent to the new terminal; if the old terminal information does not exist, the seat number is set as the new seat number, the setting success result is fed back to the new terminal, the problem of information loss caused by cloud classroom terminal replacement is solved, and the information integrity of the cloud classroom is improved.

Description

Terminal replacement method and device for cloud classroom, electronic equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of cloud classrooms, in particular to a terminal replacement method and device for a cloud classroom, electronic equipment and a storage medium.
Background
With the development of information technology, computers and the internet quickly become the leading roles of people's life, and all-round coverage of various industries of society and the same is true of the education field. In this context, a new educational mode of cloud classroom has also emerged. The cloud classroom is a platform and a management system which are established on the basis of cloud computing and are supported by a computer and an audio-visual classroom.
In recent years, the popularization of education clouds has been gradually accelerated, and many schools try cloud classrooms, which are products of the combination of cloud computing technology and education industry. In a use scene of a cloud classroom, a terminal is placed on a seat of each student, and hardware devices such as a display screen, a mouse and a keyboard are connected to the terminal and are connected to a switch through a network cable, so that the terminal communicates with a management platform corresponding to the cloud classroom.
In a cloud classroom, student terminals have a certain association relationship with resources such as the cloud classroom, a course desktop, a seat number and an IP (Internet protocol), and when a certain student terminal has abnormal conditions such as hardware failure and needs to replace terminal equipment, the resources need to be reproduced and associated. When the terminal is replaced at present, all resource information is reconfigured for new terminal equipment, so that the original resource information of the student terminal is lost, and the experience of students in a cloud classroom is poor.
Disclosure of Invention
The embodiment of the application provides a terminal replacement method and device for a cloud classroom, electronic equipment and a storage medium, and can solve the problem of information loss caused by replacement of student terminals in the cloud classroom and improve the information integrity and interactive experience of the cloud classroom.
In a first aspect, an embodiment of the present application provides a terminal replacement method for a cloud classroom, including:
receiving new terminal information and an old terminal information query instruction sent by a new terminal, wherein the new terminal information comprises new terminal ID information, new terminal IP information and a seat number, the new terminal IP information comprises IP information distributed by a DHCP relay server when the new terminal is started, and the seat number is a corresponding seat number of the old terminal or a new seat number;
searching a network segment where the IP information of the new terminal is located according to the old terminal information query instruction;
according to the network segment where the IP information of the new terminal is located, cloud classroom information associated with the network segment is determined;
searching whether old terminal information exists in the cloud classroom information according to the seat number;
if the old terminal information exists, the old terminal information is sent to the new terminal;
and if the old terminal information does not exist, setting the seat number as the new seat number, and feeding back a successful setting result to the new terminal.
Further, the method comprises the following steps:
if the old terminal information does not exist, the new terminal information is stored;
and associating the new terminal information with cloud classroom information and a newly-added seat number, and fixing the IP information of the new terminal into network configuration.
Further, the method further comprises:
and if the old terminal information exists, generating a terminal replacement record according to a received confirmation replacement old terminal instruction sent by the new terminal, wherein the terminal replacement record comprises cloud classroom information, seat number information, old terminal ID information, old terminal mainboard ID information, new terminal ID information and new terminal IP information.
Further, the method further comprises:
and automatically generating new terminal ID information after the new terminal is started, and storing the new terminal ID information in a memory hard disk of the new terminal.
Further, after sending the old terminal information to the new terminal if the old terminal information exists, the method further includes:
receiving replacement success information sent by a new terminal, wherein the replacement success information comprises replacement ID information, new terminal mainboard ID information and replacement IP information, the replacement ID information comprises the replacement of the new terminal ID information in a new terminal memory hard disk into old terminal ID information, and the replacement IP comprises the replacement of IP information distributed by a DHCP relay server into IP information in old terminal network configuration;
and updating the terminal replacement record according to the received replacement success information.
Further, the method further comprises:
and updating the ID information of the old terminal mainboard recorded in the old terminal information into the ID information of the new terminal mainboard according to the received successful replacement information sent by the new terminal.
Further, the method further comprises:
and in the cloud classroom initialization stage, the number of network segment IP of the cloud classroom is configured to be more than or equal to N +1, wherein N represents the number of seats of the cloud classroom.
In a second aspect, an embodiment of the present application provides a terminal replacement device for a cloud classroom, including:
the information receiving module is used for receiving new terminal information and an old terminal information inquiry instruction sent by a new terminal, wherein the new terminal information comprises new terminal ID information, new terminal IP information and a seat number, the new terminal IP information comprises IP information distributed by a DHCP relay server when the new terminal is started, and the seat number is a seat number corresponding to the old terminal or a newly added seat number;
the network segment searching module is used for searching the network segment where the IP information of the new terminal is located according to the old terminal information inquiry instruction;
the associated cloud classroom determining module is used for determining cloud classroom information associated with the network segment according to the network segment where the new terminal IP information is located;
the old terminal information searching module is used for searching whether old terminal information exists in the cloud classroom information according to the seat number;
the result feedback module is used for sending the old terminal information to the new terminal if the old terminal information exists;
and if the old terminal information does not exist, setting the seat number as the new seat number, and feeding back a successful setting result to the new terminal.
Further, the apparatus further comprises:
the information association module is used for storing new terminal information if the old terminal information does not exist;
and associating the new terminal information with cloud classroom information and a newly-added seat number, and fixing the IP information of the new terminal into network configuration.
Further, the apparatus further comprises:
and the terminal replacement record storage module is used for generating a terminal replacement record according to a received confirmation replacement old terminal instruction sent by the new terminal if the old terminal information exists, wherein the terminal replacement record comprises cloud classroom information, seat number information, old terminal ID information, old terminal mainboard ID information, new terminal ID information and new terminal IP information.
Further, the apparatus further comprises:
and the new terminal ID generating module is used for automatically generating new terminal ID information after the new terminal is started and storing the new terminal ID information in a memory hard disk of the new terminal.
Further, the result feedback module is further configured to receive replacement success information sent by the new terminal, where the replacement success information includes replacement ID information, new terminal motherboard ID information, and replacement IP information, the replacement ID information includes replacing new terminal ID information in a new terminal memory hard disk with old terminal ID information, and the replacement IP includes replacing IP information allocated by the DHCP relay server with IP information in an old terminal network configuration;
and updating the terminal replacement record according to the received replacement success information.
Further, the terminal replacement record storage module is further configured to update the old terminal motherboard ID information recorded in the old terminal information to the new terminal motherboard ID information according to the received replacement success information sent by the new terminal.
Further, the apparatus further comprises:
and the network segment initialization module is used for configuring the number of the network segment IPs of the cloud classroom to be more than or equal to N +1 in the cloud classroom initialization phase, wherein N represents the number of the seats of the cloud classroom.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the terminal replacement method of the cloud classroom as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for terminal replacement in a cloud classroom as described in the first aspect.
According to the method and the device, the old terminal inquiry information instruction, the new terminal ID information, the new terminal IP information and the seat number are received, the network segment where the new terminal IP information is located is searched, the associated cloud classroom is determined according to the network segment where the new terminal IP information is located, the old terminal information is searched in the associated cloud classroom according to the seat number, the old terminal information is sent to the new terminal if the old terminal information exists in the search, the seat number is set to be the new seat number if the old terminal information does not exist, and the setting success result is fed back to the new terminal. By adopting the technical means, when the old terminal is replaced by the new terminal, the old terminal information of the old terminal in the cloud classroom system can be obtained through the seat number, so that the new terminal can conveniently obtain the historical information of the old terminal, information loss caused by terminal replacement is avoided, and the information integrity of the cloud classroom is improved; in addition, when a new terminal is added, the seat number is set as a new seat number by default when the information of the old terminal cannot be inquired through the seat number, so that the association between the new terminal and the cloud classroom is added, the association establishment efficiency between the new terminal and the cloud classroom is improved, and the interaction experience of the cloud classroom is improved.
Drawings
Fig. 1 is a flowchart of a terminal replacement method for a cloud classroom according to an embodiment of the present disclosure;
fig. 2 is an alternative schematic diagram of a terminal in the first embodiment of the present application;
fig. 3 is a schematic diagram of a newly added terminal in a first embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal replacement device in a cloud classroom according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
According to the terminal replacing method, device, electronic equipment and storage medium for the cloud classroom, when the terminal is replaced, the information of the old terminal in the cloud classroom system is obtained through the seat number, so that the new terminal can conveniently obtain the historical information of the old terminal, information loss caused by terminal replacement is avoided, and the information integrity of the cloud classroom is improved; and when a new terminal is added, the seat number is set as the new seat number by default when the old terminal information cannot be inquired through the seat number, so that the association between the new terminal and the cloud classroom is added. Compared with the traditional terminal replacing mode in a cloud classroom, all resource information is usually re-associated and re-configured when a terminal is replaced or newly added, so that original terminal information is lost, and system information is incomplete. Therefore, the method for replacing the terminal of the cloud classroom is provided to solve the problem of information loss caused by replacement of the student terminal of the existing cloud classroom.
The first embodiment is as follows:
fig. 1 is a flowchart of a terminal replacement method for a cloud classroom provided in an embodiment of the present application, where the terminal replacement method for the cloud classroom provided in this embodiment may be executed by a terminal replacement device for the cloud classroom, the terminal replacement device for the cloud classroom may be implemented in a software and/or hardware manner, and the terminal replacement device for the cloud classroom may be formed by two or more physical entities or may be formed by one physical entity. Generally, the terminal replacement device of the cloud classroom may be a terminal device, such as a computer, a mobile phone, or a tablet.
The following description will be given taking a computer as an example of a main body for executing the terminal replacement method in a cloud classroom. Referring to fig. 1, the method for replacing a terminal in a cloud classroom specifically includes:
s101, receiving new terminal information and an old terminal information inquiry command sent by a new terminal, wherein the new terminal information comprises new terminal ID information, new terminal IP information and a seat number, the new terminal IP information comprises IP information distributed by a DHCP relay server when the new terminal is started, and the seat number is a seat number corresponding to the old terminal or a new seat number.
And in the cloud classroom initialization stage, the number of network segment IP of the cloud classroom is configured to be more than or equal to N +1, wherein N represents the number of seats of the cloud classroom. When a new terminal needs to be replaced and updated by an old terminal or a new terminal needs to be additionally arranged, the ID information of the new terminal is automatically generated after the new terminal is started and is stored in a memory hard disk of the new terminal. And the new terminal establishes communication contact with the DHCP relay server to acquire the IP information of the new terminal automatically distributed by the DHCP relay server.
Referring to fig. 2, when an old terminal needs to be replaced and updated by a new terminal, the new terminal sends new terminal information including new terminal ID information, new terminal IP information, a seat number corresponding to the old terminal, and an old terminal information query instruction to the cloud classroom server. And the cloud classroom server receives new terminal information and an old terminal information inquiry instruction. For example, in fig. 2, the old terminal corresponding to the seat number 8 has a failure, and a new terminal needs to be replaced, and the corresponding seat number is 8. And the new terminal equipment with the seat number of 8 sends corresponding new terminal ID information, new terminal IP information, seat number of 8 and an old terminal information inquiry instruction to the cloud classroom server side. And the cloud classroom server side receives corresponding new terminal ID information, new terminal IP information, seat number 8 and an old terminal information query instruction.
Referring to fig. 3, when a new terminal needs to be added, the new terminal sends new terminal information including new terminal ID information, new terminal IP information, a new seat number, and an old terminal information query instruction to the cloud classroom server. And the cloud classroom server receives new terminal information and an old terminal information inquiry instruction. For example, in fig. 3, when a seat of a student needs to be added to a cloud classroom, a new terminal is added, and the number of the added seat is 19. And the new terminal equipment with the seat number of 19 sends corresponding new terminal ID information, new terminal IP information, seat number of 19 and an old terminal information inquiry instruction to the cloud classroom server side. And the cloud classroom server side receives corresponding new terminal ID information, new terminal IP information, seat number 19 and an old terminal information inquiry instruction.
And S102, searching the network segment where the IP information of the new terminal is located according to the old terminal information inquiry instruction.
When a certain old terminal needs to replace and update a new terminal, the information query of the old terminal is started according to the information query instruction of the old terminal, and the information of the cloud classroom corresponding to the old terminal needs to be known. Based on the fact that association exists between different cloud classrooms and corresponding terminal devices with existing seat numbers, network segment information of IP of the cloud classrooms and the IP of the associated terminal devices are also associated, and the new terminal and the old terminal are provided with the same DHCP relay server to distribute the IP information, the network segment where the IP information of the new terminal is located needs to be searched to find out the corresponding associated cloud classrooms.
Illustratively, referring to fig. 2, when a new terminal with a seat number of 8 replaces an old terminal, the old terminal information query is started according to an old terminal information query instruction, based on the association between the old terminal with the seat number of 8 and a corresponding cloud classroom, network segment information of the IP of both the cloud classroom and the old terminal with the seat number of 8 is also associated, and the new terminal and the old terminal with the seat number of 8 all have the same DHCP relay server to allocate IP information, so that a network segment where the IP information of the new terminal with the seat number of 8 is located needs to be searched to find out the cloud classroom associated with the old terminal with the seat number of 8.
When a new terminal needs to be added, the information query of the old terminal is started according to the information query instruction of the old terminal, and the information of the cloud classroom corresponding to the old terminal needs to be known. Based on the fact that association exists between different cloud classrooms and corresponding terminal devices with existing seat numbers, a new terminal device needs to be associated with the cloud classrooms for the first time, and due to the fact that association exists between network segment information of the IP of the cloud classrooms and the IP of the associated terminal devices, in order to associate the new terminal device with the cloud classrooms, a network segment where the IP information of the new terminal device is located needs to be searched to match the associated cloud classrooms corresponding to the network segment where the IP information of the new terminal device is located.
For example, referring to fig. 3, when a new terminal of the new seat 19 is a new terminal device, it needs to match the associated cloud classroom, and therefore, the network segment where the IP information of the new terminal is located needs to be searched to match the associated cloud classroom corresponding to the network segment where the new terminal is located.
S103, according to the network segment where the new terminal IP information is located, cloud classroom information associated with the network segment is determined.
When a certain old terminal needs to replace and update a new terminal, the old terminal is associated with the corresponding cloud classroom, and the new terminal and the old terminal are provided with the same DHCP relay server to distribute IP information, so that the cloud classroom information corresponding to the old terminal can be determined according to the network segment where the IP information of the new terminal is located.
For example, referring to fig. 2, since the IP network segment of the old terminal device with the seat number of 8 is associated with the corresponding cloud classroom, and the new and old terminals with the seat number of 8 all have the same DHCP relay server to allocate IP information, the network segment corresponding to the old terminal device can be searched according to the IP information of the new terminal device with the seat number of 8, and the cloud classroom information associated with the old terminal device with the seat number of 8 can be determined according to the network segment.
And when a new terminal needs to be added, determining the cloud classroom information to be associated with the network segment according to the network segment where the IP information of the new terminal is located. Referring to fig. 3, a new terminal with a seat number of 19 is added, and cloud classroom information to be associated corresponding to a network segment where the new terminal with the seat number of 19 is located is matched according to the network segment.
And S104, searching whether old terminal information exists in the cloud classroom information according to the seat number.
When a certain old terminal needs to replace and update a new terminal, the ID information, the IP information and the seat number information corresponding to the old terminal are stored and recorded in the corresponding cloud classroom information system in an associated manner; and searching the old terminal information related to the seat number according to the seat number corresponding to the original old terminal. The old terminal information comprises old terminal ID information, old terminal mainboard ID information, old terminal IP information, seat numbers, lesson record information corresponding to the old terminals and the like.
Illustratively, referring to fig. 2, when an old terminal needs to be replaced and updated with a new terminal, that is, when the old terminal with the seat number of 8 is replaced with the new terminal with the seat number of 8, the old terminal information with the seat number of 8 exists at the server side of the cloud classroom. Therefore, the corresponding old terminal information can be searched and obtained according to the corresponding seat number.
When a new terminal needs to be added, the seat number of the new terminal is added, and the seat number does not have any related old terminal information in the cloud classroom information system, so that the old terminal information does not exist as a result of searching whether the old terminal information exists or not according to the added seat number.
Illustratively, referring to fig. 3, a new terminal with a new seat number of 19 is added, and the seat number 19 does not have any related old terminal information in the cloud classroom information system, so that the old terminal information cannot be searched according to the added seat number 19.
S105, if the old terminal information exists, the old terminal information is sent to the new terminal;
old terminal information can be obtained by searching in the cloud classroom information according to the seat number, the condition that a certain old terminal is replaced by a new terminal is proved, and the old terminal information and an old terminal replacement to-be-confirmed instruction are sent to the new terminal. And the new terminal receives the old terminal information and the old terminal replacement to-be-confirmed instruction, and if the old terminal replacement is confirmed to be required, the new terminal sends a confirmation old terminal replacement instruction to the cloud classroom server side. And the cloud classroom server side generates a terminal replacement record according to a received confirmation replacement old terminal instruction sent by the new terminal, wherein the terminal replacement record comprises cloud classroom information, seat number information, old terminal ID information, old terminal mainboard ID information, new terminal ID information and new terminal IP information.
And after receiving the old terminal information, the new terminal replaces the ID information of the new terminal in the memory hard disk of the new terminal with the ID information of the old terminal to obtain replaced ID information, and replaces the IP information distributed by the DHCP relay server with the IP information in the network configuration of the old terminal to obtain replaced IP information. After the replacement is completed, the new terminal packs the replacement ID information, the replacement IP information and the new terminal mainboard ID information into replacement success information and sends the replacement success information to the cloud classroom server side. The cloud classroom server receives replacement success information sent by the new terminal; and updating the terminal replacement record according to the received replacement success information. And updating the ID information of the old terminal mainboard recorded in the old terminal information into the ID information of the new terminal mainboard according to the received successful replacement information sent by the new terminal. Therefore, the updated replacement terminal replacement record includes cloud classroom information, seat number information, old terminal ID information, new terminal motherboard ID information, and old terminal IP information.
And S106, if the old terminal information does not exist, setting the seat number as the new seat number, and feeding back a successful setting result to the new terminal.
And searching old terminal information in the cloud classroom information according to the seat number, if the new terminal is newly added, setting the seat number as the new seat number, storing the new terminal information, associating the new terminal information with the cloud classroom information and the new added seat number, fixing the IP information of the new terminal to network configuration, and feeding back a successful setting result to the new terminal, wherein the new terminal information comprises new terminal ID information, new terminal mainboard ID information and new terminal IP information.
As described above, in the embodiment of the application, by receiving the old terminal query information instruction and the new terminal ID information, the new terminal IP information, and the seat number, the network segment where the new terminal IP information is located is searched, and the associated cloud classroom is determined according to the network segment where the new terminal IP information is located, the old terminal information is searched in the associated cloud classroom according to the seat number, if the old terminal information exists in the search, the old terminal information is sent to the new terminal, and if the old terminal information does not exist, the seat number is set as the new seat number, and a successful setting result is fed back to the new terminal. By adopting the technical means, when the old terminal is replaced by the new terminal, the old terminal information of the old terminal in the cloud classroom system can be obtained through the seat number, so that the new terminal can conveniently obtain the historical information of the old terminal, information loss caused by terminal replacement is avoided, and the information integrity of the cloud classroom is improved; in addition, when a new terminal is added, the seat number is set as a new seat number by default when the information of the old terminal cannot be inquired through the seat number, so that the association between the new terminal and the cloud classroom is added, the association establishment efficiency between the new terminal and the cloud classroom is improved, and the interaction experience of the cloud classroom is improved.
Example two:
on the basis of the above embodiment, fig. 4 is a schematic structural diagram of a terminal replacement device in a cloud classroom according to a second embodiment of the present application. Referring to fig. 4, the terminal replacement device for a cloud classroom provided in this embodiment specifically includes: the system comprises an information receiving module 21, a network segment searching module 22, an associated cloud classroom determining module 23, an old terminal information searching module 24 and a result feedback module 25.
The information receiving module 21 is configured to receive new terminal information and an old terminal information query instruction sent by a new terminal, where the new terminal information includes new terminal ID information, new terminal IP information, and a seat number, the new terminal IP information includes IP information allocated by a DHCP relay server when the new terminal is powered on, and the seat number is a seat number corresponding to the old terminal or a newly added seat number;
the network segment searching module 22 is used for searching the network segment where the IP information of the new terminal is located according to the old terminal information inquiry instruction;
the associated cloud classroom determination module 23 is configured to determine cloud classroom information associated with the network segment according to the network segment where the new terminal IP information is located;
the old terminal information searching module 24 is configured to search whether old terminal information exists in the cloud classroom information according to the seat number;
a result feedback module 25, configured to send the old terminal information to the new terminal if the old terminal information exists;
and if the old terminal information does not exist, setting the seat number as the new seat number, and feeding back a successful setting result to the new terminal.
Further, the apparatus further comprises: the information association module is used for storing new terminal information if the old terminal information does not exist; and associating the new terminal information with cloud classroom information and a newly-added seat number, and fixing the IP information of the new terminal into network configuration.
Further, the apparatus further comprises: and the terminal replacement record storage module is used for generating a terminal replacement record according to a received confirmation replacement old terminal instruction sent by the new terminal if the old terminal information exists, wherein the terminal replacement record comprises cloud classroom information, seat number information, old terminal ID information, old terminal mainboard ID information, new terminal ID information and new terminal IP information.
Further, the apparatus further comprises: and the new terminal ID generating module is used for automatically generating new terminal ID information after the new terminal is started and storing the new terminal ID information in a memory hard disk of the new terminal.
Further, the result feedback module 25 is further configured to receive replacement success information sent by the new terminal, where the replacement success information includes replacement ID information, new terminal motherboard ID information, and replacement IP information, the replacement ID information includes replacing the new terminal ID information in the new terminal memory hard disk with old terminal ID information, and the replacement IP includes replacing IP information allocated by the DHCP relay server with IP information in the old terminal network configuration; and updating the terminal replacement record according to the received replacement success information.
Further, the terminal replacement record storage module is further configured to update the old terminal motherboard ID information recorded in the old terminal information to the new terminal motherboard ID information according to the received replacement success information sent by the new terminal.
Further, the apparatus further comprises: and the network segment initialization module is used for configuring the number of the network segment IPs of the cloud classroom to be more than or equal to N +1 in the cloud classroom initialization phase, wherein N represents the number of the seats of the cloud classroom.
As described above, in the embodiment of the application, by receiving the old terminal query information instruction and the new terminal ID information, the new terminal IP information, and the seat number, the network segment where the new terminal IP information is located is searched, and the associated cloud classroom is determined according to the network segment where the new terminal IP information is located, the old terminal information is searched in the associated cloud classroom according to the seat number, if the old terminal information exists in the search, the old terminal information is sent to the new terminal, and if the old terminal information does not exist, the seat number is set as the new seat number, and a successful setting result is fed back to the new terminal. By adopting the technical means, when the old terminal is replaced by the new terminal, the old terminal information of the old terminal in the cloud classroom system can be obtained through the seat number, so that the new terminal can conveniently obtain the historical information of the old terminal, information loss caused by terminal replacement is avoided, and the information integrity of the cloud classroom is improved; in addition, when a new terminal is added, the seat number is set as a new seat number by default when the information of the old terminal cannot be inquired through the seat number, so that the association between the new terminal and the cloud classroom is added, the association establishment efficiency between the new terminal and the cloud classroom is improved, and the interaction experience of the cloud classroom is improved.
The terminal replacing device for the cloud classroom provided by the second embodiment of the application can be used for executing the terminal replacing method for the cloud classroom provided by the first embodiment of the application, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 5, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device, and output device of the electronic device may be connected by a bus or other means.
The memory 32 is used as a computer readable storage medium and can be used for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the terminal replacement method for the cloud classroom (for example, an information receiving module, a network segment searching module, an associated cloud classroom determination module, an old terminal information searching module, and a result feedback module in a terminal replacement device for the cloud classroom according to any embodiment of the present application). The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications of the device and data processing by running software programs, instructions, and modules stored in the memory, that is, implements the above-described terminal replacement method for the cloud classroom.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic device provided by the embodiment can be used for executing the terminal replacement method of the cloud classroom provided by the embodiment, and has corresponding functions and beneficial effects.
Example four:
embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a terminal replacement method for a cloud classroom, the terminal replacement method for the cloud classroom including: receiving new terminal information and an old terminal information query instruction sent by a new terminal, wherein the new terminal information comprises new terminal ID information, new terminal IP information and a seat number, the new terminal IP information comprises IP information distributed by a DHCP relay server when the new terminal is started, and the seat number is a corresponding seat number of the old terminal or a new seat number; searching a network segment where the IP information of the new terminal is located according to the old terminal information query instruction; according to the network segment where the IP information of the new terminal is located, cloud classroom information associated with the network segment is determined; searching whether old terminal information exists in the cloud classroom information according to the seat number; if the old terminal information exists, the old terminal information is sent to the new terminal; and if the old terminal information does not exist, setting the seat number as the new seat number, and feeding back a successful setting result to the new terminal.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the terminal replacement method in the cloud classroom as described above, and may also perform related operations in the terminal replacement method in the cloud classroom provided in any embodiment of the present application.
The terminal replacement device, the storage medium, and the electronic device in the cloud classroom provided in the above embodiments may execute the terminal replacement method in the cloud classroom provided in any embodiment of the present application, and refer to the terminal replacement method in the cloud classroom provided in any embodiment of the present application without detailed technical details described in the above embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. A terminal replacing method for a cloud classroom is characterized by comprising the following steps:
receiving new terminal information and an old terminal information query instruction sent by a new terminal, wherein the new terminal information comprises new terminal ID information, new terminal IP information and a seat number, the new terminal IP information comprises IP information distributed by a DHCP relay server when the new terminal is started, and the seat number is a corresponding seat number of the old terminal or a new seat number;
searching a network segment where the IP information of the new terminal is located according to the old terminal information query instruction;
according to the network segment where the IP information of the new terminal is located, cloud classroom information associated with the network segment is determined;
searching whether old terminal information exists in the cloud classroom information according to the seat number;
if the old terminal information exists, the old terminal information is sent to the new terminal;
and if the old terminal information does not exist, setting the seat number as the new seat number, and feeding back a successful setting result to the new terminal.
2. The method for terminal replacement in cloud classroom according to claim 1, wherein said method further comprises:
if the old terminal information does not exist, the new terminal information is stored;
and associating the new terminal information with cloud classroom information and a newly-added seat number, and fixing the IP information of the new terminal into network configuration.
3. The method for terminal replacement in cloud classroom according to claim 1, wherein said method further comprises:
and if the old terminal information exists, generating a terminal replacement record according to a received confirmation replacement old terminal instruction sent by the new terminal, wherein the terminal replacement record comprises cloud classroom information, seat number information, old terminal ID information, old terminal mainboard ID information, new terminal ID information and new terminal IP information.
4. The method for terminal replacement in cloud classroom according to claim 1, wherein said method further comprises:
and automatically generating new terminal ID information after the new terminal is started, and storing the new terminal ID information in a memory hard disk of the new terminal.
5. The method for replacing a terminal in a cloud classroom as claimed in claim 4, wherein after sending the old terminal information to the new terminal if the old terminal information exists, the method further comprises:
receiving replacement success information sent by a new terminal, wherein the replacement success information comprises replacement ID information, new terminal mainboard ID information and replacement IP information, the replacement ID information comprises the replacement of the new terminal ID information in a new terminal memory hard disk into old terminal ID information, and the replacement IP comprises the replacement of IP information distributed by a DHCP relay server into IP information in old terminal network configuration;
and updating the terminal replacement record according to the received replacement success information.
6. The method for terminal replacement in cloud classroom according to claim 5, wherein said method further comprises:
and updating the ID information of the old terminal mainboard recorded in the old terminal information into the ID information of the new terminal mainboard according to the received successful replacement information sent by the new terminal.
7. The method for terminal replacement in cloud classroom according to claim 1, wherein said method further comprises:
and in the cloud classroom initialization stage, the number of network segment IP of the cloud classroom is configured to be more than or equal to N +1, wherein N represents the number of seats of the cloud classroom.
8. A terminal replacing device for a cloud classroom, comprising:
the information receiving module is used for receiving new terminal information and an old terminal information inquiry instruction sent by a new terminal, wherein the new terminal information comprises new terminal ID information, new terminal IP information and a seat number, the new terminal IP information comprises IP information distributed by a DHCP relay server when the new terminal is started, and the seat number is a seat number corresponding to the old terminal or a newly added seat number;
the network segment searching module is used for searching the network segment where the IP information of the new terminal is located according to the old terminal information inquiry instruction;
the associated cloud classroom determining module is used for determining cloud classroom information associated with the network segment according to the network segment where the new terminal IP information is located;
the old terminal information searching module is used for searching whether old terminal information exists in the cloud classroom information according to the seat number;
the result feedback module is used for sending the old terminal information to the new terminal if the old terminal information exists;
and if the old terminal information does not exist, setting the seat number as the new seat number, and feeding back a successful setting result to the new terminal.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the method of any one of claims 1-7 when executed by a computer processor.
CN202111436493.XA 2021-11-29 2021-11-29 Terminal replacement method and device for cloud classroom, electronic equipment and storage medium Pending CN114139038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111436493.XA CN114139038A (en) 2021-11-29 2021-11-29 Terminal replacement method and device for cloud classroom, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111436493.XA CN114139038A (en) 2021-11-29 2021-11-29 Terminal replacement method and device for cloud classroom, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114139038A true CN114139038A (en) 2022-03-04

Family

ID=80389611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111436493.XA Pending CN114139038A (en) 2021-11-29 2021-11-29 Terminal replacement method and device for cloud classroom, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114139038A (en)

Similar Documents

Publication Publication Date Title
CN108961033B (en) Multi-service system interaction method and device, storage medium and electronic terminal
CN1528079B (en) Method and apparatus for peer-to-peer services
US20170024396A1 (en) Determining application deployment recommendations
US10277546B2 (en) Information processing system, information processing apparatus, and storage medium
CN109597640B (en) Account management method, device, equipment and medium for application program
US10135763B2 (en) System and method for secure and efficient communication within an organization
CN109634912B (en) Data migration method and system
US10078663B2 (en) Dual overlay query processing
CN1526227A (en) Methods and apparatus for peer-to-peer services
CN111818145B (en) File transmission method, device, system, equipment and storage medium
CN107817962B (en) Remote control method, device, control server and storage medium
CN111259022A (en) Information synchronization method, synchronization system, computer equipment and medium
CN111061740A (en) Data synchronization method, equipment and storage medium
CN106875765B (en) Electronic classroom implementation method and device based on VDI
CN106874062B (en) Virtual machine updating method and device
EP3896931A1 (en) Spark shuffle-based remote direct memory access system and method
CN114139038A (en) Terminal replacement method and device for cloud classroom, electronic equipment and storage medium
CN115098301B (en) Snapshot generation method and system for stateful application in cloud primary scene
CN109445966A (en) Event-handling method, device, medium and calculating equipment
CN115827316A (en) Data backup method, device, equipment and storage medium
JP3239463B2 (en) Electronic conference system
WO2023092542A1 (en) Terminal replacement method and apparatus for cloud classroom, electronic device, and storage medium
CN111083192B (en) Data consensus method and device and electronic equipment
CN113893528A (en) Game team processing method, game team processing device, game team processing medium, and electronic device
CN112738153A (en) Gateway selection method, system, device, server and medium in service system

Legal Events

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