A terminal replacement method, device, electronic device and storage medium for cloud classroom
By receiving new and old terminal information in the cloud classroom, searching network segments and associated cloud classrooms, querying old terminal information and generating replacement records, the problem of information loss caused by terminal replacement in the cloud classroom is solved, and information integrity and user experience are improved.
Patent Information
- Application Number
- CN202111436493.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-29
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2041-11-29
AI Technical Summary
In cloud classrooms, when student terminals are replaced, the existing technology leads to the loss of resource information, affecting student experience and system information integrity.
By receiving the new and old terminal information sent by the new terminal, searching for the network segment where the new terminal IP is located, determining the associated cloud classroom, querying the old terminal information based on the seat number, and generating terminal replacement records if necessary, and updating the old terminal motherboard ID information.
It realizes the acquisition of old terminal information when terminal replacement, avoid information loss, and improves the information integrity and interactive experience of cloud classrooms.
Smart Images

Figure CN114139038B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of cloud classrooms, and in particular to a terminal replacement method, device, electronic device, and storage medium for a cloud classroom. Background Art
[0002] With the development of information technology, computers and the Internet have quickly become the protagonists of people's lives, covering all industries in society, including the education field. In this context, a new educational and teaching model, the cloud classroom, has also emerged. The cloud classroom is a platform and management system based on cloud computing, supported by computers and audio-visual classrooms.
[0003] In recent years, the promotion of education cloud has been gradually accelerated, and many schools are trying cloud classrooms, which are the product of the combination of cloud computing technology and the education industry. In the use scenario of cloud classrooms, a terminal is placed on each student's seat, which is connected to hardware devices such as display screens, mice, keyboards, etc., and is connected to switches through network cables to communicate with the corresponding management platform of the cloud classroom.
[0004] In the cloud classroom, student terminals have certain associations with cloud classrooms, course desktops, seat numbers, IP addresses and other resources. When a student terminal has an abnormal situation such as hardware failure and needs to be replaced, the resources need to be re-associated. Currently, when replacing a terminal, all resource information is reconfigured for the new terminal device, resulting in the loss of the original student terminal resource information, making the cloud classroom student experience poor. Summary of the invention
[0005] The embodiments of the present application provide a terminal replacement method, device, electronic device and storage medium for a cloud classroom, which can solve the problem of information loss caused by the replacement of student terminals in the cloud classroom and improve the information integrity and interactive experience of the cloud classroom.
[0006] In a first aspect, an embodiment of the present application provides a terminal replacement method for a cloud classroom, comprising:
[0007] Receive new terminal information and old terminal information query instructions sent by the new terminal, the new terminal information includes new terminal ID information, new terminal IP information, and seat number, the new terminal IP information includes IP information assigned by the DHCP relay server when the new terminal is turned on, and the seat number is the seat number corresponding to the old terminal or a newly added seat number;
[0008] According to the old terminal information query instruction, search the network segment where the new terminal IP information is located;
[0009] According to the network segment where the new terminal IP information is located, determine the cloud classroom information associated with the network segment;
[0010] Searching whether there is old terminal information in the cloud classroom information according to the seat number;
[0011] If the old terminal information exists, the old terminal information is sent to the new terminal;
[0012] If the old terminal information does not exist, the seat number is set to the newly added seat number, and the setting success result is fed back to the new terminal.
[0013] Furthermore, the method also includes:
[0014] If the old terminal information does not exist, the new terminal information is saved;
[0015] The new terminal information is associated with the cloud classroom information and the newly added seat number, and the IP information of the new terminal is fixed to the network configuration.
[0016] Furthermore, the method further comprises:
[0017] If the old terminal information exists, a terminal replacement record is generated based on the confirmation instruction sent by the new terminal to replace the old terminal. The terminal replacement record includes cloud classroom information, seat number information, old terminal ID information, old terminal motherboard ID information, new terminal ID information and new terminal IP information.
[0018] Furthermore, the method further comprises:
[0019] After the new terminal is powered on, the new terminal ID information is automatically generated and saved in the memory hard disk of the new terminal.
[0020] Furthermore, if the old terminal information exists, after sending the old terminal information to the new terminal, the method further includes:
[0021] Receive replacement success information sent by the new terminal, 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 the old terminal ID information, and the replacement IP includes replacing the IP information assigned by the DHCP relay server with the IP information in the old terminal network configuration;
[0022] According to the received replacement success information, the terminal replacement record is updated.
[0023] Furthermore, the method further comprises:
[0024] According to the received replacement success information sent by the new terminal, the old terminal mainboard ID information recorded in the old terminal information is updated to the new terminal mainboard ID information.
[0025] Furthermore, the method further comprises:
[0026] During the initialization phase of the cloud classroom, the number of cloud classroom network segment IPs is configured to be greater than or equal to N+1, where N represents the number of seats in the cloud classroom.
[0027] In a second aspect, an embodiment of the present application provides a terminal replacement device for a cloud classroom, comprising:
[0028] An information receiving module is used to receive new terminal information and old terminal information query instructions sent by the new terminal, wherein the new terminal information includes new terminal ID information, new terminal IP information, and seat number, wherein the new terminal IP information includes IP information assigned by the DHCP relay server when the new terminal is turned on, and the seat number is the seat number corresponding to the old terminal or a newly added seat number;
[0029] The network segment search module is used to search the network segment where the new terminal IP information is located according to the old terminal information query instruction;
[0030] An associated cloud classroom determination module is used to determine the cloud classroom information associated with the network segment according to the network segment where the new terminal IP information is located;
[0031] An old terminal information search module, used to search whether there is old terminal information in the cloud classroom information according to the seat number;
[0032] A result feedback module, used for sending the old terminal information to the new terminal if the old terminal information exists;
[0033] If the old terminal information does not exist, the seat number is set to the newly added seat number, and the setting success result is fed back to the new terminal.
[0034] Furthermore, the device also includes:
[0035] An information association module, used to save new terminal information if old terminal information does not exist;
[0036] The new terminal information is associated with the cloud classroom information and the newly added seat number, and the IP information of the new terminal is fixed to the network configuration.
[0037] Furthermore, the device also includes:
[0038] The terminal replacement record storage module is used to generate a terminal replacement record if there is old terminal information, based on the confirmation instruction for replacing the old terminal sent by the new terminal. The terminal replacement record includes cloud classroom information, seat number information, old terminal ID information, old terminal motherboard ID information, new terminal ID information and new terminal IP information.
[0039] Furthermore, the device also includes:
[0040] The new terminal ID generation module is used to automatically generate new terminal ID information after the new terminal is turned on, and save it in the memory hard disk of the new terminal.
[0041] Furthermore, the result feedback module is also used to receive replacement success information sent by the new terminal, wherein the replacement success information includes replacement ID information, new terminal motherboard ID information and replacement IP information, wherein the replacement ID information includes replacing the new terminal ID information in the new terminal memory hard disk with the old terminal ID information, and the replacement IP includes replacing the IP information assigned by the DHCP relay server with the IP information in the old terminal network configuration;
[0042] According to the received replacement success information, the terminal replacement record is updated.
[0043] Furthermore, the terminal replacement record storage module is further used to update the old terminal mainboard ID information recorded in the old terminal information to the new terminal mainboard ID information according to the replacement success information received from the new terminal.
[0044] Furthermore, the device also includes:
[0045] The network segment initialization module is used in the cloud classroom initialization phase to configure the number of cloud classroom network segment IPs to be greater than or equal to N+1, where N represents the number of seats in the cloud classroom.
[0046] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0047] memory and one or more processors;
[0048] The memory is used to store one or more programs;
[0049] 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.
[0050] In a fourth aspect, an embodiment of the present application provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the terminal replacement method for the cloud classroom as described in the first aspect.
[0051] The embodiment of the present application receives the old terminal query information instruction and the new terminal ID information, the new terminal IP information, and the seat number, searches for the network segment where the new terminal IP information is located, and determines the associated cloud classroom according to the network segment, searches for the old terminal information according to the seat number in the associated cloud classroom, and if the old terminal information is found in the search, sends the old terminal information to the new terminal, and if the old terminal information does not exist, sets the seat number to the newly added seat number and feeds back the successful setting result to the new terminal. By adopting the above technical means, when the new terminal replaces the old terminal, the old terminal information in the cloud classroom system can be obtained through the seat number, so that the new terminal can obtain the historical information of the old terminal, avoid the information loss caused by the terminal replacement, and improve the information integrity of the cloud classroom; and when adding a new terminal, when the old terminal information cannot be queried through the seat number, the seat number can be set to the newly added seat number by default, so as to increase the association between the new terminal and the cloud classroom, improve the efficiency of establishing the association between the new terminal and the cloud classroom, and improve the interactive experience of the cloud classroom. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 This is a flow chart of a terminal replacement method for a cloud classroom provided in Example 1 of the present application;
[0053] Figure 2 This is a schematic diagram of terminal replacement in Embodiment 1 of the present application;
[0054] Figure 3 This is a schematic diagram of a newly added terminal in Embodiment 1 of the present application;
[0055] Figure 4 This is a schematic diagram of the structure of a terminal replacement device for a cloud classroom provided in Embodiment 2 of the present application;
[0056] Figure 5 It is a structural schematic diagram of an electronic device provided in Example 3 of the present application. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0058] The terminal replacement method, device, electronic device and storage medium of the cloud classroom provided by the present application are intended to obtain the old terminal information of the old terminal in the cloud classroom system through the seat number when replacing the terminal, so that the new terminal can obtain the historical information of the old terminal, avoid the information loss caused by the replacement of the terminal, and ensure the information integrity of the cloud classroom; and when adding a new terminal, when the old terminal information cannot be queried through the seat number, the seat number is set to the newly added seat number by default, so as to increase the association between the new terminal and the cloud classroom. Compared with the traditional cloud classroom terminal replacement method, it usually re-associates and reconfigures all resource information when replacing or adding a new terminal, resulting in the loss of the original terminal information and incomplete system information. Based on this, a terminal replacement method of the cloud classroom of the embodiment of the present application is provided to solve the problem of information loss caused by the replacement of student terminals in the existing cloud classroom.
[0059] Embodiment 1:
[0060] Figure 1 A flow chart of a terminal replacement method for a cloud classroom provided in the first embodiment of the present application is given. The terminal replacement method for a cloud classroom provided in this embodiment can be executed by a terminal replacement device for a cloud classroom. The terminal replacement device for the cloud classroom can be implemented by software and / or hardware. The terminal replacement device for the cloud classroom can be composed of two or more physical entities, or can be composed of one physical entity. Generally speaking, the terminal replacement device for the cloud classroom can be a terminal device, such as a computer, a mobile phone, or a tablet.
[0061] The following description is made by taking a computer as the main body of the terminal replacement method for executing the cloud classroom. Figure 1 , the terminal replacement method of the cloud classroom specifically includes:
[0062] S101. Receive new terminal information and old terminal information query instructions sent by the new terminal, wherein the new terminal information includes new terminal ID information, new terminal IP information, and seat number. The new terminal IP information includes IP information assigned by the DHCP relay server when the new terminal is turned on. The seat number is the seat number corresponding to the old terminal or a newly added seat number.
[0063] During the initialization phase of the cloud classroom, the number of IP addresses in the cloud classroom network segment is configured to be greater than or equal to N+1, where N represents the number of seats in the cloud classroom. When an old terminal needs to be replaced with a new terminal, or a new terminal needs to be added, the new terminal ID information is automatically generated after the new terminal is turned on and saved in the memory hard disk of the new terminal. The new terminal establishes communication with the DHCP relay server and obtains the new terminal IP information automatically assigned by the DHCP relay server.
[0064] Reference Figure 2 When an old terminal needs to be replaced with a new one, the new terminal will include the new terminal ID information, the new terminal IP information, the new terminal information of the seat number corresponding to the old terminal, and the old terminal information query instruction to the cloud classroom server. The cloud classroom server receives the new terminal information and the old terminal information query instruction. For example Figure 2 In the example, the old terminal corresponding to seat number 8 fails and needs to be replaced with a new terminal, and the corresponding seat number is still 8. The new terminal device with seat number 8 sends the corresponding new terminal ID information, new terminal IP information, seat number 8, and old terminal information query instruction to the cloud classroom server. The cloud classroom server receives the corresponding new terminal ID information, new terminal IP information, seat number 8, and old terminal information query instruction.
[0065] Reference Figure 3 When a new terminal needs to be added, the new terminal will include the new terminal ID information, the new terminal IP information, the new terminal information of the newly added seat number, and the old terminal information query instruction to the cloud classroom server. The cloud classroom server receives the new terminal information and the old terminal information query instruction. For example Figure 3 In the cloud classroom, when a student's seat needs to be added, a new terminal is added, and the new seat number is 19. The new terminal device with seat number 19 sends the corresponding new terminal ID information, new terminal IP information, seat number 19, and old terminal information query instruction to the cloud classroom server. The cloud classroom server receives the corresponding new terminal ID information, new terminal IP information, seat number 19, and old terminal information query instruction.
[0066] S102: Search the network segment where the new terminal IP information is located according to the old terminal information query instruction.
[0067] When an old terminal needs to be replaced with a new one, the old terminal information query is started according to the old terminal information query instruction, and the cloud classroom information corresponding to the old terminal must be known. Based on the association between different cloud classrooms and the corresponding terminal devices with existing seat numbers, the network segment information of the IP addresses of the cloud classrooms and the associated terminal devices is also associated, and both the old and new terminals have the same DHCP relay server to allocate IP information, so it is necessary to search the network segment where the IP information of the new terminal is located to find the corresponding associated cloud classroom.
[0068] For example, refer to Figure 2 When the new terminal with seat number 8 replaces the original old terminal, the old terminal information query is started according to the old terminal information query instruction. Based on the association between the old terminal device with seat number 8 and the corresponding cloud classroom, the network segment information of the IP addresses of the cloud classroom and the old terminal device with seat number 8 is also associated, and both the new and old terminals with seat number 8 have the same DHCP relay server to allocate IP information. Therefore, it is necessary to search the network segment where the IP information of the new terminal with seat number 8 is located to find the cloud classroom associated with the corresponding old terminal with seat number 8.
[0069] When a new terminal needs to be added, the old terminal information query is started according to the old terminal information query instruction, and the cloud classroom information corresponding to the old terminal must be known. Based on the association between different cloud classrooms and the corresponding terminal devices with existing seat numbers, the newly added terminal device needs to establish the first association with the cloud classroom. Because the IP network segment information of the cloud classroom and the associated terminal device is associated, in order to associate the newly added terminal with the cloud classroom, it is necessary to search the network segment where the IP information of the new terminal is located to match the associated cloud classroom corresponding to the network segment.
[0070] For example, refer to Figure 3 ,When a new terminal at seat 19 is added, because it is a new terminal device, it needs to match the associated cloud classroom. Therefore, it is necessary to search the network segment where the IP information of the new terminal is located to match the associated cloud classroom corresponding to the network segment.
[0071] S103. Determine the cloud classroom information associated with the network segment according to the network segment where the new terminal IP information is located.
[0072] When an old terminal needs to be replaced with a new one, the original old terminal has been associated with the corresponding cloud classroom, and both the old and new terminals have the same DHCP relay server to allocate IP information. Therefore, the cloud classroom information corresponding to the old terminal can be determined based on the network segment where the new terminal IP information is located.
[0073] For example, refer to Figure 2Because the IP network segment of the old terminal device with seat number 8 is associated with the corresponding cloud classroom, and both the new and old terminals with seat number 8 have the same DHCP relay server to allocate IP information, therefore, according to the IP information of the new terminal with seat number 8, the corresponding network segment can be searched, and the cloud classroom information associated with the old terminal device with seat number 8 can be determined according to the network segment.
[0074] When a new terminal needs to be added, the cloud classroom information to be associated with the network segment is determined based on the network segment where the new terminal IP information is located. Figure 3 , add a new terminal with seat number 19, and match the cloud classroom information to be associated with the corresponding network segment according to the network segment where the new terminal with seat number 19 is located.
[0075] S104: Search the cloud classroom information according to the seat number to see whether there is old terminal information.
[0076] When an old terminal needs to be replaced with a new one, the ID information, IP information and seat number information corresponding to the old terminal are associated and stored in the corresponding cloud classroom information system; according to the seat number corresponding to the original old terminal, the old terminal information associated with the seat number is searched. The old terminal information includes the old terminal ID information, the old terminal motherboard ID information, the old terminal IP information, the seat number and the class record information corresponding to the old terminal.
[0077] For example, refer to Figure 2 When an old terminal needs to be replaced with a new terminal, that is, when the new terminal with seat number 8 replaces the old terminal with seat number 8, the old terminal information with seat number 8 exists on the cloud classroom server. Therefore, the corresponding old terminal information can be searched according to the corresponding seat number.
[0078] When a new terminal needs to be added, its seat number is newly added. There is no associated old terminal information in the cloud classroom information system. Therefore, according to the newly added seat number, the result of searching whether there is old terminal information is that there is no old terminal information.
[0079] For example, refer to Figure 3 , a new terminal with seat number 19 is added. There is no associated old terminal information for seat number 19 in the cloud classroom information system. Therefore, the old terminal information cannot be searched based on the newly added seat number 19.
[0080] S105. If the old terminal information exists, the old terminal information is sent to the new terminal;
[0081] The old terminal information can be searched in the cloud classroom information according to the seat number, proving that a certain old terminal is replaced by a new terminal, and the old terminal information and the old terminal replacement pending confirmation instruction are sent to the new terminal. The new terminal receives the old terminal information and the old terminal replacement pending confirmation instruction, and if it is confirmed that a replacement is required, it sends a confirmation replacement old terminal instruction to the cloud classroom server. The cloud classroom server generates a terminal replacement record based on the confirmation replacement old terminal instruction received from the new terminal, and the terminal replacement record includes cloud classroom information, seat number information, old terminal ID information, old terminal motherboard ID information, new terminal ID information and new terminal IP information.
[0082] After receiving the old terminal information, the new terminal replaces the new terminal ID information in the new terminal memory hard disk with the old terminal ID information to obtain the replacement ID information, and replaces the IP information assigned by the DHCP relay server with the IP information in the old terminal network configuration to obtain the replacement IP information. After completing the above replacement, the new terminal will package the replacement ID information, replacement IP information and new terminal motherboard ID information into replacement success information and send it to the cloud classroom server. The cloud classroom server receives the replacement success information sent by the new terminal; based on the received replacement success information, the terminal replacement record is updated. Based on the replacement success information received from the new terminal, the old terminal motherboard ID information recorded in the old terminal information is updated to the new terminal motherboard ID information. 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.
[0083] S106. If the old terminal information does not exist, the seat number is set to a newly added seat number, and a successful setting result is fed back to the new terminal.
[0084] If no old terminal information can be found in the cloud classroom information according to the seat number, it proves that a new terminal has been added. In this case, the seat number is set to the newly added seat number, the new terminal information is saved, the new terminal information is associated with the cloud classroom information and the newly added seat number, the IP information of the new terminal is fixed to the network configuration, and the result of successful setting is fed back to the new terminal, wherein the new terminal information includes the new terminal ID information, the new terminal motherboard ID information and the new terminal IP information.
[0085] As mentioned above, the embodiment of the present application receives the old terminal query information instruction and the new terminal ID information, the new terminal IP information, and the seat number, searches for the network segment where the new terminal IP information is located, and determines the associated cloud classroom according to the network segment, and searches for the old terminal information according to the seat number in the associated cloud classroom. If the old terminal information is found in the search, the old terminal information is sent to the new terminal. If the old terminal information does not exist, the seat number is set to the newly added seat number and the setting success result is fed back to the new terminal. By adopting the above technical means, when the new terminal replaces the old terminal, the old terminal information in the cloud classroom system can be obtained through the seat number, so that the new terminal can obtain the historical information of the old terminal, avoid the information loss caused by the terminal replacement, and improve the information integrity of the cloud classroom; and when adding a new terminal, when the old terminal information cannot be queried through the seat number, the seat number can be set to the newly added seat number by default, so as to increase the association between the new terminal and the cloud classroom, improve the efficiency of establishing the association between the new terminal and the cloud classroom, and improve the interactive experience of the cloud classroom.
[0086] Embodiment 2:
[0087] Based on the above embodiments, Figure 4 This is a schematic diagram of the structure of a terminal replacement device for a cloud classroom provided in Example 2 of the present application. Figure 4 The terminal replacement device for the cloud classroom provided in this embodiment specifically includes: 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.
[0088] The information receiving module 21 is used to receive new terminal information and old terminal information query instructions sent by the new terminal, wherein the new terminal information includes new terminal ID information, new terminal IP information, and seat number, wherein the new terminal IP information includes IP information assigned by the DHCP relay server when the new terminal is turned on, and the seat number is the seat number corresponding to the old terminal or the newly added seat number;
[0089] The network segment search module 22 is used to search the network segment where the new terminal IP information is located according to the old terminal information query instruction;
[0090] The associated cloud classroom determination module 23 is used to determine the cloud classroom information associated with the network segment according to the network segment where the new terminal IP information is located;
[0091] An old terminal information search module 24 is used to search whether there is old terminal information in the cloud classroom information according to the seat number;
[0092] A result feedback module 25, for sending the old terminal information to the new terminal if the old terminal information exists;
[0093] If the old terminal information does not exist, the seat number is set to the newly added seat number, and the setting success result is fed back to the new terminal.
[0094] Furthermore, the device also includes: an information association module, which is used to save the new terminal information if the old terminal information does not exist; associate the new terminal information with the cloud classroom information and the newly added seat number, and fix the IP information of the new terminal to the network configuration.
[0095] Furthermore, the device also includes: a terminal replacement record storage module, which is used to generate a terminal replacement record if there is old terminal information, based on the confirmation instruction to replace the old terminal sent by the new terminal, and the terminal replacement record includes cloud classroom information, seat number information, old terminal ID information, old terminal motherboard ID information, new terminal ID information and new terminal IP information.
[0096] Furthermore, the device also includes: a new terminal ID generation module, which is used to automatically generate new terminal ID information after the new terminal is turned on, and store it in the memory hard disk of the new terminal.
[0097] Furthermore, the result feedback module 25 is also used to receive replacement success information sent by the new terminal, the replacement success information includes replacement ID information, new terminal mainboard 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 the old terminal ID information, and the replacement IP includes replacing the IP information assigned by the DHCP relay server with the IP information in the old terminal network configuration; according to the received replacement success information, the terminal replacement record is updated.
[0098] Furthermore, the terminal replacement record storage module is further used to update the old terminal mainboard ID information recorded in the old terminal information to the new terminal mainboard ID information according to the replacement success information received from the new terminal.
[0099] Furthermore, the device also includes: a network segment initialization module, which is used in the cloud classroom initialization stage to configure the number of cloud classroom network segment IPs to be greater than or equal to N+1, where N represents the number of seats in the cloud classroom.
[0100] As mentioned above, the embodiment of the present application receives the old terminal query information instruction and the new terminal ID information, the new terminal IP information, and the seat number, searches for the network segment where the new terminal IP information is located, and determines the associated cloud classroom according to the network segment, and searches for the old terminal information according to the seat number in the associated cloud classroom. If the old terminal information is found in the search, the old terminal information is sent to the new terminal. If the old terminal information does not exist, the seat number is set to the newly added seat number and the setting success result is fed back to the new terminal. By adopting the above technical means, when the new terminal replaces the old terminal, the old terminal information in the cloud classroom system can be obtained through the seat number, so that the new terminal can obtain the historical information of the old terminal, avoid the information loss caused by the terminal replacement, and improve the information integrity of the cloud classroom; and when adding a new terminal, when the old terminal information cannot be queried through the seat number, the seat number can be set to the newly added seat number by default, so as to increase the association between the new terminal and the cloud classroom, improve the efficiency of establishing the association between the new terminal and the cloud classroom, and improve the interactive experience of the cloud classroom.
[0101] The terminal replacement device for the cloud classroom provided in the second embodiment of the present application can be used to execute the terminal replacement method for the cloud classroom provided in the first embodiment above, and has corresponding functions and beneficial effects.
[0102] Embodiment three:
[0103] Embodiment 3 of the present application provides an electronic device, referring to Figure 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 can be one or more, and the number of memories in the electronic device can be one or more. The processor, memory, communication module, input device and output device of the electronic device can be connected via a bus or other means.
[0104] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the program instructions / modules corresponding to the terminal replacement method of the cloud classroom described in any embodiment of the present application (for example, the information receiving module, the network segment search module, the associated cloud classroom determination module, the old terminal information search module and the result feedback module in the terminal replacement device of the cloud classroom). The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.
[0105] The communication module 33 is used for data transmission.
[0106] The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, that is, realizes the terminal replacement method of the cloud classroom.
[0107] The input device 34 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 35 may include a display device such as a display screen.
[0108] The electronic device provided above can be used to execute the terminal replacement method of the cloud classroom provided in the above embodiment 1, and has corresponding functions and beneficial effects.
[0109] Embodiment 4:
[0110] The embodiment of the present application also provides a storage medium containing computer executable instructions, which are used to execute a terminal replacement method for a cloud classroom when executed by a computer processor. The terminal replacement method for the cloud classroom includes: receiving new terminal information and old terminal information query instructions sent by a new terminal, the new terminal information including new terminal ID information, new terminal IP information, and seat number, the new terminal IP information including IP information assigned by a DHCP relay server when the new terminal is turned on, and the seat number is the seat number corresponding to the old terminal or a newly added seat number; according to the old terminal information query instruction, searching for the network segment where the new terminal IP information is located; according to the network segment where the new terminal IP information is located, determining the cloud classroom information associated with the network segment; searching for whether the old terminal information exists in the cloud classroom information according to the seat number; if the old terminal information exists, sending the old terminal information to the new terminal; if the old terminal information does not exist, setting the seat number to the newly added seat number, and feeding back a successful setting result to the new terminal.
[0111] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as 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 the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (for example, in different computer systems connected by a network). The storage medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.
[0112] Of course, the storage medium containing computer executable instructions provided in the embodiment of the present application is not limited to the terminal replacement method of the cloud classroom as described above, and can also execute related operations in the terminal replacement method of the cloud classroom provided in any embodiment of the present application.
[0113] The terminal replacement device, storage medium and electronic device of the cloud classroom provided in the above embodiments can execute the terminal replacement method of the cloud classroom provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the terminal replacement method of the cloud classroom provided in any embodiment of the present application.
[0114] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. A terminal replacement method for a cloud classroom, characterized in that: include: Receive new terminal information and old terminal information query instructions sent by the new terminal, the new terminal information includes new terminal ID information, new terminal IP information, and seat number, the new terminal IP information includes IP information assigned by the DHCP relay server when the new terminal is turned on, and the seat number is the seat number corresponding to the old terminal or a newly added seat number; According to the old terminal information query instruction, search the network segment where the new terminal IP information is located; According to the network segment where the new terminal IP information is located, determine the cloud classroom information associated with the network segment; Searching whether there is old terminal information 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 to the newly added seat number, and the setting success result is fed back to the new terminal; If the old terminal information exists, after sending the old terminal information to the new terminal, the method further includes: Receive replacement success information sent by the new terminal, 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 the old terminal ID information, and the replacement IP includes replacing the IP information assigned by the DHCP relay server with the IP information in the old terminal network configuration; Update the terminal replacement record according to the received replacement success information; The method further comprises: If the old terminal information exists, a terminal replacement record is generated based on the confirmation instruction sent by the new terminal to replace the old terminal. The terminal replacement record includes cloud classroom information, seat number information, old terminal ID information, old terminal motherboard ID information, new terminal ID information and new terminal IP information.
2. The terminal replacement method of the cloud classroom according to claim 1, characterized in that: The method further comprises: If the old terminal information does not exist, the new terminal information is saved; The new terminal information is associated with the cloud classroom information and the newly added seat number, and the IP information of the new terminal is fixed to the network configuration.
3. The terminal replacement method of the cloud classroom according to claim 1, characterized in that: The method further comprises: After the new terminal is powered on, the new terminal ID information is automatically generated and saved in the memory hard disk of the new terminal.
4. The terminal replacement method of the cloud classroom according to claim 1, characterized in that: The method further comprises: According to the received replacement success information sent by the new terminal, the old terminal mainboard ID information recorded in the old terminal information is updated to the new terminal mainboard ID information.
5. The terminal replacement method of the cloud classroom according to claim 1, characterized in that: The method further comprises: During the initialization phase of the cloud classroom, the number of cloud classroom network segment IPs is configured to be greater than or equal to N+1, where N represents the number of seats in the cloud classroom.
6. A terminal replacement device for a cloud classroom, characterized in that: include: An information receiving module, used to receive new terminal information and old terminal information query instructions sent by the new terminal, wherein the new terminal information includes new terminal ID information, new terminal IP information, and seat number, wherein the new terminal IP information includes IP information assigned by the DHCP relay server when the new terminal is turned on, and the seat number is the seat number corresponding to the old terminal or a newly added seat number; The network segment search module is used to search the network segment where the new terminal IP information is located according to the old terminal information query instruction; An associated cloud classroom determination module is used to determine the cloud classroom information associated with the network segment according to the network segment where the new terminal IP information is located; An old terminal information search module, used to search whether there is old terminal information in the cloud classroom information according to the seat number; A result feedback module, used for sending the old terminal information to the new terminal if the old terminal information exists; If the old terminal information does not exist, the seat number is set to the newly added seat number, and the setting success result is fed back to the new terminal; Receive replacement success information sent by the new terminal, 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 the old terminal ID information, and the replacement IP includes replacing the IP information assigned by the DHCP relay server with the IP information in the old terminal network configuration; Update the terminal replacement record according to the received replacement success information; The terminal replacement record storage module is used to generate a terminal replacement record if there is old terminal information, based on the confirmation instruction for replacing the old terminal sent by the new terminal. The terminal replacement record includes cloud classroom information, seat number information, old terminal ID information, old terminal motherboard ID information, new terminal ID information and new terminal IP information.
7. An electronic device, characterized in that: include: memory and one or more processors; The memory is used to store 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 method according to any one of claims 1 to 5.
8. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to perform the method according to any one of claims 1 to 5 when executed by a computer processor.
Citation Information
Patent Citations
Device configuration method and device, network system and mobile terminal
CN109587018A