CN113098947B - Method and device for controlling equipment access - Google Patents

Method and device for controlling equipment access Download PDF

Info

Publication number
CN113098947B
CN113098947B CN202110327369.3A CN202110327369A CN113098947B CN 113098947 B CN113098947 B CN 113098947B CN 202110327369 A CN202110327369 A CN 202110327369A CN 113098947 B CN113098947 B CN 113098947B
Authority
CN
China
Prior art keywords
task
equipment
information
position information
access
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
CN202110327369.3A
Other languages
Chinese (zh)
Other versions
CN113098947A (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.)
Honda Access China Corp
Original Assignee
Honda Access China Corp
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 Honda Access China Corp filed Critical Honda Access China Corp
Priority to CN202110327369.3A priority Critical patent/CN113098947B/en
Publication of CN113098947A publication Critical patent/CN113098947A/en
Application granted granted Critical
Publication of CN113098947B publication Critical patent/CN113098947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method for controlling equipment access, which comprises the following steps: step 101, detecting that a first device accesses a network; step 103, judging whether the first device is accessed for the first time, if so, executing step 108; step 108, determining one or more tasks executed by the first device; and step 111, transmitting the determined task to the first device. By the method, tasks can be flexibly configured for the equipment without excessive manual intervention. And different task configuration modes are set for different types of equipment by combining the characteristics of the equipment.

Description

Method and device for controlling equipment access
Technical Field
The embodiment of the invention relates to the field of intelligent control, in particular to a method and a device for controlling equipment access.
Background
With the development of the internet of things technology, intelligent control and mobile internet, the devices are widely applied to various fields by mutually matching and executing tasks, such as home, market, large office buildings, parks and other environments.
The development of technology brings convenience to the life of people. However, the existing devices are not intelligent enough, on one hand, a user is required to set a corresponding matching policy, on the other hand, an excessive matching phenomenon exists, namely, when a task is executed, the task can meet the requirement of the user only by completing the task, the situation that the devices excessively call other devices to complete the task is existed, or when the quality of completing the task is higher, the other situation that the device completes the task only according to the minimum requirement exists. Or the devices cannot intelligently assist and adjust tasks in time.
In order to solve the above problems, the present invention provides a method and an apparatus for controlling access to a device.
Disclosure of Invention
The invention provides a method and a device for controlling equipment access aiming at the problems in the prior art.
The embodiment of the invention provides a method for controlling equipment access, which comprises the following steps:
step 101, detecting that a first device accesses a network;
step 103, judging whether the first device is accessed for the first time, if so, executing step 108;
step 108, determining one or more tasks executed by the first device;
and step 111, transmitting the determined task to the first device.
Preferably, after the first device is judged to be accessed for the first time when step 103 is executed, step 105 is further included before step 108 is executed, and the installation type of the first device is determined.
Preferably, after step 105 is performed, step 107 is performed first, and then step 108 is performed;
step 107, determining whether the position information of the first device needs to be acquired, and if so, acquiring the position information of the first device.
Preferably, it is determined whether a task executable by the first device is repeated with an existing task, and if so, a preferred device for executing the task is determined, and the standby devices, the devices are ordered in a priority order, and the device ordering information is indicated in the task.
Preferably, when it is determined that the first device is not first accessed, step 109 is executed, and the historical task of the first device is used as the task to be executed by the first device.
The embodiment of the invention provides a device for controlling equipment access, which comprises an access module and a task allocation module;
the access module is used for detecting that the first equipment is accessed to the network;
if the access module detects that the first equipment is accessed to the network, judging whether the first equipment is accessed for the first time or not, and sending a judging result to the task allocation module;
the task allocation module is used for determining one or more tasks executed by the first device; and sending the determined task to the first device.
Preferably, the task allocation module acquires the device information of the first device when receiving the judgment result that the first device is accessed for the first time, and determines the installation type of the first device.
Preferably, the task allocation module judges whether the position information of the first device needs to be acquired, and if so, the access module is triggered to acquire the position information of the first device.
Preferably, the task allocation module determines whether a task executable by the first device is repeated with an existing task, and if so, determines a preferred device to execute the task, and a standby device, ranks the devices in a priority order, and indicates the device ranking information in the task.
Preferably, the task allocation module takes the historical task of the first device as the task to be executed by the first device when receiving the judging result that the first device is not accessed for the first time.
The embodiment of the invention also provides a network access device, which comprises any device.
The embodiment of the invention also provides a cloud server, which comprises any device.
The embodiment of the invention also provides a computer device, which comprises a processor and a memory, wherein the memory stores computer instructions executable by the processor, and when the processor executes the computer instructions, the method is realized.
Embodiments of the present invention also provide a computer-readable storage medium storing computer instructions for implementing a method as described above.
The method can generate the task executed by the equipment without excessive manual intervention, and in the process of generating the task, different task configuration modes are set for different types of equipment by combining the characteristics of the equipment, so that the generated task is optimized in time, the real-time requirement of the task is improved, and the equipment can be fully matched and assisted when the task is executed, so that the task executing effect is improved.
Drawings
Fig. 1 is a method of device access control in one embodiment of the invention.
FIG. 2 is a method of a device performing tasks in one embodiment of the invention.
Fig. 3 is an apparatus for device access control in one embodiment of the invention.
FIG. 4 is an apparatus for performing tasks by a device in one embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present invention discloses a method for controlling access to a device, including
Step 101, detecting that a first device accesses a network.
In this step, the network access device detects the accessed device, and the network access device may be a wireless access point, a router, or an access device such as a home base station, or an access device in an area, where the area may be an enterprise, a meeting place, an office building, a home, or the like. Accordingly, the network accessed by the first device is a network belonging to one area, and the network may be a private network belonging to one area, such as a local area network.
In another embodiment, this step may be performed by the cloud server, and only one device may be mentioned in the following description, and may be replaced by another device.
Step 103, judging whether the first device is accessed for the first time, if so, executing step 105; if not, go to step 109;
the network access device judges whether the first device is accessed for the first time, wherein the network access device can judge whether the first device is accessed for the first time by inquiring access history; if the access record of the first device does not exist in the access history, determining that the first device belongs to the first access, and if the access record of the first device exists, determining that the first device does not belong to the first access.
Preferably, in the present invention, the following manner may be adopted to determine whether it is the first access:
the network access device determines whether a task table is stored locally, if the task table is stored locally, the task table is queried, whether the task of the first device is included is determined, if the task is included, the device is determined not to be accessed for the first time, and if the task is not included, the first device is determined to be accessed for the first time. If the network access device determines that the local task list is not stored, a query request is sent to the cloud server to confirm whether the first device is accessed for the first time, wherein the query request carries an identifier of the first device, the identifier uniquely identifies the first device, when the cloud server receives the query request, the query task list confirms whether the task list comprises the identifier of the first device, if so, a response message which does not belong to the first access is sent to the network access device, and if not, a response message which belongs to the first access is sent to the network access device.
The task list is a table for distributing tasks to the devices accessing the network for the cloud server, and the task distribution situation of each device accessing the network is recorded in the table. Detailed information of the task table is described below.
In the invention, the network access device and the cloud server can be the same device, and corresponding functions are realized through different parts or software of the device.
Step 105, obtaining device information of the first device, and determining an installation type of the first device. Preferably, the mounting type includes a fixed mounting, a movable device.
In this step, the network access device acquires the device information of the first device, where the device information may be actively sent to the network access device after the first device accesses the network, or the network access device sends an acquisition request to the first device to acquire the device information of the first device, or may be carried when the first device sends an access request to the network access device. The model and type of the first device, the functions which can be realized, the device parameters and the like can be determined through the device information.
Preferably, the network access device may send the device information of the first device to the cloud server, and the cloud server performs the determining step, or the network access device performs the determining step.
After acquiring the device information of the first device, judging whether the installation type of the first device can be determined or not, which specifically comprises the following steps: and determining the type of the first equipment according to the equipment information of the first equipment, judging whether the first equipment is a fixed installation equipment or a movable equipment according to the type of the first equipment, for example, determining the first equipment is a fixed installation equipment if the type of the first equipment is a refrigerator, and identifying the installation type of the first equipment as unknown if the installation type of the first equipment cannot be determined according to the type of the first equipment.
Step 107, determining whether the position information of the first device needs to be acquired, and if so, acquiring the position information of the first device.
In this step, specifically, it includes: the network access device or the cloud server determines the type of the first device according to the device information of the first device, determines whether the position information of the first device needs to be acquired according to the type of the first device and the area served by the network access device, determines the executable function of the first device according to the type of the first device if the type of the area served by the network access device is the residence of the user, and does not need to acquire the position information of the first device if the execution result of the executable function of the first device is irrelevant to the position of the first device, and marks the first device as a position irrelevant device; and if the execution result of the function executable by the first equipment is related to the position of the function, acquiring the position information of the first equipment.
Preferably, the executable function of the first device may be determined according to one or more other information of the first device, such as information of a name, a model number, a manufacturer, etc. of the first device.
In addition, if the type of the area served by the network access device is an enterprise, an office building, or the like, which includes one or more buildings or a building having multiple floors, it is determined that the location information of the first device needs to be acquired.
For the location information of the first device, if the first device has location capability, it determines the location information by its own location capability. If the first device does not have location capability, it may send information to the network access device that it does not have location capability, so that the network access device determines the location information of the first device in other ways. If the first device is located based on the signal received from the first device, the location of the first device is determined through the information collected by the camera of the network access device, or a request is sent to other devices capable of locating the device, the request is sent to the other devices to assist in locating the first device, for example, the other devices send the collected image information of the first device to the network access device, if the network access device has the capability of identifying the location of the first device according to the image information, the network access device determines the location of the first device, if the network access device does not have the capability of identifying the location of the first device according to the image information, the image information is sent to the cloud server, and the cloud server determines the location information of the first device based on the image information. If the position information of the first device is still not available in the above manner, the position information acquisition request may be transmitted to another terminal associated with the user of the first device, and the position information of the first device may be acquired from the other terminal by the user manually inputting the position information to the other terminal.
For the device with unknown installation type, after the position information of the first device is acquired, the installation type of the first device is further determined according to the position information.
The method comprises the steps that equipment information and position information of first equipment are stored in an equipment layout diagram of a cloud server, specifically, the cloud server generates a three-dimensional map of an area based on the area served by network access equipment, wherein the three-dimensional map comprises the layout of the area, such as the layout of buildings, building internal structures, environments, article placement and the like, included in the area, and when the first access equipment is accessed to a network, the cloud server adds an identifier of the first equipment at a position corresponding to the three-dimensional map according to the equipment information and the position information of the first equipment, so that a user can intuitively determine the condition of equipment of each access network. Preferably, the fixed installation and the movable equipment are distinguished in the three-dimensional map, such as colors, so that the user can conveniently view and recognize the images.
Preferably, the user establishes connection with the cloud server through the terminal, so that the three-dimensional map is checked, the corresponding APP can be installed at the terminal to realize the checking function, and further, the APP can be used for realizing the management function of equipment accessed to a network and the cloud server. The user clicks the device in the map through the APP, so that the device information of the device and the task conditions executed by the device can be displayed. In the display interface, the user clicks the task executed by the equipment, and the operations such as modification and deletion can be performed on the task.
For a location-independent first device, the first device is identified in a particular area of the three-dimensional map, the particular area being used to identify the location-independent first device.
Step 108, determining one or more tasks performed by the first device.
This step may be performed for the cloud server.
For a fixedly mounted device, the following steps are performed:
specifically, for the first device with irrelevant position, tasks executable by the first device are determined according to the device information of the first device, for example, functions of the first device are determined according to the device information such as the name, type, manufacturer, device parameters and the like of the first device, and one or more tasks executable by the first device are determined according to the functions of the first device.
For the first device which acquires the position information, determining the task executable by the first device according to the position information and the device information, and similarly, determining the function of the first device according to the name, type, manufacturer, device parameter and other device information of the first device, and determining one or more executable tasks according to the function of the first device and the position information. For example, the first device is a camera, and according to the device information, it is determined that the first device can shoot high-definition video, image, or shoot low-resolution video, image, or the like, and if the camera is installed in a room, the camera can shoot low-resolution and/or high-resolution video to perform a task of security monitoring, or shoot high-resolution video to perform a task of recording an instant of life. If the camera is installed on the door, the camera only has the function of monitoring the environment outside the door, and correspondingly, the task requirements are determined according to the monitoring task.
And determining the determined task executable by the first device as the task executed by the first device.
Preferably, the tasks performed by the first device are identified simultaneously in the three-dimensional map.
Further, as shown in the above examples, each task is associated with the same or different task requirements. Because the device generally has various capabilities, the cloud server determines the requirements of the task according to the requirements of the task, so that the first device can select proper parameters to execute the task according to the requirements of the first device, and the waste and excessive utilization of the first device resources are prevented. Preferably, in the present invention, the task requirement is included in the task.
For a mobile device, the following steps are performed:
determining whether the user of the first device is required to authorize remote call of the functions of the first device, and if the user is not required to authorize, determining the functions of the first device according to the device information of the first device. One or more tasks that the first device may perform are determined based on the functionality that it has.
If user authorization is required, a message is sent to the first device requesting the user of the first device to authorize remote invocation of the first device function. If the response of the first device is not received for a long time, sending a message for requesting authorization to devices of other access networks with the same user identification according to the user identification of the first device, authorizing the function of the first device which allows remote call according to the received authorization message by the user, and enabling the function which is not agreed by the user to be called remotely.
In this step, an interface may be provided to the user, the interface including functions that are desired to be invoked remotely, the functions that are determined to be permitted to be invoked by the user's checkup.
In one embodiment, before the cloud server sends the function desired to be remotely invoked to the user, the following steps are performed: the executable functions of the first device are determined based on the device information of the first device in the same manner as described above. The function executable by the first device is taken as the function which is expected to be remotely called.
Likewise, the task requirements are included in the task. The determination is as described above.
In one embodiment, determining whether a user of the first device is required to authorize a remote invocation of the first device function specifically includes:
determining whether the first device relates to user private information according to the device information of the first device, for example, determining the type of the first device according to the type information of the first device, determining whether the first device relates to the user private information according to the type, if so, determining that user authorization of the first device is required, otherwise, user authorization is not required.
In another embodiment, it is determined, according to a function of the first device to be invoked, whether the invocation of the function results in leakage of private information of a user in the first device, if no information leakage is caused, no user authorization is required, and if information leakage is caused, user authorization of the first device is required.
For functions requiring user authorization, determining the functions authorized by the user, and determining tasks executable by the first device according to the functions authorized by the user.
For a first device that is mobile, when an access network is detected, the first device is identified in a three-dimensional map. Determining whether the task it can perform is related to the location of the device, if it is not, without monitoring its location, and accordingly, identifying it as location-independent in the task, and identifying the first device in the above-mentioned specific area of the three-dimensional map; if the executable task is related to the position, judging the causal relation between the position and the task, if the probability of executing the task exists because the first equipment is at the corresponding position, setting a corresponding position sending triggering condition in the task, when the first equipment judges that the first equipment is at the corresponding position, sending the position information to a cloud server, and activating the task at the cloud server, wherein before the task is activated, the task of the first equipment is in an inactive state, and the identification of the first equipment in the three-dimensional map is also activated, or when the task is activated, the identification of the first equipment is displayed in the three-dimensional map, otherwise, the identification of the first equipment is not displayed; the activation means that the cloud server or other devices can command the first device to execute a task; correspondingly, when the first device leaves the corresponding position, a deactivation message is sent to the cloud server, so that the cloud server knows that the first device cannot execute the task, and the identifier of the first device in the corresponding three-dimensional map is also deactivated or not displayed.
When the first device does not have positioning capability, the cloud server sends the requirement of positioning the first device to other devices, the other devices execute positioning and subsequent operation according to the message of the cloud server, the other devices acquire the positions of the first device, the acquiring mode is the same as that of the first device, the judgment after the position is acquired and the activation of the task is the same as that of the first device, and the deactivation is the same as that of the first device.
For the movable first equipment, determining whether the power supply mode is battery power supply or external power supply, if the power supply is battery power supply, setting a battery power threshold in a task, and sending a power alarm to the cloud server when the battery power is lower than the threshold, so that the cloud server deactivates the first equipment. By the method, the influence on the use of the user caused by insufficient electric quantity of the first equipment due to the fact that the first equipment executes the task can be prevented. Preferably, when the cloud server deactivates the first device, a deactivation message is sent to a user of the first device, and the message carries a reason for deactivation; if the user feedback is agreeing, the first device is deactivated, and if the user feedback is not agreeing, the electric quantity problem is ignored. By the method, the user can be timely reminded of charging, and the first equipment is prevented from being insufficient in power supply.
Likewise, the determined task executable by the first device is determined as the task executed by the first device.
Preferably, after determining the task executable by the first device by the method, for installing the fixed first device, any one or more of the following steps are further included, so as to achieve the effect of optimizing the task:
determining whether a task executable by the first device is repeated with an existing task generated by the cloud server, if so, determining a preferred device for executing the task, and a standby device, sequencing the devices in a priority order, and indicating the device sequencing information in the task.
And determining whether the adding of the first equipment has an influence on the task executed by the existing equipment, if so, performing task optimization based on the task executable by the first equipment and the task executed by the affected equipment, and determining the task executed by the first equipment and the task updated by the affected equipment, thereby ensuring that the task executed by the first equipment and the task executed by the affected equipment are distributed more reasonably.
And taking the optimized task as a task executed by the first device, and sending the updated task to other task updated devices.
In step 109, when it is determined that the first device is not first accessed, the historical task of the first device is used as a task to be executed by the first device.
In the step, the cloud server judges whether the historical task of the first device is stored or not, and if so, the historical task of the first device is obtained. If not, sending an acquisition request to the first equipment, acquiring the executed historical task from the first equipment, if the first equipment has the historical task, sending the historical task to the cloud server, and otherwise, feeding back a history-free task message. When the cloud server does not obtain the historical task of the first device, the first device is determined to be accessed to the network for the first time, and corresponding steps are executed according to the device accessed to the network for the first time, namely, step 105 is executed.
In one embodiment, when the cloud server obtains a historical task of the first device, for installing the fixed first device, it is determined whether a time interval between a time when the first device was previously accessed to the network and executed the task and a current time when the first device was accessed to the network is greater than a first time interval, and if not, the historical task of the first device is used as a task to be executed by the first device. If yes, taking the historical task as a task executable by the first device, and executing the optimizing task. For a movable first device, historical tasks of the first device are taken as tasks to be executed by the first device.
Preferably, for installing the fixed first device, acquiring the position information of the first device before the judging time interval, judging whether the position of the first device is changed, if not, executing the step of judging the time interval, and if the position is changed, taking the historical task as the task executable by the first device, and executing the step of optimizing the task.
And step 111, transmitting the determined task to the first device.
After determining the task executed by the first device, the cloud server sends the task to the first device, and the first device executes the task.
In the sent task message, the corresponding task requirements are carried according to the requirements, so that the first device can select corresponding parameters and the like to execute the task according to the task requirements, wherein the first device can execute the task in a mode closest to the task requirements, for example, for a task with a lower task requirement, the first device can complete the task requirements without executing the task with a higher requirement, and therefore waste of resources of the first device is avoided.
In another embodiment, the task also carries a position sending trigger condition, a battery power threshold, device ordering information and the like according to the requirement.
According to the method and the device for processing the cloud server, tasks to be executed by the device do not need to be preset in the cloud server, the cloud server obtains the tasks executable by various devices through big data learning in an analyzing mode, and after the first device is accessed to the network, the cloud server determines the tasks executable by the first device based on big data learning according to the device information and/or the position information of the first device accessed to the network, so that the control of the device is more convenient, the complexity of manual operation is reduced, and even manual intervention is not needed.
On the other hand, when the user desires to set task requirements, the user accesses the cloud server through, for example, an APP to set task requirements, and the cloud server decomposes the task requirements into tasks executed by one or more devices accessing the network according to the task requirements in combination with the devices accessing the network, and sends the tasks to the corresponding devices. In the embodiment, the user only needs to put forward task demands, the cloud server generates tasks based on the task demands, the user does not need to design various tasks, the complexity of user operation is reduced, and the requirements on the user are also reduced.
In another embodiment of the present invention, the method further comprises updating the task, and specifically comprises the following steps:
When the device information of the access network is updated, such as the software version of the device is updated, the update of the device information can affect the task executed by the device or increase the task executable by the device, the updated device information is sent to the cloud server, the cloud server redetermines the task executable by the device based on the updated device information, only updates the task executed by the redetermined device if the redetermined device executable task only affects the task executed by the device itself, and sends the updated task to the device, if the redetermined device executable task also affects the tasks executed by other devices, task optimization is performed based on the redetermined device executable task and the task executed by the affected device, and the task executed by the first device and the task updated by the affected device are determined. And the cloud server sends the updated task to the related equipment.
When the equipment is detected to be faulty or offline, the equipment is deactivated, tasks executed by the equipment are acquired, the tasks are decomposed to other equipment for execution, the tasks of the other equipment are updated, and the updated tasks are sent to the other equipment. When the device is detected to resume use, the device is activated, its own tasks are performed, and the tasks performed by the other devices are resumed.
In the invention, the task executed by the equipment is updated at any time, so that the task meets the requirement of real-time.
As shown in FIG. 2, another embodiment of the present invention discloses a method for a device to perform a task, comprising
Step 201, a first device accesses a network to acquire an executed task;
in this step, after the first device accesses the network, the executed task is obtained from the network side, such as the network access server or the cloud server, and the method for determining the task is disclosed in the foregoing embodiment.
Step 203, detecting whether the condition for executing the task is satisfied, if yes, executing the task; if not, continuing to execute the detection;
in this step, the first device determines whether a condition for executing a task is satisfied according to its task, for example, for a movable first device, determines whether the task is related to a location, if so, when determining that the first device is located at the location related to the task, the first device sends location information to the cloud server to trigger the cloud server to activate the task, after receiving the message, the cloud server sends a message to other devices related to the task of the first device, informs the other devices of a message that the first device can execute the task, and sends a message to the first device, so that when the first device determines that the first device itself needs to execute the task, the first device autonomously determines to start executing the task. And judging the battery power of the first device including the battery power threshold in the task, if the threshold requirement is met, executing the task, and if the threshold requirement is not met, not executing the task. For tasks including device ordering information, the highest priority device performs the task, and the other devices begin to perform the task when receiving a message to perform the task.
When executing a task, the first device acquires task requirements, determines parameters selected when executing the task according to the task requirements, and sets the parameters based on the best matching task requirements, wherein whether the selected parameters are set according to the task requirements or not is determined according to the high standard requirements, if not, the parameters are set according to relatively low standards, so that the parameters meet the task requirements, and if so, the optimal high-standard execution task of the parameters is set.
In another embodiment, when the first device executes the task, it determines whether one or more second devices are needed to assist in completing the task, if so, when the task is executed, an assist request message is sent to the second devices, where the message includes the task that needs to be assisted, preferably, when the second device receives the assist request, it determines whether the task can be assisted, if so, it sends an agreeable message to the first device, if not, it sends a disagreeable message, for example, the task that the first device requests assistance conflicts with the task currently executed by the second device or the second device is executing a related task, and if not, it sends a disagreeable message.
And for the situation that the task execution result is generated by a plurality of devices, the device for assisting in completing the task sends the task execution result generated by the device to the first device, and the first device processes the plurality of task execution results to obtain a final execution result of the task.
Step 205, determining whether the task is completed, if not, taking remedial action.
The first equipment judges whether the task execution result meets the task completion requirement or not, if so, the task is completed, if not, the reason causing the non-meeting of the task completion requirement is identified, and the measures to be taken are determined according to the identified reason. If the measures to be taken require the assistance of other devices, an assistance request message is sent to indicate the tasks to be executed by the other devices.
If the first device cannot identify the reason causing the failure to meet the task completion requirement, a request is sent to other devices, one or more second devices which are connected to the network in a request mode assist in determining the state of the first device, after the second devices determine the state of the first device, state information is sent to the first device, the first device determines whether the task can be continuously completed by the first device based on the state information, if so, the task is completed by adopting the remedial measure, if not, whether other devices can be completed or not, namely whether the devices for executing the task alternatively exist or not is determined, if so, a message is sent to the other devices to instruct the other devices to execute the task, if not, a message is sent to a cloud server to instruct the first device to complete the task, the cloud server sends the task completion condition to the cloud server, and the server analyzes the reason that the task fails based on the received message, if the remedial measure is determined, a remedial task is generated, and the task is executed to the relevant devices.
Correspondingly, if the first device cannot determine the state of the first device or the first device cannot determine the remedial measure based on the state information, a message is sent to the cloud server as described above to request the cloud server to assist in completing the task.
Preferably, the cloud server calls the three-dimensional map to analyze and generate the remedial task by combining the three-dimensional map when analyzing reasons which do not meet the task completion requirements and generating the remedial task.
According to the method, after the first equipment is accessed to the network, tasks are executed according to the requirements of the cloud server, and the equipment is divided into work orders. The devices can also mutually assist and cooperate to jointly complete tasks.
The embodiment of the invention also provides a device for controlling the access of equipment, which is used for executing the method, and referring to fig. 3, the device specifically comprises:
and the access module is used for detecting whether the first equipment is accessed to the network.
If the access module detects that the first equipment is accessed to the network, judging whether the first equipment is accessed for the first time or not, and sending a judging result to the task allocation module;
the access module judges whether the first equipment is accessed for the first time, wherein the access module can judge whether the first equipment is accessed for the first time by inquiring access history; if the access record of the first device does not exist in the access history, determining that the first device belongs to the first access, and if the access record of the first device exists, determining that the first device does not belong to the first access.
Preferably, in the present invention, the following manner may be adopted to determine whether it is the first access:
the access module determines whether a task table is stored locally, if the task table is stored locally, the task table is queried, whether the task of the first device is included is determined, if the task is included, the first device is determined not to be accessed for the first time, and if the task is not included, the first device is determined to be accessed for the first time. If the access module determines that the local task list is not stored, the access module sends a query request to the task distribution module to confirm whether the first device is accessed for the first time, wherein the query request carries an identifier of the first device, the identifier uniquely identifies the first device, and when the task distribution module receives the query request, the access module queries the task list to confirm whether the task list comprises the identifier of the first device, if so, a response message which does not belong to the first access is sent to the access module, and if not, a response message which belongs to the first access is sent to the access module.
The task list is a list of tasks allocated to the devices of the access network by the task allocation module, and the task allocation situation of each device of the access network is recorded in the list. Detailed information of the task table is described below.
And the task allocation module is used for acquiring the equipment information of the first equipment when receiving the first equipment access message and determining the installation type of the first equipment. Preferably, the mounting type includes a fixed mounting, a movable device.
The task allocation module acquires the device information of the first device, and the device information can be actively sent to the access module after the first device accesses the network, or the access module sends an acquisition request to the first device to acquire the device information of the first device, or the first device can carry the device information when sending the access request to the access module. The access module sends the device information to the task allocation module. The model and type of the first device, the functions which can be realized, the device parameters and the like can be determined through the device information.
After acquiring the device information of the first device, judging whether the installation type of the first device can be determined or not, which specifically comprises the following steps: and determining the type of the first equipment according to the equipment information of the first equipment, judging whether the first equipment is a fixedly installed equipment or a movable equipment according to the type of the first equipment, and if the installation type of the first equipment cannot be determined according to the type of the first equipment, identifying the installation type of the first equipment as unknown.
The task allocation module judges whether the position information of the first equipment needs to be acquired, and if so, the access module is triggered to acquire the position information of the first equipment.
The method specifically comprises the following steps: the task allocation module determines the type of the first equipment according to the equipment information of the first equipment, determines whether the position information of the first equipment needs to be acquired according to the type of the first equipment and the area served by the access module, determines the executable function of the first equipment according to the type of the first equipment if the type of the area served by the access module is the residence of the user, and does not need to acquire the position information of the first equipment if the execution result of the executable function of the first equipment is irrelevant to the position of the first equipment, and marks the first equipment as position-independent equipment; and if the execution result of the function executable by the first equipment is related to the position of the function, acquiring the position information of the first equipment.
Preferably, the executable function of the first device may be determined according to one or more other information of the first device, such as information of a name, a model number, a manufacturer, etc. of the first device.
In addition, if the type of the area served by the access module is an enterprise, an office building or the like including one or more buildings or a building with multiple floors, it is determined that the location information of the first device needs to be acquired.
For the position information of the first device, if the first device is provided with a positioning module, the first device determines the position information through the positioning module of the first device. If the first device does not have the positioning capability, the sending module of the first device may send the information that the first device does not have the positioning capability to the access module, so that the access module determines the position information of the first device in other manners. If the access module locates the first device based on the signal received from the first device, the task allocation module determines the position of the first device through the information collected by the camera module of the device, or the access module sends a request to other devices capable of locating the first device, for example, the other devices send collected image information of the first device to the access module, if the access module has the capability of identifying the position of the first device according to the image information, the access module determines the position of the first device and sends the image information to the task allocation module, if the access module does not have the capability of identifying the position of the first device according to the image information, the task allocation module sends the image information to the task allocation module, and the task allocation module determines the position information of the first device based on the image information. If the position information of the first device still cannot be obtained through the mode, the access module sends a position information obtaining request to other terminals related to the user of the first device, and the position information of the first device is obtained from the other terminals through manual input of the user at the other terminals.
For the equipment with unknown installation type, after the task allocation module acquires the position information of the first equipment, the installation type of the first equipment is further determined according to the position information.
The method comprises the steps that equipment information and position information of first equipment are stored in an equipment layout diagram of a task distribution module, specifically, the task distribution module generates a three-dimensional map of an area based on the area served by an access module, wherein the three-dimensional map comprises the layout of the area, such as the layout of a building, an internal structure of the building, an environment, article placement and the like, included in the area. Preferably, the fixed installation and the movable equipment are distinguished in the three-dimensional map, such as colors, so that the user can conveniently view and recognize the images.
Preferably, the user establishes connection with the cloud server through the terminal, so that the three-dimensional map is checked, the corresponding APP can be installed at the terminal to realize the checking function, and further, the APP can be used for realizing the management function of equipment accessed to a network and the cloud server. The user clicks the device in the map through the APP, so that the device information of the device and the task conditions executed by the device can be displayed. In the display interface, the user clicks the task executed by the equipment, and the operations such as modification and deletion can be performed on the task.
For a location-independent first device, the first device is identified in a particular area of the three-dimensional map, the particular area being used to identify the location-independent first device.
The task allocation module is further used for determining one or more tasks executed by the first device.
For a fixedly mounted device, the following steps are performed:
specifically, for the first device with irrelevant position, tasks executable by the first device are determined according to the device information of the first device, for example, functions of the first device are determined according to the device information such as the name, type, manufacturer, device parameters and the like of the first device, and one or more tasks executable by the first device are determined according to the functions of the first device.
For the first device which acquires the position information, determining the task executable by the first device according to the position information and the device information, and similarly, determining the function of the first device according to the name, type, manufacturer, device parameter and other device information of the first device, and determining one or more executable tasks according to the function of the first device and the position information. For example, the first device is a camera, and according to the device information, it is determined that the first device can shoot high-definition video, image, or shoot low-resolution video, image, or the like, and if the camera is installed in a room, the camera can shoot low-resolution and/or high-resolution video to perform a task of security monitoring, or shoot high-resolution video to perform a task of recording an instant of life. If the camera is installed on the door, the camera only has the function of monitoring the environment outside the door, and correspondingly, the task requirements are determined according to the monitoring task.
And determining the determined task executable by the first device as the task executed by the first device.
Preferably, the tasks performed by the first device are identified simultaneously in the three-dimensional map.
Further, as shown in the above examples, each task is associated with the same or different task requirements. Because the device generally has various capabilities, the task allocation module determines the requirements of the task according to the requirements of the task, so that the first device can select proper parameters to execute the task according to the requirements of the first device, and the waste and the excessive utilization of the resources of the first device are prevented. Preferably, in the present invention, the task requirement is included in the task.
For a mobile device, the following steps are performed:
determining whether the user of the first device is required to authorize remote call of the functions of the first device, and if the user is not required to authorize, determining the functions of the first device according to the device information of the first device. One or more tasks that the first device may perform are determined based on the functionality that it has.
If user authorization is required, a message is sent to the first device requesting the user of the first device to authorize remote invocation of the first device function. If the response of the first device is not received for a long time, sending a message for requesting authorization to devices of other access networks with the same user identification according to the user identification of the first device, authorizing the function of the first device which allows remote call according to the received authorization message by the user, and enabling the function which is not agreed by the user to be called remotely.
The message triggers the first device to display an interface that includes the function desired to be invoked remotely, the function permitted to be invoked being determined by the user checkup.
In one embodiment, before the task allocation module sends the desired remotely invoked function to the user, the following steps are performed: the executable functions of the first device are determined based on the device information of the first device in the same manner as described above. The function executable by the first device is taken as the function which is expected to be remotely called.
Likewise, the task requirements are included in the task. The determination is as described above.
In one embodiment, determining whether a user of the first device is required to authorize a remote invocation of the first device function specifically includes:
determining whether the first device relates to user private information according to the device information of the first device, for example, determining the type of the first device according to the type information of the first device, determining whether the first device relates to the user private information according to the type, if so, determining that user authorization of the first device is required, otherwise, user authorization is not required.
In another embodiment, it is determined, according to a function of the first device to be invoked, whether the invocation of the function results in leakage of private information of a user in the first device, if no information leakage is caused, no user authorization is required, and if information leakage is caused, user authorization of the first device is required.
For functions requiring user authorization, determining the functions authorized by the user, and determining tasks executable by the first device according to the functions authorized by the user.
For a first device that is mobile, the access module detects access to the network and the task allocation module identifies the first device in the three-dimensional map. Determining whether the task it can perform is related to the location of the device, if it is not, without monitoring its location, and accordingly, identifying it as location-independent in the task, and identifying the first device in the above-mentioned specific area of the three-dimensional map; if the executable task is related to the position, judging the causal relation between the position and the task, if the probability of executing the task exists because the first equipment is positioned at the corresponding position, setting a corresponding position sending triggering condition in the task, when the first equipment judges that the first equipment is positioned at the corresponding position, sending the position information to the task allocation module through the access module, and enabling the task allocation module to activate the task, wherein before the task allocation module activates the task, the task of the first equipment is positioned in an unactivated state, and the identifier of the first equipment in the three-dimensional map is also activated, or when the task is activated, the identifier of the first equipment is displayed in the three-dimensional map, otherwise, the identifier is not displayed; wherein activating the means that the task allocation module or other device may instruct the first device to perform a task; correspondingly, when the first device leaves the corresponding position, a deactivation message is sent to the task allocation module through the access module, so that the task allocation module knows that the first device cannot execute the task, and the identification of the first device in the corresponding three-dimensional map is also deactivated or not displayed.
When the first device does not have positioning capability, the access module sends the requirement of positioning the first device to other devices, the other devices execute positioning and subsequent operation according to the information of the access module, the other devices acquire the positions of the first device, the acquisition mode is the same as that of the first device, the judgment after acquiring the positions and the activation of the task are the same as that of the first device, and the deactivation is the same as that of the first device.
For the movable first equipment, the task distribution module determines whether the power supply mode is battery power supply or external power supply, if the power supply mode is battery power supply, a battery power threshold is set in the task, and when the first equipment detects that the battery power is lower than the threshold, the first equipment sends power alarm to the task distribution module, so that the task distribution module deactivates the first equipment. Preferably, when the task allocation module deactivates the first device, a deactivation message is sent to a user of the first device, the message carrying the reason for the deactivation; if the user feedback is agreeing, the first device is deactivated, and if the user feedback is not agreeing, the electric quantity problem is ignored.
Likewise, the determined task executable by the first device is determined as the task executed by the first device.
Preferably, after the task allocation module determines the task executable by the first device through the method, for the first device installed and fixed, the task allocation module further includes any one or more of the following steps, so as to achieve the effect of optimizing the task:
Determining whether a task executable by the first device is repeated with an existing task generated by the task allocation module, if so, determining a preferred device to execute the task, and a standby device, ordering the devices in a priority order, and indicating the device ordering information in the task.
And determining whether the adding of the first equipment has an influence on the task executed by the existing equipment, if so, performing task optimization based on the task executable by the first equipment and the task executed by the affected equipment, and determining the task executed by the first equipment and the task updated by the affected equipment, thereby ensuring that the task executed by the first equipment and the task executed by the affected equipment are distributed more reasonably.
And taking the optimized task as a task executed by the first device, and sending the updated task to other task updated devices.
And when receiving a judging result that the first equipment is not accessed for the first time, the task allocation module takes the historical task of the first equipment as the task to be executed by the first equipment.
In the step, the task allocation module judges whether the historical task of the first device is stored or not, and if so, acquires the historical task of the first device. If not, sending an acquisition request to the first equipment, acquiring the executed historical task from the first equipment, if the first equipment has the historical task, sending the historical task to the task allocation module, otherwise, feeding back a history-free task message. And when the task allocation module does not obtain the historical task of the first device, determining the first device as the first access network, and executing corresponding operation according to the first access network device.
In one embodiment, when the task allocation module obtains the historical task of the first device, for the first device installed with a fixed, it is determined whether the time interval between the time when the first device was previously accessed to the network and executed the task and the current access network is greater than a first time interval, and if not, the historical task of the first device is used as the task to be executed by the first device. If yes, taking the historical task as a task executable by the first device, and executing the optimizing task. For a movable first device, historical tasks of the first device are taken as tasks to be executed by the first device.
Preferably, for installing the fixed first device, acquiring the position information of the first device before the judging time interval, judging whether the position of the first device is changed, if not, executing the step of judging the time interval, and if the position is changed, taking the historical task as the task executable by the first device, and executing the step of optimizing the task.
And the task allocation module is also used for sending the determined task to the first equipment.
After determining the task executed by the first device, the task allocation module sends the task to the first device, and the first device executes the task.
In the sent task message, the corresponding task requirements are carried according to the requirements, so that the first device can select corresponding parameters and the like to execute the task according to the task requirements, wherein the first device can execute the task in a mode closest to the task requirements, for example, for a task with a lower task requirement, the first device can complete the task requirements without executing the task with a higher requirement, and therefore waste of resources of the first device is avoided.
In another embodiment, the task also carries a position sending trigger condition, a battery power threshold, device ordering information and the like according to the requirement.
On the other hand, when the user desires to set task requirements, the user sets task requirements through, for example, an APP (application) access task allocation module, and the task allocation module decomposes the task requirements into tasks executed by one or more devices accessing the network according to the task requirements and sends the tasks to the corresponding devices in combination with the devices accessing the network.
In another embodiment of the present invention, the task allocation module is further configured to update a task, and specifically includes the following steps:
when the device information of the access network is updated, such as the software version of the device is updated, the update of the device information affects the task executed by the device or increases the task executable by the device, the updated device information is sent to the task distribution module, that is, the task distribution module receives the above information, and the task distribution module redetermines the task executable by the device based on the updated device information, if the redetermined task executable by the device only affects the task executed by the device itself, only updates the task executed by the device, and sends the updated task to the device, if the redetermined task executable by the device also affects the task executed by other devices, the task optimization is performed based on the redetermined task executable by the device and the task executed by the affected device, and the task executed by the first device and the task updated by the affected device are determined. And the task distribution module sends the updated task to the related equipment.
When the task distribution module detects that the equipment fails or is offline, the equipment is deactivated, tasks executed by the equipment are acquired, the tasks are decomposed to other equipment for execution, tasks of the other equipment are updated, and the updated tasks are sent to the other equipment. When the device is detected to resume use, the device is activated, its own tasks are performed, and the tasks performed by the other devices are resumed.
The embodiment of the invention also provides a cloud server, and the content server comprises any device.
As shown in FIG. 4, another embodiment of the present invention discloses an apparatus for performing tasks, comprising
The network access module is used for accessing a network and acquiring executed tasks;
after the network access module accesses the network, the executed task is acquired from the network side, such as a network access server or a cloud server, and the task determining method is disclosed in the embodiment.
The task execution module is used for detecting whether the conditions for executing the task are met or not, and if yes, executing the task; if not, continuing to execute the detection;
the task execution module determines whether a condition for executing the task is met according to the task, for example, for a movable first device, whether the task is related to a position is judged, if so, when the position is determined to be related to the task, the position information is sent to the cloud server to trigger the cloud server to activate the task, after the cloud server receives the message, the cloud server sends messages to other devices related to the task of the first device to inform the other devices of the message about the executable task of the first device, and sends the message to the task execution module, so that the first device autonomously determines to start executing the task when determining that the task needs to be executed. For the equipment with the battery power threshold value in the task, the task execution module judges the battery power of the equipment, when the threshold value requirement is met, the task can be executed, and when the threshold value requirement is not met, the task cannot be executed. For tasks comprising device ordering information, a task execution module of the device with the highest priority executes the task, and other devices start executing the task when receiving a message for executing the task.
When executing a task, the task execution module acquires task requirements, determines parameters selected when executing the task according to the task requirements, and sets the parameters based on the best matching task requirements, wherein, whether the selected parameters are set according to the task requirements or not is determined according to the requirements of high standards, if not, the parameters are set according to relatively low standards, so that the parameters meet the task requirements, and if the parameters are set according to the requirements of the high standards, the optimal high-standard execution task of the parameters is set.
In another embodiment, when the task execution module executes the task, it determines whether one or more second devices are needed to assist in completing the task, if yes, then when the task is executed, an assist request message is sent to the second devices, where the message includes the task that needs to be assisted, preferably, when the second devices receive the assist request, it determines whether the task can be assisted by the second devices, if yes, then an agreeable message is sent to the task execution module, and if no, a disagreeable message is sent.
And for the situation that the task execution result is generated by a plurality of devices, the device for assisting in completing the task sends the task execution result generated by the device to the task execution module, and the task execution module processes the plurality of task execution results to obtain the final execution result of the task.
The task execution module determines whether the task is completed, and if not, takes remedial action.
The task execution module judges whether a task execution result meets the requirement of completing the task, if so, the task is completed, if not, the reason causing the non-meeting of the requirement of completing the task is identified, and the measures to be taken are determined according to the identified reason. If the measures to be taken require the assistance of other devices, an assistance request message is sent to indicate the tasks to be executed by the other devices.
If the task execution module cannot identify the reason causing the failure to meet the task completion requirement, a request is sent to other devices, one or more second devices which access the network are requested to assist in determining the state of the first device, after the second devices determine the state of the devices, state information is sent to the task execution module, the task execution module determines whether the task can be continuously completed by the first device by adopting remedial measures based on the state information, if so, the task is completed by adopting the remedial measures, if not, whether other devices can complete the task, namely whether devices for executing the task alternatively exist, if so, a message is sent to the other devices to instruct the other devices to execute the task, if not, a message is sent to a cloud server to instruct the devices to complete the task, the cloud server sends the task completion condition to the cloud server, and the cloud server analyzes the reason of the task failure based on the received message, if the remedial measures are determined, a remedial task is generated and sent to the related devices to execute the remedial task.
Correspondingly, if the task execution module cannot determine the state of the device or the device cannot determine the remedial measure based on the state information, a message is sent to the cloud server as described above to request the cloud server to assist in completing the task.
Preferably, the cloud server calls the three-dimensional map to analyze and generate the remedial task by combining the three-dimensional map when analyzing reasons which do not meet the task completion requirements and generating the remedial task.
Embodiments of the present invention provide a computer device comprising a processor and a memory storing computer instructions executable by the processor, which when executed by the processor, implement a method as described above.
Embodiments of the present invention provide a computer readable storage medium storing computer instructions for implementing a method as described above.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. The computer readable storage medium may include: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), a flash memory, an erasable programmable read-only memory (EPROM), 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. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Computer program code for carrying out operations of the present invention may be written in one or more programming languages, or combinations thereof
The above description is only an example for the convenience of understanding the present invention, and is not intended to limit the scope of the present invention. In the specific implementation, the person skilled in the art may change, increase, decrease the components of the apparatus according to the actual situation, and may change, increase, decrease or change the order of the steps of the method according to the actual situation on the basis of not affecting the functions implemented by the method.
While embodiments of the invention have been shown and described, it will be understood by those skilled in the art that: various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents, and modifications which are not to be construed as being within the scope of the invention.

Claims (4)

1. A method of device access control, comprising the steps of:
step 101, detecting that a first device accesses a network;
step 103, judging whether the first device is accessed for the first time, if so, executing step 105; if not, go to step 109;
Step 105, acquiring equipment information of the first equipment and determining the installation type of the first equipment;
step 107, judging whether the position information of the first device needs to be acquired, and if so, acquiring the position information of the first device;
step 107 specifically includes: the network access device or the cloud server determines the type of the first device according to the device information of the first device, determines whether the position information of the first device needs to be acquired according to the type of the first device and the area served by the network access device, determines the executable function of the first device according to the type of the first device if the type of the area served by the network access device is the residence of the user, and does not need to acquire the position information of the first device if the execution result of the executable function of the first device is irrelevant to the position of the first device, and marks the first device as a position irrelevant device; if the execution result of the function executable by the first equipment is related to the position of the function, acquiring the position information of the first equipment;
for the position information of the first equipment, if the first equipment has positioning capability, the first equipment determines the position information through the positioning capability of the first equipment; if the first device does not have the positioning capability, the first device sends information that the first device does not have the positioning capability to the network access device, so that the network access device determines the position information of the first device in other modes;
The network access device determining location information of the first device by other means includes: positioning the first equipment based on a signal received from the first equipment, determining the position of the first equipment through information acquired by a camera of the network access equipment, or sending a request to other equipment capable of positioning the equipment, wherein the request is for assisting in positioning the first equipment;
step 108, determining one or more tasks executed by the first device;
determining whether a task executable by the first device is repeated with an existing task generated by the cloud server, if so, determining a preferred device for executing the task and a standby device, sequencing the devices according to a priority order, and indicating the device sequencing information in the task;
step 109, taking the historical task of the first device as a task to be executed by the first device;
and step 111, transmitting the determined task to the first device.
2. The device for controlling the equipment access is characterized by comprising an access module and a task allocation module;
the access module is used for detecting that the first equipment is accessed to the network;
if the access module detects that the first equipment is accessed to the network, judging whether the first equipment is accessed for the first time or not, and sending a judging result to the task allocation module;
The task allocation module is used for determining one or more tasks executed by the first device; transmitting the determined task to the first device;
the task allocation module is used for acquiring equipment information of the first equipment and determining the installation type of the first equipment when receiving a judging result that the first equipment is accessed for the first time;
the task allocation module judges whether the position information of the first equipment needs to be acquired, and if so, the access module is triggered to acquire the position information of the first equipment; the method specifically comprises the following steps: the network access device or the cloud server determines the type of the first device according to the device information of the first device, determines whether the position information of the first device needs to be acquired according to the type of the first device and the area served by the network access device, determines the executable function of the first device according to the type of the first device if the type of the area served by the network access device is the residence of the user, and does not need to acquire the position information of the first device if the execution result of the executable function of the first device is irrelevant to the position of the first device, and marks the first device as a position irrelevant device; if the execution result of the function executable by the first equipment is related to the position of the function, acquiring the position information of the first equipment;
For the position information of the first equipment, if the first equipment has positioning capability, the first equipment determines the position information through the positioning capability of the first equipment; if the first device does not have the positioning capability, the first device sends information that the first device does not have the positioning capability to the network access device, so that the network access device determines the position information of the first device in other modes;
the network access device determining location information of the first device by other means includes: positioning the first equipment based on a signal received from the first equipment, determining the position of the first equipment through information acquired by a camera of the network access equipment, or sending a request to other equipment capable of positioning the equipment, wherein the request is for assisting in positioning the first equipment;
the task allocation module determines whether a task executable by the first device is repeated with an existing task, if so, determines a preferred device for executing the task and a standby device, orders the devices in a priority order, and indicates the device ordering information in the task;
and the task allocation module is used for taking the historical task of the first equipment as the task to be executed by the first equipment when receiving the judging result that the first equipment is not accessed for the first time.
3. A computer device comprising a processor and a memory storing computer instructions executable by the processor, which when executed by the processor, implement the method of claim 1.
4. A computer readable storage medium storing computer instructions for implementing the method of claim 1.
CN202110327369.3A 2021-03-26 2021-03-26 Method and device for controlling equipment access Active CN113098947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110327369.3A CN113098947B (en) 2021-03-26 2021-03-26 Method and device for controlling equipment access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110327369.3A CN113098947B (en) 2021-03-26 2021-03-26 Method and device for controlling equipment access

Publications (2)

Publication Number Publication Date
CN113098947A CN113098947A (en) 2021-07-09
CN113098947B true CN113098947B (en) 2023-12-22

Family

ID=76670331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110327369.3A Active CN113098947B (en) 2021-03-26 2021-03-26 Method and device for controlling equipment access

Country Status (1)

Country Link
CN (1) CN113098947B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832901A (en) * 2017-07-28 2018-03-23 平安科技(深圳)有限公司 Method for allocating tasks, device, terminal device and storage medium
CN108197778A (en) * 2017-12-15 2018-06-22 远光软件股份有限公司 A kind of method for allocating tasks and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201227190A (en) * 2010-12-28 2012-07-01 Hon Hai Prec Ind Co Ltd System and method for controlling robots via cloud computing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832901A (en) * 2017-07-28 2018-03-23 平安科技(深圳)有限公司 Method for allocating tasks, device, terminal device and storage medium
CN108197778A (en) * 2017-12-15 2018-06-22 远光软件股份有限公司 A kind of method for allocating tasks and device

Also Published As

Publication number Publication date
CN113098947A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN110612521B (en) Intelligent device configuration guidance via automated assistant interface of individual client devices
US11131976B2 (en) Device control system, method and apparatus, and gateways
EP3675003A1 (en) Appliance, method and system for controlling the same, server and appliance controlling apparatus
US11233671B2 (en) Smart internet of things menus with cameras
US20070242815A1 (en) Method for exchanging information between devices in case of a change in network configuration and home network system therefore
CN108964994B (en) Replacement method of intelligent household equipment
CN109714333B (en) Household appliance and management method and device of control authority of household appliance and readable storage medium
CN108551413B (en) Intelligent household equipment binding method and device, gateway equipment and storage medium
CN109361579B (en) Intelligent equipment control method, system and storage medium
US20140095663A1 (en) Server for home appliance network system
US20230152895A1 (en) Method for Changing Displayed Scene, Intelligent Display Screen and Readable Storage Medium
WO2022007354A1 (en) Linkage control method and apparatus for smart device, and device and storage medium
CN114980302A (en) Equipment access method, equipment management method, system and computer equipment
CN111190353B (en) Intelligent household appliance instruction conflict processing method and device, storage medium and electronic device
CN113098947B (en) Method and device for controlling equipment access
CN112926878A (en) Method and device for executing task by equipment
CN105049800A (en) Server and target mobile camera controlling system
CN112866320B (en) Control method, device and system of intelligent electric appliance
KR20150123537A (en) System and method for providing service integrated energy storage control in home network
US11191110B2 (en) Network management method, wireless access device, terminal, system and storage medium
CN115486039A (en) Node control unit and network service equipment
CN111010322A (en) Information configuration method and device, electronic equipment and storage medium
CN117155728B (en) Device control method, apparatus, system and computer readable storage medium
CN116795286A (en) Hard disk management module, hard disk management system and hard disk management method
CN115793480A (en) Control method and control device for household equipment of Internet of things and Internet of things

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
TA01 Transfer of patent application right

Effective date of registration: 20220111

Address after: 310024 floor 5, zone 2, building 3, Hangzhou cloud computing Industrial Park, Zhuantang street, Xihu District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou suddenly Cognitive Technology Co.,Ltd.

Address before: 100083 gate 3, block a, 768 Creative Industry Park, Zhongguancun, No.5 Xueyuan Road, Haidian District, Beijing

Applicant before: BEIJING MORAN COGNITIVE TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20231129

Address after: 528200 Xiaotang Third Ring West Industrial Zone, Shishan Town, Nanhai District, Foshan City, Guangdong Province

Applicant after: HONDA ACCESS CHINA Corp.

Address before: 310024 floor 5, zone 2, building 3, Hangzhou cloud computing Industrial Park, Zhuantang street, Xihu District, Hangzhou City, Zhejiang Province

Applicant before: Hangzhou suddenly Cognitive Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant