Aigc computing power cluster scheduling device and method and electronic equipment

By designing a computing power preset, start, register, allocate and display center in the AIGC computing power cluster, intelligent scheduling and management of computing power resources is realized, the problem of low computing power scheduling efficiency in the existing technology is solved, and the improvement of the System performance and scalability provide efficient and flexible computing power support.

CN119046005APending Publication Date: 2024-11-29SHANGHAI SHUHENG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411182952.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The existing computing power scheduling methods are less efficient when the load changes dynamically, and it is difficult to achieve efficient, flexible and scalable computing power resource management, and cannot meet the optimization needs of AI-generated content (AIGC) for computing power resources.

Method used

A AIGC computing power cluster scheduling device is designed, including computing power preset, startup, registration, allocation and display center. Through user requirements, computing power parameters are preset, resource status is monitored and analyzed in real time, resources are automatically allocated, and real-time display is provided. and alarm functions, support exclusive and sharing modes, and realize flexible scheduling and management of resources.

Benefits of technology

Improve the efficiency of computing power resources, enhance system performance and scalability, and provide efficient, flexible and scalable computing power support solutions to meet the specific needs of different users, ensuring the rationality of resource allocation and system stability. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119046005A_ABST
    Figure CN119046005A_ABST
Patent Text Reader

Abstract

The invention relates to an aigc computing power cluster scheduling device and method and electronic equipment, and the device comprises a computing power presetting device which is used for presetting corresponding computing power parameters and storing the preset data; according to the computing power starting device, a user submits a computing power instance starting request through a starting interface, a new instance is started after the computing power idle state is detected, and the new instance is registered to the computing power center registration center; the computing power registration center is used for receiving a registration request of a computing power instance, recording instance information in a central database, monitoring the running state of each instance in real time, and recording and analyzing state data; the computing power distribution center is used for recording the computing power use condition of the cluster, performing data analysis and automatically distributing computing power resources according to an analysis result; the computing power display center is used for collecting data of each computing power instance and displaying the data through a display interface module; through effective computing power scheduling and resource management, the use of computing power resources is optimized, and the performance and expandability of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an apparatus, method and electronic equipment for scheduling an AIGC computing power cluster. Background Art

[0002] AIGC (artificial intelligence generated content) has been rapidly developed and widely used in recent years, becoming a key technology in many fields from digital content creation to personalized marketing. How to reasonably allocate computing resources and optimize computing power usage has become an important research direction for computing power allocation.

[0003] At present, there are mainly the following solutions for computing power scheduling:

[0004] (1) Pre-allocation of resources: Before a task starts, computing resources are pre-allocated based on the expected load and demand of the task. This method is suitable for environments with relatively stable and predictable loads, but may be less efficient when the load changes dynamically.

[0005] (2) Load balancing: ① Round robin scheduling: Assign tasks to each computing node in turn. This is simple and effective, and is suitable for situations where the task load is relatively balanced. ② Minimum number of connections: Assign tasks to the computing node with the least number of currently active tasks to balance the load of each node. ③ Minimum remaining resource scheduling: Assign tasks to the node with the most remaining resources to maximize resource utilization. Summary of the invention

[0006] The purpose of the present invention is to solve the above-mentioned shortcomings and provide a device for scheduling an aigc computing power cluster. Through effective computing power scheduling and resource management, the use of computing power resources is optimized, the performance and scalability of the system are improved, and an efficient, flexible and scalable computing power support solution is provided for artificial intelligence to generate content AIGC.

[0007] In one aspect, the present invention provides a device for scheduling an aigc computing power cluster, comprising:

[0008] A computing power preset device, used to preset corresponding computing power parameters according to user needs, and store these preset data in a storage module;

[0009] The computing power startup device, the user submits a computing power instance startup request through the startup interface, starts a new instance after detecting the computing power idle state, registers the new instance to the computing power central registration center, and joins the computing power cluster;

[0010] The computing power registration center is used to receive registration requests for computing power instances, record instance information in the central database, monitor the operating status of each instance in real time, and record and analyze status data;

[0011] The computing power allocation center is used to record the computing power usage of the cluster, perform data analysis, and automatically allocate computing power resources based on the analysis results;

[0012] The computing power display center is used to collect data from each computing power instance and display it through the display interface module.

[0013] In a possible implementation, the computing power preset device includes:

[0014] User demand interface, used to receive user requirements, including but not limited to the task types that need to be supported, the required computing power, the maximum number of users, and the maximum number of queues;

[0015] The configuration module is used to preset the maximum number of users and the maximum number of queues for each computing unit according to the input of the user demand interface;

[0016] The storage module is used to save the preset computing power configuration data for subsequent use.

[0017] In another possible implementation, in the computing power preset device, the user submits relevant requirements through the user requirement interface, the configuration module reads the user requirements, calculates the preset parameters of each computing power unit, and the configuration results are stored in the storage module for use by the computing power startup device, registration center, etc.

[0018] In another possible implementation, the computing power starting device includes:

[0019] User startup interface, used for users to submit computing power startup requests through this interface;

[0020] Idle state detection module, used to detect the current idle state of graphics cards and other computing resources;

[0021] The instance management module is used to start the corresponding computing instances according to user needs and idle status;

[0022] The automatic registration module is used to automatically register the started computing instance to the registration center and join the computing cluster.

[0023] In other possible implementations, the computing power registration center includes:

[0024] The registration management module is used to process the registration and deregistration requests of computing instances and record the instance information in the central database;

[0025] The status monitoring module is used to monitor the operating status of each registered computing instance in real time, and record and analyze status data;

[0026] The operation control module is used to start and stop computing instances and install plug-ins as needed.

[0027] In another possible implementation, the computing power distribution center includes:

[0028] Historical data analysis module, used to record and analyze the historical computing power usage data of the cluster;

[0029] Automatic expansion module, used to dynamically adjust computing resources based on historical data;

[0030] The computing power allocation module is used to automatically allocate computing power resources to users, and supports exclusive and shared mode selection.

[0031] In yet another possible implementation, the computing power demonstration center includes:

[0032] A data collection module is used to collect usage data of each computing instance;

[0033] The display interface module is used to display the computing power usage through a user-friendly interface, including the number of users and queues;

[0034] The alarm module is used to trigger an alarm to prompt the user to expand computing power when resources are close to the preset upper limit.

[0035] In another aspect, the present invention provides a method for scheduling an aigc computing power cluster, comprising the following steps:

[0036] 1) Receive user requirements: Users submit the required computing power configuration through the demand interface;

[0037] 2) Preset computing power parameters: According to user needs, the configuration module presets the corresponding computing power parameters, and the storage module saves these preset data;

[0038] 3) Submitting a computing power startup request: The user submits a computing power instance startup request through the startup interface;

[0039] 4) Detecting the idle state of computing power: The idle state detection module evaluates whether the current computing power resources are available;

[0040] 5) Start the computing instance: The instance management module starts the new instance, and the automatic registration module registers the new instance to the central registration center;

[0041] 6) Register and monitor computing instances: The registration center records new instance information and monitors instance status in real time through the status monitoring module;

[0042] 7) Historical data collection and analysis: The distribution center records and analyzes historical computing power usage data, and the automatic expansion module dynamically adjusts computing power resources;

[0043] 8) Allocate computing power: Based on the analysis results, the computing power allocation module automatically allocates computing power resources and supports users to choose exclusive or shared mode;

[0044] 9) Display computing power usage: The display center collects data from each computing power instance and displays it through the display interface module;

[0045] 10) Alarm and expansion: When resource usage approaches the upper limit, the alarm module prompts the user to expand computing power.

[0046] According to a third aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a program, and when the program is executed by a processor, the above method is implemented.

[0047] In a fourth aspect of the present invention, an electronic device is proposed, comprising a memory and a processor, wherein the memory stores a program executable on the processor, and when the program is executed by the processor, the electronic device implements the above method.

[0048] Compared with the prior art, the present invention has the following advantages:

[0049] (1) Resource optimization: The present invention ensures the maximum number of users and queues for each computing instance by reasonably configuring and scheduling computing resources, avoiding resource overload and improving the efficiency of the overall system.

[0050] (2) Autonomous operation: Users can independently start computing instances based on their own needs and the idle status of the graphics card. This provides high flexibility and enables timely adjustment of computing resources.

[0051] (3) Centralized management: The computing power registration center of the present invention realizes centralized management of computing power resources, including operations such as starting, stopping, and installing plug-ins, which significantly improves the scalability and management convenience of the computing power cluster.

[0052] (4) Allocation on demand: The computing power allocation center of the present invention automatically and reasonably increases or decreases computing power resources based on historical usage, supports users to choose exclusive or shared computing power, ensures more reasonable resource allocation, and meets the specific needs of different users.

[0053] (5) Real-time display: The computing power display center of the present invention provides a real-time display of computing power usage, allowing users and administrators to understand the usage status of resources at any time and adjust and expand them as needed.

[0054] (6) Enhanced system performance and scalability: Through the collaborative work of hardware and software, the present invention improves the efficiency of computing resource utilization while enhancing the overall performance and scalability of the system.

[0055] In summary, the present invention optimizes the use of computing resources and improves the performance and scalability of the system through effective computing power scheduling and resource management, thereby providing an efficient, flexible and scalable computing power support solution for artificial intelligence generated content (AIGC). BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is a schematic diagram of the structure of the device of the present invention;

[0057] Figure 2 It is a schematic flow diagram of the method of the present invention;

[0058] Figure 3 It is a schematic diagram of the structure of the device of the present invention;

[0059] Figure 4 It is a structural schematic diagram of the electronic device of the present invention. DETAILED DESCRIPTION

[0060] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present invention. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0061] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments:

[0062] In some embodiments, as shown in the attached Figure 1 and attached Figure 3 As shown, the present invention provides an aigc computing power cluster scheduling device, which needs to combine the collaborative work of hardware and software to optimize the use of computing power resources and improve system performance and scalability. Its main components are: computing power preset device, computing power startup device, computing power registration center, computing power allocation center and computing power display center, among which,

[0063] A computing power preset device, used to preset corresponding computing power parameters according to user needs, and store these preset data in a storage module;

[0064] The computing power startup device, the user submits a computing power instance startup request through the startup interface, starts a new instance after detecting the computing power idle state, registers the new instance to the computing power central registration center, and joins the computing power cluster;

[0065] The computing power registration center is used to receive registration requests for computing power instances, record instance information in the central database, monitor the operating status of each instance in real time, and record and analyze status data;

[0066] The computing power allocation center is used to record the computing power usage of the cluster, perform data analysis, and automatically allocate computing power resources based on the analysis results;

[0067] The computing power display center is used to collect data from each computing power instance and display it through the display interface module.

[0068] In some other embodiments, the computing power preset device is composed of:

[0069] The user demand interface is used to receive user requirements, including the task types that need to be supported, the required computing power, the maximum number of users and the maximum number of queues, etc.

[0070] The configuration module presets the maximum number of users and the maximum number of queues for each computing unit based on the input of the user demand interface.

[0071] The storage module saves the preset computing power configuration data for subsequent use.

[0072] The working principle of the computing power preset device is as follows: the user submits relevant requirements through the user requirement interface. The configuration module reads the user requirements and calculates the preset parameters of each computing power unit (such as the maximum number of users, the maximum number of queues, etc.). The configuration results are stored in the storage module for use by the computing power startup device, the registration center, etc.

[0073] In some other embodiments, the computing power starting device is composed of:

[0074] User startup interface, through which users submit computing power startup requests.

[0075] The idle state detection module detects the current idle state of the graphics card and other computing resources.

[0076] The instance management module starts the corresponding computing instances according to user needs and idle status.

[0077] The automatic registration module automatically registers the started computing instance to the registration center.

[0078] The working principle of the computing power startup device is as follows: the user submits a request to start the computing power instance through the user startup interface. The idle state detection module evaluates whether the current graphics card or other computing power resources have idle resources. The instance management module starts the corresponding computing power instance according to the detection results and user needs. After the startup is successful, the automatic registration module registers the instance information to the computing power registration center and joins the computing power cluster.

[0079] In some other embodiments, the computing power registration center is composed of:

[0080] The registration management module is used to process registration and deregistration requests for computing instances.

[0081] The status monitoring module monitors the operating status of each registered computing instance.

[0082] The operation control module is responsible for starting and stopping computing instances and installing plug-ins.

[0083] The working principle of the computing power registration center is as follows: the registration management module receives the registration request of the computing power instance and records the instance information in the central database. The status monitoring module monitors the running status of each instance in real time, records and analyzes the status data. The operation control module performs operations such as start, stop and plug-in installation as needed to ensure the scalability and stability of the system.

[0084] In some other embodiments, the computing power distribution center is composed of:

[0085] The historical data analysis module records and analyzes the historical computing power usage data of the cluster.

[0086] The automatic expansion module dynamically adjusts computing resources (increase or decrease) based on historical data.

[0087] The computing power allocation module automatically allocates computing power resources to users and supports exclusive and shared mode selection.

[0088] The working principle of the computing power allocation center is as follows: the historical data analysis module records the computing power usage of the cluster and performs data analysis. According to the analysis results, the automatic expansion module dynamically adjusts the computing power resources (increase or decrease). The computing power allocation module allocates computing power resources in real time, and users can choose exclusive or shared mode to improve resource utilization.

[0089] In some other embodiments, the computing power display center is composed of:

[0090] The data collection module collects the usage data of each computing instance.

[0091] The display interface module displays the computing power usage through a user-friendly interface, including the number of users, number of queues, etc.

[0092] The alarm module triggers an alarm to prompt the user to expand computing power when resources are close to the preset upper limit.

[0093] The working principle of the computing power display center is as follows: the data collection module regularly collects the usage data of each computing power instance. The display interface module displays the collected data intuitively in the form of charts or other forms. When the usage of a computing power resource approaches the preset upper limit, the alarm module notifies the administrator or user to perform necessary expansion operations.

[0094] In some other embodiments, as shown in the attached Figure 2 As shown, the present invention provides a method for scheduling an aigc computing power cluster, and the specific steps are as follows:

[0095] (1) Receiving user requirements: Users submit the required computing power configuration through the demand interface.

[0096] (2) Preset computing power parameters: According to user requirements, the configuration module presets corresponding computing power parameters, and the storage module saves these preset data.

[0097] (3) User submits a computing power startup request: The user submits a computing power instance startup request through the startup interface.

[0098] (4) Detecting the idle state of computing power: The idle state detection module evaluates whether the current computing power resources are available.

[0099] (5) Starting a computing instance: The instance management module starts a new instance, and the automatic registration module registers the new instance to the central registration center.

[0100] (6) Registering and monitoring computing instances: The registration center records new instance information and monitors instance status in real time through the status monitoring module.

[0101] (7) Historical data collection and analysis: The allocation center records and analyzes historical computing power usage data, and the automatic expansion module dynamically adjusts computing power resources.

[0102] (8) Allocating computing power: Based on the analysis results, the computing power allocation module automatically allocates computing power resources and supports users to choose exclusive or shared mode.

[0103] (9) Display of computing power usage: The display center collects data from each computing power instance and displays it through the display interface module.

[0104] (10) Alarm and expansion: When resource usage approaches the upper limit, the alarm module prompts the user to expand computing power.

[0105] The present invention is further described by enumerating specific embodiments below:

[0106] Example 1: Example of using AIGC in colleges and universities

[0107] This example is a reasonable allocation of computing power clusters achieved during the use of aigc in university teaching:

[0108] Computing power pre-setting: College instructors start the AGI computing power according to the number of students in the class, preset the number of students using the class and the number of queues of a computing power, to ensure the efficiency of students' practice and the saturation of computing power usage.

[0109] Computing power allocation: When students use aigc to generate images, the computing power allocation device will allocate available computing power to students based on the idle status of the computing power, the number of users, and the queue status to ensure the efficiency of students' practice, thereby achieving a better teaching experience and improving teaching quality.

[0110] Display Center: Tutors can understand students’ learning and practice status in real time based on the user list and queue status of the display center, thus improving teaching supervision.

[0111] After-class practice: The instructor reclaims the computing power used for class after class, enables shared computing power, and provides students with resources for after-class practice. The instructor can also understand the students' after-class practice status based on the computing power usage.

[0112] In summary, the present invention realizes efficient management and allocation of computing resources to improve the teaching quality of colleges and universities and the learning experience of students. The instructor can pre-set the computing power required for class, dynamically allocate it to students according to the idle state and queue status of the computing power, monitor the students' learning progress in real time, and provide resources for after-class exercises to ensure that students can get sufficient learning support and resource utilization during and after class. This system design can not only improve the supervision and transparency of teaching, but also improve students' learning efficiency and overall teaching effect.

[0113] In some other embodiments of the present invention, an electronic device 400 is disclosed, as shown in the attached figure. Figure 4 As shown, the electronic device includes a processor and a memory, the processor and the memory are connected via a bus, and the memory stores a program that can be run on the processor. When the program is executed by the processor, the electronic device implements the above method. Specifically, the hardware composition of the electronic device includes: one or more processors 401; memory 402; display 403; one or more application programs (not shown); and one or more computer programs 404, and the above devices can be connected via one or more communication buses 405. The one or more computer programs 404 are stored in the above memory 402 and are configured to be executed by the one or more processors 401, and the one or more computer programs 404 include instructions.

[0114] The present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the method described in the above method embodiment is implemented. Specific beneficial effects can be found in the above method embodiment.

[0115] The present invention also provides a computer program product, which implements the method described in the above method embodiment when executed by a computer. Specific beneficial effects can be found in the above method embodiment.

[0116] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0117] Each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0118] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk and other media that can store program codes.

[0119] The above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit it. Under the idea of ​​the present invention, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present invention as described above. Although the present invention is described in detail with reference to the above embodiments, it should be understood by those skilled in the art that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

[0120] The present invention is not limited to the above-mentioned implementation modes, and any other changes, modifications, substitutions, combinations, and simplifications made without departing from the spirit and principle of the present invention shall be equivalent replacement modes and shall be included in the protection scope of the present invention.

Claims

1. A device for scheduling aigc computing power cluster, characterized in that: include: A computing power preset device, used to preset corresponding computing power parameters according to user needs, and store these preset data in a storage module; The computing power startup device, the user submits a computing power instance startup request through the startup interface, starts a new instance after detecting the computing power idle state, registers the new instance to the computing power central registration center, and joins the computing power cluster; The computing power registration center is used to receive registration requests for computing power instances, record instance information in the central database, monitor the operating status of each instance in real time, and record and analyze status data; The computing power allocation center is used to record the computing power usage of the cluster, perform data analysis, and automatically allocate computing power resources based on the analysis results; The computing power display center is used to collect data from each computing power instance and display it through the display interface module.

2. The device according to claim 1, characterized in that The computing power preset device comprises: User demand interface, used to receive user requirements, including but not limited to the task types that need to be supported, the required computing power, the maximum number of users, and the maximum number of queues; The configuration module is used to preset the maximum number of users and the maximum number of queues for each computing unit according to the input of the user demand interface; The storage module is used to save the preset computing power configuration data for subsequent use.

3. The device according to claim 2, characterized in that: In the computing power preset device, the user submits relevant requirements through the user requirement interface, the configuration module reads the user requirements, calculates the preset parameters of each computing power unit, and the configuration results are stored in the storage module for use by the computing power startup device, the registration center, etc.

4. The device according to claim 1, characterized in that The computing power starting device comprises: User startup interface, used for users to submit computing power startup requests through this interface; Idle state detection module, used to detect the current idle state of graphics cards and other computing resources; The instance management module is used to start the corresponding computing instances according to user needs and idle status; The automatic registration module is used to automatically register the started computing instance to the registration center and join the computing cluster.

5. The device according to claim 1, characterized in that The computing power registration center includes: The registration management module is used to process the registration and deregistration requests of computing instances and record the instance information in the central database; The status monitoring module is used to monitor the operating status of each registered computing instance in real time, and record and analyze status data; The operation control module is used to start and stop computing instances and install plug-ins as needed.

6. The device according to claim 1, characterized in that The computing power distribution center includes: Historical data analysis module, used to record and analyze the historical computing power usage data of the cluster; Automatic expansion module, used to dynamically adjust computing resources based on historical data; The computing power allocation module is used to automatically allocate computing power resources to users, and supports exclusive and shared mode selection.

7. The device according to claim 1, characterized in that The computing power demonstration center includes: A data collection module is used to collect usage data of each computing instance; The display interface module is used to display the computing power usage through a user-friendly interface, including the number of users and queues; The alarm module is used to trigger an alarm to prompt the user to expand computing power when resources are close to the preset upper limit.

8. A method for scheduling aigc computing power cluster, characterized in that: The following steps are involved: 1) Receive user requirements: Users submit the required computing power configuration through the demand interface; 2) Preset computing power parameters: According to user needs, the configuration module presets the corresponding computing power parameters, and the storage module saves these preset data; 3) Submitting a computing power startup request: The user submits a computing power instance startup request through the startup interface; 4) Detecting the idle state of computing power: The idle state detection module evaluates whether the current computing power resources are available; 5) Start the computing instance: The instance management module starts the new instance, and the automatic registration module registers the new instance to the central registration center; 6) Register and monitor computing instances: The registration center records new instance information and monitors instance status in real time through the status monitoring module; 7) Historical data collection and analysis: The distribution center records and analyzes historical computing power usage data, and the automatic expansion module dynamically adjusts computing power resources; 8) Allocate computing power: Based on the analysis results, the computing power allocation module automatically allocates computing power resources and supports users to choose exclusive or shared mode; 9) Display computing power usage: The display center collects data from each computing power instance and displays it through the display interface module; 10) Alarm and expansion: When resource usage approaches the upper limit, the alarm module prompts the user to expand computing power.

9. A computer-readable storage medium, wherein a program is stored in the computer-readable storage medium, characterized in that: When the program is executed by a processor, the method according to claim 8 is implemented.

10. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a program that can be run on the processor, and when the program is executed by the processor, the electronic device implements the method as claimed in claim 8.