Disclosure of Invention
In order to solve the technical problems in the related art, the present disclosure provides an internet-based parking method, device and system.
In a first aspect, an internet-based parking method is provided, which is applied to a parking lot server, and includes:
acquiring a device mac address and a communication protocol of a target terminal device, and determining a permission information list corresponding to a privacy encryption field in the communication protocol and a link address of a communication link matched with the device mac address and used for transmitting the permission information list from a preset database; the target terminal equipment is terminal equipment corresponding to a first vehicle parked in a target parking lot corresponding to the parking lot server;
generating request information for acquiring user data acquisition authorization of the target terminal equipment according to the authority information list and the link address, and sending the request information to the target terminal equipment;
if an authorization instruction fed back by the target terminal equipment based on the request information is received within a set time length, acquiring user behavior data from the target terminal equipment; extracting a plurality of groups of data category information corresponding to the user behavior data and determining time-consuming duration grade and behavior priority grade corresponding to each group of data category information; weighting each time-consuming duration grade according to the behavior priority to obtain a target duration grade corresponding to each time-consuming duration grade, and calculating parking duration information corresponding to the first vehicle according to the target duration grade;
and determining a parking space distribution diagram of the target parking lot based on the parking duration information, generating a parking schedule according to the parking space distribution diagram, and sending the parking schedule to other terminal devices communicated with the parking lot server to determine the time when a second vehicle corresponding to the other terminal devices enters the target parking lot.
Preferably, determining, from a preset database, a permission information list corresponding to a privacy encryption field in the communication protocol and a link address of a communication link for permission information list transmission, which matches the mac address of the device, includes:
extracting protocol fields with encryption identifiers in the communication protocol according to target data of the preset database for indicating encryption logic, analyzing the encryption identifiers to obtain encryption logic information corresponding to each protocol field, calculating a key pairing sequence of the encryption logic information and determining pairing weight of the key pairing sequence, sequencing the protocol fields according to the magnitude sequence of the pairing weight to obtain a sequencing sequence, selecting a set number of protocol fields at the front of the sequencing sequence as privacy encryption fields, and determining an authority information list corresponding to the privacy encryption fields according to the key pairing sequence corresponding to the privacy encryption fields;
determining a communication link of the authority information list according to format information of list data of the authority information list; analyzing a link layer protocol of the communication link to obtain a plurality of reference mac addresses;
and determining an address corresponding list corresponding to the plurality of reference mac addresses from the database, and finding out the link address matched with the equipment mac address in the address corresponding list.
Preferably, the generating, according to the permission information list and the link address, request information for obtaining user data acquisition authorization of the target terminal device includes:
determining a permission type set corresponding to the permission information list and an address distribution sequence corresponding to the link address;
judging whether the number of first elements in the permission category set is the same as the number of second elements in the address distribution sequence or not; the first element is authority category information, and the second element is address code information;
when the number of the first elements is the same as that of the second elements, establishing a mapping relation between the permission category set and the address distribution sequence according to the association coefficient between the first elements and the second elements;
and establishing a conversion list of the authority information list and the link address based on the mapping relation, and generating request information for acquiring user data acquisition authorization of the target terminal equipment according to the list weight and the list centrality of each list unit in the conversion list.
Preferably, extracting a plurality of groups of data category information corresponding to the user behavior data and determining a time-consuming duration level and a behavior priority level corresponding to each group of data category information; weighting each time-consuming duration grade according to the behavior priority to obtain a target duration grade corresponding to each time-consuming duration grade, and calculating parking duration information corresponding to the first vehicle according to the target duration grade, wherein the parking duration information comprises:
importing the user behavior data into a storage space corresponding to a preset category identification thread, adding data signature information to the user behavior data, enabling the category identification thread to extract target fields in the user behavior data based on the data signature information by operating the category identification thread, determining field description information of each target field, and obtaining data category information corresponding to the target fields according to the field description information; acquiring record information generated by the category identification thread during operation, and calculating the time-consuming duration grade and the behavior priority corresponding to each group of data category information based on the record time included in the record information; the sum of the first calculation weight of the time-consuming duration grade and the second calculation weight of the corresponding behavior priority is smaller than a set numerical value;
weighting a first evaluation coefficient corresponding to the time-consuming duration grade based on a second calculation weight corresponding to the behavior priority to obtain a second evaluation coefficient, and determining a target duration grade corresponding to the second evaluation coefficient according to the corresponding relation between the first evaluation coefficient and the time-consuming duration grade;
determining a first parking duration corresponding to each target duration grade, judging whether a matching coefficient between the first parking duration and the corresponding target duration grade reaches a target value, and if so, marking the first parking duration to obtain a second parking duration; if not, filtering the first parking time length; and summing the second parking duration to obtain parking duration information corresponding to the first vehicle.
In a second aspect, an internet-based parking apparatus is provided, which is applied to a parking server, and comprises:
the system comprises an acquisition module, a communication module and a processing module, wherein the acquisition module is used for acquiring a device mac address and a communication protocol of target terminal equipment, and determining a permission information list corresponding to a privacy encryption field in the communication protocol and a link address of a communication link matched with the device mac address and used for transmitting the permission information list from a preset database; the target terminal equipment is terminal equipment corresponding to a first vehicle parked in a target parking lot corresponding to the parking lot server;
a sending module, configured to generate, according to the permission information list and the link address, request information for obtaining user data acquisition authorization of the target terminal device, and send the request information to the target terminal device;
the computing module is used for collecting user behavior data from the target terminal equipment if an authorization instruction fed back by the target terminal equipment based on the request information is received within a set time length; extracting a plurality of groups of data category information corresponding to the user behavior data and determining time-consuming duration grade and behavior priority grade corresponding to each group of data category information; weighting each time-consuming duration grade according to the behavior priority to obtain a target duration grade corresponding to each time-consuming duration grade, and calculating parking duration information corresponding to the first vehicle according to the target duration grade;
the generating module is used for determining a parking space distribution map of the target parking lot based on the parking duration information, generating a parking schedule according to the parking space distribution map, and sending the parking schedule to other terminal devices communicated with the parking lot server to determine the time when a second vehicle corresponding to the other terminal devices drives into the target parking lot.
Preferably, the obtaining module is configured to:
extracting protocol fields with encryption identifiers in the communication protocol according to target data of the preset database for indicating encryption logic, analyzing the encryption identifiers to obtain encryption logic information corresponding to each protocol field, calculating a key pairing sequence of the encryption logic information and determining pairing weight of the key pairing sequence, sequencing the protocol fields according to the magnitude sequence of the pairing weight to obtain a sequencing sequence, selecting a set number of protocol fields at the front of the sequencing sequence as privacy encryption fields, and determining an authority information list corresponding to the privacy encryption fields according to the key pairing sequence corresponding to the privacy encryption fields;
determining a communication link of the authority information list according to format information of list data of the authority information list; analyzing a link layer protocol of the communication link to obtain a plurality of reference mac addresses;
and determining an address corresponding list corresponding to the plurality of reference mac addresses from the database, and finding out the link address matched with the equipment mac address in the address corresponding list.
Preferably, the sending module is configured to:
determining a permission type set corresponding to the permission information list and an address distribution sequence corresponding to the link address;
judging whether the number of first elements in the permission category set is the same as the number of second elements in the address distribution sequence or not; the first element is authority category information, and the second element is address code information;
when the number of the first elements is the same as that of the second elements, establishing a mapping relation between the permission category set and the address distribution sequence according to the association coefficient between the first elements and the second elements;
and establishing a conversion list of the authority information list and the link address based on the mapping relation, and generating request information for acquiring user data acquisition authorization of the target terminal equipment according to the list weight and the list centrality of each list unit in the conversion list.
Preferably, the calculation module is configured to:
importing the user behavior data into a storage space corresponding to a preset category identification thread, adding data signature information to the user behavior data, enabling the category identification thread to extract target fields in the user behavior data based on the data signature information by operating the category identification thread, determining field description information of each target field, and obtaining data category information corresponding to the target fields according to the field description information; acquiring record information generated by the category identification thread during operation, and calculating the time-consuming duration grade and the behavior priority corresponding to each group of data category information based on the record time included in the record information; the sum of the first calculation weight of the time-consuming duration grade and the second calculation weight of the corresponding behavior priority is smaller than a set numerical value;
weighting a first evaluation coefficient corresponding to the time-consuming duration grade based on a second calculation weight corresponding to the behavior priority to obtain a second evaluation coefficient, and determining a target duration grade corresponding to the second evaluation coefficient according to the corresponding relation between the first evaluation coefficient and the time-consuming duration grade;
determining a first parking duration corresponding to each target duration grade, judging whether a matching coefficient between the first parking duration and the corresponding target duration grade reaches a target value, and if so, marking the first parking duration to obtain a second parking duration; if not, filtering the first parking time length; and summing the second parking duration to obtain parking duration information corresponding to the first vehicle.
In a third aspect, an internet-based parking system is provided, comprising a parking lot server, and a target terminal device and other terminal devices in communication with the parking lot server; the parking lot server is used for:
acquiring a device mac address and a communication protocol of a target terminal device, and determining a permission information list corresponding to a privacy encryption field in the communication protocol and a link address of a communication link matched with the device mac address and used for transmitting the permission information list from a preset database; the target terminal equipment is terminal equipment corresponding to a first vehicle parked in a target parking lot corresponding to the parking lot server;
generating request information for acquiring user data acquisition authorization of the target terminal equipment according to the authority information list and the link address, and sending the request information to the target terminal equipment;
if an authorization instruction fed back by the target terminal equipment based on the request information is received within a set time length, acquiring user behavior data from the target terminal equipment; extracting a plurality of groups of data category information corresponding to the user behavior data and determining time-consuming duration grade and behavior priority grade corresponding to each group of data category information; weighting each time-consuming duration grade according to the behavior priority to obtain a target duration grade corresponding to each time-consuming duration grade, and calculating parking duration information corresponding to the first vehicle according to the target duration grade;
and determining a parking space distribution diagram of the target parking lot based on the parking duration information, generating a parking schedule according to the parking space distribution diagram, and sending the parking schedule to other terminal devices communicated with the parking lot server to determine the time when a second vehicle corresponding to the other terminal devices enters the target parking lot.
Preferably, the parking lot server extracts a plurality of groups of data category information corresponding to the user behavior data and determines a time-consuming duration level and a behavior priority level corresponding to each group of data category information; weighting each time-consuming duration grade according to the behavior priority to obtain a target duration grade corresponding to each time-consuming duration grade, wherein calculating parking duration information corresponding to the first vehicle according to the target duration grade specifically comprises:
importing the user behavior data into a storage space corresponding to a preset category identification thread, adding data signature information to the user behavior data, enabling the category identification thread to extract target fields in the user behavior data based on the data signature information by operating the category identification thread, determining field description information of each target field, and obtaining data category information corresponding to the target fields according to the field description information; acquiring record information generated by the category identification thread during operation, and calculating the time-consuming duration grade and the behavior priority corresponding to each group of data category information based on the record time included in the record information; the sum of the first calculation weight of the time-consuming duration grade and the second calculation weight of the corresponding behavior priority is smaller than a set numerical value;
weighting a first evaluation coefficient corresponding to the time-consuming duration grade based on a second calculation weight corresponding to the behavior priority to obtain a second evaluation coefficient, and determining a target duration grade corresponding to the second evaluation coefficient according to the corresponding relation between the first evaluation coefficient and the time-consuming duration grade;
determining a first parking duration corresponding to each target duration grade, judging whether a matching coefficient between the first parking duration and the corresponding target duration grade reaches a target value, and if so, marking the first parking duration to obtain a second parking duration; if not, filtering the first parking time length; and summing the second parking duration to obtain parking duration information corresponding to the first vehicle.
According to the parking method, the parking device and the parking system based on the Internet, firstly, a permission information list corresponding to a privacy encryption field in a communication protocol and a link address matched with an equipment mac address are determined from a preset database, secondly, request information is generated according to the permission information list and the link address and is sent to target terminal equipment, then, user behavior data are collected from the target terminal equipment when an authorization instruction is received, parking duration information corresponding to a first vehicle is calculated based on the user behavior data, finally, a parking space distribution diagram of a target parking lot is determined based on the parking duration information, a parking time table is generated, and the parking time table is sent to other terminal equipment to determine the time when a second vehicle drives into the target parking lot. Therefore, the situation that the vehicles are jammed at the entrance and the exit of the parking lot due to disorder in vehicle parking management can be avoided.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
In order to solve the above problem, embodiments of the present invention provide an internet-based parking method, an internet-based parking device, and an internet-based parking system, which can analyze user behavior data of a terminal device on the premise of obtaining authorization of the terminal device, thereby accurately determining a parking duration of a vehicle corresponding to the terminal device, further adjusting a vehicle scheduling mode of a parking lot according to the parking duration, and providing a driving schedule for other vehicles that are about to park in the parking lot. Therefore, the situation that the vehicles are jammed at the entrance and the exit of the parking lot due to disorder in vehicle parking management can be avoided.
Referring to fig. 1, a flowchart of an internet-based parking method applied to a parking lot server is provided, and the method may include the following steps S110 to S140.
S110, acquiring a device mac address and a communication protocol of a target terminal device, and determining a permission information list corresponding to a privacy encryption field in the communication protocol and a link address of a communication link matched with the device mac address and used for transmitting the permission information list from a preset database; the target terminal device is a terminal device corresponding to a first vehicle parked in a target parking lot corresponding to the parking lot server.
And S120, generating request information for acquiring user data acquisition authorization of the target terminal equipment according to the authority information list and the link address, and sending the request information to the target terminal equipment.
S130, if an authorization instruction fed back by the target terminal equipment based on the request information is received within a set time length, acquiring user behavior data from the target terminal equipment; extracting a plurality of groups of data category information corresponding to the user behavior data and determining time-consuming duration grade and behavior priority grade corresponding to each group of data category information; and weighting each time-consuming duration grade according to the behavior priority to obtain a target duration grade corresponding to each time-consuming duration grade, and calculating parking duration information corresponding to the first vehicle according to the target duration grade.
And S140, determining a parking space distribution map of the target parking lot based on the parking duration information, generating a parking schedule according to the parking space distribution map, and sending the parking schedule to other terminal devices communicated with the parking lot server to determine the time when a second vehicle corresponding to the other terminal devices enters the target parking lot.
In specific implementation, by executing the steps S110 to S140, firstly, an authority information list corresponding to the privacy encryption field in the communication protocol and a link address matching with the device mac address are determined from a preset database, secondly, request information is generated according to the authority information list and the link address and is sent to the target terminal device, then, when an authorization instruction is received, user behavior data is collected from the target terminal device, parking duration information corresponding to the first vehicle is calculated based on the user behavior data, and finally, a parking space distribution diagram of the target parking lot is determined based on the parking duration information, a parking time table is generated, and the parking time table is sent to other terminal devices to determine the time when the second vehicle drives into the target parking lot. Therefore, the situation that the vehicles are jammed at the entrance and the exit of the parking lot due to disorder in vehicle parking management can be avoided.
In one possible embodiment, in order to accurately determine the permission information list and the link address, the step S110 of determining, from a preset database, the permission information list corresponding to the privacy encryption field in the communication protocol and the link address of the communication link for permission information list transmission matching with the mac address of the device may specifically include the following steps S111 to S113.
Step S111, extracting protocol fields with encryption identifiers in the communication protocol according to target data of the preset database for indicating encryption logic, analyzing the encryption identifiers to obtain encryption logic information corresponding to each protocol field, calculating a key pairing sequence of the encryption logic information and determining pairing weights of the key pairing sequence, sequencing the protocol fields according to the magnitude sequence of the pairing weights to obtain a sequencing sequence, selecting a set number of protocol fields at the front of the sequencing sequence as privacy encryption fields, and determining an authority information list corresponding to the privacy encryption fields according to the key pairing sequence corresponding to the privacy encryption fields.
Step S112, determining a communication link of the authority information list according to the format information of the list data of the authority information list; and analyzing the link layer protocol of the communication link to obtain a plurality of reference mac addresses.
Step S113, determining an address correspondence list corresponding to the reference mac addresses from the database, and finding a link address matching the mac address of the device in the address correspondence list.
By performing the above-described steps S111 to S113, the authority information list and the link address can be accurately determined.
In a specific implementation, in order to avoid that the request information is mistakenly judged as the harmful information by the target terminal device and is deleted by the target terminal device, the step S120 of generating the request information for obtaining the user data acquisition authorization of the target terminal device according to the permission information list and the link address may specifically include the following contents described in step S121 to step S124.
Step S121, determining a permission type set corresponding to the permission information list and an address distribution sequence corresponding to the link address.
Step S122, judging whether the number of first elements in the permission category set is the same as the number of second elements in the address distribution sequence; the first element is authority category information, and the second element is address code information.
Step S123, when the number of the first elements is the same as the number of the second elements, establishing a mapping relationship between the permission type set and the address distribution sequence according to the correlation coefficient between the first elements and the second elements.
Step S124, establishing a conversion list of the permission information list and the link address based on the mapping relationship, and generating request information for obtaining user data acquisition authorization of the target terminal device according to the list weight and the list centrality of each list unit in the conversion list.
Through the content described in the above steps S121 to S124, it is possible to avoid that the request information is mistakenly judged as harmful information by the target terminal device and is deleted by the target terminal device, thereby ensuring that the target terminal device receives the request information completely.
In a possible implementation manner, in order to accurately obtain the parking duration information, the step S130 is described to extract multiple sets of data category information corresponding to the user behavior data and determine the time-consuming duration level and the behavior priority level corresponding to each set of data category information; weighting each time-consuming duration grade according to the behavior priority to obtain a target duration grade corresponding to each time-consuming duration grade, and calculating parking duration information corresponding to the first vehicle according to the target duration grade, which may specifically include the contents described in the following steps S131 to S133.
Step S131, importing the user behavior data into a storage space corresponding to a preset category identification thread, adding data signature information to the user behavior data, enabling the category identification thread to extract target fields in the user behavior data based on the data signature information by operating the category identification thread, determining field description information of each target field, and obtaining data category information corresponding to the target fields according to the field description information; acquiring record information generated by the category identification thread during operation, and calculating the time-consuming duration grade and the behavior priority corresponding to each group of data category information based on the record time included in the record information; and the sum of the first calculation weight of the time-consuming duration grade and the second calculation weight of the corresponding action priority is less than a set numerical value.
Step S132, weighting the first evaluation coefficient corresponding to the time-consuming duration grade based on the second calculation weight corresponding to the behavior priority to obtain a second evaluation coefficient, and determining a target duration grade corresponding to the second evaluation coefficient according to the corresponding relation between the first evaluation coefficient and the time-consuming duration grade.
Step S133, determining a first parking duration corresponding to each target duration grade, judging whether a matching coefficient between the first parking duration and the corresponding target duration grade reaches a target value, and if so, marking the first parking duration to obtain a second parking duration; if not, filtering the first parking time length; and summing the second parking duration to obtain parking duration information corresponding to the first vehicle.
When the contents described in the above-described step S131 to step S133 are executed, the parking duration information can be accurately obtained.
In an alternative embodiment, the determining the parking space profile of the target parking lot based on the parking duration information in step S140 and generating the parking schedule according to the parking space profile may specifically include the following steps S141 to S143.
Step S141, obtaining the positioning information of each parked vehicle of the target parking lot, calculating the remaining duration information of each positioning information relative to the parking duration information, and performing zone division on the parked vehicle corresponding to the positioning information according to the remaining duration information to obtain a plurality of parking zones corresponding to the target parking lot.
And step S142, calculating a correlation coefficient between the average remaining parking time of each parking area and the vacant parking space corresponding to the parking area, and calculating the vehicle-crossing time corresponding to the driving path between two adjacent parking areas based on the correlation technology to obtain the vehicle-crossing accumulated time corresponding to the target parking lot.
Step S143, generating a parking space distribution diagram of the target parking lot according to each positioning information and the accumulated time of the wrong vehicle, listing parking path information corresponding to vacant parking spaces in the parking space distribution diagram, and generating a parking schedule based on the parking path information and the remaining time information of each positioning information relative to the parking time information.
It can be understood that, when the contents described in the above steps S141 to S143 are executed, the parking schedule can be accurately generated, so that the ordered scheduling of the target parking lot is realized, and the phenomenon of congestion at the entrance and exit of the target parking lot is avoided.
Based on the same inventive concept, please refer to fig. 2 in combination, a functional block diagram of an internet-based parking apparatus 200 is provided, which is applied to a parking lot server, and the apparatus includes:
an obtaining module 210, configured to obtain a device mac address and a communication protocol of a target terminal device, and determine, from a preset database, a permission information list corresponding to a privacy encryption field in the communication protocol and a link address of a communication link, which is matched with the device mac address and used for transmitting the permission information list; the target terminal equipment is terminal equipment corresponding to a first vehicle parked in a target parking lot corresponding to the parking lot server;
a sending module 220, configured to generate, according to the permission information list and the link address, request information for obtaining user data acquisition authorization of the target terminal device, and send the request information to the target terminal device;
a calculating module 230, configured to collect user behavior data from the target terminal device if an authorization instruction fed back by the target terminal device based on the request information is received within a set time length; extracting a plurality of groups of data category information corresponding to the user behavior data and determining time-consuming duration grade and behavior priority grade corresponding to each group of data category information; weighting each time-consuming duration grade according to the behavior priority to obtain a target duration grade corresponding to each time-consuming duration grade, and calculating parking duration information corresponding to the first vehicle according to the target duration grade;
the generating module 240 is configured to determine a parking space distribution map of the target parking lot based on the parking duration information, generate a parking schedule according to the parking space distribution map, and send the parking schedule to other terminal devices in communication with the parking lot server to determine a time when a second vehicle corresponding to the other terminal devices enters the target parking lot.
Preferably, the obtaining module 210 is configured to:
extracting protocol fields with encryption identifiers in the communication protocol according to target data of the preset database for indicating encryption logic, analyzing the encryption identifiers to obtain encryption logic information corresponding to each protocol field, calculating a key pairing sequence of the encryption logic information and determining pairing weight of the key pairing sequence, sequencing the protocol fields according to the magnitude sequence of the pairing weight to obtain a sequencing sequence, selecting a set number of protocol fields at the front of the sequencing sequence as privacy encryption fields, and determining an authority information list corresponding to the privacy encryption fields according to the key pairing sequence corresponding to the privacy encryption fields;
determining a communication link of the authority information list according to format information of list data of the authority information list; analyzing a link layer protocol of the communication link to obtain a plurality of reference mac addresses;
and determining an address corresponding list corresponding to the plurality of reference mac addresses from the database, and finding out the link address matched with the equipment mac address in the address corresponding list.
Preferably, the sending module 220 is configured to:
determining a permission type set corresponding to the permission information list and an address distribution sequence corresponding to the link address;
judging whether the number of first elements in the permission category set is the same as the number of second elements in the address distribution sequence or not; the first element is authority category information, and the second element is address code information;
when the number of the first elements is the same as that of the second elements, establishing a mapping relation between the permission category set and the address distribution sequence according to the association coefficient between the first elements and the second elements;
and establishing a conversion list of the authority information list and the link address based on the mapping relation, and generating request information for acquiring user data acquisition authorization of the target terminal equipment according to the list weight and the list centrality of each list unit in the conversion list.
Preferably, the calculating module 230 is configured to:
importing the user behavior data into a storage space corresponding to a preset category identification thread, adding data signature information to the user behavior data, enabling the category identification thread to extract target fields in the user behavior data based on the data signature information by operating the category identification thread, determining field description information of each target field, and obtaining data category information corresponding to the target fields according to the field description information; acquiring record information generated by the category identification thread during operation, and calculating the time-consuming duration grade and the behavior priority corresponding to each group of data category information based on the record time included in the record information; the sum of the first calculation weight of the time-consuming duration grade and the second calculation weight of the corresponding behavior priority is smaller than a set numerical value;
weighting a first evaluation coefficient corresponding to the time-consuming duration grade based on a second calculation weight corresponding to the behavior priority to obtain a second evaluation coefficient, and determining a target duration grade corresponding to the second evaluation coefficient according to the corresponding relation between the first evaluation coefficient and the time-consuming duration grade;
determining a first parking duration corresponding to each target duration grade, judging whether a matching coefficient between the first parking duration and the corresponding target duration grade reaches a target value, and if so, marking the first parking duration to obtain a second parking duration; if not, filtering the first parking time length; and summing the second parking duration to obtain parking duration information corresponding to the first vehicle.
Based on the same inventive concept as above, please refer to fig. 3 in combination, there is provided an internet-based parking system 300, which includes a parking lot server 310, and a target terminal device 320 and other terminal devices 330 communicating with the parking lot server 310; the parking lot server 310 is configured to:
acquiring a device mac address and a communication protocol of a target terminal device, and determining a permission information list corresponding to a privacy encryption field in the communication protocol and a link address of a communication link matched with the device mac address and used for transmitting the permission information list from a preset database; the target terminal equipment is terminal equipment corresponding to a first vehicle parked in a target parking lot corresponding to the parking lot server;
generating request information for acquiring user data acquisition authorization of the target terminal equipment according to the authority information list and the link address, and sending the request information to the target terminal equipment;
if an authorization instruction fed back by the target terminal equipment based on the request information is received within a set time length, acquiring user behavior data from the target terminal equipment; extracting a plurality of groups of data category information corresponding to the user behavior data and determining time-consuming duration grade and behavior priority grade corresponding to each group of data category information; weighting each time-consuming duration grade according to the behavior priority to obtain a target duration grade corresponding to each time-consuming duration grade, and calculating parking duration information corresponding to the first vehicle according to the target duration grade;
and determining a parking space distribution diagram of the target parking lot based on the parking duration information, generating a parking schedule according to the parking space distribution diagram, and sending the parking schedule to other terminal devices communicated with the parking lot server to determine the time when a second vehicle corresponding to the other terminal devices enters the target parking lot.
Preferably, the parking lot server 310 extracts multiple sets of data category information corresponding to the user behavior data and determines a time-consuming duration level and a behavior priority level corresponding to each set of data category information; weighting each time-consuming duration grade according to the behavior priority to obtain a target duration grade corresponding to each time-consuming duration grade, wherein calculating parking duration information corresponding to the first vehicle according to the target duration grade specifically comprises:
importing the user behavior data into a storage space corresponding to a preset category identification thread, adding data signature information to the user behavior data, enabling the category identification thread to extract target fields in the user behavior data based on the data signature information by operating the category identification thread, determining field description information of each target field, and obtaining data category information corresponding to the target fields according to the field description information; acquiring record information generated by the category identification thread during operation, and calculating the time-consuming duration grade and the behavior priority corresponding to each group of data category information based on the record time included in the record information; the sum of the first calculation weight of the time-consuming duration grade and the second calculation weight of the corresponding behavior priority is smaller than a set numerical value;
weighting a first evaluation coefficient corresponding to the time-consuming duration grade based on a second calculation weight corresponding to the behavior priority to obtain a second evaluation coefficient, and determining a target duration grade corresponding to the second evaluation coefficient according to the corresponding relation between the first evaluation coefficient and the time-consuming duration grade;
determining a first parking duration corresponding to each target duration grade, judging whether a matching coefficient between the first parking duration and the corresponding target duration grade reaches a target value, and if so, marking the first parking duration to obtain a second parking duration; if not, filtering the first parking time length; and summing the second parking duration to obtain parking duration information corresponding to the first vehicle.
It will be appreciated that reference is made to the description of the method illustrated in figure 1 for a detailed description of the apparatus and system described above and will not be described further herein.