CN106921617B - Public equipment reservation control method and device - Google Patents

Public equipment reservation control method and device Download PDF

Info

Publication number
CN106921617B
CN106921617B CN201510992685.7A CN201510992685A CN106921617B CN 106921617 B CN106921617 B CN 106921617B CN 201510992685 A CN201510992685 A CN 201510992685A CN 106921617 B CN106921617 B CN 106921617B
Authority
CN
China
Prior art keywords
public
application
time period
authority
request
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
CN201510992685.7A
Other languages
Chinese (zh)
Other versions
CN106921617A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510992685.7A priority Critical patent/CN106921617B/en
Publication of CN106921617A publication Critical patent/CN106921617A/en
Application granted granted Critical
Publication of CN106921617B publication Critical patent/CN106921617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a method and a device for controlling reservation of public equipment, wherein the method comprises the following steps: receiving an occupation application request for applying for occupying public equipment; acquiring an application user identifier, an application occupied public equipment identifier and an application occupied time period according to the application occupation request; storing the corresponding relation between the application user identification, the public equipment identification and the time period; and according to the corresponding relation, in the time period, the application user identification is granted the private control authority corresponding to the public equipment identification. According to the method and the device for controlling the reservation of the public equipment, the application user can actively carry out the remote control operation which is allowed by the private control authority and not allowed by the public access authority on the public equipment in the application time period, so that the utilization rate of the public equipment is further improved.

Description

Public equipment reservation control method and device
Technical Field
The invention relates to the technical field of networks, in particular to the technical field of internet of things, and particularly relates to a method and a device for reservation control of public equipment.
Background
The Internet of things is an important component of a new generation of information technology, and The English name of The Internet of things is 'The Internet of things', which means The Internet with connected objects. The core and foundation of the internet of things is still the internet, which is an extended and expanded network on the basis of the internet, and the internet of things enables the internet based on the user terminal to be extended and expanded to the information exchange and communication between the user terminal and the goods and between the goods.
At present, network modules can be implanted into controlled devices such as sockets, cameras, air conditioners, refrigerators, watches and the like by equipment providers, the controlled devices can be accessed into an Internet of things open platform, and a user terminal can be accessed into the Internet of things open platform to remotely control the controlled devices. In order to improve the utilization rate of the controlled equipment, some controlled equipment can be configured as public equipment for the public to access through the Internet of things open platform.
However, in order to adapt to the public access scenario, the public device can only provide a simple passive access manner to the public, the user generally cannot directly control the public device, the function of the public device is greatly limited, and the utilization rate of the controlled device is difficult to further improve.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for controlling reservation of public equipment, aiming at the problem that it is difficult to further increase the utilization rate of the public equipment due to the limited function of only providing a simple passive access mode to the public through the public equipment.
A public device reservation control method, the method comprising:
receiving an occupation application request for applying for occupying public equipment;
acquiring an application user identifier, an application occupied public equipment identifier and an application occupied time period according to the application occupation request;
storing the corresponding relation between the application user identification, the public equipment identification and the time period;
and according to the corresponding relation, in the time period, the application user identification is granted the private control authority corresponding to the public equipment identification.
A public equipment reservation control apparatus, the apparatus comprising:
the request receiving module is used for receiving an occupation application request for applying for occupying the public equipment;
the request processing module is used for acquiring an application user identifier, an application occupied public equipment identifier and an application occupied time period according to the application occupation request;
the storage module is used for storing the corresponding relation among the application user identification, the public equipment identification and the time period;
and the authority control module is used for granting the private control authority of the application user identifier corresponding to the public equipment identifier in the time period according to the corresponding relation.
According to the method and the device for controlling the reservation of the public equipment, after the request for applying for occupying the public equipment is received, the identification of the application user, the identification of the application occupied public equipment and the time period for applying for occupying can be obtained, and the corresponding relation is stored. Therefore, according to the corresponding relation, the private control authority can be opened to the application user in the application time period. Therefore, the public device is still the public device outside the time period for applying for the user, and is changed into the device for applying for the private control of the user in the time period, and the applying user can actively carry out the remote control operation which is allowed by the private control authority and not allowed by the public access authority on the public device in the time period for applying, so that the utilization rate of the public device is further improved.
Drawings
FIG. 1 is a diagram of an example environment in which an IOT communication system may be implemented;
FIG. 2 is a schematic diagram illustrating the structure of an embodiment of an open platform for Internet of things;
fig. 3 is a schematic diagram of a composition structure of a terminal in one embodiment;
FIG. 4 is a schematic diagram showing the structure of a controlled device in one embodiment;
FIG. 5 is a flow chart illustrating a reservation control method for a public device according to an embodiment;
FIG. 6 is a diagram of a public device page displayed by a terminal in one embodiment;
FIG. 7 is a diagram illustrating an apply for occupancy page in one embodiment;
FIG. 8 is a flowchart illustrating a reservation control method for a public facility in another embodiment;
FIG. 9 is a diagram illustrating voting for an application user via a publication page in one embodiment;
FIG. 10 is a flowchart illustrating the steps of processing a common device access request in one embodiment;
FIG. 11 is a flowchart illustrating steps in one embodiment for processing public device access requests in response to private control permissions;
FIG. 12 is a diagram illustrating a public access page displayed by a second terminal when the public device access rights are restricted, in one embodiment;
FIG. 13 is a diagram illustrating a rights control page displayed by the first terminal in one embodiment;
FIG. 14 is a diagram illustrating a public access page displayed by a second terminal when the access rights of the public device are not restricted in one embodiment;
fig. 15 is a block diagram showing the configuration of a common device reservation control apparatus in one embodiment;
fig. 16 is a block diagram showing the construction of a common device reservation control apparatus in another embodiment;
fig. 17 is a block diagram showing a configuration of a common device reservation control apparatus according to still another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, in one embodiment, an internet of things communication system 100 is provided and includes an internet of things open platform 102, a terminal 104 and a controlled device 106. The internet of things open platform 102 in fig. 1 includes one or more physical servers, which are third-party platforms providing access services for controlled devices 106 of various device providers and providing interactive interfaces for the terminal 104. The terminals 104 include desktop computers and mobile terminals including mobile phones, tablet computers, PDAs (personal digital assistants), POS (point of sale) machines, and the like. The controlled device 106 is a device having a function of connecting with the terminal 104 and controlled by the terminal 104, and includes a socket, a network camera, a microphone, an air conditioner, a refrigerator, and the like.
As shown in fig. 2, in one embodiment, the internet of things open platform 102 includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected by a system bus. The processor has a computing function and a function of controlling the operation of the internet of things open platform 102, and is configured to execute a common device reservation control method. Non-volatile storage media include magnetic storage media, optical storage media, and flash memory storage media. The non-volatile storage medium stores an operating system and a public equipment reservation control device having a function module that implements a public equipment reservation control method. The internal memory is used to provide a cache for the operating system and the common device reservation control. The network interface is for connecting to a network.
As shown in fig. 3, in one embodiment, a terminal 104 is provided that includes a processor, a non-volatile storage medium, an internal memory, a network interface, a display screen, and an input device connected via a system bus. Wherein the processor has a computing function and a function of controlling the operation of the terminal 104, the processor being configured to execute a common device reservation control method. Non-volatile storage media include magnetic storage media, optical storage media, and flash memory storage media. The non-volatile storage medium stores an operating system and a public equipment reservation control device having a function module that implements a public equipment reservation control method. The internal memory is used to provide a cache for the operating system and the common device reservation control. The display may be a liquid crystal display or an electronic ink display. The input device comprises a touch pad, a track ball, a mouse and a touch layer overlapped with the display screen, wherein the display screen and the touch layer form the touch screen. The network interface is used for connecting to a network.
As shown in fig. 4, in one embodiment, the controlled device 106 is different from the terminal 104, and includes a control chip, a wireless connection module, and an operation function module. The controlled device 106 may be connected to the terminal 104 through a wireless connection Module, which includes at least one of a Wi-Fi (wireless connection technology) Module, a bluetooth Module, a SIM (Subscriber Identity Module) card Module, and an NFC Module. The controlled device 106 may be a webcam, a microphone, a smart tv, a printer, a smart light bulb, a smart switch, etc. The working function module of the network camera at least has the function of capturing images, and the working function module of the intelligent television at least has the functions of receiving television program signals and playing television programs, and so on.
As shown in fig. 5, in an embodiment, a method for controlling subscription of public equipment is provided, and this embodiment is illustrated by applying the method to the internet-of-things open platform 102 in the internet-of-things communication system 100 of fig. 1. The method specifically comprises the following steps:
step 502, receiving an occupation application request for occupying a public device.
Specifically, the terminal can be operated with a social application, so that the terminal can enter an application occupation page for applying for occupation of the public equipment through the operated social application, application information required for applying for occupation of the public equipment is selected or entered in the application occupation page, an application occupation request can be generated according to the application information and sent to the internet of things open platform after a confirmation instruction is detected, and the application occupation request is received by the internet of things open platform. The social application is an application for performing network social interaction based on a social network, and the social application generally has a contact person searching function and an instant messaging function, and may further have a User Generated Content (UGC) sharing function and a UGC comment function.
The controlled devices have an attribute of a device type, which includes a private device and a public device, by which access rights to the corresponding controlled devices can be restricted. Controlled devices configured as public devices are referred to as public devices and are accessible to the public.
And step 504, acquiring the application user identifier, the public device identifier for applying occupation and the time slot for applying occupation according to the request for applying occupation.
Specifically, the internet of things open platform can extract the application user identifier, the public device identifier and the time period from the application occupancy request. The Internet of things open platform can also query application configuration information corresponding to the application user identification after receiving the application occupation request, wherein the application configuration information comprises the public equipment identification and the time slot for applying occupation, so that the application user identification, the public equipment identification and the time slot are obtained through query. The public device identification is used for uniquely identifying the corresponding public device, and the application user identification is used for uniquely identifying the corresponding application user.
The user who applies for occupation of the public device is called an application user, and other users who access the public device, which are different from the application user, are called public users. The request for applying for occupation designates an application user who initiates the request, and also designates public equipment identification applied for occupation and a time period for applying for occupying the public equipment. The time period occupied by the application is the time period in the idle state, and the time period in the idle state is the time period not occupied by the user application.
The Internet of things open platform can be divided into a plurality of time periods in advance, and a time period identifier is allocated to each time period, so that the corresponding time period can be uniquely identified through the time period identifier in the application occupation request. The request for applying for occupation may also specify the time period by carrying a start time point and an end time point of the time period for applying for occupation. The start time point and the end time point of the time period occupied by the application can be customized by the application user.
Step 506, storing the corresponding relation between the application user identifier, the public device identifier and the time period.
Specifically, the internet of things open platform responds to the received request for applying for occupation, and after receiving the request for applying for occupation, establishes and stores the obtained corresponding relationship between the application user identifier, the public device identifier and the time period. The corresponding relation is used for indicating that the corresponding application user is permitted to occupy the public equipment corresponding to the public equipment identification in the applied time period. After the corresponding relation is stored, the state of the corresponding time period can be updated from the idle state to the occupied state by the Internet of things open platform.
And step 508, according to the corresponding relation, in a time period, a private control right corresponding to the public equipment identification is granted to the application user identification.
Specifically, the internet of things open platform can determine the time period required to be detected according to the corresponding relation, so as to detect whether the time reaches the time period in real time. If the time period starts, a private control right corresponding to the public equipment identification is granted to the application user identification; and if the time period is over, canceling the private control authority which is granted to the application user identifier and corresponds to the public device identifier.
The private control authority is specially granted to the application user to control the public equipment, and comprises the authority which is not included in the public access authority corresponding to the public equipment identifier; the public access right corresponding to the public device identifier refers to a right of a public user to access the public device corresponding to the public device identifier.
In one embodiment, the private control authority corresponding to the public device identifier includes at least one of an authority to adjust a public access authority corresponding to the public device identifier, an authority to configure related information of the public device in the time period, an authority to abandon an application time period, an authority to share a private control authority corresponding to the public device identifier with a social friend, an authority to transfer the private control authority corresponding to the public device identifier to the social friend, an authority to remotely control the public device, and the like.
Further, the authority for adjusting the public access authority corresponding to the public device identifier specifically includes: the permission to forbid the public user from accessing the public device, the permission to revoke the permission to forbid the public user from accessing the public device or the permission to forbid the public user from commenting the permission. Information about the public device during the time period such as the subject, content of the activity performed during the time period or information about the persons involved in the activity. After the application time period is abandoned, the Internet of things open platform can immediately revoke the private control authority corresponding to the public device identification and granted to the application user identification. After the application user shares the private control authority corresponding to the public equipment identifier with the social friend, the social friend also has partial or all private control authority corresponding to the public equipment identifier. After the application user transfers the private control authority corresponding to the public equipment identification to the social friend, the application user loses the corresponding private control authority, and the corresponding social friend obtains the private control authority. The right to remotely control a common device specifically refers to a right that is not included in the corresponding common access right, such as turning a webcam to change the field of view.
According to the public equipment reservation control method, after the occupation application request for applying for occupation of the public equipment is received, the application user identification, the occupation application public equipment identification and the occupation application time period can be obtained, and the corresponding relation is stored. Therefore, according to the corresponding relation, the private control authority can be opened to the application user in the application time period. Therefore, the public device is still the public device outside the time period for applying for the user, and is changed into the device for applying for the private control of the user in the time period, and the applying user can actively carry out the remote control operation which is allowed by the private control authority and not allowed by the public access authority on the public device in the time period for applying, so that the utilization rate of the public device is further improved.
In one embodiment, in step 504, the internet of things open platform may further obtain at least one of the location of disclosure, the network disclosure range, and the activity forecast information according to the request for occupation, so as to record in the corresponding relationship. The network public scope refers to a scope to which public users who can access the public device in the application period belong, and can be represented by an IP address field.
For example, referring to fig. 6, an application user may access a public device page through a social application running on a terminal, and the terminal queries and displays a list of public devices that can be occupied by the application through an internet of things open platform. The list displayed by the terminal comprises information such as occupied public equipment description information and accessed history records, wherein the public equipment description information can comprise information such as the location of the public equipment and brief introduction of the public equipment. The application user may select the public device from the list, so that the terminal enters the application occupation page shown in fig. 7 corresponding to the selected public device.
The application user can select or enter application information required for applying for occupying the public equipment in the application occupation page, such as information about whether to disclose the place where the public equipment is located, a network disclosure range, a time period for selecting the application and the like. After the application user clicks and submits, the terminal detects the confirmation instruction, so that an application occupation request is generated according to the application information and is sent to the Internet of things open platform, and the Internet of things open platform receives the application occupation request.
In one embodiment, the common device reservation control method further includes: and inquiring the time period in the idle state corresponding to the public device identification. And displaying the inquired time period through an application occupation page corresponding to the public equipment identification. And starting timing when receiving an occupation application request triggered by the displayed time period. And if the timing duration reaches the preset duration, acquiring an application user identifier, an application occupied public equipment identifier and an application occupied time period according to the application occupation request triggering the current timing, and updating the state of the time period to be an occupied state after storing the corresponding relation. And if a new request for applying for occupation is received before the timing duration reaches the preset duration, timing again from the reception of the new request for applying for occupation.
As shown in fig. 8, in an embodiment, a method for controlling reservation of public equipment specifically includes the following steps:
step 802, querying a time period in an idle state corresponding to the public device identity.
Specifically, the internet of things open platform can periodically query a time period in an idle state corresponding to the public device identifier, wherein the time period in the idle state is a time period which can be occupied by application. The internet of things open platform can also inquire the time period in the idle state corresponding to the public equipment identifier according to the inquiry request after receiving the inquiry request carrying the public equipment identifier triggered when the terminal of the application user enters the application occupation page.
And step 804, displaying the inquired time period through the application occupation page corresponding to the public equipment identifier.
Specifically, the internet of things open platform sends the query result of the time period in which the query is in the idle state to the terminal used by the application user, so that the terminal displays the queried time period in the application occupation page according to the query result. The application user can view the applicable time period in the application occupation page.
And step 806, starting timing when receiving an occupation applying request for applying for occupying the public equipment, which is triggered by the displayed time period.
Specifically, referring to fig. 7, the terminal used by the application user may display the request trigger control 702 in the displayed time period, so that after detecting the operation on the request trigger control 702, the terminal triggers an application occupation request for applying for occupying the public device and sends the request to the internet of things open platform. The application occupation request specifies that the time period occupied by the application user is the time period corresponding to the trigger control. And when the Internet of things open platform receives the request for occupation, timing is started, and countdown or timing according to time sequence can be adopted. The terminal used by the application user can display the timing progress. The Internet of things opening platform can also open the access right of the occupied page when the preset time point is reached.
And 808, judging whether the timing time length reaches a preset time length. If yes, go to step 810, otherwise go to step 816.
The timing duration refers to a time length from the time when the request for occupation is received to the time when the step 808 is executed, and the internet of things open platform may execute the step 808 in real time or periodically.
Step 810, acquiring an application user identifier, an application occupied public device identifier and an application occupied time period according to the application occupation request triggering the current timing.
Specifically, the internet of things open platform starts timing when receiving the request for occupancy application mentioned in step 806, and the request for occupancy application is the request for occupancy application triggering the current timing. The Internet of things open platform can extract the application user identification, the public equipment identification for occupation and the time slot for occupation from the occupation application request.
Step 812, storing the corresponding relationship between the application user identifier, the public device identifier and the time period.
In step 814, the status of the update time period is an occupied status.
Specifically, the state of the time slot corresponding to the public device identifier is updated from the idle state to the occupied state by the internet of things open platform, and other application users cannot subsequently apply for the time slot of the public device.
Step 816, determine whether a new request for occupation is received. If yes, go to step 818; if not, return to step 808.
Specifically, a plurality of application users can send a new application occupation request to the internet of things open platform through the application occupation page, where the new application occupation request is an application occupation request different from a previously received application occupation request. If the internet of things open platform does not receive the new request for applying for occupation, the step 808 is returned, and whether the timing duration reaches the preset time length or not is continuously judged.
In one embodiment, each time an application occupation request is received, the internet of things open platform may subtract a numerical value specified by the application occupation request from a numerical account corresponding to an application user identifier corresponding to the application occupation request. The Internet of things open platform can inform a terminal corresponding to a corresponding application user identifier when detecting that the value balance in the value account is less than or equal to a preset value, so that the terminal is forbidden to trigger an application occupation request. The value account can be a point account or a currency account and can be used for limiting the number of times that the application user triggers the application occupation request. The numerical value subtracted from the numerical account corresponding to the application user identification which is not successfully applied can be recovered when the timing duration reaches the preset duration.
At step 818, a new timing is started from the reception of the new request for occupation, and the process returns to step 808.
Specifically, the timing is started after the application occupancy request is received last time, if the timing duration does not reach the preset duration, the timing is restarted after a new application occupancy request is received, and step 808 is continuously executed to determine whether the timing duration reaches the preset duration until the timing duration reaches the preset duration.
In the embodiment, the final application user is determined according to the judgment result of whether the timing duration reaches the preset duration by timing after the application occupation request is received, so that the conflict among a plurality of application users is solved.
In one embodiment, the internet of things open platform may further query a time period in an idle state corresponding to the public device identifier, and display the queried time period through an application occupation page corresponding to the public device identifier. When an application occupation request for applying for occupation of the public equipment triggered aiming at the displayed time period is received, acquiring an application user identifier, the public equipment identifier applied for occupation and the time period applied for occupation according to the application occupation request, storing the corresponding relation of the application user identifier, the public equipment identifier and the time period, and updating the state of the time period to be an occupation state.
In one embodiment, the internet of things open platform may initiate a voting process and display the voting process through a public page when receiving an application occupation request triggered by a plurality of application user identifiers. The Internet of things open platform receives a voting request triggered by a public user on a public page before the voting deadline time, counts the voting result when the voting deadline time is reached, determines an application user identifier for permitting the application request according to the voting result, and establishes a corresponding relationship between the corresponding application user identifier, the public equipment identifier and a time period.
For example, referring to fig. 9, the internet of things open platform may show a voting control through a public page of the public device, each public user and the application user may vote through the public page, and the internet of things open platform may determine, according to a voting result, an application user who finally grants an application request, so that the corresponding application user identifier has a private control right for the applied public device in the application time period.
In this embodiment, when there are multiple application users, the conflict between the multiple application users can be resolved by voting.
As shown in fig. 10, in an embodiment, the method for controlling reservation of public devices further includes a step of processing an access request of a public device, and specifically includes the following steps:
step 1002, receiving a public device access request corresponding to the public device identifier.
Specifically, the public device access request corresponding to the public device identifier refers to a request initiated by a public user or an application user through a corresponding terminal to request access to the public device corresponding to the public device identifier, and the public device identifier may be carried in the public device access request. The common device access request may be, for example, to obtain a real-time video stream, to obtain a real-time audio stream, to obtain a photograph, or to send a print job, etc.
And 1004, acquiring an access user identifier according to the public device access request.
The access user identifier refers to an identifier of a user initiating a public device access request, and may be an application user identifier or a public user identifier. Specifically, the internet of things open platform can acquire the access user identifier from the public device access request.
Step 1006, if the current time is within the time period and the access user identifier is matched with the application user identifier, performing processing corresponding to the private control authority on the public device access request.
And step 1008, if the access user identifier is not matched with the application user identifier, processing the public device access request corresponding to public access authority, wherein the public access authority corresponds to the public device identifier.
Specifically, the internet of things open platform may obtain the current time to determine whether the current time is within a time period included in the correspondence. And the Internet of things open platform compares the access user identification with the application user identification to judge whether the access user identification is matched with the application user identification. And the Internet of things open platform carries out corresponding processing on the access request of the public equipment according to the judgment result of whether the current time is within the time period and the judgment result of whether the access user identification is matched with the application user identification.
And the public equipment access request initiated by the public user is restricted by the public access authority corresponding to the corresponding public equipment identifier. If the current time is out of the application time period, the corresponding application user is not different from the public user, the public device access request initiated by the application user or the public user is restricted by the public access authority corresponding to the corresponding public device identifier, and the Internet of things open platform processes the device access request according to the corresponding public access authority. And if the current time is within the application time period, the public device access request initiated by the application user is restricted by the corresponding private control authority.
In this embodiment, according to whether the current time is within the time period in the corresponding relationship and whether the access user identifier is matched with the application user identifier, a processing mode of the access request of the corresponding public device can be decided, so that users of different types are restricted by the private control authority and the public access authority respectively, ordered management of behaviors of the users accessing the public device is realized, the public device has the attribute of the private device and the attribute of the public device at the same time in the application time period, and an interaction mode between the users is increased.
In one embodiment, the method for controlling the reservation of the public device further comprises the step of limiting the public access right corresponding to the public device identifier at the beginning of the time period. Wherein, limiting the public access right includes reducing the access right of the public user to all or part of the public device, such as forbidding the public user to access the public device, or originally limiting the right of the public user to be remotely operable to disallow remote operation, and so on. In the embodiment, the public user and the application user share the same public device access right in the time except the application time period. When the time period of application begins, the access right of the public equipment is limited, and the application user has private control right of the public equipment, so that the private control right can contain more rights different from the access right of the public equipment, and an interaction mode is increased.
In one embodiment, the internet of things open platform can limit public access rights corresponding to the public device identification at the beginning of the application time period and grant private control rights corresponding to the public device identification to the application user identification. And after the time period is over, the Internet of things open platform cancels the private control authority which is granted to the application user identification and corresponds to the public device identification. If the time period is finished and the subsequent time period is not occupied, the Internet of things open platform recovers the limited public access authority; if the time period ends and the subsequent time period is occupied, the public access right can be continuously limited.
Referring to fig. 11, in an embodiment, the step of performing processing corresponding to the private control authority on the public device access request specifically includes the following steps:
step 1102, a first notification is sent to a first terminal initiating a public device access request, so that the first terminal displays an authority control page according to the first notification.
Specifically, a terminal used by the application user is defined as a first terminal, and after receiving a public device access request sent by the first terminal within the application time period, the internet of things open platform sends a first notification to the first terminal. The first notification can carry page data used for generating the authority control page, and after receiving the first notification, the first terminal can extract the page data from the first notification, so that the corresponding authority control page is generated and displayed. The first terminal may also pre-define the permission control page in the local social application, so that after receiving the first notification for triggering the permission control page, the first terminal jumps to the permission control page.
And 1104, receiving an authority limit release command triggered by the first terminal according to the detected operation on the authority control page.
At step 1106, the restriction on the public access rights is lifted.
In particular, the authority control page may be used to control the public device access authority corresponding to the public device identifier, such as releasing the limitation on the public device access authority, or restoring the public device access authority, and may further limit or restore individual authority in the public device access authority. The first terminal can trigger an authority limit removing command and send the authority limit removing command to the Internet of things open platform when detecting the operation on the displayed authority control page, and the Internet of things open platform removes the limit on the public access authority after receiving the authority limit removing command.
Furthermore, the Internet of things open platform can also receive an authority limit command triggered by the first terminal according to the detected operation on the authority control page, and further limit the public access authority according to the authority limit command.
In the embodiment, in the application time period, the application user can remove the limitation on the public device access authority corresponding to the public device identifier through the first terminal, so that the application user can interact with the public user through controlling the public device authority in the application time period, a brand-new interaction mode is provided, and the user viscosity can be increased.
In one embodiment, the public device is a webcam; the processing corresponding to the public access authority on the public device access request specifically includes: if the public access authority corresponding to the public equipment identifier is limited, sending a second notification to a second terminal initiating a public equipment access request, so that the second terminal displays a preset picture according to the second notification; and if the public access authority corresponding to the public equipment identifier is not limited, acquiring the video stream from the public equipment and sending the video stream to the second terminal.
Specifically, the preset picture may be generated according to the activity preview information, may be an advertisement, and may be another picture for applying for user customization. The preset pictures can adopt pictures, animation or videos. The preset picture can be pushed to the second terminal through the first notification, and can also be stored locally in the second terminal. The second terminal sends a public device access request to the Internet of things open platform, and if the Internet of things open platform detects that the public access authority corresponding to the public device identification is limited, the second terminal can display a preset picture by sending a second notification to the second terminal, so that the video stream of the public device cannot be acquired. And if the thing connection open platform detects that the public access authority corresponding to the public equipment identifier is not limited, the thing connection open platform can acquire the video stream from the public equipment according to the public equipment access request and forwards the video stream to the second terminal.
In this embodiment, the application user can make the public user watch the preset picture or the video stream from the network camera by limiting or removing the public device access right of the network camera serving as the public device. Therefore, the application user can utilize the network camera to engage in various legal activities within a limited time period and control pictures seen by public users, so that the interaction between the users is more flexible and convenient.
For example, referring to fig. 12, if the public device is a network camera, and within the application time period, if the internet of things open platform receives a public device access request sent by a second terminal used by a public user, and if the public device access authority of the public device is limited, the second terminal is notified to display a preset screen containing activity preview information, where the activity preview information may be generated according to information selected and/or entered by the user on an application occupation page.
When the first terminal accesses the network camera serving as the public device, the first terminal is notified by the internet of things open platform to display the authority control page shown in fig. 13, where the authority control page includes an authority limit switch control for triggering an authority limit release command and an authority limit command. The permission limit switch control may specifically be a sliding unlocking control, a password input control, a gesture decryption control, or the like. The rights control page may also show video streams from public devices, and may also show preset pictures that can be seen by public users.
After the first terminal triggers the permission restriction removing command to be sent to the internet of things opening platform through the permission restriction switch control, the internet of things opening platform removes the restriction on the access permission of the public equipment, at the moment, referring to fig. 14, the second terminal does not display the preset picture any more, but displays the video stream from the public equipment
In one embodiment, the internet of things open platform can receive a comment command triggered by the second terminal when the video stream is displayed, so that comment content is extracted from the comment command and stored. The comment content can be a text comment, and can also be quick comment content representing support and objection, such as 'like' or 'step'.
In one embodiment, the internet of things open platform may also start to record the video stream from the beginning of the applied time period or from the time when the limitation of the public equipment authority is removed, and store the video stream as a video file. The internet of things open platform can also receive and store bullet screen information sent by the second terminal, and the bullet screen information is associated with the video file and comprises a bullet screen display position and a timestamp.
In one embodiment, the internet of things open platform may further notify the administrator of the third terminal to which the account is logged in when the application time period starts or before a preset time length before the start of the application time period, and push the video stream from the public device to the third terminal. And the third terminal detects the public device access authority control instruction and sends the public device access authority control instruction to the Internet of things open platform, so that the Internet of things open platform limits the public device access authority and/or the private control authority corresponding to the current public device identifier.
In this embodiment, in the application time period, when the application user controls the network camera, if the administrator finds that the video stream collected by the network camera is not suitable for being watched by the public user, the administrator can perform appropriate processing by limiting the access right and/or the private control right of the public device at any time, so as to ensure the legitimacy of the content watched by the public.
In one embodiment, the internet of things open platform may further receive a reporting command triggered by the second terminal when the video stream is displayed, count the number of reporting users, and limit the access right and/or the private control right of the public device corresponding to the current public device identifier when the number of reporting users exceeds a preset number. The internet of things open platform can also inform the administrator of the third terminal logged in by the account so as to inform the administrator of further processing.
In this embodiment, in the time period of applying for the user application, when a public user watches a video stream from a public device, if the video content is found to be illegal or not suitable for the public to watch, the public user can actively inform the internet of things open platform in a reporting manner. If the Internet of things open platform receives reports of a sufficient number of public users, the reports can be determined to be correct, and the third terminal of the public user can be prohibited from continuously receiving the video stream or the application user is prohibited from further controlling the public device in a mode of limiting the access authority and/or the private control authority of the public device, so that the legality of the content watched by the public is guaranteed.
As shown in fig. 15, in one embodiment, there is provided a common device reservation control apparatus 1500 having functional modules that implement the common device reservation control methods of the respective embodiments described above. The common device reservation control apparatus 1500 specifically includes a request receiving module 1510, a request processing module 1520, a storage module 1530, and an authority control module 1540.
The request receiving module 1510 is configured to receive an occupation application request for occupying a public device.
The request processing module 1520 is configured to obtain an application user identifier, an application occupied public device identifier, and an application occupied time period according to the application occupation request.
The storage module 1530 is configured to store a corresponding relationship between the application user identifier, the public device identifier, and the time period.
And the authority control module 1540 is configured to grant the private control authority corresponding to the public device identifier to the application user identifier in the time period according to the corresponding relationship.
After receiving the request for applying for occupying the public device, the public device reservation control apparatus 1500 may obtain the application user identifier, the public device identifier for applying for occupation, and the time period for applying for occupation, and store the corresponding correspondence. Therefore, according to the corresponding relation, the private control authority can be opened to the application user in the application time period. Therefore, the public device is still the public device outside the time period for applying for the user, and is changed into the device for applying for the private control of the user in the time period, and the applying user can actively carry out the remote control operation which is allowed by the private control authority and not allowed by the public access authority on the public device in the time period for applying, so that the utilization rate of the public device is further improved.
As shown in fig. 16, in one embodiment, the common device reservation control apparatus 1500 further includes: a query module 1550 and a timing module 1560.
A query module 1550 for querying the time period in the idle state corresponding to the public device identity. And displaying the inquired time period through an application occupation page corresponding to the public equipment identification.
A timing module 1560, configured to start timing when receiving an apply for occupancy request triggered for the presented time period.
The request processing module 1520 includes: a first processing module 1521 and a second processing module 1522.
The first processing module 1521 is configured to, if the timing duration reaches a preset duration, obtain an application user identifier, an application occupied public device identifier, and an application occupied time period according to an application occupation request that triggers current timing, and update a state of the time period to an occupied state after storing a corresponding relationship.
The second processing module 1522 is configured to, if a new request for applying for occupation is received before the timing duration reaches the preset duration, count again since the new request for applying for occupation is received.
In one embodiment, the request receiving module 1510 is further configured to receive a public device access request corresponding to a public device identity.
As shown in fig. 17, the request processing module 1520 includes: a subscriber identity acquisition module 1523, a third processing module 1524 and a fourth processing module 1525 are accessed.
An accessing user identifier obtaining module 1523, configured to obtain an accessing user identifier according to the public device accessing request.
A third processing module 1524, configured to perform, if the current time is within the time period and the access user identifier is matched with the application user identifier, processing corresponding to the private control authority on the public device access request.
A fourth processing module 1525, configured to, if the access user identifier is not matched with the application user identifier, perform processing corresponding to a public access right on the public device access request, where the public access right corresponds to the public device identifier.
In one embodiment, the privilege control module 1540 is further configured to restrict the public access privileges corresponding to the public device identification at the beginning of the time period.
The third processing module 1524 is specifically configured to send a first notification to the first terminal that initiates the public device access request, so that the first terminal displays the right control page according to the first notification. And receiving an authority limit removal command triggered by the first terminal according to the detected operation on the authority control page. The restriction on the public access right is released.
In one embodiment, the public device is a webcam. The fourth processing module 1525 is specifically configured to send a second notification to the second terminal that initiates the public device access request if the public access right corresponding to the public device identifier is limited, so that the second terminal displays the preset picture according to the second notification. And if the public access authority corresponding to the public equipment identifier is not limited, acquiring the video stream from the public equipment and sending the video stream to the second terminal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A public device reservation control method, the method comprising:
inquiring the time period in an idle state corresponding to the public equipment identifier;
displaying the searched time period through an application occupation page corresponding to the public equipment identifier;
receiving an occupation application request for applying for occupying the public equipment, which is triggered aiming at the displayed time period;
acquiring an application user identifier, an application occupied public equipment identifier and an application occupied time period according to the application occupation request;
storing the corresponding relation between the application user identification, the public equipment identification and the time period; updating the state of the time period from the idle state to an occupied state;
according to the corresponding relation, in an occupied time period, a private control authority corresponding to the public equipment identifier is granted to the application user identifier; the private control authority comprises individual authority or all authority in the access authority of the limited or recovered public equipment and private control authority sharing or transferring to the social friends;
and in an idle state, granting public access rights to the public device identifier.
2. The method of claim 1, further comprising:
starting timing when receiving the request for applying occupation triggered by the displayed time period;
if the timing duration reaches the preset duration, acquiring an application user identifier, an application occupied public equipment identifier and an application occupied time period according to an application occupation request triggering the current timing, and updating the state of the time period to be an occupied state after storing the corresponding relation;
and if a new request for applying for occupation is received before the timing duration reaches the preset duration, timing again from the reception of the new request for applying for occupation.
3. The method of claim 1, further comprising:
receiving a public equipment access request corresponding to the public equipment identifier;
obtaining an access user identifier according to the public equipment access request;
if the current time is within the time period and the access user identification is matched with the application user identification, processing the public equipment access request corresponding to the private control authority;
and if the access user identification is not matched with the application user identification, processing the public equipment access request corresponding to public access authority, wherein the public access authority corresponds to the public equipment identification.
4. The method of claim 3, further comprising:
when the time period begins, limiting public access authority corresponding to the public equipment identification;
the processing of the public device access request corresponding to the private control authority includes:
sending a first notification to a first terminal initiating the public device access request, so that the first terminal displays a permission control page according to the first notification;
receiving an authority limit removal command triggered by the first terminal according to the detected operation on the authority control page;
and releasing the limitation on the public access right.
5. The method of claim 4, wherein the common device is a webcam; the processing corresponding to the public access authority on the public device access request comprises the following steps:
if the public access authority corresponding to the public equipment identifier is limited, sending a second notification to a second terminal initiating the public equipment access request, so that the second terminal displays a preset picture according to the second notification;
and if the public access authority corresponding to the public equipment identifier is not limited, acquiring a video stream from the public equipment, and sending the video stream to the second terminal.
6. A public equipment reservation control apparatus, characterized in that the apparatus comprises:
the request receiving module is used for inquiring the time period in the idle state corresponding to the public equipment identifier; displaying the searched time period through an application occupation page corresponding to the public equipment identifier; receiving an occupation application request for applying for occupying the public equipment, which is triggered aiming at the displayed time period;
the request processing module is used for acquiring an application user identifier, an application occupied public equipment identifier and an application occupied time period according to the application occupation request;
the storage module is used for storing the corresponding relation among the application user identification, the public equipment identification and the time period; updating the state of the time period from the idle state to an occupied state;
the authority control module is used for granting the private control authority of the application user identifier corresponding to the public equipment identifier in an occupied time period according to the corresponding relation; the private control authority comprises individual authority or all authority in the access authority of the limited or recovered public equipment and private control authority sharing or transferring to the social friends; and in an idle state, granting public access rights to the public device identifier.
7. The apparatus of claim 6, further comprising:
the timing module is used for starting timing when the request for applying for occupation triggered aiming at the displayed time period is received;
the request processing module comprises:
the first processing module is used for acquiring an application user identifier, an application occupied public equipment identifier and an application occupied time period according to an application occupation request triggering current timing if the timing duration reaches a preset duration, and updating the state of the time period into an occupied state after storing the corresponding relation;
and the second processing module is used for re-timing from the time when the new occupation application request is received before the timing duration reaches the preset duration.
8. The apparatus of claim 6, wherein the request receiving module is further configured to receive a public device access request corresponding to the public device identifier;
the request processing module comprises:
the access user identification acquisition module is used for acquiring the access user identification according to the public equipment access request;
the third processing module is used for processing the public equipment access request corresponding to the private control authority if the current time is within the time period and the access user identifier is matched with the application user identifier;
and the fourth processing module is used for processing the public equipment access request corresponding to public access authority if the access user identifier is not matched with the application user identifier, wherein the public access authority corresponds to the public equipment identifier.
9. The apparatus of claim 8, wherein the permission control module is further configured to restrict public access permissions corresponding to the public device identities at a beginning of the time period;
the third processing module is specifically configured to send a first notification to a first terminal that initiates the public device access request, so that the first terminal displays an authority control page according to the first notification; receiving an authority limit removal command triggered by the first terminal according to the detected operation on the authority control page; and releasing the limitation on the public access right.
10. The apparatus of claim 9, wherein the common device is a webcam; the fourth processing module is specifically configured to send a second notification to a second terminal that initiates the public device access request if the public access right corresponding to the public device identifier is limited, so that the second terminal displays a preset picture according to the second notification; and if the public access authority corresponding to the public equipment identifier is not limited, acquiring a video stream from the public equipment, and sending the video stream to the second terminal.
11. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201510992685.7A 2015-12-25 2015-12-25 Public equipment reservation control method and device Active CN106921617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510992685.7A CN106921617B (en) 2015-12-25 2015-12-25 Public equipment reservation control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510992685.7A CN106921617B (en) 2015-12-25 2015-12-25 Public equipment reservation control method and device

Publications (2)

Publication Number Publication Date
CN106921617A CN106921617A (en) 2017-07-04
CN106921617B true CN106921617B (en) 2020-08-04

Family

ID=59457218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510992685.7A Active CN106921617B (en) 2015-12-25 2015-12-25 Public equipment reservation control method and device

Country Status (1)

Country Link
CN (1) CN106921617B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108023727B (en) * 2017-11-27 2021-04-09 深圳市纳祥科技有限公司 Authorization method and system thereof
CN110597102A (en) * 2018-06-13 2019-12-20 佛山市顺德区美的电热电器制造有限公司 Method, apparatus, computer device and storage medium for controlling a kitchen system
CN111833024A (en) * 2020-07-20 2020-10-27 北京百度网讯科技有限公司 Method, apparatus, device and storage medium for outputting information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011038226A2 (en) * 2009-09-24 2011-03-31 Getthere L.P. Collaboration and travel ecosystem
CN103518371A (en) * 2013-03-19 2014-01-15 华为技术有限公司 Meeting place booking method, device and meeting system
CN104851292A (en) * 2015-05-16 2015-08-19 石立公 Parking lot carport reservation system and method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132714A (en) * 2000-10-27 2002-05-10 Hitachi Ltd Method and device for providing service
CN101515358A (en) * 2009-04-14 2009-08-26 谢晓明 On-line auction method and on-line auction system
US8799037B2 (en) * 2010-10-14 2014-08-05 Palto Alto Research Center Incorporated Computer-implemented system and method for managing motor vehicle parking reservations
CN104899483B (en) * 2015-04-23 2018-04-13 中山大学 A kind of start method for verifying authority and system based on intelligent terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011038226A2 (en) * 2009-09-24 2011-03-31 Getthere L.P. Collaboration and travel ecosystem
CN103518371A (en) * 2013-03-19 2014-01-15 华为技术有限公司 Meeting place booking method, device and meeting system
CN104851292A (en) * 2015-05-16 2015-08-19 石立公 Parking lot carport reservation system and method thereof

Also Published As

Publication number Publication date
CN106921617A (en) 2017-07-04

Similar Documents

Publication Publication Date Title
CN105610949B (en) Resource data use permission sharing method, device and system
US10470085B2 (en) Sharing of network resources within a managed network
US9111143B2 (en) Method and apparatus for image collection and analysis
CN105337974B (en) Account authorization method, account login method, account authorization device and client
US20160119438A1 (en) Systems and methods of sharing media and data content across devices through local proximity
CN104346548A (en) Wearable equipment and authentication method thereof
CN106919989B (en) Room online booking method and device based on Internet of things open platform
CN103685423A (en) Information receiving method, device and system
CN106921617B (en) Public equipment reservation control method and device
US9251316B2 (en) Content sharing system, information communication apparatus, content sharing method, and communication method
CN113315869B (en) Content display method, content display device, electronic equipment, content display system and storage medium
CN105141978A (en) Video access control method, video access control device and cloud server
CN106385397B (en) Method and device for access control and type configuration of network access equipment
US20180262720A1 (en) Method and Apparatus for Managing Provisioning of an Imaging System
JP2015232853A (en) Object image information management server, object relevant information management server, and program
CN105404808B (en) A kind of mobile terminal and its method for broadcasting multimedia file
CN109076126B (en) Permission updating method and terminal equipment
US9641501B2 (en) Content sharing system, content sharing method, and information communication apparatus
KR102406501B1 (en) Data sharing method among passengers of vehicle and system thereof
CN112100505A (en) Content pushing method and device, computer equipment and storage medium
CN112256424A (en) Virtual resource processing method, device and system, electronic equipment and storage medium
CN106330899A (en) Private cloud device account management method and system, electronic device and server
CN114501566A (en) Network switching method and device
KR101535977B1 (en) System and method for acting golf course reservation as a proxy
CN103262495A (en) Method for transferring multimedia data over a network

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