WO2023092542A1 - 一种云教室的终端替换方法、装置、电子设备及存储介质 - Google Patents

一种云教室的终端替换方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2023092542A1
WO2023092542A1 PCT/CN2021/133914 CN2021133914W WO2023092542A1 WO 2023092542 A1 WO2023092542 A1 WO 2023092542A1 CN 2021133914 W CN2021133914 W CN 2021133914W WO 2023092542 A1 WO2023092542 A1 WO 2023092542A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
terminal
old
new terminal
new
Prior art date
Application number
PCT/CN2021/133914
Other languages
English (en)
French (fr)
Inventor
陈海钊
季统凯
贺忠堂
Original Assignee
国云科技股份有限公司
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 国云科技股份有限公司 filed Critical 国云科技股份有限公司
Priority to PCT/CN2021/133914 priority Critical patent/WO2023092542A1/zh
Publication of WO2023092542A1 publication Critical patent/WO2023092542A1/zh

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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Definitions

  • the embodiments of the present application relate to the technical field of cloud classrooms, and in particular, to a terminal replacement method, device, electronic equipment, and storage medium for cloud classrooms.
  • Cloud classroom is a platform and management system based on cloud computing and supported by computers and audio-visual classrooms.
  • cloud classroom which are the product of the combination of cloud computing technology and the education industry.
  • a terminal is placed on each student's seat, and the terminal is connected to hardware devices such as a display screen, mouse, and keyboard, and is connected to a switch through a network cable to communicate with the management platform corresponding to the cloud classroom.
  • the student terminal In the cloud classroom, the student terminal has a certain relationship with resources such as the cloud classroom, course desktop, seat number, and IP.
  • resources such as the cloud classroom, course desktop, seat number, and IP.
  • the resource needs to be reproduced. associated.
  • all resource information is reconfigured for the new terminal device, resulting in the loss of original student terminal resource information, which makes the cloud classroom student experience poor.
  • the embodiments of the present application provide a terminal replacement method, device, electronic equipment, 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.
  • the embodiment of the present application provides a method for replacing a terminal in a cloud classroom, including:
  • the new terminal information includes new terminal ID information, new terminal IP information, seat number, and the new terminal IP information includes DHCP relay server when the new terminal is turned on
  • the assigned IP information, the seat number is the seat number corresponding to the old terminal or the newly added seat number;
  • the network segment where the new terminal IP information is located determine the cloud classroom information associated with the network segment
  • the method also includes:
  • 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 in the network configuration.
  • the method also includes:
  • the terminal replacement record includes cloud classroom information, seat number information, old terminal ID information, and old terminal motherboard ID information , new terminal ID information and new terminal IP information.
  • the method also includes:
  • the new terminal ID information is automatically generated and stored in the memory hard disk of the new terminal.
  • the old terminal information after sending the old terminal information to the new terminal if there is old terminal information, it also includes:
  • the replacement success information includes replacement ID information, the 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
  • the replacement IP includes replacing the IP information assigned by the DHCP relay server with the IP information in the old terminal network configuration
  • the method also includes:
  • the ID information of the main board of the old terminal recorded in the information of the old terminal is updated to the ID information of the main board of the new terminal.
  • the method also includes:
  • the number of network segment IPs configured for the cloud classroom is greater than or equal to N+1, where N represents the number of seats in the cloud classroom.
  • the embodiment of the present application provides a terminal replacement device for a cloud classroom, including:
  • the information receiving module is used to 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, seat number, and the new terminal IP information includes DHCP relay The IP information assigned by the server when the new terminal is turned on, and the seat number is the corresponding seat number of the old terminal or the newly added seat number;
  • the network segment search module is used to search for the network segment where the new terminal IP information is located according to the old terminal information query instruction
  • the 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;
  • the old terminal information search module is used to search whether there is old terminal information according to the seat number in the cloud classroom information;
  • the result feedback module is used to send the old terminal information to the new terminal if there is old terminal information
  • the device also includes:
  • An information association module used for saving new terminal information if there is no old terminal information
  • 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 in the network configuration.
  • the device also includes:
  • the terminal replacement record storage module is used to replace the old terminal instruction according to the confirmation sent by the new terminal if there is old terminal information, and generate a terminal replacement record.
  • the terminal replacement record includes cloud classroom information, seat number information, and old terminal information. ID information, old terminal motherboard ID information, new terminal ID information, and new terminal IP information.
  • the device also includes:
  • 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.
  • the result feedback module is also used to receive the 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, and the replacement ID information includes the new terminal memory hard disk Replace the new terminal ID information in the old terminal ID information 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;
  • the terminal replacement record storage module is also used to update the main board ID information of the old terminal recorded in the old terminal information to the main board ID information of the new terminal according to the received replacement success information sent by the new terminal.
  • the device also includes:
  • the network segment initialization module is used for the initialization stage of the cloud classroom, and the number of network segment IPs configured for the cloud classroom is greater than or equal to N+1, where N represents the number of seats in the cloud classroom.
  • an electronic device including:
  • the memory is used to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method for replacing a terminal in a cloud classroom as described in the first aspect.
  • the embodiment of the present application provides a storage medium containing computer-executable instructions, and when the computer-executable instructions are executed by a computer processor, the terminal replacement in the cloud classroom as described in the first aspect is used. method.
  • the old terminal query information instruction by receiving the old terminal query information instruction, new terminal ID information, new terminal IP information, and seat number, search for the network segment where the new terminal IP information is located, and determine the associated cloud classroom according to the network segment where it is located.
  • the associated cloud classroom Search the old terminal information according to the seat number. If there is old terminal information in the search, the old terminal information will be sent to the new terminal. If there is no old terminal information, the seat number will be set as the new seat number and the setting success result will be fed back to 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 obtain the historical information of the old terminal, avoid information loss caused by replacing the terminal, and improve The information integrity of the cloud classroom; and, when adding a new terminal, the seat number can be set to the new seat number by default when the old terminal information cannot be queried through the seat number, so as to increase the association between the new terminal and the cloud classroom and improve the new terminal.
  • the efficiency of establishing association between the terminal and the cloud classroom improves the interactive experience of the cloud classroom.
  • FIG. 1 is a flow chart of a terminal replacement method for a cloud classroom provided in Embodiment 1 of the present application;
  • FIG. 2 is a schematic diagram of terminal replacement in Embodiment 1 of the present application.
  • FIG. 3 is a schematic diagram of a newly added terminal in Embodiment 1 of the present application.
  • FIG. 4 is a schematic structural diagram of a terminal replacement device for a cloud classroom provided in Embodiment 2 of the present application;
  • FIG. 5 is a schematic structural diagram of an electronic device provided in Embodiment 3 of the present application.
  • the terminal replacement method, device, electronic equipment and storage medium of the cloud classroom provided by this application are aimed at obtaining 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, To avoid information loss caused by replacing the terminal, to ensure the information integrity of the cloud classroom; and, when adding a new terminal, if the old terminal information cannot be queried through the seat number, the seat number is set to the newly added seat number by default, thereby increasing the new terminal.
  • the association between the terminal and the cloud classroom Compared with the traditional cloud classroom replacement terminal method, it usually re-associates and reconfigures all resource information when replacing or adding a terminal, resulting in the loss of original terminal information and incomplete system information. Based on this, the terminal replacement method of the cloud classroom according to 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.
  • Figure 1 shows a flow chart of a cloud classroom terminal replacement method provided in Embodiment 1 of the present application.
  • the cloud classroom terminal replacement method provided in this embodiment can be executed by a cloud classroom terminal replacement device.
  • the terminal replacement device can be realized by means of software and/or hardware, and the terminal replacement device of the cloud classroom can be composed of two or more physical entities, or can be composed of one physical entity.
  • the terminal replacement device of the cloud classroom can be a terminal device, such as a computer, a mobile phone, or a tablet.
  • the terminal replacement method of the cloud classroom specifically includes:
  • the new terminal information includes new terminal ID information, new terminal IP information, and seat number
  • the new terminal IP information includes DHCP relay server in the new terminal
  • the IP information assigned when starting up, the seat number is the seat number corresponding to the old terminal or the newly added seat number.
  • the number of network segment IPs configured for the cloud classroom is greater than or equal to N+1, where N represents the number of seats in the cloud classroom.
  • N represents the number of seats in the cloud classroom.
  • the new terminal when an old terminal needs to replace and update a new terminal, 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 command to send to Cloud classroom server.
  • the cloud classroom server receives new terminal information and old terminal information query instructions. For example, in FIG. 2 , the old terminal corresponding to the seat number 8 breaks down 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 command to the cloud classroom server.
  • the server side of the cloud classroom receives the corresponding new terminal ID information, new terminal IP information, seat number 8, and old terminal information query instructions.
  • the new terminal 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 new terminal information and old terminal information query instructions. For example, in Figure 3, when the cloud classroom needs to add a student seat, 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 command 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 instructions.
  • the old terminal information query is started, and the cloud classroom information corresponding to the old terminal must be known.
  • the IP network segment information of the cloud classrooms and associated terminal devices is also related, and both the old and new terminals have the same DHCP relay
  • the server allocates 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.
  • the old terminal information query is started, and the cloud classroom information corresponding to the old terminal must be known.
  • the cloud classroom information corresponding to the old terminal must be known.
  • it is necessary to establish the first association with the cloud classroom when adding a new terminal device because the IP network between the cloud classroom and the associated terminal device. If there is an association relationship between segment information, 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.
  • the IP network segment of the old terminal device with seat number 8 is associated with the corresponding cloud classroom, and both the old and new 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 same network segment as the old terminal 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 where it is located.
  • the cloud classroom information to be associated with the network segment is determined according to the network segment where the IP information of the new terminal is located. Referring to Figure 3, add a new terminal with seat number 19, and match the cloud classroom information to be associated corresponding to the network segment where the new terminal with seat number 19 is located.
  • 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, searched Legacy terminal information associated with the seat number.
  • the old terminal information includes old terminal ID information, old terminal motherboard ID information, old terminal IP information, seat number, and class record information corresponding to the old terminal.
  • a new terminal with a seat number of 19 is added.
  • the old terminal information can be searched according to the seat number, and it is proved that an 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 information of the old terminal and the command to replace the old terminal to be confirmed. If it is confirmed that the replacement needs to be performed, it sends a confirmation command to replace the old terminal to the cloud classroom server.
  • the server side of the cloud classroom then replaces the old terminal instruction according to the confirmation sent by the new terminal, and generates a terminal replacement record.
  • 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.
  • the new terminal After the new terminal receives the old terminal information, replace 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 replace the IP information assigned by the DHCP relay server with the IP in the old terminal network configuration Information gets replaced with IP information.
  • the new terminal will package the replacement ID information, replacement IP information, and new terminal motherboard ID information into a replacement success message and send it to the cloud classroom server.
  • the cloud classroom server receives the replacement success information sent by the new terminal; updates the terminal replacement record according to the received replacement success information. According to the received replacement success information sent by the new terminal, the ID information of the main board of the old terminal recorded in the information of the old terminal is updated to the ID information of the main board of the new terminal.
  • 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.
  • the old terminal information cannot be searched according to the seat number, and it proves that a new terminal is newly added, then the seat number is set as the newly added seat number, the new terminal information is saved, and the new terminal information is combined with the new terminal information
  • the cloud classroom information and the newly added seat number are associated, and the IP information of the new terminal is fixed in the network configuration, and the successful setting result is fed back to the new terminal.
  • the new terminal information includes the new terminal ID information, the new terminal motherboard ID information and New terminal IP information.
  • the embodiment of the present application searches for the network segment where the new terminal IP information is located by receiving the old terminal query information command and the new terminal ID information, new terminal IP information, and seat number, and determines the associated cloud classroom according to the network segment where it is located.
  • the old terminal information is searched according to the seat number. If there is old terminal information in the search, the old terminal information will be sent to the new terminal. If there is no old terminal information, the seat number will be set as the new seat number and the setting success result will be sent to 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 obtain the historical information of the old terminal, avoid information loss caused by replacing the terminal, and improve The information integrity of the cloud classroom; and, when adding a new terminal, the seat number can be set to the new seat number by default when the old terminal information cannot be queried through the seat number, so as to increase the association between the new terminal and the cloud classroom and improve the new terminal.
  • the efficiency of establishing association between the terminal and the cloud classroom improves the interactive experience of the cloud classroom.
  • FIG. 4 is a schematic structural diagram of a terminal replacement device for a cloud classroom provided in Embodiment 2 of the present application.
  • the terminal replacement device for the cloud classroom provided in this embodiment specifically includes: an information receiving module 21 , a network segment search module 22 , an associated cloud classroom determination module 23 , an old terminal information search module 24 and a result feedback module 25 .
  • the information receiving module 21 is used to receive the new terminal information and the old terminal information query instruction sent by the new terminal, the new terminal information includes new terminal ID information, new terminal IP information, seat number, and the new terminal IP information includes The IP information assigned by the DHCP relay server when the new terminal is turned on, and the seat number is the corresponding seat number of the old terminal or the newly added seat number;
  • the network segment search module 22 is used to search for the network segment where the new terminal IP information is located according to the old terminal information query instruction;
  • Associated cloud classroom determination module 23 for determining the 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 search module 24 is used to search whether there is old terminal information according to the seat number in the cloud classroom information;
  • the result feedback module 25 is used to send the old terminal information to the new terminal if there is old terminal information
  • the device further includes: an information association module, configured to store new terminal information if there is no old terminal information; associate the new terminal information with cloud classroom information and the newly added seat number, and link the new terminal information IP information is fixed to the network configuration.
  • an information association module configured to store new terminal information if there is no old terminal information; associate the new terminal information with cloud classroom information and the newly added seat number, and link the new terminal information IP information is fixed to the network configuration.
  • the device further includes: a terminal replacement record storage module, configured to generate a terminal replacement record according to receiving a confirmation from the new terminal to replace the old terminal if there is old terminal information, 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.
  • a terminal replacement record storage module configured to generate a terminal replacement record according to receiving a confirmation from the new terminal to replace the old terminal if there is old terminal information
  • 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.
  • the device further includes: a new terminal ID generating 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.
  • a new terminal ID generating 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.
  • the result feedback module 25 is also used to receive the 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, and the replacement ID information includes the new terminal memory
  • the replacement success information in the hard disk is replaced with the old terminal ID information
  • 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, update the terminal replacement Record.
  • the terminal replacement record storage module is also used 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.
  • the device also includes: a network segment initialization module, which is used in the cloud classroom initialization stage, and configures the number of network segment IPs of the cloud classroom to be greater than or equal to N+1, where N represents the number of seats in the cloud classroom.
  • a network segment initialization module which is used in the cloud classroom initialization stage, and configures the number of network segment IPs of the cloud classroom to be greater than or equal to N+1, where N represents the number of seats in the cloud classroom.
  • the embodiment of the present application searches for the network segment where the new terminal IP information is located by receiving the old terminal query information command and the new terminal ID information, new terminal IP information, and seat number, and determines the associated cloud classroom according to the network segment where it is located.
  • the old terminal information is searched according to the seat number. If there is old terminal information in the search, the old terminal information will be sent to the new terminal. If there is no old terminal information, the seat number will be set as the new seat number and the setting success result will be sent to 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 obtain the historical information of the old terminal, avoid information loss caused by replacing the terminal, and improve The information integrity of the cloud classroom; and, when adding a new terminal, the seat number can be set to the new seat number by default when the old terminal information cannot be queried through the seat number, so as to increase the association between the new terminal and the cloud classroom and improve the new terminal.
  • the efficiency of establishing association between the terminal and the cloud classroom improves the interactive experience of the cloud classroom.
  • the device for replacing a terminal in a cloud classroom provided in Embodiment 2 of the present application can be used to execute the method for replacing a terminal in a cloud classroom provided in Embodiment 1 above, and has corresponding functions and beneficial effects.
  • Embodiment 3 of the present application provides an electronic device.
  • 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 can be connected through a bus or in other ways.
  • the memory 32 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, cloud classroom Information receiving module, network segment search module, associated cloud classroom determination module, old terminal information search module and result feedback module) in the terminal replacement device.
  • the memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required by a function; the data storage area may store data created according to the use of the device, and the like.
  • 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 devices.
  • the memory may further include memory located remotely from the processor, which remote memory may be connected to the device via a network. Examples of the aforementioned 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 and data processing of the device by running the software programs, instructions and modules stored in the memory, that is, realizes the above-mentioned terminal replacement method of the cloud classroom.
  • the input device 34 can be used for receiving inputted numerical or character information, and generating key signal input related to user setting and function control of the device.
  • the output device 35 may include a display device such as a display screen.
  • the electronic device provided above can be used to execute the method for replacing a terminal in a cloud classroom provided in Embodiment 1 above, and has corresponding functions and beneficial effects.
  • the embodiment of the present application also provides a storage medium containing computer-executable instructions, and when the computer-executable instructions are executed by a computer processor, the computer-executable instructions are used to execute a method for replacing a terminal in a cloud classroom.
  • the method for replacing a terminal in a cloud classroom includes : receiving 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, seat number, and the new terminal IP information includes a DHCP relay server when the new terminal is powered on
  • the seat number is the seat number corresponding to the old terminal or the new seat number
  • the old terminal information query command search for the network segment where the new terminal IP information is located
  • the network segment where the new terminal IP information is located Determine the cloud classroom information associated with the network segment; search whether there is old terminal information in the cloud classroom information according to the seat number; if there is old terminal information, send the old terminal information to the new terminal; if not If there is old terminal information, set the seat
  • storage medium any of various types of memory devices or storage devices.
  • storage medium is intended to include: installation media such as CD-ROMs, floppy disks, or tape drives; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg 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.
  • 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.
  • storage medium may include two or more storage media that reside in different locations, for example in different computer systems connected by a network.
  • the storage medium may store program instructions (eg embodied as computer programs) executable by one or more processors.
  • a storage medium containing computer-executable instructions provided in the embodiments of the present application, the computer-executable instructions are not limited to the terminal replacement method of the cloud classroom as described above, and the cloud classroom provided by any embodiment of the present application can also be executed. Related operations in the classroom's terminal replacement method.
  • the cloud classroom terminal replacement device, storage medium, and electronic equipment provided in the above embodiments can execute the cloud classroom terminal replacement method provided in any embodiment of the present application.
  • the cloud classroom terminal replacement method of the cloud classroom provided by any embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • Educational Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种云教室的终端替换方法、装置、电子设备及存储介质,通过接收新终端发送的新终端ID信息、新终端IP信息、座位号和旧终端信息查询指令,所述新终端IP信息包括DHCP中继服务器在新终端开机时进行分配的IP信息,所述座位号为旧终端对应座位号或新增座位号;根据旧终端信息查询指令,搜索新终端IP信息所在的网段;根据新终端IP信息所在的网段,确定与所述网段关联的云教室信息;在所述云教室信息中根据所述座位号,搜索是否存在旧终端信息;若存在旧终端信息,则将旧终端信息发送给新终端;若不存在旧终端信息,则将座位号设置为新增座位号,并反馈设置成功结果给新终端,解决云教室终端更换导致的信息缺失问题,提升云教室的信息完整性。

Description

一种云教室的终端替换方法、装置、电子设备及存储介质 技术领域
本申请实施例涉及云教室技术领域,尤其涉及一种云教室的终端替换方法、装置、电子设备及存储介质。
背景技术
随着信息技术的发展,电脑、互联网快速成为人们生活的主角,全面覆盖了社会的各个行业,教育领域也是如此。在这种背景下,云教室这种新型的教育教学模式也得以出现。云教室是建立在云计算基础上的,以电脑、电化教室为支撑的平台及管理系统。
近几年来,教育云的推广在逐渐加速,不少学校都在尝试云教室,云教室是云计算技术与教育行业相结合的产物。在云教室的使用场景中,每个学生的座位上都会放置终端,终端上面连接着显示屏、鼠标、键盘等硬件设备,以及通过网线连接到交换机,从而与云教室对应的管理平台进行通信。
在云教室中,学生终端与云教室、课程桌面、座位号、IP等资源具有一定的关联关系,当某一学生终端出现硬件故障等异常情况,需要更换终端设备时,需要将资源进行重现关联。目前进行更换终端时,都是为新终端设备重新配置所有资源信息,导致原本学生终端资源信息丢失,使得云教室学生体验感差。
发明内容
本申请实施例提供一种云教室的终端替换方法、装置、电子设备及存储介质,能够解决云教室学生终端更换导致的信息缺失问题,提升云教室的信息完整性和交互体验感。
在第一方面,本申请实施例提供了一种云教室的终端替换方法,包括:
接收新终端发送的新终端信息和旧终端信息查询指令,所述新终端信息包括新终端ID信息、新终端IP信息、座位号,所述新终端IP信息包括DHCP中继服务器在新终端开机时进行分配的IP信息,所述座位号为旧终端对应座位号或新增座位号;
根据旧终端信息查询指令,搜索新终端IP信息所在的网段;
根据新终端IP信息所在的网段,确定与所述网段关联的云教室信息;
在所述云教室信息中根据所述座位号,搜索是否存在旧终端信息;
若存在旧终端信息,则将旧终端信息发送给新终端;
若不存在旧终端信息,则将座位号设置为新增座位号,并反馈设置成功结果给新终端。
进一步的,所述还方法包括:
若不存在旧终端信息,则保存新终端信息;
将所述新终端信息与云教室信息、新增座位号进行关联,并将新终端的IP信息固定至网络配置中。
进一步的,所述方法还包括:
若存在旧终端信息,则根据接收到新终端发送的的确认替换旧终端指令,生成终端替换记录,所述终端替换记录包括云教室信息、座位号信息、旧终端ID信息、旧终端主板ID信息、新终端ID信息和新终端IP信息。
进一步的,所述方法还包括:
新终端开机后自动生成新终端ID信息,并保存在新终端的内存硬盘内。
进一步的,在若存在旧终端信息,将旧终端信息发送给新终端之后,还包括:
接收新终端发送的替换成功信息,所述替换成功信息包括替换ID信息、新终端主板ID信息和替换IP信息,所述替换ID信息包括将新终端内存硬盘内的新终端ID信息替换成旧终端ID信息,所述替换IP包括将DHCP中继服务器分配的IP信息替换成旧终端网络配置中的IP信息;
根据接收到的替换成功信息,更新终端替换记录。
进一步的,所述方法还包括:
根据接收到的新终端发送的替换成功信息,将旧终端信息中记录的旧终端主板ID信息更新为新终端主板ID信息。
进一步的,所述方法还包括:
云教室初始化阶段,配置云教室网段IP数量大于等于N+1,其中N代表云教室座位数量。
在第二方面,本申请实施例提供了一种云教室的终端替换装置,包括:
信息接收模块,用于接收新终端发送的新终端信息和旧终端信息查询指令,所述新终端信息包括新终端ID信息、新终端IP信息、座位号,所述新终端IP 信息包括DHCP中继服务器在新终端开机时进行分配的IP信息,所述座位号为旧终端对应座位号或新增座位号;
网段搜索模块,用于根据旧终端信息查询指令,搜索新终端IP信息所在的网段;
关联云教室确定模块,用于根据新终端IP信息所在的网段,确定与所述网段关联的云教室信息;
旧终端信息搜索模块,用于在所述云教室信息中根据所述座位号,搜索是否存在旧终端信息;
结果反馈模块,用于若存在旧终端信息,则将旧终端信息发送给新终端;
若不存在旧终端信息,则将座位号设置为新增座位号,并反馈设置成功结果给新终端。
进一步的,所述装置还包括:
信息关联模块,用于若不存在旧终端信息,则保存新终端信息;
将所述新终端信息与云教室信息、新增座位号进行关联,并将新终端的IP信息固定至网络配置中。
进一步的,所述装置还包括:
终端替换记录储存模块,用于若存在旧终端信息,则根据接收到新终端发送的的确认替换旧终端指令,生成终端替换记录,所述终端替换记录包括云教室信息、座位号信息、旧终端ID信息、旧终端主板ID信息、新终端ID信息和新终端IP信息。
进一步的,所述装置还包括:
新终端ID生成模块,用于新终端开机后自动生成新终端ID信息,并保存在新终端的内存硬盘内。
进一步的,结果反馈模块,还用于接收新终端发送的替换成功信息,所述替换成功信息包括替换ID信息、新终端主板ID信息和替换IP信息,所述替换ID信息包括将新终端内存硬盘内的新终端ID信息替换成旧终端ID信息,所述替换IP包括将DHCP中继服务器分配的IP信息替换成旧终端网络配置中的IP信息;
根据接收到的替换成功信息,更新终端替换记录。
进一步的,终端替换记录储存模块,还用于根据接收到的新终端发送的替换成功信息,将旧终端信息中记录的旧终端主板ID信息更新为新终端主板ID 信息。
进一步的,所述装置还包括:
网段初始化模块,用于云教室初始化阶段,配置云教室网段IP数量大于等于N+1,其中N代表云教室座位数量。
在第三方面,本申请实施例提供了一种电子设备,包括:
存储器以及一个或多个处理器;
所述存储器,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的云教室的终端替换方法。
在第四方面,本申请实施例提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如第一方面所述的云教室的终端替换方法。
本申请实施例通过接收旧终端查询信息指令和新终端ID信息、新终端IP信息、座位号,搜索新终端IP信息所在的网段并根据所在网段确定关联云教室,在关联的云教室中根据座位号进行旧终端信息的搜索,若搜索存在旧终端信息则发送旧终端信息给新终端,若不存在旧终端信息则设置座位号为新增座位号并反馈设置成功结果给新终端。采用上述技术手段,可以在新终端替换旧终端时,通过座位号获取旧终端在云教室系统中的旧终端信息,以便新终端获取旧终端的历史信息,避免更换终端后导致的信息缺失,提高云教室的信息完整性;并且,可以在增加新终端时,通过座位号查询不到旧终端信息时默认将座位号设置为新增座位号,以此增加新终端与云教室的关联,提高新终端与云教室建立关联的效率,提高云教室的交互体验感。
附图说明
图1是本申请实施例一提供的一种云教室的终端替换方法的流程图;
图2是本申请实施例一中的终端替换示意图;
图3是本申请实施例一中的新增终端示意图;
图4是本申请实施例二提供的一种云教室的终端替换装置的结构示意图;
图5是本申请实施例三提供的一种电子设备的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
本申请提供的云教室的终端替换方法、装置、电子设备及存储介质,旨替换终端时,通过座位号获取旧终端在云教室系统中的旧终端信息,以便新终端获取旧终端的历史信息,避免更换终端后导致的信息缺失,以云教室的信息完整性;并且,在增加新终端时,通过座位号查询不到旧终端信息时默认将座位号设置为新增座位号,以此增加新终端与云教室的关联。相对于传统的云教室替换终端方式,其通常在替换或者新增终端时都是通过重新关联并重新配置所有的资源信息,导致原有的终端信息缺失,导致系统信息不完整。基于此,提供本申请实施例的云教室的终端替换方法,以解决现有云教室学生终端更换导致的信息缺失问题。
实施例一:
图1给出了本申请实施例一提供的一种云教室的终端替换方法的流程图,本实施例中提供的云教室的终端替换方法可以由云教室的终端替换设备执行,该云教室的终端替换设备可以通过软件和/或硬件的方式实现,该云教室的终端替换设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。一般而言,该云教室的终端替换设备可以是终端设备,如电脑、手机或平板等。
下述以电脑为执行云教室的终端替换方法的主体为例,进行描述。参照图1,该云教室的终端替换方法具体包括:
S101、接收新终端发送的新终端信息和旧终端信息查询指令,所述新终端信息包括新终端ID信息、新终端IP信息、座位号,所述新终端IP信息包括DHCP中继服务器在新终端开机时进行分配的IP信息,所述座位号为旧终端对应座位 号或新增座位号。
云教室初始化阶段,配置云教室网段IP数量大于等于N+1,其中N代表云教室座位数量。当某个旧终端需要替换更新一个新终端,或者需要新增加设置一个新终端时,在新终端开机后自动生成新终端ID信息,并保存在新终端的内存硬盘内。新终端与DHCP中继服务器建立通信联系,获取DHCP中继服务器自动分配的新终端IP信息。
参照图2,当某个旧终端需要替换更新一个新终端时,则新终端将包括新终端ID信息、新终端IP信息,旧终端对应的座位号的新终端信息,以及旧终端信息查询指令发送给云教室服务器。云教室服务器接收新终端信息以及旧终端信息查询指令。例如图2中,座位号为8对应的旧终端发生了故障,需要替换一个新终端,对应的座位号还是8。座位号为8的新终端设备发送对应的新终端ID信息、新终端IP信息、座位号8,以及旧终端信息查询指令给云教室服务器端。云教室服务器端接收对应的新终端ID信息、新终端IP信息、座位号8,以及旧终端信息查询指令。
参照图3,当需要新增一个新终端时,则新终端将包括新终端ID信息、新终端IP信息,新增的座位号的新终端信息,以及旧终端信息查询指令发送给云教室服务器。云教室服务器接收新终端信息以及旧终端信息查询指令。例如图3中,当云教室需要增加一个学生的座位,则新增一个新终端,新增座位号为19。座位号为19的新终端设备发送对应的新终端ID信息、新终端IP信息、座位号19,以及旧终端信息查询指令给云教室服务器端。云教室服务器端接收对应的新终端ID信息、新终端IP信息、座位号19,以及旧终端信息查询指令。
S102、根据旧终端信息查询指令,搜索新终端IP信息所在的网段。
当某个旧终端需要替换更新一个新终端时,根据旧终端信息查询指令,启动旧终端信息查询,必须知道旧终端所对应的云教室信息。基于不同云教室与对应的已有座位号的终端设备之间存在关联,其云教室与关联的终端设备两者的IP所在网段信息也是存在关联的,并且新旧终端均有相同的DHCP中继服务器进行分配IP信息的,因此需要对新终端的IP信息所在网段进行搜索,以找出对应的关联云教室。
示例性的,参照图2,当座位号为8的新终端替换原有旧终端时,根据旧终端信息查询指令,启动旧终端信息查询,基于座位号为8的旧终端设备与对应的云教室之间存在关联,其云教室与座位号为8的旧终端设备两者的IP所在网 段信息也是存在关联,并且座位号为8的新旧终端均有相同的DHCP中继服务器进行分配IP信息的,因此需要对座位号为8的新终端的IP信息所在网段进行搜索,以找出对应的座位号为8的旧终端关联的云教室。
当需要新增一个新终端时,根据旧终端信息查询指令,启动旧终端信息查询,必须知道旧终端所对应的云教室信息。基于不同云教室与对应的已有座位号的终端设备之间存在关联,因此新增新终端设备则需要和云教室建立首次的关联,有因为云教室与关联的终端设备两者的IP的网段信息存在关联关系的,为了将新增的新终端与云教室关联,因此需要对新终端的IP信息所在网段进行搜索,以匹配所在网段对应的关联云教室。
示例性的,参照图3,当新增座位19的新终端,因为是新增的终端设备,需要匹配关联云教室,因此需要对新终端的IP信息所在网段进行搜索,以匹配所在网段对应的关联云教室。
S103、根据新终端IP信息所在的网段,确定与所述网段关联的云教室信息。
当某个旧终端需要替换更新一个新终端时,原有旧终端已经和对应的云教室进行关联,并且新旧终端均有相同的DHCP中继服务器进行分配IP信息的,因此根据新终端IP信息所在的网段,可以确定旧终端对应的云教室信息。
示例性的,参照图2,因为座位号为8的旧终端设备的IP网段与对应的云教室进行了关联,且座位号为8的新旧终端均有相同的DHCP中继服务器进行分配IP信息的,因此,根据座位号为8的新终端IP信息能够搜索到对应和旧终端一样所在的网段,根据所在网段能够确定与座位号为8的旧终端设备关联的云教室信息。
当需要新增一个新终端时,根据新终端IP信息所在的网段,确定与所述网段待关联的云教室信息。参照图3,增加座位号为19的新终端,根据座位号为19的新终端所在网段,匹配对应所在网段对应的待关联的云教室信息。
S104、在所述云教室信息中根据所述座位号,搜索是否存在旧终端信息。
当某个旧终端需要替换更新一个新终端时,旧终端对应的ID信息、IP信息以及座位号信息进行关联存储记录在对应的云教室信息系统中;根据原有旧终端对应的座位号,搜索到与座位号关联的旧终端信息。所述旧终端信息包括旧终端ID信息、旧终端主板ID信息、旧终端IP信息、座位号以及旧终端对应的上课记录信息等。
示例性的,参照图2,当某个旧终端需要替换更新一个新终端时,即座位号 为8的新终端替换座位号为8的旧终端时,在云教室服务器端存在座位号为8的旧终端信息。因此根据对应的座位号可以搜索得到对应旧终端信息。
当需要新增一个新终端时,其座位号为新增的,该座位号在云教室信息系统中是不存在任何关联的旧终端信息的,因此根据该新增的座位号,搜索是否存在旧终端信息的结果是不存在旧终端信息。
示例性的,参照图3,新增座位号为19的新终端,座位号19在云教室信息系统中是不存在任何关联的旧终端信息的,因此根据该新增的座位号19,搜索不到旧终端信息。
S105、若存在旧终端信息,则将旧终端信息发送给新终端;
在所述云教室信息中根据座位号能够搜索得到旧终端信息,证明是某个旧终端被新终端替换的情况,将旧终端信息以及旧终端替换待确认指令发送给新终端。新终端接收到旧终端信息以及旧终端替换待确认指令,若确认需要进行替换,则发送确认替换旧终端指令给云教室服务器端。云教室服务器端则根据接收到新终端发送的的确认替换旧终端指令,生成终端替换记录,所述终端替换记录包括云教室信息、座位号信息、旧终端ID信息、旧终端主板ID信息、新终端ID信息和新终端IP信息。
新终端在接收到旧终端信息后,将新终端内存硬盘内的新终端ID信息替换成旧终端ID信息得到替换ID信息,将DHCP中继服务器分配的IP信息替换成旧终端网络配置中的IP信息得到替换IP信息。完成上述替换后,新终端会将替换ID信息、替换IP信息以及新终端主板ID信息打包成替换成功信息并发送给云教室服务器端。云教室服务器端接收新终端发送的替换成功信息;根据接收到的替换成功信息,更新终端替换记录。根据接收到的新终端发送的替换成功信息,将旧终端信息中记录的旧终端主板ID信息更新为新终端主板ID信息。
因此,更新后的替换终端替换记录包括云教室信息、座位号信息、旧终端ID信息、新终端主板ID信息和旧终端IP信息。
S106、若不存在旧终端信息,则将座位号设置为新增座位号,并反馈设置成功结果给新终端。
在所述云教室信息中根据座位号搜索不到旧终端信息,证明是新增一个新终端的情况,则将座位号设置为新增座位号,保存新终端信息,将所述新终端信息与云教室信息、新增座位号进行关联,并将新终端的IP信息固定至网络配置中,并反馈设置成功结果给新终端,所述新终端信息包括新终端ID信息、新 终端主板ID信息和新终端IP信息。
上述,本申请实施例通过接收旧终端查询信息指令和新终端ID信息、新终端IP信息、座位号,搜索新终端IP信息所在的网段并根据所在网段确定关联云教室,在关联的云教室中根据座位号进行旧终端信息的搜索,若搜索存在旧终端信息则发送旧终端信息给新终端,若不存在旧终端信息则设置座位号为新增座位号并反馈设置成功结果给新终端。采用上述技术手段,可以在新终端替换旧终端时,通过座位号获取旧终端在云教室系统中的旧终端信息,以便新终端获取旧终端的历史信息,避免更换终端后导致的信息缺失,提高云教室的信息完整性;并且,可以在增加新终端时,通过座位号查询不到旧终端信息时默认将座位号设置为新增座位号,以此增加新终端与云教室的关联,提高新终端与云教室建立关联的效率,提高云教室的交互体验感。
实施例二:
在上述实施例的基础上,图4为本申请实施例二提供的一种云教室的终端替换装置的结构示意图。参考图4,本实施例提供的云教室的终端替换装置具体包括:信息接收模块21、网段搜索模块22、关联云教室确定模块23、旧终端信息搜索模块24和结果反馈模块25。
其中,信息接收模块21,用于接收新终端发送的新终端信息和旧终端信息查询指令,所述新终端信息包括新终端ID信息、新终端IP信息、座位号,所述新终端IP信息包括DHCP中继服务器在新终端开机时进行分配的IP信息,所述座位号为旧终端对应座位号或新增座位号;
网段搜索模块22,用于根据旧终端信息查询指令,搜索新终端IP信息所在的网段;
关联云教室确定模块23,用于根据新终端IP信息所在的网段,确定与所述网段关联的云教室信息;
旧终端信息搜索模块24,用于在所述云教室信息中根据所述座位号,搜索是否存在旧终端信息;
结果反馈模块25,用于若存在旧终端信息,则将旧终端信息发送给新终端;
若不存在旧终端信息,则将座位号设置为新增座位号,并反馈设置成功结果给新终端。
进一步的,所述装置还包括:信息关联模块,用于若不存在旧终端信息, 则保存新终端信息;将所述新终端信息与云教室信息、新增座位号进行关联,并将新终端的IP信息固定至网络配置中。
进一步的,所述装置还包括:终端替换记录储存模块,用于若存在旧终端信息,则根据接收到新终端发送的的确认替换旧终端指令,生成终端替换记录,所述终端替换记录包括云教室信息、座位号信息、旧终端ID信息、旧终端主板ID信息、新终端ID信息和新终端IP信息。
进一步的,所述装置还包括:新终端ID生成模块,用于新终端开机后自动生成新终端ID信息,并保存在新终端的内存硬盘内。
进一步的,结果反馈模块25,还用于接收新终端发送的替换成功信息,所述替换成功信息包括替换ID信息、新终端主板ID信息和替换IP信息,所述替换ID信息包括将新终端内存硬盘内的新终端ID信息替换成旧终端ID信息,所述替换IP包括将DHCP中继服务器分配的IP信息替换成旧终端网络配置中的IP信息;根据接收到的替换成功信息,更新终端替换记录。
进一步的,终端替换记录储存模块,还用于根据接收到的新终端发送的替换成功信息,将旧终端信息中记录的旧终端主板ID信息更新为新终端主板ID信息。
进一步的,所述装置还包括:网段初始化模块,用于云教室初始化阶段,配置云教室网段IP数量大于等于N+1,其中N代表云教室座位数量。
上述,本申请实施例通过接收旧终端查询信息指令和新终端ID信息、新终端IP信息、座位号,搜索新终端IP信息所在的网段并根据所在网段确定关联云教室,在关联的云教室中根据座位号进行旧终端信息的搜索,若搜索存在旧终端信息则发送旧终端信息给新终端,若不存在旧终端信息则设置座位号为新增座位号并反馈设置成功结果给新终端。采用上述技术手段,可以在新终端替换旧终端时,通过座位号获取旧终端在云教室系统中的旧终端信息,以便新终端获取旧终端的历史信息,避免更换终端后导致的信息缺失,提高云教室的信息完整性;并且,可以在增加新终端时,通过座位号查询不到旧终端信息时默认将座位号设置为新增座位号,以此增加新终端与云教室的关联,提高新终端与云教室建立关联的效率,提高云教室的交互体验感。
本申请实施例二提供的云教室的终端替换装置可以用于执行上述实施例一提供的云教室的终端替换方法,具备相应的功能和有益效果。
实施例三:
本申请实施例三提供了一种电子设备,参照图5,该电子设备包括:处理器31、存储器32、通信模块33、输入装置34及输出装置35。该电子设备中处理器的数量可以是一个或者多个,该电子设备中的存储器的数量可以是一个或者多个。该电子设备的处理器、存储器、通信模块、输入装置及输出装置可以通过总线或者其他方式连接。
存储器32作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本申请任意实施例所述的云教室的终端替换方法对应的程序指令/模块(例如,云教室的终端替换装置中的信息接收模块、网段搜索模块、关联云教室确定模块、旧终端信息搜索模块和结果反馈模块)。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
通信模块33用于进行数据传输。
处理器31通过运行存储在存储器中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的云教室的终端替换方法。
输入装置34可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置35可包括显示屏等显示设备。
上述提供的电子设备可用于执行上述实施例一提供的云教室的终端替换方法,具备相应的功能和有益效果。
实施例四:
本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种云教室的终端替换方法,该云教室的终端替换方法包括:接收新终端发送的新终端信息和旧终端信息查询指令,所述新终端信息包括新终端ID信息、新终端IP信息、座位号,所述新终端IP信息包括DHCP中继服务器在新终端开机时进行分配的IP信息,所述座 位号为旧终端对应座位号或新增座位号;根据旧终端信息查询指令,搜索新终端IP信息所在的网段;根据新终端IP信息所在的网段,确定与所述网段关联的云教室信息;在所述云教室信息中根据所述座位号,搜索是否存在旧终端信息;若存在旧终端信息,则将旧终端信息发送给新终端;若不存在旧终端信息,则将座位号设置为新增座位号,并反馈设置成功结果给新终端。
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的云教室的终端替换方法,还可以执行本申请任意实施例所提供的云教室的终端替换方法中的相关操作。
上述实施例中提供的云教室的终端替换装置、存储介质及电子设备可执行本申请任意实施例所提供的云教室的终端替换方法,未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的云教室的终端替换方法。
上述仅为本申请的较佳实施例及所运用的技术原理。本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由权利要求的范围决定。

Claims (10)

  1. 一种云教室的终端替换方法,其特征在于,包括:
    接收新终端发送的新终端信息和旧终端信息查询指令,所述新终端信息包括新终端ID信息、新终端IP信息、座位号,所述新终端IP信息包括DHCP中继服务器在新终端开机时进行分配的IP信息,所述座位号为旧终端对应座位号或新增座位号;
    根据旧终端信息查询指令,搜索新终端IP信息所在的网段;
    根据新终端IP信息所在的网段,确定与所述网段关联的云教室信息;
    在所述云教室信息中根据所述座位号,搜索是否存在旧终端信息;
    若存在旧终端信息,则将旧终端信息发送给新终端;
    若不存在旧终端信息,则将座位号设置为新增座位号,并反馈设置成功结果给新终端。
  2. 根据权利要求1所述的云教室的终端替换方法,其特征在于,所述方法还包括:
    若不存在旧终端信息,则保存新终端信息;
    将所述新终端信息与云教室信息、新增座位号进行关联,并将新终端的IP信息固定至网络配置中。
  3. 根据权利要求1所述的云教室的终端替换方法,其特征在于,所述方法还包括:
    若存在旧终端信息,则根据接收到新终端发送的的确认替换旧终端指令,生成终端替换记录,所述终端替换记录包括云教室信息、座位号信息、旧终端ID信息、旧终端主板ID信息、新终端ID信息和新终端IP信息。
  4. 根据权利要求1所述的云教室的终端替换方法,其特征在于,所述方法还包括:
    新终端开机后自动生成新终端ID信息,并保存在新终端的内存硬盘内。
  5. 根据权利要求4所述的云教室的终端替换方法,其特征在于,在若存在旧终端信息,将旧终端信息发送给新终端之后,还包括:
    接收新终端发送的替换成功信息,所述替换成功信息包括替换ID信息、新终端主板ID信息和替换IP信息,所述替换ID信息包括将新终端内存硬盘内的新终端ID信息替换成旧终端ID信息,所述替换IP包括将DHCP中继服务器分配的IP信息替换成旧终端网络配置中的IP信息;
    根据接收到的替换成功信息,更新终端替换记录。
  6. 根据权利要求5所述的云教室的终端替换方法,其特征在于,所述方法还包括:
    根据接收到的新终端发送的替换成功信息,将旧终端信息中记录的旧终端主板ID信息更新为新终端主板ID信息。
  7. 根据权利要求1所述的云教室的终端替换方法,其特征在于,所述方法还包括:
    云教室初始化阶段,配置云教室网段IP数量大于等于N+1,其中N代表云教室座位数量。
  8. 一种云教室的终端替换装置,其特征在于,包括:
    信息接收模块,用于接收新终端发送的新终端信息和旧终端信息查询指令,所述新终端信息包括新终端ID信息、新终端IP信息、座位号,所述新终端IP信息包括DHCP中继服务器在新终端开机时进行分配的IP信息,所述座位号为旧终端对应座位号或新增座位号;
    网段搜索模块,用于根据旧终端信息查询指令,搜索新终端IP信息所在的网段;
    关联云教室确定模块,用于根据新终端IP信息所在的网段,确定与所述网段关联的云教室信息;
    旧终端信息搜索模块,用于在所述云教室信息中根据所述座位号,搜索是否存在旧终端信息;
    结果反馈模块,用于若存在旧终端信息,则将旧终端信息发送给新终端;
    若不存在旧终端信息,则将座位号设置为新增座位号,并反馈设置成功结果给新终端。
  9. 一种电子设备,其特征在于,包括:
    存储器以及一个或多个处理器;
    所述存储器,用于存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7任一所述的方法。
  10. 一种包含计算机可执行指令的存储介质,其特征在于,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-7任一所述的方法。
PCT/CN2021/133914 2021-11-29 2021-11-29 一种云教室的终端替换方法、装置、电子设备及存储介质 WO2023092542A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/133914 WO2023092542A1 (zh) 2021-11-29 2021-11-29 一种云教室的终端替换方法、装置、电子设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/133914 WO2023092542A1 (zh) 2021-11-29 2021-11-29 一种云教室的终端替换方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023092542A1 true WO2023092542A1 (zh) 2023-06-01

Family

ID=86538695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/133914 WO2023092542A1 (zh) 2021-11-29 2021-11-29 一种云教室的终端替换方法、装置、电子设备及存储介质

Country Status (1)

Country Link
WO (1) WO2023092542A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080134301A1 (en) * 2006-12-05 2008-06-05 Hitachi, Ltd. Computer system and management computer for identifying seat position
CN102402777A (zh) * 2011-09-30 2012-04-04 广东电子工业研究院有限公司 基于云计算的数字校园虚拟教室排位与登记系统及方法
CN110138891A (zh) * 2019-05-17 2019-08-16 安徽环数科技有限公司 云桌面下电子座位号的设置方法及装置
CN110401583A (zh) * 2019-06-21 2019-11-01 深圳绿米联创科技有限公司 设备替换的方法、装置、系统、移动终端以及存储介质
CN113206879A (zh) * 2021-04-29 2021-08-03 广州朗国电子科技有限公司 一种终端ip地址自动同步方法、电子设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080134301A1 (en) * 2006-12-05 2008-06-05 Hitachi, Ltd. Computer system and management computer for identifying seat position
CN102402777A (zh) * 2011-09-30 2012-04-04 广东电子工业研究院有限公司 基于云计算的数字校园虚拟教室排位与登记系统及方法
CN110138891A (zh) * 2019-05-17 2019-08-16 安徽环数科技有限公司 云桌面下电子座位号的设置方法及装置
CN110401583A (zh) * 2019-06-21 2019-11-01 深圳绿米联创科技有限公司 设备替换的方法、装置、系统、移动终端以及存储介质
CN113206879A (zh) * 2021-04-29 2021-08-03 广州朗国电子科技有限公司 一种终端ip地址自动同步方法、电子设备和存储介质

Similar Documents

Publication Publication Date Title
JP7427016B2 (ja) 動的翻訳
US11249788B2 (en) Cloud management platform, and virtual machine management method and system
US20190149872A1 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
US20220129334A1 (en) Machine learning repository service
US11809901B2 (en) Migrating the runtime state of a container between two nodes
WO2019218510A1 (zh) 多业务系统交互方法及装置、存储介质、电子设备
WO2018119955A1 (zh) 跨系统多媒体数据编解码方法、装置、电子设备和计算机程序产品
WO2020259289A1 (zh) 资源分配方法和装置,电子设备及存储介质
US12046244B2 (en) Systems and method for third party natural language understanding service integration
KR20220008354A (ko) 화면 전송 처리 방법, 장치, 디바이스 및 저장 매체
WO2020020202A1 (zh) 应用程序的账号管理方法、装置、设备和介质
WO2019157354A1 (en) Live-rendered and forkable graphic edit trails
WO2023092542A1 (zh) 一种云教室的终端替换方法、装置、电子设备及存储介质
US10897397B2 (en) Grammar for configuration validation
EP3896931A1 (en) Spark shuffle-based remote direct memory access system and method
CN109445966A (zh) 事件处理方法、装置、介质和计算设备
CN114499935B (zh) 云平台的访问方法、装置、设备及存储介质
CN115827316A (zh) 数据备份方法、装置、设备及存储介质
CN115098469A (zh) 数据库迁移方法及装置、电子设备和可读存储介质
CN115098301A (zh) 一种云原生场景下有状态应用的快照生成方法和系统
CN114546725A (zh) 一种有状态应用的跨集群备份方法、系统、介质和电子设备
CN114139038A (zh) 一种云教室的终端替换方法、装置、电子设备及存储介质
CN110737396B (zh) 数据复制的方法、设备和计算机存储介质
US11853560B2 (en) Conditional role decision based on source environments
US10289691B2 (en) Dynamic replication of networked files

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21965275

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE