CN116244060B - Resource scheduling method and device based on intelligent community - Google Patents

Resource scheduling method and device based on intelligent community Download PDF

Info

Publication number
CN116244060B
CN116244060B CN202211549992.4A CN202211549992A CN116244060B CN 116244060 B CN116244060 B CN 116244060B CN 202211549992 A CN202211549992 A CN 202211549992A CN 116244060 B CN116244060 B CN 116244060B
Authority
CN
China
Prior art keywords
control panel
intelligent control
current
determining
environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211549992.4A
Other languages
Chinese (zh)
Other versions
CN116244060A (en
Inventor
朱湘军
彭永坚
彭湘宸
汪壮雄
唐伟文
任继光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Video Star Intelligent Co ltd
Original Assignee
Guangzhou Video Star Intelligent Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Video Star Intelligent Co ltd filed Critical Guangzhou Video Star Intelligent Co ltd
Priority to CN202211549992.4A priority Critical patent/CN116244060B/en
Publication of CN116244060A publication Critical patent/CN116244060A/en
Application granted granted Critical
Publication of CN116244060B publication Critical patent/CN116244060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application provides a resource scheduling method and device based on an intelligent community. The method comprises the following steps: acquiring working state parameters of each intelligent control panel in the current community; acquiring environment data corresponding to the working environment of each intelligent control panel, wherein the environment data are transmitted by each intelligent control panel; determining the current environment conflict coefficient corresponding to each intelligent control panel according to a preset mathematical model, the working state parameter of each intelligent control panel and the corresponding environment data; determining at least one candidate control device corresponding to any intelligent control panel; and scheduling computing resources from the at least one candidate control device, wherein the resource scheduling request comprises a copy file of any intelligent control panel. Therefore, the computing resources of the candidate control equipment can be used by the current intelligent control panel, and the current working state of the intelligent control panel can be improved, so that the current working state of the intelligent control panel can meet the requirements of users.

Description

Resource scheduling method and device based on intelligent community
Technical Field
The application relates to the technical field of artificial intelligence, in particular to a resource scheduling method and device based on an intelligent community.
Background
Whether it is intelligent community, intelligent house, intelligent ward or common intelligent hotel guest room, the intelligent control that realizes all needs to utilize intelligent control panel, and the intervention of people is usually unseparated in the practical application of intelligent control panel, especially still study and know in the initial stage of use and just can learn the operation, but can not bring comfortable convenient experience, has still caused the puzzlement. The intelligent control panel needs comprehensive information acquisition and intelligent reaction, so that good use experience can be brought to users.
Because the scope and the scene to be considered are relatively large when the community is made intelligent, the quantity of analysis and processing is very large when the community is distributed to each intelligent control device for intelligent control. If the intelligent control device is in a poor working state, when the computing resources are insufficient, very bad experiences such as blocking, delay, temporary breakdown and poor stability are brought to the user, and as the intelligent control device is also usually connected with the terminal device of the user such as a mobile phone, once the user depends on the service provided by the intelligent control device in the community, when the computing resources cannot be met by the intelligent control device, very bad experiences are brought to the user.
Therefore, how to scientifically and reasonably schedule computing resources for the intelligent control equipment so that the intelligent control equipment can present a good working state is a problem which needs to be solved at present.
Disclosure of Invention
The application provides a resource scheduling method and device based on an intelligent community.
According to a first aspect of the present application, there is provided a resource scheduling method based on an intelligent community, including:
acquiring working state parameters of each intelligent control panel in the current community;
acquiring environment data corresponding to the working environment of each intelligent control panel, wherein the environment data are transmitted by each intelligent control panel;
determining the current environment conflict coefficient corresponding to each intelligent control panel according to a preset mathematical model, the working state parameter of each intelligent control panel and the corresponding environment data;
determining at least one candidate control device corresponding to any intelligent control panel under the condition that the environment conflict coefficient corresponding to any intelligent control panel is larger than a preset threshold value;
and sending a resource scheduling request to the at least one candidate control device corresponding to any intelligent control panel so as to schedule computing resources from the at least one candidate control device, wherein the resource scheduling request comprises a copy file of any intelligent control panel.
According to a second aspect of the present application, there is provided a resource scheduling device based on an intelligent community, including:
the first acquisition module is used for acquiring working state parameters of each intelligent control panel in the current community;
the second acquisition module is used for acquiring environment data corresponding to the working environment of each intelligent control panel, wherein the environment data are transmitted by each intelligent control panel;
the first determining module is used for determining the corresponding environment conflict coefficient of each intelligent control panel according to a preset mathematical model, the working state parameters of each intelligent control panel and the corresponding environment data;
the second determining module is used for determining at least one candidate control device corresponding to any intelligent control panel under the condition that the environment conflict coefficient corresponding to any intelligent control panel is larger than a preset threshold value;
and the scheduling module is used for sending a resource scheduling request to the at least one candidate control device corresponding to any intelligent control panel so as to schedule computing resources from the at least one candidate control device, wherein the resource scheduling request comprises a copy file of any intelligent control panel.
According to a third aspect of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the intelligent community-based resource scheduling method provided by the foregoing first aspect of the present application.
In summary, by acquiring the working state data of the current intelligent control panel and the current surrounding environment data and calculating the environment conflict coefficient between the working state data and the current surrounding environment data, it can be determined whether the current intelligent control panel realizes good service, that is, is adapted to the current environment, and then when the environment conflict coefficient is greater than a threshold value, that is, the working mode of the current intelligent control panel cannot meet the requirement of a user and conflicts with the environment, so that the candidate control device can be selected at the moment, and then a resource scheduling request is sent to the candidate control device, so that the computing resource of the candidate control device can be used by the current intelligent control panel, and the current working state of the intelligent control panel can be improved, so that the requirement of the user is met.
It should be understood that the description of this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a schematic flow chart of a resource scheduling method based on an intelligent community according to an embodiment of the present application;
FIG. 2 is a block diagram of a resource scheduling device based on an intelligent community according to an embodiment of the present application;
fig. 3 is an architecture example diagram of an electronic device based on a resource scheduling method of an intelligent community according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present application and are not to be construed as limiting the present application.
It should be noted that, the resource scheduling method based on the intelligent community in the embodiment may be executed by the resource scheduling device based on the intelligent community, where the resource scheduling device based on the intelligent community includes, but is not limited to, an independent server, a distributed server, a server cluster, and a cloud server, and the cloud server is used as an execution body, and is not limited herein.
The following describes a resource scheduling method, system and storage medium based on an intelligent community according to an embodiment of the present application with reference to the accompanying drawings.
Fig. 1 is a flow chart of a resource scheduling method based on an intelligent community according to an embodiment of the present application. As shown in fig. 1, the intelligent community-based resource scheduling method may include the following steps.
Step 101, working state parameters of each intelligent control panel in the current community are obtained.
The intelligent control panel can be an intelligent device with an electronic screen display panel, a central processing unit, a graphic processor, a communication device, a sensor and the like, and various functions of the terminal device can be completed by various modules.
The current community can be a community currently provided with each intelligent control panel. For example, it may be a district, school, office building, or hospital, factory, supermarket, etc., without limitation. It should be noted that, the current community is a community to be monitored, which is usually provided with a plurality of intelligent control panels, and is centrally managed by one or several cloud servers. Therefore, the task allocation and scheduling are realized, the resource management can be realized, and the intelligent degree of communities is improved.
The working state parameters may be working modes, such as a cleaning mode, an old man mode, an express mode, a security mode, an illumination mode, and a temperature control mode, which are not limited herein. In addition, the working state parameters can also comprise reference temperature, reference humidity and reference illumination intensity required by each working mode in implementation.
Wherein, the working state parameters may further include: status tag information such as whether it is stuck, whether it is temporarily crashed, whether it is computing resources deficient. The working state parameters may further include a memory size currently being occupied, a usage size of GPU resources, an occupied size of CPU resources, and the like.
It will be appreciated that the mode of operation is triggered by remote control or may be caused in response to a user voice-controlled or touch-controlled operation of the intelligent control panel. The old man mode can be that the old man speaks 'I are old man' to the intelligent control panel, and the intelligent control panel can perform data processing after receiving the voice signal, so that the wake-up word 'I are old man' contained in the intelligent control panel is obtained through analysis, and the working mode of the intelligent control panel can be adjusted to be the old man mode.
Optionally, when the user uses the intelligent control panel to perform certain works or tasks, such as sending express, cleaning and maintaining, the user can adjust the intelligent control panel to the working mode first, and the user can specifically click the corresponding key of the intelligent control panel to perform the work or tasks.
For example, when the user opens the cleaning mode, the intelligent control panel may collect images based on the camera and process the collected images, so as to determine the cleaning state of the current working environment and whether garbage exists, and initiate a prompt to the user in real time and inform the user of the position, thereby assisting the user in cleaning the environment.
For example, in the case that the user opens the security mode, the intelligent control panel may monitor the image captured by each camera in real time to identify whether an unrecorded face appears, thereby realizing security check, and further alarm the user in the case that a stranger is found, or in the case of the security mode, may monitor the environment in real time to determine whether a fire, a flame or flooding occurs, and so on, without limitation.
For example, when the user turns on the old man mode, the intelligent control panel can monitor the old man appearing in the picture in real time, so that an alarm can be given or a reminder can be sent to other users under the condition that the human body posture of the old man is abnormal, and the old man can be prompted through voice, which is not limited herein.
For example, under the condition that the user opens the express mode, the intelligent control panel can collect the picture in real time, identify whether the express delivery person and the express delivery object appear in the picture, and can interact with the express delivery person, so that signing of express delivery is realized.
And 102, acquiring environment data corresponding to the working environment of each intelligent control panel, wherein the environment data are transmitted by each intelligent control panel.
It should be noted that, since a large amount of data processing and calculation needs to be performed in each working mode, under the condition that the computing resources of the intelligent control panel are limited, the present invention may not reach the good state of the current working mode, and therefore, the present invention needs to acquire the environmental data corresponding to the working environment of each intelligent control panel, so as to feedback whether the current working state of the intelligent control panel conflicts with the environment or not through the environmental condition, and whether the requirement of the user is satisfied.
It should be noted that, the environment where the intelligent control panel is installed may be in a ward, a home, an office, a building, an elevator entrance, a hotel, or a hospital, and various working environments may be available. In different working environments, tasks to be executed by the intelligent control panel can also be differentiated to some extent.
The environmental data may be, but not limited to, an environmental temperature, an environmental humidity, an illumination intensity, environmental image data, and the like. It should be noted that, the intelligent control panel is provided with a camera and various sensors, such as a temperature sensor, a humidity sensor, an illumination intensity sensor, and an image sensor, which are not limited herein. It should be noted that, in order to better monitor the environment around the intelligent control panel, some cameras may be further disposed at other positions around the intelligent control panel, and images transmitted by the cameras are obtained, so that information in the working environment can be effectively identified and calculated.
For example, in an office building, multiple intelligent control panels may be disposed at different floors, each at a different location, such as an office area, a toilet doorway, an elevator, etc., and the use of the intelligent control panels is often different due to different environments. For example, intelligent control panels are typically used by security, concierge, or management personnel at first floor. In a home, it is common for an individual to use an intelligent control panel. In the present disclosure, various environmental data uploaded by the intelligent control panel may be received by the cloud server.
Step 103, determining the current environment conflict coefficient corresponding to each intelligent control panel according to a preset mathematical model, the working state parameters of each intelligent control panel and the corresponding environment data.
The environment conflict coefficient is used for representing whether conflict exists between the working state parameter of the intelligent control panel and the current environment, if the environment conflict coefficient is higher, the conflict is larger, and if the environment conflict coefficient is smaller, the conflict is smaller.
It can be understood that when there is a conflict between the working state parameter of the intelligent control panel and the current environment, the working state parameter may be the cause of the user, or the cause of the environment, or may be the cause of the lack of interaction between the user and the intelligent control panel, or may be the cause of the poor state of the intelligent control panel, such as insufficient computing resources, delay, blocking, temporary crash and other faults, so as to avoid the problem of insufficient computing resources of the intelligent control panel, the environment conflict coefficient may be calculated, and then the adverse effect caused by the cause is reduced by means of resource scheduling.
Optionally, the working mode of any intelligent control panel, the reference temperature, the reference humidity, the reference illumination intensity and the reference action characteristic corresponding to the working mode may be determined according to the working state parameter of any intelligent control panel, then the environmental image is processed to determine the action characteristic of the user contained in the current working environment, and then the matching degree between the working mode and the current environmental data of the intelligent control panel is determined according to the action characteristic of the user, the current temperature, the humidity and the illumination intensity of the working environment, and the reference temperature, the reference humidity, the reference illumination intensity and the reference action characteristic corresponding to the working mode.
Feature extraction can be performed by inputting the environmental image into a convolutional neural network generated by pre-training to determine each action feature corresponding to the environmental image and the feature of the object.
The action characteristics of the users corresponding to different working modes are also different, wherein the action characteristics can be reflected by the actions of the users and can comprise facial characteristics and physical characteristics. In the invention, the normal action characteristics of the user in each working mode can be determined in advance through big data so as to represent whether the user needs to be met or not. The reference action characteristic can be used for representing the normal action characteristic corresponding to the user in any working mode. According to the invention, the action characteristics of the current user and the reference action characteristics, the reference temperature and the actual temperature, the reference humidity and the actual humidity, the reference illumination intensity and the actual illumination intensity can be compared, so that the matching degree between the current working mode and the current environment data of the intelligent control panel can be calculated.
Specifically, the environmental conflict coefficient corresponding to each intelligent control panel may be calculated according to the following advanced mathematical model:
M=1/(eU+1)
wherein e is a natural constant, U is a matching degree, and M is an environmental conflict coefficient.
The higher the matching degree U, the smaller the environmental conflict coefficient M.
Optionally, the cloud server may compare the action characteristic of the user with the reference action characteristic to determine a first matching degree, then compare the current temperature, humidity and illumination intensity of the working environment with the reference temperature, reference humidity and reference illumination intensity to determine a second matching degree, a third matching degree and a fourth matching degree, respectively, and then perform weighted summation on the first matching degree, the second matching degree, the third matching degree and the fourth matching degree to determine the matching degree between the working mode and the current environmental data of the intelligent control panel.
It should be noted that, since the action feature can most reflect whether the current working mode of the intelligent control panel achieves the expected effect, the weight coefficient of the first matching degree may be set to be larger than the weight coefficient of the first matching degree, for example, may be set to 0.8, where the weight coefficients corresponding to the second matching degree, the third matching degree and the fourth matching degree may be set to 0.05, 0.05 and 0.1, respectively, and the method is not limited herein.
For example, the matching degree P between the operation mode and the current environmental data of the intelligent control panel may be calculated by the following formula:
P=X1*L1+X2*L2+X3*L3+X4*L4
wherein, X1 is a weight coefficient of the first matching degree, which may be 0.8, X2 is a weight coefficient of the second matching degree, which may be 0.05, X3 is a weight coefficient of the third matching degree, which may be 0.05, X4 is a weight coefficient of the fourth matching degree, which may be 0.1, and L1, L2, L3, L4 are the first matching degree, the second matching degree, the third matching degree, and the fourth matching degree, respectively.
And 104, determining at least one candidate control device corresponding to any intelligent control panel under the condition that the environment conflict coefficient corresponding to any intelligent control panel is larger than a preset threshold value.
It should be noted that, if the environmental conflict coefficient corresponding to any intelligent control panel is greater than the preset threshold, it indicates that the computing resource of any intelligent control panel is insufficient, and a good service cannot be provided, that is, a higher working standard cannot be presented, and at this time, a standby control device may be utilized to provide a standby computing resource for any intelligent control panel, so as to share the computing pressure.
Optionally, the cloud server may determine a similarity between attribute information of any standby control device and attribute information of any intelligent control panel when a distance between any standby control device and any intelligent control panel is smaller than a first threshold and a current remaining computing resource is larger than a second threshold, where the standby control device is a pre-labeled standby device of the intelligent control panel. And under the condition that the similarity is larger than a third threshold value, determining any standby control device as a candidate control device corresponding to any intelligent control panel.
The first threshold is a distance threshold, and the second threshold is a computing resource threshold.
If the distance is smaller than the first threshold value, the situation that any standby control equipment is close to any intelligent control panel is indicated, and if the residual computing resources are larger than the second threshold value, the situation that the computing resources of any standby control equipment are abundant and larger is indicated.
The attribute information may be size information, model information, version information, stability parameter, dimming range, volume range, and range of a photographable picture, which is not limited herein.
Specifically, the cosine similarity between the attribute information of any standby control device and the attribute information of any intelligent control panel may be compared, or the similarity may be calculated by using a geometric distance method, a chebyshev distance method, and a correlation coefficient method, which is not limited herein. Wherein the third threshold may be a threshold of similarity.
The standby device may be an intelligent control panel, or may be a terminal device with other functions highly similar to those of the intelligent control panel, which is not limited herein. And the standby device is not generally allocated with computational tasks that require relatively much resource computation, so that it can be used as a standby in real time.
In this way, the device which is relatively close to any intelligent control panel, has very abundant computing resources and has relatively high similarity with the intelligent control panel can be used as the candidate control device.
Step 105, a resource scheduling request is sent to the at least one candidate control device corresponding to the any intelligent control panel, so as to schedule computing resources from the at least one candidate control device, and the resource scheduling request includes a copy file of the any intelligent control panel.
The copy file contains the type and the number of the required computing resources of any one of the current intelligent control panels, and various attribute parameters currently configured by any one of the current intelligent control panels, such as user habit parameters, time for setting a working mode by a user, and currently pending computing tasks, and task data, such as various images shot and received by any one of the current intelligent control panels.
The computing resources include, but are not limited to, memory resources, bandwidth resources, CPU resources, GPU resources, and the like.
It should be noted that the resource scheduling request is used to request a computing resource from at least one candidate control device. If any candidate control device receives the resource scheduling request, the copy file contained in the current resource scheduling request can be utilized for calculation and task processing, and then the processing result can be fed back to any intelligent control panel. It can be understood that only any intelligent control panel is required to send the task to be processed, the task related information and the like as one data packet (copy file) to the candidate control equipment, so that the candidate control equipment performs data operation and returns a calculation result, thereby the calculation amount of any intelligent control panel can be well reduced, the calculation efficiency is improved, any intelligent control panel can be in a good working state, and the calculation density and the calculation pressure are reduced.
According to the method, working state parameters of all intelligent control panels in a current community are firstly obtained, environment data corresponding to the working environment of each intelligent control panel and transmitted by each intelligent control panel are obtained, then according to a preset mathematical model, the working state parameters of each intelligent control panel and the corresponding environment data, an environment conflict coefficient corresponding to each intelligent control panel is determined, then at least one candidate control device corresponding to any intelligent control panel is determined under the condition that the environment conflict coefficient corresponding to any intelligent control panel is larger than a preset threshold value, and then a resource scheduling request is sent to at least one candidate control device corresponding to any intelligent control panel so as to schedule computing resources from the at least one candidate control device, wherein the resource scheduling request comprises copy files of any intelligent control panel.
In summary, by acquiring the working state data of the current intelligent control panel and the current surrounding environment data and calculating the environment conflict coefficient between the working state data and the surrounding environment data, it can be determined whether the current intelligent control panel realizes good service, that is, is adapted to the current environment, then when the environment conflict coefficient is greater than a threshold value, that is, the working mode of the current intelligent control panel cannot meet the requirement of a user and conflicts with the environment, so that the candidate control device can be selected at this time, and then a resource scheduling request is sent to the candidate control device, so that the computing resource of the candidate control device can be used by the current intelligent control panel, the current working state of the intelligent control panel can be improved, the user requirement can be met, and the computing pressure and the computing density of the current intelligent control panel are reduced.
Fig. 2 is a schematic structural diagram of a resource scheduling device based on an intelligent community according to an embodiment of the present disclosure.
As shown in fig. 2, the intelligent community-based resource scheduling apparatus 200 includes:
the first obtaining module 201 is configured to obtain working state parameters of each intelligent control panel in the current community;
a second obtaining module 202, configured to obtain environmental data corresponding to a working environment of each intelligent control panel, where the environmental data is transmitted by each intelligent control panel;
the first determining module 203 is configured to determine, according to a preset mathematical model, and a working state parameter of each intelligent control panel and the corresponding environmental data, a current environmental conflict coefficient corresponding to each intelligent control panel;
a second determining module 204, configured to determine at least one candidate control device corresponding to any intelligent control panel if the environmental conflict coefficient corresponding to the any intelligent control panel is greater than a preset threshold;
and the scheduling module 205 is configured to send a resource scheduling request to the at least one candidate control device corresponding to the any intelligent control panel, so as to schedule a computing resource from the at least one candidate control device, where the resource scheduling request includes a copy file of the any intelligent control panel.
Optionally, the first determining module includes:
the first determining unit is configured to determine, according to current working state parameters of each intelligent control panel, a current working mode of the intelligent control panel, where the working mode at least includes: a cleaning mode, an old man mode, an express mode, a security mode, an illumination mode and a temperature control mode;
the second determining unit is used for determining the matching degree between the working mode and the current environment data of the intelligent control panel;
and the calculating unit is used for calculating the environment conflict coefficient corresponding to each intelligent control panel according to a preset mathematical model and the matching degree.
Optionally, the second determining module is specifically configured to:
determining the similarity between the attribute information of any standby control device and the attribute information of any intelligent control panel under the condition that the distance between any standby control device and any intelligent control panel is smaller than a first threshold value and the current residual computing resource is larger than a second threshold value, wherein the standby control device is a pre-marked standby device of the intelligent control panel;
and under the condition that the similarity is larger than a third threshold value, determining any standby control device as a candidate control device corresponding to any intelligent control panel.
Optionally, the environmental data is an environmental image, a temperature, a humidity, and an illumination intensity, and the second determining unit includes:
the first determining subunit is used for determining the working mode of any intelligent control panel according to the working state parameter of the any intelligent control panel, and the reference temperature, the reference humidity, the reference illumination intensity and the reference action characteristic corresponding to the working mode;
a second determining subunit, configured to process the environmental image to determine an action feature of a user included in the current working environment;
and the third determining subunit is used for determining the matching degree between the working mode and the current environment data of the intelligent control panel according to the action characteristic of the user, the current temperature, humidity and illumination intensity of the working environment, and the reference temperature, the reference humidity, the reference illumination intensity and the reference action characteristic corresponding to the working mode.
Optionally, the third determining subunit is specifically configured to:
comparing the action characteristic of the user with the reference action characteristic to determine a first degree of match;
comparing the current temperature, humidity and illumination intensity of the working environment with a reference temperature, a reference humidity and a reference illumination intensity respectively to determine a second matching degree, a third matching degree and a fourth matching degree respectively;
And carrying out weighted summation on the first matching degree, the second matching degree, the third matching degree and the fourth matching degree to determine the matching degree between the working mode and the current environment data of the intelligent control panel.
In summary, by acquiring the working state data of the current intelligent control panel and the current surrounding environment data and calculating the environment conflict coefficient between the working state data and the current surrounding environment data, it can be determined whether the current intelligent control panel realizes good service, that is, is adapted to the current environment, and then when the environment conflict coefficient is greater than a threshold value, that is, the working mode of the current intelligent control panel cannot meet the requirement of a user and conflicts with the environment, so that the candidate control device can be selected at the moment, and then a resource scheduling request is sent to the candidate control device, so that the computing resource of the candidate control device can be used by the current intelligent control panel, and the current working state of the intelligent control panel can be improved, so that the requirement of the user is met.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
FIG. 3 illustrates a schematic block diagram of an example electronic device 300 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 3, the apparatus 300 includes a computing unit 301 that may perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 302 or a computer program loaded from a storage unit 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the device 300 may also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other by a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Various components in device 300 are connected to I/O interface 305, including: an input unit 306 such as a keyboard, a mouse, etc.; an output unit 307 such as various types of displays, speakers, and the like; a storage unit 308 such as a magnetic disk, an optical disk, or the like; and a communication unit 309 such as a network card, modem, wireless communication transceiver, etc. The communication unit 309 allows the device 300 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 301 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 301 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as the intelligent community-based resource scheduling method. For example, in some embodiments, the intelligent community-based resource scheduling method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 308. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 300 via the ROM 302 and/or the communication unit 309. When the computer program is loaded into RAM 303 and executed by computing unit 301, one or more steps of the intelligent community-based resource scheduling method described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the intelligent community-based resource scheduling method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application specific integrated circuits (AS ics), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Vi rtua l Pr i vate Server" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (8)

1. The resource scheduling method based on the intelligent community is characterized by comprising the following steps of:
acquiring working state parameters of each intelligent control panel in the current community;
acquiring environment data corresponding to the working environment of each intelligent control panel, wherein the environment data are transmitted by each intelligent control panel;
according to a preset mathematical model, working state parameters of each intelligent control panel and corresponding environment data, determining an environment conflict coefficient corresponding to each intelligent control panel currently comprises the following steps:
Determining a current working mode of the intelligent control panel according to the current working state parameters of each intelligent control panel, wherein the working modes at least comprise: a cleaning mode, an old man mode, an express mode, a security mode, an illumination mode and a temperature control mode;
determining the matching degree between the working mode and the current environmental data of the intelligent control panel;
calculating an environment conflict coefficient corresponding to each intelligent control panel according to a preset mathematical model and the matching degree;
determining at least one candidate control device corresponding to any intelligent control panel under the condition that the environment conflict coefficient corresponding to any intelligent control panel is larger than a preset threshold value;
and sending a resource scheduling request to the at least one candidate control device corresponding to any intelligent control panel so as to schedule computing resources from the at least one candidate control device, wherein the resource scheduling request comprises a copy file of any intelligent control panel, and the copy file comprises a currently-to-be-processed computing task and acquired task data of any intelligent control panel.
2. The method of claim 1, wherein the determining at least one candidate control device corresponding to the any intelligent control panel comprises:
Determining the similarity between the attribute information of any standby control device and the attribute information of any intelligent control panel under the condition that the distance between any standby control device and any intelligent control panel is smaller than a first threshold value and the current residual computing resource is larger than a second threshold value, wherein the standby control device is a pre-marked standby device of the intelligent control panel;
and under the condition that the similarity is larger than a third threshold value, determining any standby control device as a candidate control device corresponding to any intelligent control panel.
3. The method of claim 1, wherein the environmental data is an environmental image, a temperature, a humidity, an illumination intensity, and the determining a degree of matching between the operation mode and the current environmental data of the intelligent control panel comprises:
determining the working mode of any intelligent control panel, and reference temperature, reference humidity, reference illumination intensity and reference action characteristics corresponding to the working mode according to the working state parameters of any intelligent control panel;
processing the environment image to determine action characteristics of a user contained in the current working environment;
And determining the matching degree between the working mode and the current environment data of the intelligent control panel according to the action characteristics of the user, the current temperature, humidity and illumination intensity of the working environment, and the reference temperature, the reference humidity, the reference illumination intensity and the reference action characteristics corresponding to the working mode.
4. A method according to claim 3, wherein said determining a degree of matching between the operation mode and the current environmental data of the intelligent control panel based on the action characteristics of the user, the current temperature, humidity, illumination intensity of the operation environment, and the reference temperature, reference humidity, reference illumination intensity, and reference action characteristics corresponding to the operation mode comprises:
comparing the action characteristic of the user with the reference action characteristic to determine a first degree of match;
comparing the current temperature, humidity and illumination intensity of the working environment with a reference temperature, a reference humidity and a reference illumination intensity respectively to determine a second matching degree, a third matching degree and a fourth matching degree respectively;
and carrying out weighted summation on the first matching degree, the second matching degree, the third matching degree and the fourth matching degree to determine the matching degree between the working mode and the current environment data of the intelligent control panel.
5. A resource scheduling device based on an intelligent community, comprising:
the first acquisition module is used for acquiring working state parameters of each intelligent control panel in the current community;
the second acquisition module is used for acquiring environment data corresponding to the working environment of each intelligent control panel, wherein the environment data are transmitted by each intelligent control panel;
the first determining module is configured to determine, according to a preset mathematical model, and working state parameters of each intelligent control panel and the corresponding environmental data, an environmental conflict coefficient corresponding to each intelligent control panel currently, where the first determining module includes:
the first determining unit is configured to determine, according to current working state parameters of each intelligent control panel, a current working mode of the intelligent control panel, where the working mode at least includes: a cleaning mode, an old man mode, an express mode, a security mode, an illumination mode and a temperature control mode;
the second determining unit is used for determining the matching degree between the working mode and the current environment data of the intelligent control panel;
the computing unit is used for computing the environment conflict coefficient corresponding to each intelligent control panel according to a preset mathematical model and the matching degree;
The second determining module is used for determining at least one candidate control device corresponding to any intelligent control panel under the condition that the environment conflict coefficient corresponding to any intelligent control panel is larger than a preset threshold value;
the scheduling module is used for sending a resource scheduling request to the at least one candidate control device corresponding to any intelligent control panel so as to schedule computing resources from the at least one candidate control device, wherein the resource scheduling request comprises a copy file of any intelligent control panel, and the copy file comprises a currently-to-be-processed computing task and acquired task data of any intelligent control panel.
6. The apparatus of claim 5, wherein the second determining module is specifically configured to:
determining the similarity between the attribute information of any standby control device and the attribute information of any intelligent control panel under the condition that the distance between any standby control device and any intelligent control panel is smaller than a first threshold value and the current residual computing resource is larger than a second threshold value, wherein the standby control device is a pre-marked standby device of the intelligent control panel;
And under the condition that the similarity is larger than a third threshold value, determining any standby control device as a candidate control device corresponding to any intelligent control panel.
7. The apparatus according to claim 5, wherein the environmental data is an environmental image, a temperature, a humidity, an illumination intensity, the second determining unit comprising:
the first determining subunit is used for determining the working mode of any intelligent control panel according to the working state parameter of the any intelligent control panel, and the reference temperature, the reference humidity, the reference illumination intensity and the reference action characteristic corresponding to the working mode;
a second determining subunit, configured to process the environmental image to determine an action feature of a user included in the current working environment;
and the third determining subunit is used for determining the matching degree between the working mode and the current environment data of the intelligent control panel according to the action characteristic of the user, the current temperature, humidity and illumination intensity of the working environment, and the reference temperature, the reference humidity, the reference illumination intensity and the reference action characteristic corresponding to the working mode.
8. The apparatus of claim 7, wherein the third determining subunit is specifically configured to:
comparing the action characteristic of the user with the reference action characteristic to determine a first degree of match;
comparing the current temperature, humidity and illumination intensity of the working environment with a reference temperature, a reference humidity and a reference illumination intensity respectively to determine a second matching degree, a third matching degree and a fourth matching degree respectively;
and carrying out weighted summation on the first matching degree, the second matching degree, the third matching degree and the fourth matching degree to determine the matching degree between the working mode and the current environment data of the intelligent control panel.
CN202211549992.4A 2022-12-05 2022-12-05 Resource scheduling method and device based on intelligent community Active CN116244060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211549992.4A CN116244060B (en) 2022-12-05 2022-12-05 Resource scheduling method and device based on intelligent community

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211549992.4A CN116244060B (en) 2022-12-05 2022-12-05 Resource scheduling method and device based on intelligent community

Publications (2)

Publication Number Publication Date
CN116244060A CN116244060A (en) 2023-06-09
CN116244060B true CN116244060B (en) 2024-04-12

Family

ID=86628429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211549992.4A Active CN116244060B (en) 2022-12-05 2022-12-05 Resource scheduling method and device based on intelligent community

Country Status (1)

Country Link
CN (1) CN116244060B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016748A (en) * 2008-04-21 2011-04-13 自适应计算企业股份有限公司 System and method for managing energy consumption in a compute environment
CN105933910A (en) * 2016-06-21 2016-09-07 厦门大学 Resource allocation method and base station
CN107273185A (en) * 2017-06-19 2017-10-20 成都鼎智汇科技有限公司 A kind of control method for equalizing load based on virtual machine
CN109000345A (en) * 2018-07-26 2018-12-14 珠海格力电器股份有限公司 Load dispatch control method, device, equipment and the medium of temperature control equipment
CN113032673A (en) * 2021-03-24 2021-06-25 北京百度网讯科技有限公司 Resource acquisition method and device, computer equipment and storage medium
CN113655726A (en) * 2021-08-17 2021-11-16 百度在线网络技术(北京)有限公司 Control method, device, equipment, medium and product of intelligent household equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210157312A1 (en) * 2016-05-09 2021-05-27 Strong Force Iot Portfolio 2016, Llc Intelligent vibration digital twin systems and methods for industrial environments
US20200065149A1 (en) * 2018-08-24 2020-02-27 Embotics Corporation Method and system for selection of cloud-computing services

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016748A (en) * 2008-04-21 2011-04-13 自适应计算企业股份有限公司 System and method for managing energy consumption in a compute environment
CN105933910A (en) * 2016-06-21 2016-09-07 厦门大学 Resource allocation method and base station
CN107273185A (en) * 2017-06-19 2017-10-20 成都鼎智汇科技有限公司 A kind of control method for equalizing load based on virtual machine
CN109000345A (en) * 2018-07-26 2018-12-14 珠海格力电器股份有限公司 Load dispatch control method, device, equipment and the medium of temperature control equipment
CN113032673A (en) * 2021-03-24 2021-06-25 北京百度网讯科技有限公司 Resource acquisition method and device, computer equipment and storage medium
CN113655726A (en) * 2021-08-17 2021-11-16 百度在线网络技术(北京)有限公司 Control method, device, equipment, medium and product of intelligent household equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Collaborative Social Internet of Things in Mobile Edge Networks;Chih-Hang Wang等;《IEEE Internet of Things Journal》;第11473-11491页 *
面向智慧城市的社区环境监测系统设计;黄嘉航等;《常熟理工学院学报》;第39-43页 *

Also Published As

Publication number Publication date
CN116244060A (en) 2023-06-09

Similar Documents

Publication Publication Date Title
CN112633384B (en) Object recognition method and device based on image recognition model and electronic equipment
CN113240936B (en) Parking area recommendation method and device, electronic equipment and medium
CN111012261A (en) Sweeping method and system based on scene recognition, sweeping equipment and storage medium
CN113325954B (en) Method, apparatus, device and medium for processing virtual object
CN113177968A (en) Target tracking method and device, electronic equipment and storage medium
CN113885956A (en) Service deployment method and device, electronic equipment and storage medium
CN112989987A (en) Method, apparatus, device and storage medium for identifying crowd behavior
CN107943570A (en) application management method, device, storage medium and electronic equipment
CN116244060B (en) Resource scheduling method and device based on intelligent community
CN113628239A (en) Display optimization method, related device and computer program product
CN114461078B (en) Man-machine interaction method based on artificial intelligence
CN113591709B (en) Motion recognition method, apparatus, device, medium, and product
CN113225265B (en) Flow control method, device, equipment and computer storage medium
CN114051057A (en) Method and device for determining queuing time of cloud equipment, electronic equipment and medium
CN112883816A (en) Information pushing method and device
CN115294536B (en) Violation detection method, device, equipment and storage medium based on artificial intelligence
CN115550615B (en) Video recording method and device of intelligent equipment, electronic equipment and storage medium
CN113625878B (en) Gesture information processing method, device, equipment, storage medium and program product
CN114429663B (en) Updating method of face base, face recognition method, device and system
CN114463584B (en) Image processing method, model training method, device, apparatus, storage medium, and program
CN115616928A (en) Control panel control method and device based on artificial intelligence
CN115686744A (en) Data processing method, device, equipment and storage medium
CN112989986A (en) Method, apparatus, device and storage medium for identifying crowd behavior
CN116032927A (en) Method, device, equipment and medium for determining upper limit of resource flow
CN114399333A (en) Method, device, equipment and storage medium for detecting medium information releasing effect

Legal Events

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