WO2019223608A1 - Service providing method and apparatus - Google Patents

Service providing method and apparatus Download PDF

Info

Publication number
WO2019223608A1
WO2019223608A1 PCT/CN2019/087347 CN2019087347W WO2019223608A1 WO 2019223608 A1 WO2019223608 A1 WO 2019223608A1 CN 2019087347 W CN2019087347 W CN 2019087347W WO 2019223608 A1 WO2019223608 A1 WO 2019223608A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
target
location
service
trajectory
Prior art date
Application number
PCT/CN2019/087347
Other languages
French (fr)
Chinese (zh)
Inventor
孙楠
陆阳
朱志宇
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019223608A1 publication Critical patent/WO2019223608A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/28Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments
    • G01C21/30Map- or contour-matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method and device for providing services.
  • various smart electronic products surround people, providing people with a more intelligent living atmosphere.
  • various smart wearable products can be used to detect people's physical conditions, and various smart home products can create smarter homes. surroundings. Therefore, more and more offline physical scenarios, such as hotels and other scenarios, will also deploy certain smart products in order to provide users with personalized and intelligent services.
  • the smart products currently deployed in hotels can provide limited intelligent services, and often only a few smart elements are deployed in the hotel, such as welcome robots, smart speakers, smart curtains, and smart light control. Therefore, it is an urgent problem to expand the intelligent service model and improve the intelligence of the hotel.
  • embodiments of the present invention provide a service providing method and device, so as to improve the degree of service intelligence in a specific scenario, such as a hotel scenario.
  • an embodiment of the present invention provides a service providing method, including:
  • an embodiment of the present invention provides a service providing apparatus, including:
  • a data receiving module configured to receive data collected by at least two acquisition devices
  • a data processing module configured to identify a user's position and trajectory on the collected data by combining position attributes associated with the collected data
  • a service scheduling module is configured to provide a user with a service corresponding to the user's intention according to the user's intention reflected by the user's location trajectory.
  • an embodiment of the present invention provides an electronic device including a memory, a processor, and a sound input-output component.
  • the memory is used to store one or more computer instructions, and the one or more computer instructions are stored by all When the processor executes, the method for implementing the service in the first aspect is implemented.
  • An embodiment of the present invention provides a computer storage medium for storing and storing a computer program, which is executed by a computer to implement the service providing method in the first aspect.
  • a hotel scenario is taken as an example in a certain scenario, and there are a plurality of acquisition devices.
  • the acquisition devices may be different types of devices such as a camera and a user terminal device. Users perform IntelliSense. After each collection device works, the collected data is sent to the server, so that the server can analyze each collection data in combination with the location attributes associated with each collection data, that is, the location information corresponding to the corresponding collection device, to identify any scene in the scene.
  • a user's location trajectory is simply that, when a user is identified from a certain collection of data, the user's current location of the user is determined based on the location attributes corresponding to the collected data at this time, so that through the collection of many
  • the data can be tracked to obtain the user's position trajectory after the same identification processing, and the user's position trajectory can often reflect the user's user intent, such as where the user wants to go, so that it can be reflected according to the user's position trajectory.
  • a certain scenario can actively sense the user, that is, which user is where to do what, so as to provide a more intelligent service for the user, and improve the intelligence of the service provided to the user in this scenario.
  • FIG. 1 is a flowchart of Embodiment 1 of a service providing method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a second embodiment of a service providing method according to an embodiment of the present invention
  • Embodiment 3 is a flowchart of Embodiment 3 of a service providing method according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a fourth embodiment of a service providing method according to an embodiment of the present invention.
  • Embodiment 5 is a flowchart of Embodiment 5 of a service providing method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a service providing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an electronic device corresponding to the service providing apparatus provided by the embodiment shown in FIG. 6.
  • first, second, third, etc. may be used to describe XXX in the embodiments of the present invention, these XXX should not be limited to these terms. These terms are only used to distinguish XXX.
  • the first XXX may also be referred to as the second XXX, and similarly, the second XXX may also be referred to as the first XXX.
  • the words “if”, “if” as used herein can be interpreted as “at” or “when” or “responding to determination” or “responding to detection”.
  • the phrases “if determined” or “if detected (the stated condition or event)” can be interpreted as “when determined” or “responded to the determination” or “when detected (the stated condition or event) ) “Or” in response to a test (statement or event stated) ".
  • FIG. 1 is a flowchart of Embodiment 1 of a service providing method according to an embodiment of the present invention.
  • the service providing method provided in this embodiment of the present invention may be applicable to a scenario where a service is provided to a user, such as a hotel scenario.
  • a hotel can provide a more intelligent service to a user, especially a staying customer.
  • This method can be performed by a server deployed on-site at the hotel or deployed in the cloud. As shown in Figure 1, the method includes the following steps:
  • the hotel scene can also have at least two collection devices for collecting user information, that is, multiple collection devices, where these collection devices can include pre-deployment Multiple cameras at appropriate locations in the hotel scene.
  • the user terminal equipment owned by people entering the hotel scene such as residents and service personnel, can also be considered as a collection device.
  • the hotel scene can also be deployed with other sensing devices to assist user perception, such as different types of devices such as positioning devices, human detection sensors, etc., combined with the intelligence provided by the hotel scene to users Services, these sensing devices can be deployed in advance in suitable locations.
  • the sensing device may be an auxiliary device capable of collecting the foregoing collection data.
  • cameras with different walking directions such as cameras corresponding to east-west directions, are deployed on the wall at a certain distance.
  • multiple cameras can be set at the elevator door frame on each floor, such as one camera on the left and right sides of the elevator door frame, or two cameras arranged on the left and right sides of the elevator door frame, respectively, to suit different users. Height difference.
  • the positioning devices may be, for example, wireless access points (AP), iBeacon Bluetooth devices, and so on.
  • AP wireless access points
  • iBeacon Bluetooth devices iBeacon Bluetooth devices
  • a camera and a human detection sensor connected to the camera can be deployed on the door of each guest room.
  • a user terminal device such as a smart phone and the like carried by each user who enters the scene can also be considered as a component of multiple collection devices.
  • the acquisition equipment and sensing equipment fixedly deployed in the hotel scene can be associated with location attributes in advance.
  • the associated location attributes are, for example, the floor number where it is located and the corresponding position number in the camera sequence corresponding to the floor corridor, or its corresponding room number.
  • the floor number, location number, and room number can be regarded as coarse-grained location information.
  • the server can store the correspondence between the coarse-grained location information and the corresponding fine-grained location information in advance.
  • the fine-grained location information refers to location information such as longitude and latitude that accurately identifies a geographic location.
  • the location attributes associated with each collection device can assist in positioning the user's location. For example, if a camera at a certain position captures the face of a certain user, the user can be considered to be located at this time. The location of the camera.
  • the hotel constitute a smart induction field, which can sense the user's position trajectory in the scene, and the user's position trajectory often reflects the user's An intent that makes it easier to provide users with targeted, more intelligent services.
  • each acquisition device when each acquisition device works, it will continuously collect data in real time or with a set acquisition strategy, and send the collected data to the server, such as the camera to collect video data, and the user terminal device to collect the positioning signals broadcasted by the positioning device. ,and many more.
  • the server For the collected data uploaded by each collection device, combined with the location attributes associated with each collected data, the server performs user location trajectory identification on each collected data to identify the user location trajectory of one or some users, so as to know its corresponding user intention To provide targeted services to users based on their intent.
  • the associated location attribute may be the location information associated with the corresponding collection device, such as the floor number and location number corresponding to the camera fixed in advance, or the real-time location of the user terminal device. location information.
  • the acquisition data collected by multiple acquisition devices may be necessary to combine the acquisition data collected by multiple acquisition devices to identify the user location trajectory of the same user, such as combining the video data captured by multiple cameras to identify the user of a user Location trajectory, or it may be necessary to combine different collection data uploaded by the same collection device to identify the user's location trajectory, such as combining multiple positioning data sequentially uploaded by a user terminal device (the positioning mentioned below)
  • the signal strength vector identifies the user position trajectory of the corresponding user.
  • the server can obtain the location track of the user A based on the collected data of the cameras and combine the position attributes associated with the cameras, that is, the position attributes associated with the collected data, to determine the user A.
  • User intent that is to know who the user is, where it is, what it is going to do, such as where to go.
  • the server can intelligently provide the corresponding required service to the user A. For example, if the user A is found to come out of the room he is staying in and walk towards the elevator, he can schedule Elevator to the floor where user A is located.
  • the actual processing process of the server may be:
  • the server will receive the collected data from multiple collection devices. For each received data, the server can first identify the user with the collected data, so as to determine the same user in turn from the many collected data. Collected data of identity information. These multiple collected data corresponding to the same user's identity information are called target collected data. Furthermore, for the determined target acquisition data, according to the position attributes corresponding to the target acquisition data, the user position trajectory of the user corresponding to the same user identity information is determined.
  • the user identity information may be carried in the collected data, or sent to the server independently of the collected data but together with the collected data.
  • the user identity information may be a user face image in video data captured by a camera, or may be a user terminal device identifier sent by the user terminal device at the same time as sending a positioning signal strength vector to the server.
  • the user terminal device Identification as user identity information.
  • a scenario can actively sense the user's intention, that is, which user is where to do what, so as to provide users with more intelligent services, and improve the intelligence of the service provided to users in this scenario.
  • FIG. 2 is a flowchart of Embodiment 2 of a service providing method according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
  • the target face image exists in a preset legal user database, determine the user position of the user corresponding to the target face image according to the floor number and location number associated with the respective M first cameras corresponding to the M target video data. Track.
  • This embodiment illustrates the recognition of the user intention of a certain user based on face recognition.
  • the user's intention may be embodied as the user's intention to board an elevator, or the user's intention to return to the room.
  • the deployment of the above N cameras may be:
  • one or more cameras may also be provided at the elevator door frame on each floor to assist in identifying the proximity to the elevator.
  • the user ’s intention to take the elevator in another optional embodiment, multiple cameras may be arranged at intervals in the corridor of each floor to assist in identifying the user ’s intention to take the elevator in the direction of the elevator; in another optional
  • multiple cameras in order to more accurately identify the user's intention to take the elevator, multiple cameras may be deployed in the corridors of each floor at intervals, and one or more cameras may also be provided at the elevator door frames of each floor.
  • the elevator of any floor may be located in the central location area of the floor, or it may be located in the edge location area on one side of the floor.
  • the residents located on both sides of the elevator There is a need to take an elevator, so it is necessary to identify users who are going to the elevator from both sides.
  • a camera capable of collecting video data of users who are going to the elevator from different directions is required at the corresponding floor corridor. For example, a row of cameras facing the east can be set on one wall of the corridor, and a row of cameras facing the west can be set on the other wall of the corridor.
  • such a camera deployment that can collect video data of different orientations can also satisfy the identification of the user's intention to return to the room as shown in this embodiment. Because in a practical situation, if it is assumed that a user in a room walks out of the room and goes west to go to the elevator, walking out of the elevator and goes to the east is going to the room.
  • the multiple cameras deployed in the corridor of any floor can include cameras that are close to each room on the floor, in order to accurately identify whether a user stops at the place where he is staying Near the door of the room.
  • the collected video data can be sent to the server.
  • the server can perform face recognition processing on the video data.
  • the server may first perform down-sampling processing on the video data a, and then image the down-sampled video data a.
  • Frame segmentation processing, and then face recognition processing may be performed on the current image frame every few frames, such as 5 frames, to identify whether the current image frame contains a face image.
  • the target face image may be labeled, such as extracting the target face image and marking the target face image in Acquisition time in the video data a.
  • the recognition result of the target face image is considered valid.
  • the above-mentioned face recognition processing is performed on the video data collected by each camera.
  • multiple other video data such as video data
  • video data of the target face image
  • Video data c, and corresponding acquisition times of the target face image in video data b and video data c respectively. Therefore, according to the sequence of the corresponding acquisition times of the target face image in the video data a, video data b, and video data c, the video data a, video data b, and video data c can be sorted to obtain sequential acquisition.
  • M 3 target video data of the target face image.
  • the user position track of the user corresponding to the target face image may be determined according to the floor number and the position number associated with the three first cameras corresponding to the three target video data respectively.
  • the user corresponding to the target face image may be further identified, and the location track of the user may be determined only when the identity of the user is legal, so as to provide the user with the Provide a service corresponding to the user's intention reflected by the user's position trajectory.
  • user identification may be performed for the user corresponding to the target face image.
  • user identification may also be performed when the target face image is recognized for the first time. At this time, if it is determined that the user identity corresponding to the target face image is illegal, the target face is ignored. Image, so if the target face image is also recognized in other video data subsequently, it is also ignored.
  • the server stores a database containing reference face images of all users in the hotel scene in advance, which is called a preset legal user database.
  • the user in this embodiment may include all occupants and service staff.
  • the reference face image of the guest was obtained when the guest checked in: Specifically, when checking in, the relevant person will enter the guest's identity information and the guest's check-in information into the server.
  • the identity information includes, for example, the resident's ID number, ID photo or images collected on site (as the reference face image of the resident), mobile phone number, mobile phone MAC address, etc .; check-in information, such as the room number and room price , Length of stay, services booked such as gym, catering, etc.
  • user information such as the reference face image, mobile phone number, and mobile phone MAC address of the service personnel is also stored in the preset legal user database in advance.
  • the server can compare the identified target face image with a reference face image contained in a preset legal user database to determine who the user corresponding to the target face image is, for example, a person staying in a room Guest, or a service staff. If there is no reference face image matching the target face image in the preset legitimate user database, the user corresponding to the target face image is considered to be an illegal user.
  • the M target video data of a target face image are sequentially acquired from the video data collected by the N first cameras, and the identity of the user corresponding to the target face image is determined to be legal
  • the M The floor numbers and location numbers associated with the respective M first cameras corresponding to the target video data determine the user location trajectory of the user corresponding to the target face image, and then provide the user with the user ’s intention based on the user ’s intention reflected in the user ’s location trajectory.
  • the M first cameras are cameras that respectively collect the M target video data.
  • the server controls the elevator to run to the floor corresponding to the floor number according to the user ’s intention to board the elevator.
  • camera 1 captures Zhang San's face image at time T1
  • camera 2 also captures Zhang San's face image at time T2
  • camera 3 also captures Zhang San's face image at time T3, of which , T1, T2, and T3 are similar and increase in order
  • camera 1, camera 2, and camera 3 are all arranged from west to east in the corridor on the third floor, and the elevator is located on the east side of camera 3, it is determined that the user wants to take the elevator.
  • the elevator determination conditions may further include: if the M first cameras correspond to the same floor number and the position numbers of the M first cameras reflect that the user ’s walking direction corresponds to the elevator direction, and the M cameras are on the floor The distance between the elevator doors corresponding to the number satisfies the requirements, it is determined that the user's position trajectory of the user is walking toward the elevator. Accordingly, the user's intention reflected by the user's position trajectory is the user's intention to ride the elevator.
  • the distance between the M cameras and the elevator door corresponding to the floor number meets the requirement refers to the distance between the camera closest to the elevator door and the elevator door among the M cameras.
  • the server may maintain in advance the relative positional relationship between the positions of the cameras on the same floor and the position of the elevator door on the floor, such as maintaining the position numbers of the cameras on any floor that are gradually approaching the elevator door in a certain direction.
  • the server recognizes a user's face image based on the video data collected by the camera deployed at the door frame of the elevator, the server determines that the user wants to take the elevator based on the position attribute associated with the video data, that is, the position attribute associated with the camera.
  • the position attribute reflects the position of the camera at the elevator door of a certain floor, for example, the position of the elevator at a certain floor is the value of the position attribute.
  • it in addition to providing targeted services to users based on the obtained user intentions, it may further combine user characteristic information of users to push service information for users.
  • the user when it is found that the user intends to take the elevator, at this time, in addition to scheduling the elevator to the user's current floor based on the user's intention, it can also combine the current time, the user's previous behavior information record, and the user's check-in purpose.
  • the user characteristic information pushes the corresponding service information for the user. For example, if you find that the user goes to the gym around the current time every day to exercise, you can push the information about the number of people in the gym and the use of equipment, so that the user can know the situation of the gym in advance.
  • the user can push the meal information provided by the current restaurant to the user.
  • the user can push the attraction information to the user.
  • the server presets the smart device in the user's corresponding room according to the user's intention to return to the room reflected in the user's position trajectory.
  • Control for example, can control the unlocking of the door of the room corresponding to the user. For example, it can also control the air conditioner and light in the room in a specific mode.
  • the M cameras are often composed of multiple cameras from near the elevator position on the floor to near the user's room location, and the shooting direction of the multiple cameras corresponds to the user's direction from the elevator to the room. Moreover, it can be understood that the floor numbers corresponding to the M cameras are consistent with the floor numbers of the user's rooms.
  • the hotel scene by deploying several cameras for collecting video data at appropriate positions in the hotel scene, and based on the server-side face recognition and video data processing logic that reflects the user ’s position trajectory recognition reflecting user intentions, The hotel scene can automatically realize the user's intention, so as to provide users with more intelligent services.
  • FIG. 3 is a flowchart of Embodiment 3 of a service providing method according to an embodiment of the present invention. As shown in FIG. 3, the method may include the following steps:
  • the K first cameras corresponding to the K target video data correspond to the same floor number, and the position numbers of the K first cameras reflect the user with the contour characteristics of the target user walking to the target room, determine the user The user position trajectory is walking towards the target room.
  • This embodiment illustrates recognition of a user's intention to return to a room based on face recognition.
  • the implementation process of identifying the user's intention to return to the room in this embodiment is different from the implementation process of identifying the user's intention to return to the room as shown in FIG. 2.
  • the embodiment shown in FIG. 2 is mainly based on the way in which the user walks to the room door. The multiple cameras of the camera have successively collected the face images of the user, and the user walked near the room where he stayed. These characteristics identify the user's intention to return to the room, that is, to open the room door to enter the room.
  • This recognition method can be considered as an indirect recognition mode. .
  • the method for identifying the user's intention to return to the room in this embodiment is a direct recognition mode. In simple terms, the user is required to cooperate with image acquisition and face recognition to determine whether the user has the right to enter a room.
  • a camera may be deployed on each room door in the hotel as a second camera.
  • a human detection sensor connected to the second camera may also be deployed.
  • the human detection sensor is, for example, an ultrasonic sensor, Infrared sensors can detect humans within a certain distance.
  • a trigger signal is sent to the corresponding second camera to trigger the second camera.
  • the camera works, and the second camera further collects video data and sends the collected video data to the server.
  • the second camera on the door of the room is also associated with a position attribute, which can be carried in the video data collected by the second camera, and the position attribute is reflected in the corresponding room number, so that the server knows that Which room door sends video data to the second camera.
  • condition for triggering the second camera on the door of a room to collect video data can be simply said: if a user is found walking to the door of the room, but the face image of the user is not recognized, it is not found. Video data collected by a plurality of first cameras including a face image of the user. Because at this time, it is impossible to determine whether the user has the right to enter the room through face recognition.
  • the server may first perform user profile feature recognition to determine K target video data that sequentially captures the same target user profile feature, and then if K The K first cameras corresponding to the target video data correspond to the same floor number, and the position numbers of the K first cameras reflect that the user with the outline characteristics of the target user walks to the target room, and it is determined that the user's position trajectory of the user is Walk to the target room, thereby determining that the user of the user intends to enter the target room.
  • the above-mentioned user contour features may include hairstyle, body shape, dress, and the like.
  • the above-mentioned user profile feature can be regarded as a kind of weak user identity information, which is not enough to accurately determine whether the user has the right to enter the target room, that is, insufficient to accurately identify the user's user identity. Therefore, in When it is determined that the user intends to enter the target room, the server may further control the second camera of the target room to be turned on, collect video data, and perform face recognition on the video data to determine whether the identified face image is consistent with a preset
  • the reference face image corresponding to the target room in the legal user database matches. If they match, it means that the user has the right to enter the target room, that is, the user's identity is legal. Therefore, the server can control the door lock of the target room to open, for example. It is possible to control smart devices such as air conditioners and electric lights in the target room to be in a preset working mode.
  • the server can directly control the second camera corresponding to the target room to be turned on to collect video data.
  • the server can also be turned on by controlling the human detection sensor connected to the second camera to control the corresponding first camera through the human detection sensor.
  • the two cameras are turned on, that is, the second camera is controlled to be turned on when it detects a human body.
  • the human detection sensor By controlling the human detection sensor to be turned on, it is possible to avoid a control error caused by the server directly controlling the opening of the second camera corresponding to the target room if the target room is mistakenly identified, because it is only detected when the human detection sensor detects a human being approaching Trigger the second camera to work.
  • the second camera can be automatically turned off after sending the collected video data to the server.
  • the user Based on the recognition of the user's intention to enter the room in this embodiment, the user no longer needs to swipe the card to unlock the door as traditionally when entering the room, providing convenience to the user.
  • FIG. 4 is a flowchart of Embodiment 4 of a service providing method according to an embodiment of the present invention. As shown in FIG. 4, the method may include the following steps:
  • This embodiment is intended to recognize the user intention of a certain user based on the positioning algorithm.
  • the user's intention may be embodied as the user's intention to board the elevator, or the user's intention to return to the room, or the user's intention to use the navigation application, and so on.
  • each positioning device is pre-deployed in the hotel, and the coverage of the positioning broadcast signals transmitted by each positioning device can be set according to actual needs Specifically, the transmission power of the positioning device can be adjusted to achieve the setting of the coverage range.
  • Each positioning device has unique identification information, which is used to distinguish different positioning devices.
  • the positioning signal strength test can be performed at several locations in the hotel, for example, assuming that it is generated every 2 meters in a hotel space of 30,000 square meters
  • One test position can generate a total of 15,000 test positions.
  • each test position has two dimensions of information, one of which is specific spatial coordinates, such as (x, y, floor number), where x, y refers to latitude and longitude coordinates; the other is at The positioning signal strength vector of each positioning device measured at the test position.
  • the tester may carry, for example, a smart phone standing at different test positions to measure the positioning signal strength vector of each positioning device, where the smart phone obtains the positioning according to the strength of the positioning signal received by each positioning device.
  • Signal strength vector It can be understood that if a positioning signal of one or some positioning devices is not received at a test position, the corresponding positioning signal strength of the positioning devices at the test position is considered to be 0, and the The positioning signal may carry the identification of the positioning device so as to distinguish the positioning signal strength of each positioning device.
  • the test position includes f1, f2, f3, and assume that the positioning signal strength vector measured at f1 is [-50, -60, -70, 0, -70], the positioning signal strength vector measured at f2 is [-65, -42,0,0, -80], and the positioning signal strength vector measured at f3 is [-60, -63, 0,0, -50], where the units of the above-mentioned positioning signal strength vectors are in decibels, and the order of the elements in the above-mentioned positioning signal strength vectors corresponds to AP1, AP2, AP3, AP4, and AP5 in order, that is:
  • f1 [-50, -60, -70,0, -70]
  • f3 [-60, -63, -45,0, -50].
  • the mapping relationship between the positioning device and the test position can be converted. Specifically, for any positioning device, test positions whose measured positioning signal strength is greater than a preset threshold can be filtered out of all test positions to form a test position set corresponding to the positioning device. For example, suppose the preset threshold is -60. For the above AP1, since the positioning signal strength measured at f1 and f3 is greater than or equal to -60, and the positioning signal strength measured at f2 is less than -60, then AP1 corresponds to The set of test locations consists of f1 and f3, and is expressed as AP1-> (f1, f3).
  • the server can store the positioning signal strength vector measured at each test position, the test position set corresponding to each positioning device, and the specific position information corresponding to each test position into the positioning database.
  • the user terminal device may receive positioning signals transmitted by multiple positioning devices, and thus the user terminal device may The positioning signal strength vector formed by the received positioning signal strength and the user terminal device identifier are sent to the server, so that the server receives the positioning signal strength vectors and user terminal device identifiers sent by multiple user terminal devices at different times.
  • the user terminal device identifier such as a mobile phone MAC address
  • the server can identify the user identity based on the user terminal device identifier.
  • the target user terminal device can send each detected target positioning signal strength vector and target user terminal device identifier to the server.
  • the server can The target user terminal device identifier and the receiving time determine the target positioning signal strength vector sequence corresponding to the target user terminal device identifier, that is, because all target positioning signal strength vectors corresponding to the target user terminal device identifier are in the order of receiving time. It also determines whether the target user terminal device identifier is included in the preset legal user database. On the other hand, after receiving a target positioning signal strength vector, the user position where the corresponding user is currently located can be determined. The user position of the user at different times constitutes the user position track of the user.
  • the server may determine the location of the corresponding user at this time by the following process:
  • the test position set corresponding to AP2 is (f1, f2)
  • the test position set corresponding to AP5 is (f3).
  • a certain number of test positions can be selected from the multiple test positions f1, f2, and f3 in the order of the distance from small to large. For example, two test positions are selected, assuming f1 and f3. Therefore, the current position of the user corresponding to the target user terminal device is determined in combination with the selected test position.
  • the selected number is set to 1, that is, the test position corresponding to the minimum distance among the distances is used as the position of the user, the position of the user is determined to be the specific position of the test position in the hotel.
  • the user position L (x ', y') may be determined according to the following method:
  • L (x ', y') a (x1, y1) + b (x3, y3), where (x1, y1) is the coordinate position corresponding to f1, (x3, y3) is the coordinate position corresponding to f3, a And b are preset weighting coefficients, a> b.
  • a corresponding server may be provided to the user based on the user intention reflected in the user position track.
  • the elevator is controlled to run to the target floor.
  • the server side can also maintain a digital map of the hotel scene, so that the user's location trajectory can be located in the digital map. If the user's location trajectory is found to reflect that the user is walking towards the elevator on that floor in a certain floor, the elevator is dispatched Run to this floor.
  • preset control is performed on the smart device in the room corresponding to the user.
  • the smart device in the corresponding room of the user is pre- Set control, such as controlling the door lock of the room to open, and controlling smart devices such as electric lights and air conditioners in the room to be in the preset working mode.
  • the server maintains the correspondence between the identification of the user terminal device and the room number, so as to determine whether the room in which the user corresponding to the user terminal device resides is the room in which the user resides.
  • the room number is not affixed to the door of each room in the hotel, so when the user checks in the hotel, the user can Provide a navigation application to help users navigate from their current location (such as the front desk in the lobby) to a destination location (such as their own room).
  • the user can obtain the navigation application provided by the hotel by scanning, etc., and then can locate the user's current location through the above positioning algorithm, or the user can manually enter the current location such as the lobby front desk, and enter The destination location, such as its own room number, triggers the navigation application to send a navigation request to the server for navigating the user from the current location to the destination location.
  • the target user terminal device sends a navigation request to the server for navigating the user from the current position to the destination position. Therefore, after receiving the navigation request, the server plans the navigation from the current position to the destination position.
  • the route is sent to the navigation application, that is, to the target user terminal device, so that the user executes the navigation route to walk according to the navigation route.
  • the target user terminal device may send the target positioning signal strength vector detected at that time to the server at a certain interval for the server to locate the position of the user at this time, so as to obtain until this time
  • the user position trajectory of the user up to this point. Based on this, in this scenario, if the user position trajectory reflects the user's intention to continue executing the navigation path, that is, if the user position trajectory indicates that the navigation path has not been performed, the server updates the user position node in the navigation path.
  • the user is considered to be still in the process of executing the navigation path, that is, still in the process of using the navigation application.
  • the user position node indicating the user position in the navigation path will be updated according to the user position located by the last received target positioning signal strength vector, so that the user knows the current own position in real time.
  • the hotel scene can automatically sense the user's intentions in order to provide users with more intelligent service.
  • FIG. 5 is a flowchart of Embodiment 5 of a service providing method according to an embodiment of the present invention. As shown in FIG. 5, the method may include the following steps:
  • the user location and service content required by the user are included in the service request.
  • users may have certain service requirements, such as the need for a data cable, the need to add a quilt, and so on.
  • the user may trigger the above service request through the APP provided by the hotel in the user terminal device, or may also trigger the service request through other smart devices provided by the hotel, such as a smart TV, and the service request includes the location of the user And what services they need. Therefore, the server parses the service request to learn the user's intention, and then dispatches the most appropriate service personnel to provide the service to the user.
  • the determination of the most suitable service personnel takes into consideration the location of the service personnel, the location of the user, and the location corresponding to the service content required by the user. For example, suppose a user who lives on the third floor needs a data cable, and the data cable is in a storage room on the first floor.
  • the server finds that the service staff A is closest to the storage room, and the server changes the Forwarding the service request to the service staff A is equivalent to dispatching the task to the service staff A; or, suppose both the service staff A and the service staff B are close to the storage room, but the service staff A has a jurisdiction of 2-3 Building, the jurisdiction of service staff B is 4-5th floor, then the server can further select service staff A from service staff A and service staff B to provide the service in combination with the user location (3rd floor).
  • each service person is involved.
  • the location process of each service person is similar to the location location process of the user in the embodiment shown in FIG. 4, and will not be described again.
  • FIG. 6 is a schematic structural diagram of a service providing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes a data receiving module 11, a data processing module 12, and a service scheduling module 13.
  • the data receiving module 11 is configured to receive collected data of at least two collection devices.
  • a data processing module 12 is configured to identify a user position and trajectory on the collected data by combining position attributes associated with the collected data.
  • a service scheduling module 13 is configured to provide a user with a service corresponding to the user's intention according to the user's intention reflected by the user's location trajectory.
  • the data processing module 12 may be configured to: perform user identification on the collected data to determine target collection data that sequentially collects the same user identity information; and according to the location attributes corresponding to the target collection data, respectively To determine a user location track of a user corresponding to the same user identity information.
  • the at least two acquisition devices include N first cameras located on a floor walkway, and the acquisition data includes video data collected by the N first cameras; at this time, the data processing module 12 It can be used to perform face recognition on the video data collected by the N first cameras to determine M target video data that sequentially captures the same target face image, 1 ⁇ M ⁇ N; if the target The face image exists in a preset legal user database, and the user position corresponding to the target face image is determined according to the floor number and location number associated with the respective M first cameras corresponding to the M target video data. Track.
  • the data processing module 12 may be configured to: if the M first cameras correspond to the same floor number and the position numbers of the M first cameras reflect that the walking direction of the user corresponds to the elevator Direction, it is determined that the user position trajectory of the user is walking in the direction of the elevator.
  • the service scheduling module 13 may be configured to control the elevator to run to the floor corresponding to the floor number according to the user's intention to board the elevator as reflected in the user location trajectory.
  • the data processing module 12 may be configured to: if the M first cameras correspond to the same floor number and the position numbers of the M first cameras reflect that the user walks to the user Near the room, it is determined that the user position trajectory of the user is walking toward the user's room.
  • the service scheduling module 13 may be configured to perform preset control on the smart device in the room corresponding to the user according to the user's intention to return to the room reflected by the user's location trajectory.
  • the at least two acquisition devices include a second camera located at the door of the room.
  • the data processing module 12 may be configured to perform user contouring on the video data collected by the N first cameras, respectively. Feature recognition to determine K target video data of the same target user's contour features, 1 ⁇ K ⁇ N; if the K first cameras corresponding to the K target video data correspond to the same floor number and all The position numbers of the K first cameras reflect that a user with the contour characteristics of the target user walks to the target room, and then it is determined that the user position trajectory of the user is walking toward the target room.
  • the service scheduling module 13 may be configured to: control the second camera corresponding to the target room to collect video data according to the intention of entering the target room reflected by the user location trajectory; identify the second camera A face image in video data collected by a camera; if the face image matches a reference face image corresponding to the target room, preset control is performed on the smart device in the target room.
  • the at least two acquisition devices include multiple user terminal devices, and the collected data includes positioning signal strength vectors and user terminal device identifiers collected by the multiple user terminal devices at different times, and the positioning signals
  • the intensity vector corresponds to a plurality of pre-deployed positioning devices.
  • the data processing module 12 may be used to: determine a target positioning signal strength vector sequence corresponding to the same target user terminal device identifier; and according to the target positioning signal strength The vector sequence determines a user position trajectory of a user corresponding to the target user terminal device identification.
  • the service scheduling module 13 may be configured to: if the user location trajectory reflects that the user intends to walk in the direction of the elevator of the target floor, control the elevator to run to the target floor.
  • the service scheduling module 13 may be further configured to: preset the smart device in the room corresponding to the user if the position track of the user reflects that the user intends to walk toward the user's room control.
  • the data receiving module 11 may be further configured to receive a navigation request sent by the target user terminal device, where the navigation request is used to navigate the user from a current location to a destination location.
  • the data processing module 12 may be further configured to: send a navigation path from the current position to the destination position to the target user terminal device.
  • the service scheduling module 13 may be further configured to: if the user position trajectory reflects that the user intends to continue to execute the navigation path, update the user position node in the navigation path.
  • the data processing module 12 may be configured to: for any positioning signal strength vector in the target positioning signal strength vector sequence, determine the strength of the positioning signal from the plurality of positioning devices with the positioning signal strength vector.
  • a target positioning device corresponding to a signal strength greater than or equal to a preset threshold in the vector; acquiring a test position set corresponding to the target positioning device, wherein all the positions measured in advance at each test position in the test position set The signal strength of the target positioning device is greater than or equal to the preset threshold; and the target user terminal device is determined according to a distance between each of the positioning signal strength vectors and a reference positioning signal strength vector corresponding to each test position The user position of the corresponding user at this time is identified, wherein the reference positioning signal strength vector is the signal strengths of the plurality of positioning devices measured in advance at the corresponding test positions.
  • the data receiving module 11 may be further configured to receive a service request triggered by a user, the user location of the user and the service content required by the user included in the service request.
  • the data processing module 12 may be further configured to determine the location and location of the current location corresponding to the service content from the service personnel according to the positioning signal strength vector reported by the employee terminal device of each service personnel. The target service personnel whose location matches the user; and the service request is sent to the target service personnel.
  • the apparatus shown in FIG. 6 can execute the methods in the embodiments shown in FIG. 1 to FIG. 5.
  • the parts that are not described in detail in this embodiment reference may be made to the related description of the embodiments shown in FIG. 1 to FIG. 5.
  • For the implementation process and technical effect of the technical solution refer to the description in the embodiments shown in FIG. 1 to FIG. 5, and details are not described herein again.
  • the structure of the service providing device may be implemented as an electronic device, such as a server.
  • the electronic device may include a processor 21 ⁇ Memory 22.
  • the memory 22 is configured to store a program that supports a service providing apparatus to execute the service providing method provided in the embodiments shown in FIG. 1 to FIG. 5, and the processor 21 is configured to execute the memory stored in the memory 22. program of.
  • the program includes one or more computer instructions, and when the one or more computer instructions are executed by the processor 21, the following steps can be implemented:
  • the processor 21 is further configured to execute all or part of the steps in the foregoing embodiments shown in FIG. 1 to FIG. 5.
  • the structure of the service providing apparatus may further include a communication interface 23, which is used for the service providing apparatus to communicate with other equipment or a communication network.
  • an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by the service providing device, which includes a program involved in executing the service providing method in the method embodiments shown in FIG. 1 to FIG. 5 described above. .
  • the device embodiments described above are only schematic, and the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located One place, or it can be distributed across multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the objective of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without creative labor.
  • each embodiment can be implemented by adding a necessary universal hardware platform, and of course, it can also be implemented by a combination of hardware and software.
  • the above-mentioned technical solution essentially or part that contributes to the existing technology may be embodied in the form of a computer product.
  • the present invention may use one or more computer-usable storages containing computer-usable program code therein.
  • the form of a computer program product implemented on a medium including but not limited to disk storage, CD-ROM, optical storage, etc.).
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a specific manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
  • a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
  • processors CPUs
  • input / output interfaces output interfaces
  • network interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-persistent memory, random access memory (RAM), and / or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media includes permanent and non-persistent, removable and non-removable media.
  • Information storage can be accomplished by any method or technology.
  • Information may be computer-readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transmitting medium may be used to store information that can be accessed by a computing device.
  • computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.

Abstract

Provided in the embodiments of the present invention are a service providing method and apparatus. The method comprises: receiving data collected by at least two collection devices; performing, by combining with position attributes respectively associated with the collected data, user position track identification on the collected data; and providing, according to the intention of a user reflected by a user position track, a service corresponding to the intention of the user for the user. According to the present solution, a certain scene may actively sense the intention of a user, namely, sensing which user is going to do what and where the user will be, thereby providing a more intelligent service for the user, and the degree of intelligence of providing the user with a service by the scene is improved.

Description

服务提供方法和装置Service providing method and device
本申请要求2018年05月25日递交的申请号为201810517433.2、发明名称为“服务提供方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority from a Chinese patent application filed on May 25, 2018 with an application number of 201810517433.2 and an invention name of "Service Provision Method and Device", the entire contents of which are incorporated herein by reference.
技术领域Technical field
本发明涉及互联网技术领域,尤其涉及一种服务提供方法和装置。The present invention relates to the field of Internet technologies, and in particular, to a method and device for providing services.
背景技术Background technique
当前,各种智能电子产品围绕在人们的周围,为人们提供更为智能化的生活氛围,比如各种智能穿戴产品可以用于检测人们的身体状况,各种智能家居产品可以营造更加智能的家居环境。因此,越来越多的线下实体场景比如酒店等场景,为了为用户提供个性化、智能化的服务,也会部署一定的智能产品。At present, various smart electronic products surround people, providing people with a more intelligent living atmosphere. For example, various smart wearable products can be used to detect people's physical conditions, and various smart home products can create smarter homes. surroundings. Therefore, more and more offline physical scenarios, such as hotels and other scenarios, will also deploy certain smart products in order to provide users with personalized and intelligent services.
但是,以酒店场景为例,目前在酒店中部署的智能产品所能提供的智能化服务有限,往往只是在酒店中部署少许的智能元素,比如迎宾机器人、智能音响、智能窗帘、智能灯光控制,因此,扩展智能化服务模式,提高酒店的智能化程度,是亟待解决的问题。However, taking the hotel scenario as an example, the smart products currently deployed in hotels can provide limited intelligent services, and often only a few smart elements are deployed in the hotel, such as welcome robots, smart speakers, smart curtains, and smart light control. Therefore, it is an urgent problem to expand the intelligent service model and improve the intelligence of the hotel.
发明内容Summary of the Invention
有鉴于此,本发明实施例提供一种服务提供方法和装置,用以提高特定场景比如酒店场景下的服务智能化程度。In view of this, embodiments of the present invention provide a service providing method and device, so as to improve the degree of service intelligence in a specific scenario, such as a hotel scenario.
第一方面,本发明实施例提供一种服务提供方法,包括:In a first aspect, an embodiment of the present invention provides a service providing method, including:
接收至少两个采集设备的采集数据;Receiving acquisition data from at least two acquisition devices;
结合所述采集数据各自关联的位置属性,对所述采集数据进行用户位置轨迹识别;Combine the position attributes of the collected data with each other to perform user position trajectory recognition on the collected data;
根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务。And providing a user with a service corresponding to the user's intention according to the user's intention reflected by the user's position trajectory.
第二方面,本发明实施例提供一种服务提供装置,包括:In a second aspect, an embodiment of the present invention provides a service providing apparatus, including:
数据接收模块,用于接收至少两个采集设备的采集数据;A data receiving module, configured to receive data collected by at least two acquisition devices;
数据处理模块,用于结合所述采集数据各自关联的位置属性,对所述采集数据进行用户位置轨迹识别;A data processing module, configured to identify a user's position and trajectory on the collected data by combining position attributes associated with the collected data;
服务调度模块,用于根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务。A service scheduling module is configured to provide a user with a service corresponding to the user's intention according to the user's intention reflected by the user's location trajectory.
第三方面,本发明实施例提供一种电子设备,包括存储器、处理器和声音输入输出 组件,所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行时实现上述第一方面中的服务提供方法。According to a third aspect, an embodiment of the present invention provides an electronic device including a memory, a processor, and a sound input-output component. The memory is used to store one or more computer instructions, and the one or more computer instructions are stored by all When the processor executes, the method for implementing the service in the first aspect is implemented.
本发明实施例提供了一种计算机存储介质,用于储存存储计算机程序,所述计算机程序使计算机执行时实现上述第一方面中的服务提供方法。An embodiment of the present invention provides a computer storage medium for storing and storing a computer program, which is executed by a computer to implement the service providing method in the first aspect.
本发明实施例提供的服务提供方法,在某场景中以酒店场景为例,其中具有众多采集设备,该采集设备可以是摄像头、用户终端设备等不同类型的设备,以用于对在该场景中的用户进行智能感知。各采集设备工作后,将采集的数据发送至服务器,从而,服务器可以结合各采集数据所关联的位置属性亦即相应采集设备所对应的位置信息来分析各采集数据,以识别出该场景中任一用户的位置轨迹,简单来说,就是在从某个采集数据中识别出某个用户时,基于该采集数据此时所对应的位置属性确定该用户此时的用户位置,从而通过对众多采集数据进行同样的识别处理,可以跟踪得到某用户的用户位置轨迹,而该用户位置轨迹往往可以反映出该用户的用户意图,比如该用户想要去往哪里,从而可以根据用户位置轨迹所反映的用户意图,为用户提供针对性的服务。通过本方案,某场景可以主动感知用户,即感知哪个用户在哪里将要做什么,从而为用户提供更加智能的服务,提高了该场景为用户提供服务的智能化程度。In the service providing method provided by the embodiment of the present invention, a hotel scenario is taken as an example in a certain scenario, and there are a plurality of acquisition devices. The acquisition devices may be different types of devices such as a camera and a user terminal device. Users perform IntelliSense. After each collection device works, the collected data is sent to the server, so that the server can analyze each collection data in combination with the location attributes associated with each collection data, that is, the location information corresponding to the corresponding collection device, to identify any scene in the scene. A user's location trajectory is simply that, when a user is identified from a certain collection of data, the user's current location of the user is determined based on the location attributes corresponding to the collected data at this time, so that through the collection of many The data can be tracked to obtain the user's position trajectory after the same identification processing, and the user's position trajectory can often reflect the user's user intent, such as where the user wants to go, so that it can be reflected according to the user's position trajectory. User intention to provide users with targeted services. Through this solution, a certain scenario can actively sense the user, that is, which user is where to do what, so as to provide a more intelligent service for the user, and improve the intelligence of the service provided to the user in this scenario.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without paying creative labor.
图1为本发明实施例提供的服务提供方法实施例一的流程图;FIG. 1 is a flowchart of Embodiment 1 of a service providing method according to an embodiment of the present invention; FIG.
图2为本发明实施例提供的服务提供方法实施例二的流程图;2 is a flowchart of a second embodiment of a service providing method according to an embodiment of the present invention;
图3为本发明实施例提供的服务提供方法实施例三的流程图;3 is a flowchart of Embodiment 3 of a service providing method according to an embodiment of the present invention;
图4为本发明实施例提供的服务提供方法实施例四的流程图;4 is a flowchart of a fourth embodiment of a service providing method according to an embodiment of the present invention;
图5为本发明实施例提供的服务提供方法实施例五的流程图;5 is a flowchart of Embodiment 5 of a service providing method according to an embodiment of the present invention;
图6为本发明实施例提供的服务提供装置的结构示意图;6 is a schematic structural diagram of a service providing apparatus according to an embodiment of the present invention;
图7为与图6所示实施例提供的服务提供装置对应的电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device corresponding to the service providing apparatus provided by the embodiment shown in FIG. 6.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义,“多种”一般包含至少两种,但是不排除包含至少一种的情况。The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms "a", "the" and "the" used in the embodiments of the present invention and the appended claims are also intended to include the plural forms, unless the context clearly indicates another meaning, "multiple" Generally, at least two kinds are included, but the case where at least one kind is included is not excluded.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term “and / or” used herein is merely an association relationship describing an associated object, which means that there can be three kinds of relationships, for example, A and / or B can mean: A exists alone, and both A and B, there are three cases of B alone. In addition, the character "/" in this text generally indicates that the related objects are an "or" relationship.
应当理解,尽管在本发明实施例中可能采用术语第一、第二、第三等来描述XXX,但这些XXX不应限于这些术语。这些术语仅用来将XXX区分开。例如,在不脱离本发明实施例范围的情况下,第一XXX也可以被称为第二XXX,类似地,第二XXX也可以被称为第一XXX。It should be understood that although the terms first, second, third, etc. may be used to describe XXX in the embodiments of the present invention, these XXX should not be limited to these terms. These terms are only used to distinguish XXX. For example, without departing from the scope of the embodiments of the present invention, the first XXX may also be referred to as the second XXX, and similarly, the second XXX may also be referred to as the first XXX.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if", "if" as used herein can be interpreted as "at" or "when" or "responding to determination" or "responding to detection". Similarly, depending on the context, the phrases "if determined" or "if detected (the stated condition or event)" can be interpreted as "when determined" or "responded to the determination" or "when detected (the stated condition or event) ) "Or" in response to a test (statement or event stated) ".
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或者系统中还存在另外的相同要素。It should also be noted that the terms "including," "including," or any other variation thereof are intended to encompass non-exclusive inclusions, so that a product or system that includes a series of elements includes not only those elements, but also those that are not explicitly listed Other elements, or elements that are inherent to this commodity or system. Without more restrictions, the elements defined by the sentence "including one ..." do not exclude the existence of other identical elements in the product or system including the elements.
另外,下述各方法实施例中的步骤时序仅为一种举例,而非严格限定。In addition, the sequence of steps in the following method embodiments is only an example, and is not strictly limited.
图1为本发明实施例提供的服务提供方法实施例一的流程图,本发明实施例提供的服务提供方法可以适用于某种为用户提供服务的场景下,该场景比如为酒店场景,从而基于本发明实施例提供的服务提供方法,酒店可以向用户尤其是指入住客户提供更加智 能化的服务。该方法可以由部署在酒店本地或部署在云端的服务器来执行。如图1所示,该方法包括如下步骤:FIG. 1 is a flowchart of Embodiment 1 of a service providing method according to an embodiment of the present invention. The service providing method provided in this embodiment of the present invention may be applicable to a scenario where a service is provided to a user, such as a hotel scenario. According to the service providing method provided in the embodiment of the present invention, a hotel can provide a more intelligent service to a user, especially a staying customer. This method can be performed by a server deployed on-site at the hotel or deployed in the cloud. As shown in Figure 1, the method includes the following steps:
101、接收至少两个采集设备的采集数据。101. Receive acquisition data from at least two acquisition devices.
102、结合采集数据各自关联的位置属性,对采集数据进行用户位置轨迹识别。102. Combine the position attributes associated with the collected data to identify the user position and trajectory on the collected data.
103、根据用户位置轨迹所反映的用户意图,向用户提供与用户意图对应的服务。103. Provide a service corresponding to the user's intention to the user according to the user's intention reflected by the user's position trajectory.
首先以酒店场景为例,对该酒店中的硬件部署情况进行简要介绍。在该酒店中,除了包含有传统酒店中部署的各种智能化硬件产品比如迎宾机器人、智能窗帘、智能音响、智能电灯等设备外,在公共区域即比如各楼层的走廊、电梯、大堂前台、酒店大门入口、餐厅及健身房等娱乐场地的入口等处,该酒店场景中还可以具有用于采集用户信息的至少两个采集设备即多个采集设备,其中,这些采集设备中可以包括预先部署在该酒店场景中合适位置的多个摄像头,另外,还可以将进入到该酒店场景中的人比如住户、服务人员所拥有的用户终端设备也视为是一种采集设备。First take a hotel scenario as an example to briefly introduce the hardware deployment in the hotel. In this hotel, in addition to various intelligent hardware products deployed in traditional hotels, such as welcome robots, smart curtains, smart speakers, smart lights and other equipment, in public areas, such as corridors, elevators, lobby front desks, etc. , Hotel entrances, restaurants and gyms and other entertainment venues, the hotel scene can also have at least two collection devices for collecting user information, that is, multiple collection devices, where these collection devices can include pre-deployment Multiple cameras at appropriate locations in the hotel scene. In addition, the user terminal equipment owned by people entering the hotel scene, such as residents and service personnel, can also be considered as a collection device.
另外,该酒店场景中除了具有上述采集设备外,还可以部署有用于辅助进行用户感知的其他感知设备,比如定位装置、人体检测传感器等不同类型的设备,结合该酒店场景可以为用户提供的智能化服务,可以预先在合适的位置部署这些感知设备。在一些可选实施例中,该感知设备可以是辅助于采集设备能够采集到上述采集数据。针对上述采集设备和感知设备,举例来说,比如在每个楼层的走廊中,间隔一定距离在墙壁上部署朝向不同行走方向的摄像头如分别对应于东西走向的摄像头。再比如,可以在每个楼层的电梯门框处设置多个摄像头,比如电梯门框左右两侧分别设置一个摄像头,或者,电梯门框左右两侧分别设置上下排列的两个摄像头,以适应于不同用户的身高差异。再比如,在整个酒店中,以合适的距离间隔分布若干定位装置,该定位装置比如可以是无线接入点(Acess Point,简称AP)、iBeacon蓝牙设备,等等。再比如,可以在每个住客房间的房门上部署一个摄像头以及与摄像头连接的人体检测传感器。再比如,更为广泛地,进入到该场景中的每个用户所携带的用户终端设备比如智能手机等也可以被视为是多个采集设备中的组成部分。In addition, in addition to the above-mentioned acquisition equipment, the hotel scene can also be deployed with other sensing devices to assist user perception, such as different types of devices such as positioning devices, human detection sensors, etc., combined with the intelligence provided by the hotel scene to users Services, these sensing devices can be deployed in advance in suitable locations. In some optional embodiments, the sensing device may be an auxiliary device capable of collecting the foregoing collection data. For the above-mentioned acquisition equipment and sensing equipment, for example, in the corridor of each floor, cameras with different walking directions, such as cameras corresponding to east-west directions, are deployed on the wall at a certain distance. For another example, multiple cameras can be set at the elevator door frame on each floor, such as one camera on the left and right sides of the elevator door frame, or two cameras arranged on the left and right sides of the elevator door frame, respectively, to suit different users. Height difference. For another example, in the entire hotel, several positioning devices are distributed at appropriate distance intervals. The positioning devices may be, for example, wireless access points (AP), iBeacon Bluetooth devices, and so on. As another example, a camera and a human detection sensor connected to the camera can be deployed on the door of each guest room. For another example, more broadly, a user terminal device such as a smart phone and the like carried by each user who enters the scene can also be considered as a component of multiple collection devices.
另外,在该酒店场景中固定部署的采集设备和感知设备,可以被预先关联有位置属性。比如,对于上述摄像头来说,其关联的位置属性比如为所在的楼层号以及在该楼层走廊对应的摄像头序列中对应的位置编号,或者为其所对应的房间号。可以理解的是,该楼层号、位置编号、房间号可以认为是粗粒度的位置信息,结合实际需求,服务器中可以预先存储有该粗粒度的位置信息与相应细粒度的位置信息间的对应关系,该细粒度 的位置信息是指诸如经纬度这种准确标识出地理位置的位置信息。In addition, the acquisition equipment and sensing equipment fixedly deployed in the hotel scene can be associated with location attributes in advance. For example, for the aforementioned camera, the associated location attributes are, for example, the floor number where it is located and the corresponding position number in the camera sequence corresponding to the floor corridor, or its corresponding room number. It can be understood that the floor number, location number, and room number can be regarded as coarse-grained location information. Based on actual needs, the server can store the correspondence between the coarse-grained location information and the corresponding fine-grained location information in advance. The fine-grained location information refers to location information such as longitude and latitude that accurately identifies a geographic location.
本发明实施例中,各采集设备所关联的位置属性可以辅助用于进行用户位置的定位,举例来说,某位置处的摄像头拍到了某个用户的人脸,则可以认为该用户此时位于该摄像头所在的位置。In the embodiment of the present invention, the location attributes associated with each collection device can assist in positioning the user's location. For example, if a camera at a certain position captures the face of a certain user, the user can be considered to be located at this time. The location of the camera.
从而,基于在酒店场景中所提供的诸如上述举例的采集设备,相当于使得该酒店构成了一个智能感应场,可以感知用户在该场景中的用户位置轨迹,而用户位置轨迹往往反映出用户的某种意图,从而便于为用户提供针对性的、更加智能化的服务。Therefore, based on the collection equipment provided in the hotel scene, such as the above example, it is equivalent to making the hotel constitute a smart induction field, which can sense the user's position trajectory in the scene, and the user's position trajectory often reflects the user's An intent that makes it easier to provide users with targeted, more intelligent services.
具体来说,当各采集设备工作时,会实时或者以设定的采集策略不断采集数据,并将采集到的数据发送服务器,比如摄像头采集视频数据、用户终端设备采集定位装置广播发射的定位信号,等等。Specifically, when each acquisition device works, it will continuously collect data in real time or with a set acquisition strategy, and send the collected data to the server, such as the camera to collect video data, and the user terminal device to collect the positioning signals broadcasted by the positioning device. ,and many more.
服务器针对各采集设备上传的采集数据,结合各采集数据各自关联的位置属性,对各采集数据进行用户位置轨迹识别以识别出某个或某些用户的用户位置轨迹,从而获知其对应的用户意图,以便根据用户意图向相应用户提供针对性服务。其中,针对任一采集数据来说,其关联的位置属性可以是相应采集设备所关联的位置信息,比如预先固定设置的摄像头所对应的楼层号和位置编号,再比如用户终端设备实时定位出的位置信息。For the collected data uploaded by each collection device, combined with the location attributes associated with each collected data, the server performs user location trajectory identification on each collected data to identify the user location trajectory of one or some users, so as to know its corresponding user intention To provide targeted services to users based on their intent. Among them, for any collected data, the associated location attribute may be the location information associated with the corresponding collection device, such as the floor number and location number corresponding to the camera fixed in advance, or the real-time location of the user terminal device. location information.
实际应用中,相应于采集设备的不同,可能需要结合多个采集设备分别采集的采集数据来识别出同一用户的用户位置轨迹,比如结合多个摄像头分别拍得的视频数据识别出某用户的用户位置轨迹,或者,也可能需要结合同一采集设备先后上传的不同采集数据来识别出同一用户的用户位置轨迹,比如结合某用户终端设备先后依次上传的多个定位数据(即下文中提及的定位信号强度向量)识别出相应用户的用户位置轨迹。In actual applications, corresponding to different acquisition devices, it may be necessary to combine the acquisition data collected by multiple acquisition devices to identify the user location trajectory of the same user, such as combining the video data captured by multiple cameras to identify the user of a user Location trajectory, or it may be necessary to combine different collection data uploaded by the same collection device to identify the user's location trajectory, such as combining multiple positioning data sequentially uploaded by a user terminal device (the positioning mentioned below) The signal strength vector) identifies the user position trajectory of the corresponding user.
举例来说,如果某时刻发现某个某摄像头采集到与用户A对应的采集数据,并且在相近的时刻,与该采集设备相邻的其他几个摄像头也依次采集到与该用户A对应的采集数据,从而,服务器可以基于这几个摄像头的采集数据,并结合这几个摄像头各自关联的位置属性即这些采集数据所关联的位置属性,获知用户A的用户位置轨迹,从而判断出该用户A的用户意图,即获知该用户是谁、在哪里、将要做什么比如去往哪里。For example, if at some time it is found that a certain camera collects the collection data corresponding to user A, and at a similar time, several other cameras adjacent to the collection device also sequentially collect the collection corresponding to the user A Therefore, the server can obtain the location track of the user A based on the collected data of the cameras and combine the position attributes associated with the cameras, that is, the position attributes associated with the collected data, to determine the user A. User intent, that is to know who the user is, where it is, what it is going to do, such as where to go.
从而,基于对用户A当前的用户意图的识别结果,服务器可以智能地为该用户A提供相应所需的服务,比如若发现该用户A从所入住的房间出来,向着电梯方向行走,则可以调度电梯到该用户A所在楼层。Therefore, based on the recognition result of the current user intention of the user A, the server can intelligently provide the corresponding required service to the user A. For example, if the user A is found to come out of the room he is staying in and walk towards the elevator, he can schedule Elevator to the floor where user A is located.
为实现对上述用户意图(比如用户A的用户意图)的识别,可选地,服务器的实际 处理过程可以为:In order to identify the user intention (such as the user intention of user A), optionally, the actual processing process of the server may be:
服务器会接收到多个采集设备的采集数据,针对接收到的每个采集数据,服务器可以先对该采集数据进行用户身份识别,从而,从接收到的众多采集数据中确定出依次采集到同一用户身份信息的采集数据,将这些对应于同一用户身份信息的多个采集数据称为目标采集数据。进而,针对确定出的目标采集数据,根据目标采集数据分别对应的位置属性,确定该同一用户身份信息对应的用户的用户位置轨迹。The server will receive the collected data from multiple collection devices. For each received data, the server can first identify the user with the collected data, so as to determine the same user in turn from the many collected data. Collected data of identity information. These multiple collected data corresponding to the same user's identity information are called target collected data. Furthermore, for the determined target acquisition data, according to the position attributes corresponding to the target acquisition data, the user position trajectory of the user corresponding to the same user identity information is determined.
其中,用户身份信息可以携带于采集数据中,或者与采集数据独立但是与采集数据一同被发送至服务器。比如,该用户身份信息可以是摄像头拍得的视频数据中的用户人脸图像,也可以是用户终端设备在向服务器发送定位信号强度向量的同时一并发送的用户终端设备标识,该用户终端设备标识作为用户身份信息。The user identity information may be carried in the collected data, or sent to the server independently of the collected data but together with the collected data. For example, the user identity information may be a user face image in video data captured by a camera, or may be a user terminal device identifier sent by the user terminal device at the same time as sending a positioning signal strength vector to the server. The user terminal device Identification as user identity information.
其中,用户身份识别以及用户位置轨迹确定的可选实现过程可以参见后续实施例中的详细介绍。For an optional implementation process of user identification and user location trajectory determination, refer to the detailed description in the subsequent embodiments.
基于此,通过本方案,某场景可以主动感知用户意图,即感知哪个用户在哪里将要做什么,从而为用户提供更加智能的服务,提高了该场景为用户提供服务的智能化程度。Based on this, through this solution, a scenario can actively sense the user's intention, that is, which user is where to do what, so as to provide users with more intelligent services, and improve the intelligence of the service provided to users in this scenario.
下面结合酒店场景中的几个具体的示例对本发明实施例提供的服务提供方法进行介绍。The following describes the service providing method provided by the embodiment of the present invention with several specific examples in a hotel scenario.
图2为本发明实施例提供的服务提供方法实施例二的流程图,如图2所示,可以包括如下步骤:FIG. 2 is a flowchart of Embodiment 2 of a service providing method according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
201、接收位于楼层行走通道中的N个第一摄像头所采集的视频数据。201. Receive video data collected by N first cameras located on a floor walkway.
202、对N个第一摄像头分别采集的视频数据进行人脸识别,以确定出依次采集到同一目标人脸图像的M个目标视频数据,1<M≤N。202. Perform face recognition on the video data collected by each of the N first cameras to determine M target video data that sequentially capture the same target face image, 1 <M ≦ N.
203、若目标人脸图像存在于预设合法用户数据库中,则根据M个目标视频数据对应的M个第一摄像头各自关联的楼层号和位置编号,确定目标人脸图像对应的用户的用户位置轨迹。203. If the target face image exists in a preset legal user database, determine the user position of the user corresponding to the target face image according to the floor number and location number associated with the respective M first cameras corresponding to the M target video data. Track.
204、根据用户位置轨迹所反映的用户意图,向用户提供与用户意图对应的服务。204. Provide a service corresponding to the user's intention to the user according to the user's intention reflected by the user's position trajectory.
本实施例所示意的是基于人脸识别的某用户的用户意图的识别。本实施例中,该用户意图可以体现为用户搭乘电梯的意图,或者用户回房间的意图。This embodiment illustrates the recognition of the user intention of a certain user based on face recognition. In this embodiment, the user's intention may be embodied as the user's intention to board an elevator, or the user's intention to return to the room.
为实现用户搭乘电梯意图的识别,上述N个摄像头的部署可以是:在一可选实施例中,可以在各楼层的电梯门框处也设置有一个或多个摄像头,用以辅助识别靠近电梯的用户的搭乘电梯的意图;在另一可选实施例中,可以在各楼层的走廊中间隔部署多个摄 像头,用以辅助识别去往电梯方向的用户的搭乘电梯的意图;在另一可选实施例中,为了更加精确地识别出用户搭乘电梯的意图,可以在各楼层的走廊中间隔部署多个摄像头以及在各楼层的电梯门框处也设置有一个或多个摄像头。In order to realize the identification of the user's intention of boarding the elevator, the deployment of the above N cameras may be: In an optional embodiment, one or more cameras may also be provided at the elevator door frame on each floor to assist in identifying the proximity to the elevator. The user ’s intention to take the elevator; in another optional embodiment, multiple cameras may be arranged at intervals in the corridor of each floor to assist in identifying the user ’s intention to take the elevator in the direction of the elevator; in another optional In the embodiment, in order to more accurately identify the user's intention to take the elevator, multiple cameras may be deployed in the corridors of each floor at intervals, and one or more cameras may also be provided at the elevator door frames of each floor.
因为在实际应用中,任一楼层的电梯可能设置在该楼层的中央位置区域,也可能设置在该楼层的一侧边缘位置区域,当电梯设置在中央位置区域时,位于电梯两侧方向的住户都有搭乘电梯的需求,因此需要识别从两侧方向分别去往电梯的用户,为此,在相应楼层走廊处,需要设置能够采集从不同方向去往电梯的用户的视频数据的摄像头。比如,可以在走廊的一侧墙壁上设置朝向东侧的一排摄像头,在走廊另一侧墙壁上设置朝向西侧的一排摄像头。Because in actual application, the elevator of any floor may be located in the central location area of the floor, or it may be located in the edge location area on one side of the floor. When the elevator is located in the central location area, the residents located on both sides of the elevator There is a need to take an elevator, so it is necessary to identify users who are going to the elevator from both sides. To this end, at the corresponding floor corridor, a camera capable of collecting video data of users who are going to the elevator from different directions is required. For example, a row of cameras facing the east can be set on one wall of the corridor, and a row of cameras facing the west can be set on the other wall of the corridor.
其中,这种可以采集不同朝向的视频数据的摄像头部署,也可以满足本实施例中示意的用户回房间意图的识别。因为,在一种实际情形下,若假设某房间内的用户出房间向西侧行走是去往电梯方向,则从电梯出来向东侧行走则是去往房间的方向。Wherein, such a camera deployment that can collect video data of different orientations can also satisfy the identification of the user's intention to return to the room as shown in this embodiment. Because in a practical situation, if it is assumed that a user in a room walks out of the room and goes west to go to the elevator, walking out of the elevator and goes to the east is going to the room.
另外,为了更好地支持用户回房间意图的识别,在任一楼层的走廊中部署的多个摄像头中,可以包含分别靠近该楼层中各房间的摄像头,以便准确识别出某用户是否驻足到他所入住的房间门口附近。In addition, in order to better support the identification of the user's intention of returning to the room, the multiple cameras deployed in the corridor of any floor can include cameras that are close to each room on the floor, in order to accurately identify whether a user stops at the place where he is staying Near the door of the room.
基于上述N个摄像头的部署,当这些摄像头开始工作后,可以将采集的视频数据发送至服务器,针对每个摄像头采集的视频数据,服务器可以对该视频数据进行人脸识别处理。Based on the deployment of the above N cameras, when these cameras start to work, the collected video data can be sent to the server. For the video data collected by each camera, the server can perform face recognition processing on the video data.
具体地,以任一摄像头采集的视频数据a为例来说,为了提高人脸识别处理的速度,服务器可以先对该视频数据a进行降采样处理,进而对降采样后的视频数据a进行图像帧分割处理,之后可以每间隔几帧比如5帧对当前的图像帧进行人脸识别处理,以识别出当前的图像帧中是否含有人脸图像。当识别到该视频数据a中包括某个人脸图像称为目标人脸图像时,可以对该目标人脸图像进行标记处理,比如提取出该目标人脸图像,并标记上该目标人脸图像在该视频数据a中的采集时间。Specifically, taking the video data a collected by any camera as an example, in order to increase the speed of face recognition processing, the server may first perform down-sampling processing on the video data a, and then image the down-sampled video data a. Frame segmentation processing, and then face recognition processing may be performed on the current image frame every few frames, such as 5 frames, to identify whether the current image frame contains a face image. When it is recognized that the video data a includes a certain face image as a target face image, the target face image may be labeled, such as extracting the target face image and marking the target face image in Acquisition time in the video data a.
可选地,为保证目标人脸图像识别结果的可靠性,可以认为如果在连续进行识别的几帧图像中都识别出该目标人脸图像,则认为该目标人脸图像的识别结果有效。Optionally, in order to ensure the reliability of the target face image recognition result, it can be considered that if the target face image is recognized in several frames of continuous recognition, the recognition result of the target face image is considered valid.
针对各摄像头所采集的视频数据都进行上述人脸识别处理,如此,针对识别出的上述某个目标脸图像来说,可以得到采集到该目标人脸图像的其他多个视频数据,比如视频数据b、视频数据c,以及该目标人脸图像在视频数据b、视频数据c中分别对应的采集时间。从而,根据该目标人脸图像在视频数据a、视频数据b和视频数据c中分别对应 的采集时间的先后顺序,可以对视频数据a、视频数据b和视频数据c进行排序,即得到依次采集到该目标人脸图像的三个(此时,M=3)目标视频数据。The above-mentioned face recognition processing is performed on the video data collected by each camera. In this way, for the identified target face image, multiple other video data, such as video data, of the target face image can be obtained. b. Video data c, and corresponding acquisition times of the target face image in video data b and video data c, respectively. Therefore, according to the sequence of the corresponding acquisition times of the target face image in the video data a, video data b, and video data c, the video data a, video data b, and video data c can be sorted to obtain sequential acquisition. To three (at this time, M = 3) target video data of the target face image.
进而,可选地,可以根据这三个目标视频数据对应的三个第一摄像头各自关联的楼层号和位置编号,确定该目标人脸图像对应的用户的用户位置轨迹。Further, optionally, the user position track of the user corresponding to the target face image may be determined according to the floor number and the position number associated with the three first cameras corresponding to the three target video data respectively.
可选地,在确定该用户位置轨迹之前,还可以进一步对该目标人脸图像对应的用户进行身份识别,只有在该用户身份合法的时候,才确定该用户的用户位置轨迹,以便向该用户提供与该用户位置轨迹所反映的用户意图相对应的服务。Optionally, before determining the location track of the user, the user corresponding to the target face image may be further identified, and the location track of the user may be determined only when the identity of the user is legal, so as to provide the user with the Provide a service corresponding to the user's intention reflected by the user's position trajectory.
在一可选实施例中,可以在得到M个目标视频数据后,再针对目标人脸图像所对应的用户进行用户身份识别。在另一可选实施例中,也可以在首次识别到该目标人脸图像时便进行用户身份识别,此时,如果判定该目标人脸图像对应的用户身份不合法,则忽略该目标人脸图像,从而,若后续在其他视频数据中也识别出该目标人脸图像也忽略。In an optional embodiment, after obtaining the M target video data, user identification may be performed for the user corresponding to the target face image. In another optional embodiment, user identification may also be performed when the target face image is recognized for the first time. At this time, if it is determined that the user identity corresponding to the target face image is illegal, the target face is ignored. Image, so if the target face image is also recognized in other video data subsequently, it is also ignored.
可以理解的是,服务器中预先存储有包含酒店场景中所有用户的参考人脸图像的数据库,称为预设合法用户数据库。本实施例中的该用户可以包括所有入住的住客和服务人员。其中,住客的参考人脸图像是在住客入住办理登记手续时获得的:具体地,办理登记手续时,相关人员会将住客的身份信息以及为住客的入住信息录入到服务器中,该身份信息中比如包括住客的身份证号、身份证照片或现场采集的图像(作为该住客的参考人脸图像)、手机号、手机MAC地址等;入住信息比如包括入住的房间号、房价、入住天数、所预订的服务如健身房、餐饮等。同理,服务人员的参考人脸图像、手机号、手机MAC地址等用户信息也是预先存入该预设合法用户数据库中的。It can be understood that the server stores a database containing reference face images of all users in the hotel scene in advance, which is called a preset legal user database. The user in this embodiment may include all occupants and service staff. Among them, the reference face image of the guest was obtained when the guest checked in: Specifically, when checking in, the relevant person will enter the guest's identity information and the guest's check-in information into the server. The identity information includes, for example, the resident's ID number, ID photo or images collected on site (as the reference face image of the resident), mobile phone number, mobile phone MAC address, etc .; check-in information, such as the room number and room price , Length of stay, services booked such as gym, catering, etc. Similarly, user information such as the reference face image, mobile phone number, and mobile phone MAC address of the service personnel is also stored in the preset legal user database in advance.
因此,服务器可以将识别出的目标人脸图像与预设合法用户数据库中包含的参考人脸图像进行比对,以确定该目标人脸图像对应的用户是谁,比如是某个房间内入住的住客,还是某位服务人员。如果该预设合法用户数据库中没有与该目标人脸图像匹配的参考人脸图像,则认为该目标人脸图像对应的用户为不合法用户。Therefore, the server can compare the identified target face image with a reference face image contained in a preset legal user database to determine who the user corresponding to the target face image is, for example, a person staying in a room Guest, or a service staff. If there is no reference face image matching the target face image in the preset legitimate user database, the user corresponding to the target face image is considered to be an illegal user.
当从N个第一摄像头分别采集的视频数据中确定出依次采集到某目标人脸图像的M个目标视频数据后,且判定该目标人脸图像对应的用户的身份合法时,可以根据该M个目标视频数据对应的M个第一摄像头各自关联的楼层号和位置编号,确定该目标人脸图像对应的用户的用户位置轨迹,进而根据该用户位置轨迹所反映的用户意图向该用户提供与用户意图对应的服务。其中,这M个第一摄像头即为分别采集该M个目标视频数据的摄像头。When M target video data of a target face image are sequentially acquired from the video data collected by the N first cameras, and the identity of the user corresponding to the target face image is determined to be legal, the M The floor numbers and location numbers associated with the respective M first cameras corresponding to the target video data determine the user location trajectory of the user corresponding to the target face image, and then provide the user with the user ’s intention based on the user ’s intention reflected in the user ’s location trajectory. The service the user intended. The M first cameras are cameras that respectively collect the M target video data.
在一可选实施例中,若该M个第一摄像头对应于相同的楼层号且M个第一摄像头 的位置编号反映出该用户的行走方向对应于电梯方向,则确定该用户的用户位置轨迹是向电梯方向行走,从而该用户位置轨迹反映出该用户想要搭乘电梯的意图,此时,服务器根据该用户位置轨迹所反映的用户搭乘电梯意图,控制电梯运行至所述楼层号对应的楼层。In an optional embodiment, if the M first cameras correspond to the same floor number and the position numbers of the M first cameras reflect that the walking direction of the user corresponds to the elevator direction, then determine the user's position track of the user Is walking towards the elevator, so that the user ’s position trajectory reflects the user ’s intention to board the elevator. At this time, the server controls the elevator to run to the floor corresponding to the floor number according to the user ’s intention to board the elevator. .
举例来说,比如摄像头1在T1时刻采集到了张三的人脸图像,摄像头2在T2时刻也采集到了张三的人脸图像,摄像头3在T3时刻也采集到了张三的人脸图像,其中,T1、T2、T3相近且依次递增,且摄像头1、摄像头2、摄像头3都在三楼走廊中自西向东依次排列,且电梯位于摄像头3的东侧,则确定用户是想搭乘电梯。For example, for example, camera 1 captures Zhang San's face image at time T1, camera 2 also captures Zhang San's face image at time T2, and camera 3 also captures Zhang San's face image at time T3, of which , T1, T2, and T3 are similar and increase in order, and camera 1, camera 2, and camera 3 are all arranged from west to east in the corridor on the third floor, and the elevator is located on the east side of camera 3, it is determined that the user wants to take the elevator.
值得说明的是,为了更加准确地判断出用户是否是想要搭乘电梯,上述M个摄像头中位置最靠近电梯门的摄像头不宜离电梯门过远,因此,可选地,识别用户意图是否为搭乘电梯的判定条件中还可以进一步包括:若M个第一摄像头对应于相同的楼层号且M个第一摄像头的位置编号反映出该用户的行走方向对应于电梯方向,且M个摄像头与该楼层号所对应的电梯门间的距离满足要求,则确定该用户的用户位置轨迹是向电梯方向行走,相应的,该用户位置轨迹所反映的用户意图是用户搭乘电梯意图。It is worth noting that in order to more accurately determine whether the user wants to take the elevator, the camera closest to the elevator door among the M cameras should not be too far away from the elevator door. Therefore, optionally, it is possible to identify whether the user intends to take the elevator. The elevator determination conditions may further include: if the M first cameras correspond to the same floor number and the position numbers of the M first cameras reflect that the user ’s walking direction corresponds to the elevator direction, and the M cameras are on the floor The distance between the elevator doors corresponding to the number satisfies the requirements, it is determined that the user's position trajectory of the user is walking toward the elevator. Accordingly, the user's intention reflected by the user's position trajectory is the user's intention to ride the elevator.
其中,M个摄像头与该楼层号所对应的电梯门间的距离满足要求是指M个摄像头中最靠近电梯门的摄像头与电梯门间的距离。其中,服务器中可以预先维护有同一楼层中各摄像头位置与该楼层的电梯门位置的相对位置关系,比如维护有任一楼层中各摄像头在某一方向上逐渐靠近电梯门的各摄像头的位置编号。The distance between the M cameras and the elevator door corresponding to the floor number meets the requirement refers to the distance between the camera closest to the elevator door and the elevator door among the M cameras. The server may maintain in advance the relative positional relationship between the positions of the cameras on the same floor and the position of the elevator door on the floor, such as maintaining the position numbers of the cameras on any floor that are gradually approaching the elevator door in a certain direction.
另外,值得说明的是,在一种极端情况下,比如某用户所入住的房间距离所在楼层的电梯门很近,此时,该用户意图搭乘电梯的行为可以基于电梯门框处部署的摄像头感知,即服务器根据电梯门框处部署的摄像头所采集的视频数据识别出某用户的人脸图像时,基于该视频数据所关联的位置属性即该摄像头所关联的位置属性确定该用户想要搭乘电梯,其中,该位置属性反映了该摄像头在某楼层的电梯门处,比如以某楼层电梯处为位置属性值。In addition, it is worth noting that, in an extreme case, for example, the room where a user is staying is very close to the elevator door on the floor. At this time, the user's intention to take the elevator can be based on the camera deployed at the door frame of the elevator. That is, when the server recognizes a user's face image based on the video data collected by the camera deployed at the door frame of the elevator, the server determines that the user wants to take the elevator based on the position attribute associated with the video data, that is, the position attribute associated with the camera. The position attribute reflects the position of the camera at the elevator door of a certain floor, for example, the position of the elevator at a certain floor is the value of the position attribute.
另外,在一些实施例中,除了可以基于得到的用户意图为用户提供针对性的服务外,还可以进一步结合用户的用户特征信息,为用户推送服务信息。In addition, in some embodiments, in addition to providing targeted services to users based on the obtained user intentions, it may further combine user characteristic information of users to push service information for users.
举例来说,比如发现用户意图为搭乘电梯时,此时,除了可以基于用户意图将电梯调度至用户当前所在楼层外,还可以结合当前的时间、用户以往的行为信息记录、用户的入住目的等用户特征信息为用户推送相应的服务信息。比如发现用户每天在当前时间前后去往健身房锻炼,则可以为用户推送健身房的人员数量、器材使用情况等信息,使 得用户能够提前了解到健身房的情况。再比如,如果发现用户当前想要搭乘电梯,且根据当前时间判定当前处于用餐时间,且用户具有在酒店餐厅就餐的权限,则可以向该用户推送当前餐厅提供的餐品信息。再比如,如果发现用户当前想要搭乘电梯,且根据当前时间判定当前处于用户习惯外出的时间,且用户的入住目的为旅游,则可以向该用户推送景点信息。For example, when it is found that the user intends to take the elevator, at this time, in addition to scheduling the elevator to the user's current floor based on the user's intention, it can also combine the current time, the user's previous behavior information record, and the user's check-in purpose. The user characteristic information pushes the corresponding service information for the user. For example, if you find that the user goes to the gym around the current time every day to exercise, you can push the information about the number of people in the gym and the use of equipment, so that the user can know the situation of the gym in advance. For another example, if it is found that the user currently wants to take the elevator, and it is determined that it is currently at a meal time according to the current time, and the user has the right to dine in the hotel restaurant, the user can push the meal information provided by the current restaurant to the user. For another example, if it is found that the user currently wants to take the elevator, and it is determined that the user is currently out of time according to the current time, and the user's check-in purpose is to travel, the user can push the attraction information to the user.
在另一可选实施例中,若M个第一摄像头对应于相同的楼层号且M个第一摄像头的位置编号反映出该用户行走到自己房间附近,则确定该用户的用户位置轨迹是向用户房间方向行走,从而该用户位置轨迹反映出该用户想要回房间的意图,此时,服务器根据该用户位置轨迹所反映的用户回房间意图,对用户对应的房间内的智能设备进行预设控制,比如可以控制该用户对应的房间门锁打开,比如还可以控制房间内的空调、灯光处于特定的模式。其中,该M个摄像头往往由自该楼层的电梯位置附近至该用户的房间位置附近的多个摄像头组成,且该多个摄像头的拍摄方向对应于用户自电梯处走向房间处的方向。而且,可以理解的是,这M个摄像头所对应的楼层号与该用户的房间所在楼层号一致。In another optional embodiment, if the M first cameras correspond to the same floor number and the position numbers of the M first cameras reflect that the user walked near his room, it is determined that the user's position trajectory of the user is toward The user walks in the direction of the room, so that the user's position trajectory reflects the user's intention to return to the room. At this time, the server presets the smart device in the user's corresponding room according to the user's intention to return to the room reflected in the user's position trajectory. Control, for example, can control the unlocking of the door of the room corresponding to the user. For example, it can also control the air conditioner and light in the room in a specific mode. Among them, the M cameras are often composed of multiple cameras from near the elevator position on the floor to near the user's room location, and the shooting direction of the multiple cameras corresponds to the user's direction from the elevator to the room. Moreover, it can be understood that the floor numbers corresponding to the M cameras are consistent with the floor numbers of the user's rooms.
综上,以酒店场景为例,通过在酒店场景中合适的位置部署若干用于采集视频数据的摄像头,并且基于服务器侧的人脸识别、反映用户意图的用户位置轨迹识别的视频数据处理逻辑,可以实现酒店场景对用户意图的自动感知,以便为用户提供更加智能化的服务。In summary, taking the hotel scene as an example, by deploying several cameras for collecting video data at appropriate positions in the hotel scene, and based on the server-side face recognition and video data processing logic that reflects the user ’s position trajectory recognition reflecting user intentions, The hotel scene can automatically realize the user's intention, so as to provide users with more intelligent services.
图3为本发明实施例提供的服务提供方法实施例三的流程图,如图3所示,可以包括如下步骤:FIG. 3 is a flowchart of Embodiment 3 of a service providing method according to an embodiment of the present invention. As shown in FIG. 3, the method may include the following steps:
301、接收位于楼层行走通道中的N个第一摄像头所采集的视频数据,以及位于各房间门处的第二摄像头所采集的视频数据。301. Receive video data collected by N first cameras located on a floor walkway, and video data collected by second cameras located at each room door.
302、对N个第一摄像头分别采集的视频数据进行用户轮廓特征识别,以确定出依次采集到同一目标用户轮廓特征的K个目标视频数据,1<K≤N。302: Perform user profile feature recognition on the video data collected by each of the N first cameras to determine K target video data that sequentially capture the same target user profile feature, 1 <K ≦ N.
303、若K个目标视频数据对应的K个第一摄像头对应于相同的楼层号且K个第一摄像头的位置编号反映出具有目标用户轮廓特征的用户行走到目标房间处,则确定所述用户的用户位置轨迹是向目标房间行走。303. If the K first cameras corresponding to the K target video data correspond to the same floor number, and the position numbers of the K first cameras reflect the user with the contour characteristics of the target user walking to the target room, determine the user The user position trajectory is walking towards the target room.
304、根据用户位置轨迹所反映的进入目标房间的意图,控制与目标房间对应的第二摄像头采集视频数据,识别第二摄像头采集的视频数据中的人脸图像,若识别出的人脸 图像与目标房间对应的参考人脸图像匹配,则对目标房间内的智能设备进行预设控制。304: Control the second camera corresponding to the target room to collect video data according to the intention of entering the target room reflected by the user's position trajectory, and identify the face image in the video data collected by the second camera. If the identified face image and the When the reference face image corresponding to the target room matches, the smart device in the target room is preset to control.
本实施例所示意的是基于人脸识别的用户回房间意图的识别。其中,本实施例中识别用户回房间意图的实现过程与图2所示的识别用户回房间意图的实现过程不同,图2所示实施例中主要是基于用户行走到房间门的过程中所途径的多个摄像头先后采集到该用户的人脸图像,且该用户行走到其入住房间附近这些特征识别出用户意欲回房间即打开房间门进入房间的意图,这种识别方式可以认为是间接识别模式。相对比地,本实施例中的识别用户回房间意图的方式为直接识别模式,简单来说,就是令用户配合进行图像采集与人脸识别,以判定用户是否具有进入某房间的权限。This embodiment illustrates recognition of a user's intention to return to a room based on face recognition. The implementation process of identifying the user's intention to return to the room in this embodiment is different from the implementation process of identifying the user's intention to return to the room as shown in FIG. 2. The embodiment shown in FIG. 2 is mainly based on the way in which the user walks to the room door. The multiple cameras of the camera have successively collected the face images of the user, and the user walked near the room where he stayed. These characteristics identify the user's intention to return to the room, that is, to open the room door to enter the room. This recognition method can be considered as an indirect recognition mode. . In contrast, the method for identifying the user's intention to return to the room in this embodiment is a direct recognition mode. In simple terms, the user is required to cooperate with image acquisition and face recognition to determine whether the user has the right to enter a room.
为支持该直接识别模式,在酒店中的各房间门上可以部署摄像头称为第二摄像头,可选地,还可以部署与第二摄像头连接的人体检测传感器,该人体检测传感器比如为超声波传感器、红外传感器等,可以检测一定距离内的人体。为提高房间门上第二摄像头的使用寿命以及节能,在某房间门上的人体检测传感器被启动后,当检测到有人体靠近时,才向相应的第二摄像头发送触发信号以触发该第二摄像头工作,该第二摄像头进而采集视频数据,将采集的视频数据发送至服务器。其中,可以理解的是,房间门上的第二摄像头也关联有位置属性,该位置属性可以携带于第二摄像头所采集的视频数据中,该位置属性体现为相应的房间号,从而服务器获知是哪个房间门的第二摄像头发送的视频数据。To support the direct recognition mode, a camera may be deployed on each room door in the hotel as a second camera. Optionally, a human detection sensor connected to the second camera may also be deployed. The human detection sensor is, for example, an ultrasonic sensor, Infrared sensors can detect humans within a certain distance. In order to improve the service life and energy saving of the second camera on the room door, after the human detection sensor on the door of a room is activated, when a human body is detected to be approaching, a trigger signal is sent to the corresponding second camera to trigger the second camera. The camera works, and the second camera further collects video data and sends the collected video data to the server. It can be understood that the second camera on the door of the room is also associated with a position attribute, which can be carried in the video data collected by the second camera, and the position attribute is reflected in the corresponding room number, so that the server knows that Which room door sends video data to the second camera.
本实施例中,触发某房间门上的第二摄像头采集视频数据的条件简单来说可以是:如果发现某用户行走到该房间门处,但是却未识别到该用户的人脸图像即未发现包含该用户的人脸图像的多个第一摄像头所采集的视频数据。因为此时无法通过人脸识别判定该用户是否具有进入该房间的权限。In this embodiment, the condition for triggering the second camera on the door of a room to collect video data can be simply said: if a user is found walking to the door of the room, but the face image of the user is not recognized, it is not found. Video data collected by a plurality of first cameras including a face image of the user. Because at this time, it is impossible to determine whether the user has the right to enter the room through face recognition.
此时,可选地,对于N个第一摄像头分别采集的视频数据,服务器可以先进行用户轮廓特征识别,以确定出依次采集到同一目标用户轮廓特征的K个目标视频数据,进而若K个目标视频数据对应的K个第一摄像头对应于相同的楼层号且K个第一摄像头的位置编号反映出具有该目标用户轮廓特征的用户行走到目标房间处,则确定该用户的用户位置轨迹是向目标房间行走,从而判定该用户的用户意图为进入该目标房间。其中,上述用户轮廓特征可以包括发型、体型、着装等。At this time, optionally, for the video data collected by each of the N first cameras, the server may first perform user profile feature recognition to determine K target video data that sequentially captures the same target user profile feature, and then if K The K first cameras corresponding to the target video data correspond to the same floor number, and the position numbers of the K first cameras reflect that the user with the outline characteristics of the target user walks to the target room, and it is determined that the user's position trajectory of the user is Walk to the target room, thereby determining that the user of the user intends to enter the target room. The above-mentioned user contour features may include hairstyle, body shape, dress, and the like.
此时,上述用户轮廓特征可以认为是一种较弱的用户身份信息,不足以准确判定出该用户是否具有进入该目标房间的权限,即不足以准确识别出该用户的用户身份,因此,在确定出用户意图为进入该目标房间时,服务器可以进一步控制该目标房间的第二摄像 头开启,采集视频数据,通过对该视频数据进行人脸识别,以确定识别出的人脸图像是否与预设合法用户数据库中该目标房间对应的参考人脸图像匹配,如果匹配,则说明该用户具有进入该目标房间的权限即该用户身份合法,从而,服务器比如可以控制目标房间的房间门锁打开,还可以控制该目标房间内的诸如空调、电灯等智能设备处于预设工作模式。At this time, the above-mentioned user profile feature can be regarded as a kind of weak user identity information, which is not enough to accurately determine whether the user has the right to enter the target room, that is, insufficient to accurately identify the user's user identity. Therefore, in When it is determined that the user intends to enter the target room, the server may further control the second camera of the target room to be turned on, collect video data, and perform face recognition on the video data to determine whether the identified face image is consistent with a preset The reference face image corresponding to the target room in the legal user database matches. If they match, it means that the user has the right to enter the target room, that is, the user's identity is legal. Therefore, the server can control the door lock of the target room to open, for example. It is possible to control smart devices such as air conditioners and electric lights in the target room to be in a preset working mode.
服务器除了可以直接控制目标房间对应的第二摄像头开启以采集视频数据外,可选地,也可以通过控制与该第二摄像头连接的人体检测传感器开启,以通过该人体检测传感器来控制对应的第二摄像头开启,即在其检测到人体时控制该第二摄像头开启。通过控制该人体检测传感器开启,可以避免服务器若错误地识别出目标房间而直接控制开启目标房间对应的第二摄像头而导致的控制错误,因为只有在该人体检测传感器检测到有人体靠近时才会触发第二摄像头工作。该第二摄像头在将采集的视频数据发送至服务器后,可以自动关闭。The server can directly control the second camera corresponding to the target room to be turned on to collect video data. Alternatively, the server can also be turned on by controlling the human detection sensor connected to the second camera to control the corresponding first camera through the human detection sensor. The two cameras are turned on, that is, the second camera is controlled to be turned on when it detects a human body. By controlling the human detection sensor to be turned on, it is possible to avoid a control error caused by the server directly controlling the opening of the second camera corresponding to the target room if the target room is mistakenly identified, because it is only detected when the human detection sensor detects a human being approaching Trigger the second camera to work. The second camera can be automatically turned off after sending the collected video data to the server.
基于本实施例中对用户进入房间的意图的识别,用户无需再像传统进入房间时需要刷卡开锁,为用户提供了便利性。Based on the recognition of the user's intention to enter the room in this embodiment, the user no longer needs to swipe the card to unlock the door as traditionally when entering the room, providing convenience to the user.
图4为本发明实施例提供的服务提供方法实施例四的流程图,如图4所示,可以包括如下步骤:FIG. 4 is a flowchart of Embodiment 4 of a service providing method according to an embodiment of the present invention. As shown in FIG. 4, the method may include the following steps:
401、接收多个用户终端设备在不同时刻采集的定位信号强度向量和用户终端设备标识,所述定位信号强度向量对应于预先部署的多个定位装置。401. Receive positioning signal strength vectors and user terminal equipment identifiers collected by multiple user terminal devices at different moments, where the positioning signal strength vectors correspond to multiple pre-deployed positioning devices.
402、确定出对应于同一目标用户终端设备标识的目标定位信号强度向量序列。402. Determine a target positioning signal strength vector sequence corresponding to the same target user terminal equipment identifier.
403、根据目标定位信号强度向量序列确定目标用户终端设备标识对应的用户的用户位置轨迹。403. Determine a user position trajectory of a user corresponding to a target user terminal device identifier according to a target positioning signal strength vector sequence.
404、根据用户位置轨迹所反映的用户意图,向目标用户终端设备标识对应的用户提供与用户意图对应的服务。404: Provide a service corresponding to the user's intention to the user corresponding to the target user terminal device identifier according to the user's intention reflected by the user's location track.
本实施例所示意的是基于定位算法实现对某用户的用户意图的识别。本实施例中,该用户意图可以体现为用户搭乘电梯意图,或者用户回房间意图,或者用户使用导航应用的意图,等等。This embodiment is intended to recognize the user intention of a certain user based on the positioning algorithm. In this embodiment, the user's intention may be embodied as the user's intention to board the elevator, or the user's intention to return to the room, or the user's intention to use the navigation application, and so on.
为实现基于定位算法对某用户的用户意图的识别,以酒店场景为例,在酒店中预先部署有若干定位装置,每个定位装置所发射的定位广播信号的覆盖范围可以根据实际需 要而设定,具体可以调整定位装置的发射功率来实现覆盖范围的设定。每个定位装置具有唯一的标识信息,用于区分不同的定位装置。In order to realize the identification of a user's intention based on a positioning algorithm, taking a hotel scenario as an example, several positioning devices are pre-deployed in the hotel, and the coverage of the positioning broadcast signals transmitted by each positioning device can be set according to actual needs Specifically, the transmission power of the positioning device can be adjusted to achieve the setting of the coverage range. Each positioning device has unique identification information, which is used to distinguish different positioning devices.
另外,为支持本实施例提供的定位算法,在部署好各定位装置后,可以在酒店中的若干位置进行定位信号强度的测试,比如假设在3万平方米的酒店空间中每间隔2米生成一个测试位置,则一共可以生成1.5万个测试位置。本实施例中,每个测试位置具有两个维度的信息,其一是具体的空间坐标,比如体现为(x,y,楼层号),其中,x,y是指经纬度坐标;其二是在该测试位置处测得的各定位装置的定位信号强度向量。In addition, in order to support the positioning algorithm provided in this embodiment, after the positioning devices are deployed, the positioning signal strength test can be performed at several locations in the hotel, for example, assuming that it is generated every 2 meters in a hotel space of 30,000 square meters One test position can generate a total of 15,000 test positions. In this embodiment, each test position has two dimensions of information, one of which is specific spatial coordinates, such as (x, y, floor number), where x, y refers to latitude and longitude coordinates; the other is at The positioning signal strength vector of each positioning device measured at the test position.
具体地,测试人员可以携带诸如智能手机分别站在不同的测试位置处进行各定位装置的定位信号强度向量的测量,其中,智能手机根据接收到的各定位装置发射的定位信号的强度获得该定位信号强度向量。可以理解的是,如果在某测试位置处没有接收到某个或某些个定位装置的定位信号,则认为这些定位装置在该测试位置处对应的定位信号强度为0,并且,定位装置发送的定位信号中可以携带有定位装置的标识,以便区分各定位装置的定位信号强度。Specifically, the tester may carry, for example, a smart phone standing at different test positions to measure the positioning signal strength vector of each positioning device, where the smart phone obtains the positioning according to the strength of the positioning signal received by each positioning device. Signal strength vector. It can be understood that if a positioning signal of one or some positioning devices is not received at a test position, the corresponding positioning signal strength of the positioning devices at the test position is considered to be 0, and the The positioning signal may carry the identification of the positioning device so as to distinguish the positioning signal strength of each positioning device.
举例来说,假设定位装置包括AP1、AP2、AP3、AP4和AP5,测试位置包括f1、f2、f3,并且假设在f1处测得的定位信号强度向量为[-50,-60,-70,0,-70],在f2处测得的定位信号强度向量为[-65,-42,0,0,-80],在f3处测得的定位信号强度向量为[-60,-63,0,0,-50],其中,上述各定位信号强度向量中的元素的单位为分贝,上述各定位信号强度向量中元素的顺序依次对应于AP1、AP2、AP3、AP4和AP5,即:For example, suppose the positioning device includes AP1, AP2, AP3, AP4, and AP5, the test position includes f1, f2, f3, and assume that the positioning signal strength vector measured at f1 is [-50, -60, -70, 0, -70], the positioning signal strength vector measured at f2 is [-65, -42,0,0, -80], and the positioning signal strength vector measured at f3 is [-60, -63, 0,0, -50], where the units of the above-mentioned positioning signal strength vectors are in decibels, and the order of the elements in the above-mentioned positioning signal strength vectors corresponds to AP1, AP2, AP3, AP4, and AP5 in order, that is:
AP1 AP2 AP3 AP4 AP5AP1 AP2 AP3 AP4 AP5
f1=[-50,-60,-70,0,-70]f1 = [-50, -60, -70,0, -70]
f2=[-65,-42,0,-50,-80]f2 = [-65, -42,0, -50, -80]
f3=[-60,-63,-45,0,-50]。f3 = [-60, -63, -45,0, -50].
进而,基于在各测试位置处测得的各定位装置的定位信号强度向量,可以转换得到定位装置与测试位置间的映射关系。具体地,针对任一定位装置来说,可以从全部测试位置中筛选出测得的定位信号强度大于预设阈值的测试位置,构成与该定位装置对应的测试位置集合。比如,假设预设阈值为-60,针对上述AP1来说,由于f1和f3处测得的定位信号强度大于或等于-60,而f2处测得的定位信号强度小于-60,则AP1对应的测试位置集合由f1和f3组成,表示为AP1->(f1,f3)。同理,AP2->(f1,f2),AP3->(f3),AP4->(f2),AP5->(f3)。可以理解的是,各定位信号强度向量中只有非0元素会与预设阈值-60进行比较。Furthermore, based on the positioning signal strength vector of each positioning device measured at each test position, the mapping relationship between the positioning device and the test position can be converted. Specifically, for any positioning device, test positions whose measured positioning signal strength is greater than a preset threshold can be filtered out of all test positions to form a test position set corresponding to the positioning device. For example, suppose the preset threshold is -60. For the above AP1, since the positioning signal strength measured at f1 and f3 is greater than or equal to -60, and the positioning signal strength measured at f2 is less than -60, then AP1 corresponds to The set of test locations consists of f1 and f3, and is expressed as AP1-> (f1, f3). Similarly, AP2-> (f1, f2), AP3-> (f3), AP4-> (f2), AP5-> (f3). It can be understood that only non-zero elements in each positioning signal strength vector are compared with a preset threshold of -60.
基于此,服务器中可以将在各测试位置测得的定位信号强度向量以及各定位装置对应的测试位置集合,以及各测试位置对应的具体位置信息存入到定位数据库中。Based on this, the server can store the positioning signal strength vector measured at each test position, the test position set corresponding to each positioning device, and the specific position information corresponding to each test position into the positioning database.
从而,在实际应用中,当携带诸如手机等用户终端设备的某用户在酒店中的某位置时,该用户终端设备会接收到多个定位装置发射的定位信号,从而,用户终端设备可以将由接收到的定位信号的强度所构成的定位信号强度向量以及该用户终端设备标识发送至服务器,从而服务器会接收到多个用户终端设备各自在不同时刻发送的定位信号强度向量以及用户终端设备标识。Therefore, in a practical application, when a user carrying a user terminal device such as a mobile phone is in a certain position in a hotel, the user terminal device may receive positioning signals transmitted by multiple positioning devices, and thus the user terminal device may The positioning signal strength vector formed by the received positioning signal strength and the user terminal device identifier are sent to the server, so that the server receives the positioning signal strength vectors and user terminal device identifiers sent by multiple user terminal devices at different times.
其中,如前述实施例中所介绍的,该用户终端设备标识比如为手机MAC地址,可以作为用户身份标识,以使服务器可以基于该用户终端设备标识来识别用户身份。Wherein, as described in the foregoing embodiment, the user terminal device identifier, such as a mobile phone MAC address, can be used as a user identity identifier, so that the server can identify the user identity based on the user terminal device identifier.
实际应用中,针对任一用户终端设备假设称为目标用户终端设备,目标用户终端设备可以将每次检测到的目标定位信号强度向量以及目标用户终端设备标识发送至服务器,服务器一方面可以基于接收到的目标用户终端设备标识以及接收时间确定出对应于该目标用户终端设备标识的目标定位信号强度向量序列,即由于该目标用户终端设备标识对应的所有目标定位信号强度向量按照接收时间先后顺序而构成的序列,而且确定预设合法用户数据库中是否包含有该目标用户终端设备标识,另一方面还可以在每接收到一个目标定位信号强度向量后,确定相应用户当前所在的用户位置,从而由该用户在不同时刻的用户位置构成该用户的用户位置轨迹。In practical applications, for any user terminal device, it is assumed to be called a target user terminal device. The target user terminal device can send each detected target positioning signal strength vector and target user terminal device identifier to the server. On the one hand, the server can The target user terminal device identifier and the receiving time determine the target positioning signal strength vector sequence corresponding to the target user terminal device identifier, that is, because all target positioning signal strength vectors corresponding to the target user terminal device identifier are in the order of receiving time. It also determines whether the target user terminal device identifier is included in the preset legal user database. On the other hand, after receiving a target positioning signal strength vector, the user position where the corresponding user is currently located can be determined. The user position of the user at different times constitutes the user position track of the user.
具体地,对于所述目标定位信号强度向量序列中的任一定位信号强度向量,服务器可以通过如下过程确定出相应用户此时所在的位置:Specifically, for any positioning signal strength vector in the target positioning signal strength vector sequence, the server may determine the location of the corresponding user at this time by the following process:
从部署的多个定位装置中确定出与该任一定位信号强度向量中大于或等于预设阈值的信号强度相对应的目标定位装置;Determining a target positioning device corresponding to a signal strength greater than or equal to a preset threshold in any positioning signal strength vector from the plurality of deployed positioning devices;
获取与目标定位装置对应的测试位置集合,其中,在测试位置集合中的各测试位置处预先测得的目标定位装置的信号强度大于或等于预设阈值;Acquiring a set of test positions corresponding to the target positioning device, wherein the signal strength of the target positioning device measured in advance at each test position in the test position set is greater than or equal to a preset threshold;
根据所述任一定位信号强度向量分别与各测试位置对应的参考定位信号强度向量间的距离,确定述目标用户终端设备标识对应的用户此时的用户位置,其中,参考定位信号强度向量是预先在对应的测试位置处测得的多个定位装置的信号强度。Determining the user position of the user corresponding to the target user terminal device identifier at this time according to the distance between any one of the positioning signal strength vectors and the reference positioning signal strength vector corresponding to each test position, wherein the reference positioning signal strength vector is a The signal strengths of the plurality of positioning devices measured at the corresponding test positions.
举例来说,假设目标用户终端设备在当前位置处测得的目标定位信号强度向量为:X1=[-80,-50,0,-90,-60],并且假设该目标定位信号强度向量中元素的顺序依次对应于AP1、AP2、AP3、AP4和AP5。假设预设阈值为-60,则与该目标定位信号强度向量中大于或等于预设阈值的信号强度即-50和-60相对应的目标定位装置为AP2和AP5。 进而,基于定位数据库中存储的各定位装置与测试位置集合的对应关系可知:AP2对应的测试位置集合为(f1,f2),AP5对应的测试位置集合为(f3)。进而,基于定位数据库中存储的各测试位置处测得的定位信号强度向量称为参考定位信号强度向量可知:f1=[-50,-60,-70,0,-70],f2=[-65,-42,0,-50,-80],f3=[-60,-63,-45,0,-50]。从而,基于目标用户终端设备测得的目标定位信号强度向量X1=[-80,-50,0,-90,-60]分别与这三个参考定位信号强度向量间的距离确定目标用户终端设备对应的用户当前所在的位置。For example, suppose the target positioning signal strength vector measured by the target user terminal device at the current position is: X1 = [-80, -50, 0, -90, -60], and it is assumed that the target positioning signal strength vector The order of the elements corresponds to AP1, AP2, AP3, AP4, and AP5. Assuming the preset threshold is -60, the target positioning devices corresponding to signal strengths in the target positioning signal strength vector that are greater than or equal to the preset threshold, that is, -50 and -60 are AP2 and AP5. Furthermore, based on the correspondence between the positioning devices and the test position set stored in the positioning database, it can be known that the test position set corresponding to AP2 is (f1, f2), and the test position set corresponding to AP5 is (f3). Furthermore, based on the positioning signal strength vector measured at each test position stored in the positioning database, it is known as the reference positioning signal strength vector: f1 = [-50, -60, -70,0, -70], f2 = [- 65, -42,0, -50, -80], f3 = [-60, -63, -45,0, -50]. Therefore, the target user terminal device is determined based on the distance between the target positioning signal strength vector X1 = [-80, -50, 0, -90, -60] measured by the target user terminal device and the three reference positioning signal strength vectors, respectively. The corresponding user's current location.
在计算目标用户终端设备测得的目标定位信号强度向量分别与这三个参考定位信号强度向量间的距离的过程中,可选地,可以直接计算目标用户终端设备测得的目标定位信号强度向量X1=[-80,-50,0,-90,-60]分别与这三个参考定位信号强度向量间的欧式距离;或者可选地,还可以先对目标用户终端设备测得的目标定位信号强度向量X1=[-80,-50,0,-90,-60]以及这三个参考定位信号强度向量进行元素过滤,之后计算过滤后的定位信号强度向量间的距离;或者可选地,还可以仅先对目标用户终端设备测得的目标定位信号强度向量X1=[-80,-50,0,-90,-60]进行元素过滤,之后计算过滤后的目标定位信号强度向量分别与这三个参考定位信号强度向量间的距离。In the process of calculating the distance between the target positioning signal strength vector measured by the target user terminal device and the three reference positioning signal strength vectors, respectively, optionally, the target positioning signal strength vector measured by the target user terminal device may be directly calculated X1 = [-80, -50, 0, -90, -60] and the Euclidean distance between the three reference positioning signal strength vectors respectively; or alternatively, the target positioning measured by the target user terminal device may also be performed first Signal strength vector X1 = [-80, -50, 0, -90, -60] and the three reference positioning signal strength vectors for element filtering, and then calculating the distance between the filtered positioning signal strength vectors; or optionally , You can also only perform element filtering on the target positioning signal strength vector X1 = [-80, -50, 0, -90, -60] measured by the target user terminal device, and then calculate the filtered target positioning signal strength vector respectively The distance from the three reference positioning signal strength vectors.
其中,元素过滤是指过滤掉上述向量中小于预设阈值如-60的元素,即将小于-60的元素置为0,从而,目标定位信号强度向量X1=[-80,-50,0,-90,-60]过滤后为X2=[0,-50,0,0,-60]。假设也对参考定位信号强度向量进行元素过滤,则参考定位信号强度向量f1=[-50,-60,-70,0,-70]过滤后为f11=[-50,-60,0,0,0];参考定位信号强度向量f2=[-65,-42,0,-50,-80]过滤后为f21=[0,-42,0,-50,0];参考定位信号强度向量f3=[-60,-63,-45,0,-50]过滤后为f31=[-60,0,-45,0,-50]。Among them, element filtering refers to filtering out elements in the above vector that are smaller than a preset threshold value such as -60, that is, elements that are smaller than -60 are set to 0, so the target positioning signal strength vector X1 = [-80, -50, 0,- 90, -60] after filtering, X2 = [0, -50,0,0, -60]. Assuming that element filtering is also performed on the reference positioning signal strength vector, the reference positioning signal strength vector f1 = [-50, -60, -70,0, -70] after filtering is f11 = [-50, -60,0,0 , 0]; reference positioning signal strength vector f2 = [-65, -42,0, -50, -80] after filtering is f21 = [0, -42,0, -50,0]; reference positioning signal strength vector f3 = [-60, -63, -45,0, -50] After filtering, it is f31 = [-60,0, -45,0, -50].
在计算得到上述各距离后,可以按照距离由小到大的顺序,从上述多个测试位置f1、f2、f3中选出一定数量的测试位置,比如选出两个,假设为f1和f3,从而结合选出的测试位置确定目标用户终端设备所对应的用户当前所在的位置。其中,当选出的数量设置为1时,即以上述距离中的最小距离所对应的测试位置作为该用户的位置即确定该用户的位置为该测试位置在酒店中的具体位置。After the above distances are calculated, a certain number of test positions can be selected from the multiple test positions f1, f2, and f3 in the order of the distance from small to large. For example, two test positions are selected, assuming f1 and f3. Therefore, the current position of the user corresponding to the target user terminal device is determined in combination with the selected test position. When the selected number is set to 1, that is, the test position corresponding to the minimum distance among the distances is used as the position of the user, the position of the user is determined to be the specific position of the test position in the hotel.
可选地,假设选出的测试位置为f1和f3,且假设f1对应的向量间的距离小于f3对应的距离,则可以根据如下方式确定用户位置L(x’,y’):Optionally, assuming that the selected test positions are f1 and f3, and assuming that the distance between the vectors corresponding to f1 is less than the distance corresponding to f3, the user position L (x ', y') may be determined according to the following method:
L(x’,y’)=a(x1,y1)+b(x3,y3),其中,(x1,y1)是f1对应的坐标位置,(x3,y3)是f3对应的坐标位置,a和b是预设加权系数,a>b。L (x ', y') = a (x1, y1) + b (x3, y3), where (x1, y1) is the coordinate position corresponding to f1, (x3, y3) is the coordinate position corresponding to f3, a And b are preset weighting coefficients, a> b.
基于上述过程确定出目标用户终端设备对应的用户的用户位置轨迹后,可以基于该 用户位置轨迹所反映的用户意图,向该用户提供相应的服务器。After the user position track of the user corresponding to the target user terminal device is determined based on the above process, a corresponding server may be provided to the user based on the user intention reflected in the user position track.
其中,在一可选实施例中,若该用户位置轨迹反映出用户意图为向目标楼层的电梯方向行走,则控制电梯运行至目标楼层。In an optional embodiment, if the user position trajectory reflects that the user intends to walk toward the elevator of the target floor, the elevator is controlled to run to the target floor.
其中,服务器侧还可以维护有酒店场景的数字化地图,从而可以在该数字化地图中定位用户位置轨迹,如果发现该用户位置轨迹反映出用户正在某楼层中向该楼层的电梯处行走,则调度电梯运行至该楼层。Among them, the server side can also maintain a digital map of the hotel scene, so that the user's location trajectory can be located in the digital map. If the user's location trajectory is found to reflect that the user is walking towards the elevator on that floor in a certain floor, the elevator is dispatched Run to this floor.
在另一可选实施例中,若该用户位置轨迹反映出用户意图为向该用户的房间行走,则对用户对应的房间内的智能设备进行预设控制。In another optional embodiment, if the position track of the user reflects that the user intends to walk toward the user's room, preset control is performed on the smart device in the room corresponding to the user.
同理,当服务器在数字化地图中定位用户位置轨迹,发现该用户位置轨迹反映出用户向其所住房间方向行走,并且在房间门处驻留,则对用户对应的房间内的智能设备进行预设控制,比如控制房间门锁打开,控制房内的诸如电灯、空调等智能设备处于预设工作模式。Similarly, when the server locates the user's location trajectory in the digital map and finds that the user's location trajectory reflects that the user is walking in the direction of the room where he lives, and resides at the door of the room, the smart device in the corresponding room of the user is pre- Set control, such as controlling the door lock of the room to open, and controlling smart devices such as electric lights and air conditioners in the room to be in the preset working mode.
可以理解的是,服务器中维护有用户终端设备的标识与房间号的对应关系,以便确定用户终端设备对应的用户所驻留在的房间是否为该用户所入住的房间。It can be understood that the server maintains the correspondence between the identification of the user terminal device and the room number, so as to determine whether the room in which the user corresponding to the user terminal device resides is the room in which the user resides.
在另一可选实施例中,为了便于理解,假设如下实际情景:出于住客隐私安全等考虑,酒店中各房间门处没有贴有房间号,从而,当用户入住酒店时,可以为用户提供导航应用以帮助用户自当前位置(比如大堂前台处)导航到目的位置(比如自己的房间)。实际应用中,用户可以通过扫描等方式得到酒店提供的该导航应用,进而可以通过上述定位算法定位出用户当前所在的位置,或者用户通过手动输入的方式输入当前所在的位置比如大堂前台,并且输入目的位置比如自己的房间号,从而触发该导航应用向服务器发送导航请求,以用于将用户自当前位置导航至目的位置。In another optional embodiment, in order to facilitate understanding, the following scenario is assumed: For reasons of privacy and security of the guest, the room number is not affixed to the door of each room in the hotel, so when the user checks in the hotel, the user can Provide a navigation application to help users navigate from their current location (such as the front desk in the lobby) to a destination location (such as their own room). In practical applications, the user can obtain the navigation application provided by the hotel by scanning, etc., and then can locate the user's current location through the above positioning algorithm, or the user can manually enter the current location such as the lobby front desk, and enter The destination location, such as its own room number, triggers the navigation application to send a navigation request to the server for navigating the user from the current location to the destination location.
本实施例中假设上述目标用户终端设备向服务器发送用于将所述用户自当前位置导航至目的位置的导航请求,从而,服务器接收到该导航请求后,规划出从当前位置到目的位置的导航路径并发送至导航应用亦即发送到目标用户终端设备,从而,用户执行该导航路径以根据该导航路径行走。在用户根据导航路径行走的过程中,目标用户终端设备可以每隔一定时间间隔向服务器发送当时检测到的目标定位信号强度向量,以供服务器定位出该用户此时的位置,从而得到直到此时为止的该用户的用户位置轨迹。基于此,在该情景下,若该用户位置轨迹反映出用户意图为继续执行该导航路径即若该用户位置轨迹表示该导航路径未执行完毕,则服务器更新该导航路径中的用户位置节点。In this embodiment, it is assumed that the target user terminal device sends a navigation request to the server for navigating the user from the current position to the destination position. Therefore, after receiving the navigation request, the server plans the navigation from the current position to the destination position. The route is sent to the navigation application, that is, to the target user terminal device, so that the user executes the navigation route to walk according to the navigation route. While the user is walking according to the navigation path, the target user terminal device may send the target positioning signal strength vector detected at that time to the server at a certain interval for the server to locate the position of the user at this time, so as to obtain until this time The user position trajectory of the user up to this point. Based on this, in this scenario, if the user position trajectory reflects the user's intention to continue executing the navigation path, that is, if the user position trajectory indicates that the navigation path has not been performed, the server updates the user position node in the navigation path.
也就是说,如果该用户位置轨迹此时的终点还没有到达导航路径的终点,则认为用 户仍是在执行该导航路径的过程中,即仍是在使用该导航应用的过程中,此时,将根据最后接收到的目标定位信号强度向量所定位出的用户位置更新导航路径中表示用户位置的用户位置节点,以使用户实时了解当前自己的位置。That is, if the end point of the user's position trajectory has not reached the end of the navigation path at this time, the user is considered to be still in the process of executing the navigation path, that is, still in the process of using the navigation application. At this time, The user position node indicating the user position in the navigation path will be updated according to the user position located by the last received target positioning signal strength vector, so that the user knows the current own position in real time.
综上,通过在酒店场景中合适的位置部署若干定位装置,并且基于服务器侧的定位算法、用户意图识别的处理逻辑,可以实现酒店场景对用户意图的自动感知,以便为用户提供更加智能化的服务。In summary, by deploying several positioning devices at appropriate locations in the hotel scene, and based on the server-side positioning algorithm and the processing logic of user intention recognition, the hotel scene can automatically sense the user's intentions in order to provide users with more intelligent service.
图5为本发明实施例提供的服务提供方法实施例五的流程图,如图5所示,可以包括如下步骤:FIG. 5 is a flowchart of Embodiment 5 of a service providing method according to an embodiment of the present invention. As shown in FIG. 5, the method may include the following steps:
501、接收用户触发的服务请求,服务请求中包括的用户的用户位置和用户所需的服务内容。501. Receive a service request triggered by a user. The user location and service content required by the user are included in the service request.
502、根据各服务人员的员工终端设备所上报的定位信号强度向量,从各服务人员中确定当前位置与服务内容对应的位置和用户的位置相匹配的目标服务人员。502: Determine a target service person whose current position matches the position corresponding to the service content and the location of the user from each service person according to the positioning signal strength vector reported by the employee terminal device of each service person.
503、将服务请求发送至目标服务人员。503. Send the service request to the target service personnel.
在酒店场景中,用户可能会产生某些服务需求,比如需要一根数据线、需要加一床被子等等。此时,可选地,用户可以通过用户终端设备中酒店提供的APP触发上述服务请求,或者也可以通过酒店提供的其他智能设备比如智能电视等触发该服务请求,该服务请求中包含用户的位置以及其所需的服务内容。从而,服务器解析该服务请求以获知用户的意图,进而调度最为合适的服务人员为该用户提供该服务。In the hotel scene, users may have certain service requirements, such as the need for a data cable, the need to add a quilt, and so on. At this time, optionally, the user may trigger the above service request through the APP provided by the hotel in the user terminal device, or may also trigger the service request through other smart devices provided by the hotel, such as a smart TV, and the service request includes the location of the user And what services they need. Therefore, the server parses the service request to learn the user's intention, and then dispatches the most appropriate service personnel to provide the service to the user.
其中,最为合适的服务人员(本实施例中称为目标服务人员)的确定考虑到服务人员的位置、用户的位置、用户所需服务内容所对应的位置。举例来说,假设住在3楼的某位用户需要一根数据线,而数据线在1楼的某储物间中,此时服务器发现服务人员A距离该储物间最近,则服务器将该服务请求转发给该服务人员A,相当于将该任务派发给服务人员A;或者,假设服务人员A和服务人员B都距离该储物间很近,但是服务人员A的管辖区域为2-3楼,服务人员B的管辖区域为4-5楼,则服务器可以进一步结合用户位置(3楼)从服务人员A和服务人员B中选定服务人员A来提供该服务。Among them, the determination of the most suitable service personnel (referred to as the target service personnel in this embodiment) takes into consideration the location of the service personnel, the location of the user, and the location corresponding to the service content required by the user. For example, suppose a user who lives on the third floor needs a data cable, and the data cable is in a storage room on the first floor. At this time, the server finds that the service staff A is closest to the storage room, and the server changes the Forwarding the service request to the service staff A is equivalent to dispatching the task to the service staff A; or, suppose both the service staff A and the service staff B are close to the storage room, but the service staff A has a jurisdiction of 2-3 Building, the jurisdiction of service staff B is 4-5th floor, then the server can further select service staff A from service staff A and service staff B to provide the service in combination with the user location (3rd floor).
在上述过程中,涉及到各服务人员位置的定位,该各服务人员位置的定位过程与图4所示实施例中用户的位置定位过程相似,不再赘述。In the above process, the location of each service person is involved. The location process of each service person is similar to the location location process of the user in the embodiment shown in FIG. 4, and will not be described again.
以下将详细描述本发明的一个或多个实施例的服务提供装置。本领域技术人员可以 理解,这些服务提供装置均可使用市售的硬件组件通过本方案所教导的步骤进行配置来构成。The service providing apparatus according to one or more embodiments of the present invention will be described in detail below. Those skilled in the art can understand that all of these service providing devices can be configured by using commercially available hardware components and configured by the steps taught in this solution.
图6为本发明实施例提供的服务提供装置的结构示意图,如图6所示,该装置包括:数据接收模块11、数据处理模块12、服务调度模块13。FIG. 6 is a schematic structural diagram of a service providing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes a data receiving module 11, a data processing module 12, and a service scheduling module 13.
数据接收模块11,用于接收至少两个采集设备的采集数据。The data receiving module 11 is configured to receive collected data of at least two collection devices.
数据处理模块12,用于结合所述采集数据各自关联的位置属性,对所述采集数据进行用户位置轨迹识别。A data processing module 12 is configured to identify a user position and trajectory on the collected data by combining position attributes associated with the collected data.
服务调度模块13,用于根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务。A service scheduling module 13 is configured to provide a user with a service corresponding to the user's intention according to the user's intention reflected by the user's location trajectory.
可选地,所述数据处理模块12可以用于:对所述采集数据进行用户身份识别,以确定出依次采集到同一用户身份信息的目标采集数据;根据所述目标采集数据分别对应的位置属性,确定所述同一用户身份信息对应的用户的用户位置轨迹。Optionally, the data processing module 12 may be configured to: perform user identification on the collected data to determine target collection data that sequentially collects the same user identity information; and according to the location attributes corresponding to the target collection data, respectively To determine a user location track of a user corresponding to the same user identity information.
可选地,所述至少两个采集设备包括位于楼层行走通道中的N个第一摄像头,所述采集数据包括所述N个第一摄像头采集的视频数据;此时,所述数据处理模块12可以用于:对所述N个第一摄像头分别采集的视频数据进行人脸识别,以确定出依次采集到同一目标人脸图像的M个目标视频数据,1<M≤N;若所述目标人脸图像存在于预设合法用户数据库中,则根据所述M个目标视频数据对应的M个第一摄像头各自关联的楼层号和位置编号,确定所述目标人脸图像对应的用户的用户位置轨迹。Optionally, the at least two acquisition devices include N first cameras located on a floor walkway, and the acquisition data includes video data collected by the N first cameras; at this time, the data processing module 12 It can be used to perform face recognition on the video data collected by the N first cameras to determine M target video data that sequentially captures the same target face image, 1 <M≤N; if the target The face image exists in a preset legal user database, and the user position corresponding to the target face image is determined according to the floor number and location number associated with the respective M first cameras corresponding to the M target video data. Track.
可选地,所述数据处理模块12可以用于:若所述M个第一摄像头对应于相同的楼层号且所述M个第一摄像头的位置编号反映出所述用户的行走方向对应于电梯方向,则确定所述用户的用户位置轨迹是向电梯方向行走。Optionally, the data processing module 12 may be configured to: if the M first cameras correspond to the same floor number and the position numbers of the M first cameras reflect that the walking direction of the user corresponds to the elevator Direction, it is determined that the user position trajectory of the user is walking in the direction of the elevator.
相应地,服务调度模块13可以用于:根据所述用户位置轨迹所反映的用户搭乘电梯意图,控制电梯运行至所述楼层号对应的楼层。Correspondingly, the service scheduling module 13 may be configured to control the elevator to run to the floor corresponding to the floor number according to the user's intention to board the elevator as reflected in the user location trajectory.
可选地,所述数据处理模块12可以用于:若所述M个第一摄像头对应于相同的楼层号且所述M个第一摄像头的位置编号反映出所述用户行走到所述用户的房间附近,则确定所述用户的用户位置轨迹是向用户房间方向行走。Optionally, the data processing module 12 may be configured to: if the M first cameras correspond to the same floor number and the position numbers of the M first cameras reflect that the user walks to the user Near the room, it is determined that the user position trajectory of the user is walking toward the user's room.
相应地,服务调度模块13可以用于:根据所述用户位置轨迹所反映的用户回房间意图,对所述用户对应的房间内的智能设备进行预设控制。Correspondingly, the service scheduling module 13 may be configured to perform preset control on the smart device in the room corresponding to the user according to the user's intention to return to the room reflected by the user's location trajectory.
可选地,所述至少两个采集设备包括位于房间门处的第二摄像头,此时,所述数据处理模块12可以用于:对所述N个第一摄像头分别采集的视频数据进行用户轮廓特征 识别,以确定出依次采集到同一目标用户轮廓特征的K个目标视频数据,1<K≤N;若所述K个目标视频数据对应的K个第一摄像头对应于相同的楼层号且所述K个第一摄像头的位置编号反映出具有所述目标用户轮廓特征的用户行走到目标房间处,则确定所述用户的用户位置轨迹是向所述目标房间行走。Optionally, the at least two acquisition devices include a second camera located at the door of the room. At this time, the data processing module 12 may be configured to perform user contouring on the video data collected by the N first cameras, respectively. Feature recognition to determine K target video data of the same target user's contour features, 1 <K≤N; if the K first cameras corresponding to the K target video data correspond to the same floor number and all The position numbers of the K first cameras reflect that a user with the contour characteristics of the target user walks to the target room, and then it is determined that the user position trajectory of the user is walking toward the target room.
相应地,服务调度模块13可以用于:根据所述用户位置轨迹所反映的进入所述目标房间的意图,控制与所述目标房间对应的所述第二摄像头采集视频数据;识别所述第二摄像头采集的视频数据中的人脸图像;若所述人脸图像与所述目标房间对应的参考人脸图像匹配,则对所述目标房间内的智能设备进行预设控制。Accordingly, the service scheduling module 13 may be configured to: control the second camera corresponding to the target room to collect video data according to the intention of entering the target room reflected by the user location trajectory; identify the second camera A face image in video data collected by a camera; if the face image matches a reference face image corresponding to the target room, preset control is performed on the smart device in the target room.
可选地,所述至少两个采集设备包括多个用户终端设备,所述采集数据中包括所述多个用户终端设备在不同时刻采集的定位信号强度向量和用户终端设备标识,所述定位信号强度向量对应于预先部署的多个定位装置,此时,所述数据处理模块12可以用于:确定出对应于同一目标用户终端设备标识的目标定位信号强度向量序列;根据所述目标定位信号强度向量序列确定所述目标用户终端设备标识对应的用户的用户位置轨迹。Optionally, the at least two acquisition devices include multiple user terminal devices, and the collected data includes positioning signal strength vectors and user terminal device identifiers collected by the multiple user terminal devices at different times, and the positioning signals The intensity vector corresponds to a plurality of pre-deployed positioning devices. At this time, the data processing module 12 may be used to: determine a target positioning signal strength vector sequence corresponding to the same target user terminal device identifier; and according to the target positioning signal strength The vector sequence determines a user position trajectory of a user corresponding to the target user terminal device identification.
相应可选地,所述服务调度模块13可以用于:若所述用户位置轨迹反映出用户意图为向目标楼层的电梯方向行走,则控制电梯运行至所述目标楼层。Accordingly, optionally, the service scheduling module 13 may be configured to: if the user location trajectory reflects that the user intends to walk in the direction of the elevator of the target floor, control the elevator to run to the target floor.
相应可选地,所述服务调度模块13还可以用于:若所述用户位置轨迹反映出用户意图为向所述用户的房间行走,则对所述用户对应的房间内的智能设备进行预设控制。Accordingly, optionally, the service scheduling module 13 may be further configured to: preset the smart device in the room corresponding to the user if the position track of the user reflects that the user intends to walk toward the user's room control.
可选地,所述数据接收模块11还可以用于:接收所述目标用户终端设备发送的导航请求,所述导航请求用于将所述用户自当前位置导航至目的位置。Optionally, the data receiving module 11 may be further configured to receive a navigation request sent by the target user terminal device, where the navigation request is used to navigate the user from a current location to a destination location.
相应地,所述数据处理模块12还可以用于:将从所述当前位置到所述目的位置的导航路径发送至所述目标用户终端设备。Accordingly, the data processing module 12 may be further configured to: send a navigation path from the current position to the destination position to the target user terminal device.
此时,所述服务调度模块13还可以用于:若所述用户位置轨迹反映出用户意图为继续执行所述导航路径,则更新所述导航路径中的用户位置节点。At this time, the service scheduling module 13 may be further configured to: if the user position trajectory reflects that the user intends to continue to execute the navigation path, update the user position node in the navigation path.
可选地,所述数据处理模块12可以用于:对于所述目标定位信号强度向量序列中的任一定位信号强度向量,从所述多个定位装置中确定出与所述任一定位信号强度向量中大于或等于预设阈值的信号强度相对应的目标定位装置;获取与所述目标定位装置对应的测试位置集合,其中,在所述测试位置集合中的各测试位置处预先测得的所述目标定位装置的信号强度大于或等于所述预设阈值;根据所述任一定位信号强度向量分别与所述各测试位置对应的参考定位信号强度向量间的距离,确定所述目标用户终端设备标识对应的用户此时的用户位置,其中,所述参考定位信号强度向量是预先在对应的测试位 置处测得的所述多个定位装置的信号强度。Optionally, the data processing module 12 may be configured to: for any positioning signal strength vector in the target positioning signal strength vector sequence, determine the strength of the positioning signal from the plurality of positioning devices with the positioning signal strength vector. A target positioning device corresponding to a signal strength greater than or equal to a preset threshold in the vector; acquiring a test position set corresponding to the target positioning device, wherein all the positions measured in advance at each test position in the test position set The signal strength of the target positioning device is greater than or equal to the preset threshold; and the target user terminal device is determined according to a distance between each of the positioning signal strength vectors and a reference positioning signal strength vector corresponding to each test position The user position of the corresponding user at this time is identified, wherein the reference positioning signal strength vector is the signal strengths of the plurality of positioning devices measured in advance at the corresponding test positions.
可选地,所述数据接收模块11还可以用于:接收用户触发的服务请求,所述服务请求中包括的所述用户的用户位置和所述用户所需的服务内容。Optionally, the data receiving module 11 may be further configured to receive a service request triggered by a user, the user location of the user and the service content required by the user included in the service request.
相应地,所述数据处理模块12还可以用于:根据各服务人员的员工终端设备所上报的定位信号强度向量,从所述各服务人员中确定当前位置与所述服务内容对应的位置和所述用户的位置相匹配的目标服务人员;将所述服务请求发送至所述目标服务人员。Correspondingly, the data processing module 12 may be further configured to determine the location and location of the current location corresponding to the service content from the service personnel according to the positioning signal strength vector reported by the employee terminal device of each service personnel. The target service personnel whose location matches the user; and the service request is sent to the target service personnel.
图6所示装置可以执行图1至图5所示实施例的方法,本实施例未详细描述的部分,可参考对图1至图5所示实施例的相关说明。该技术方案的执行过程和技术效果参见图1至图5所示实施例中的描述,在此不再赘述。The apparatus shown in FIG. 6 can execute the methods in the embodiments shown in FIG. 1 to FIG. 5. For the parts that are not described in detail in this embodiment, reference may be made to the related description of the embodiments shown in FIG. 1 to FIG. 5. For the implementation process and technical effect of the technical solution, refer to the description in the embodiments shown in FIG. 1 to FIG. 5, and details are not described herein again.
以上描述了服务提供装置的内部功能和结构,在一个可能的设计中,服务提供装置的结构可实现为一电子设备,比如为服务器,如图7所示,该电子设备可以包括:处理器21、存储器22。其中,所述存储器22用于存储支持服务提供装置执行上述图1至图5所示实施例中提供的服务提供方法的程序,所述处理器21被配置为用于执行所述存储器22中存储的程序。The internal function and structure of the service providing device have been described above. In a possible design, the structure of the service providing device may be implemented as an electronic device, such as a server. As shown in FIG. 7, the electronic device may include a processor 21 、 Memory 22. The memory 22 is configured to store a program that supports a service providing apparatus to execute the service providing method provided in the embodiments shown in FIG. 1 to FIG. 5, and the processor 21 is configured to execute the memory stored in the memory 22. program of.
所述程序包括一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器21执行时能够实现如下步骤:The program includes one or more computer instructions, and when the one or more computer instructions are executed by the processor 21, the following steps can be implemented:
接收至少两个采集设备的采集数据;Receiving acquisition data from at least two acquisition devices;
结合所述采集数据各自关联的位置属性,对所述采集数据进行用户位置轨迹识别;Combine the position attributes of the collected data with each other to perform user position trajectory recognition on the collected data;
根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务。And providing a user with a service corresponding to the user's intention according to the user's intention reflected by the user's position trajectory.
可选地,所述处理器21还用于执行前述图1至图5所示实施例中的全部或部分步骤。Optionally, the processor 21 is further configured to execute all or part of the steps in the foregoing embodiments shown in FIG. 1 to FIG. 5.
其中,所述服务提供装置的结构中还可以包括通信接口23,用于服务提供装置与其他设备或通信网络通信。The structure of the service providing apparatus may further include a communication interface 23, which is used for the service providing apparatus to communicate with other equipment or a communication network.
另外,本发明实施例提供了一种计算机存储介质,用于储存服务提供装置所用的计算机软件指令,其包含用于执行上述图1至图5所示方法实施例中服务提供方法所涉及的程序。In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by the service providing device, which includes a program involved in executing the service providing method in the method embodiments shown in FIG. 1 to FIG. 5 described above. .
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only schematic, and the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located One place, or it can be distributed across multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the objective of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without creative labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助加必需的通用硬件平台的方式来实现,当然也可以通过硬件和软件结合的方式来实现。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以计算机产品的形式体现出来,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary universal hardware platform, and of course, it can also be implemented by a combination of hardware and software. Based on such an understanding, the above-mentioned technical solution essentially or part that contributes to the existing technology may be embodied in the form of a computer product. The present invention may use one or more computer-usable storages containing computer-usable program code therein. The form of a computer program product implemented on a medium (including but not limited to disk storage, CD-ROM, optical storage, etc.).
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, and combinations of processes and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, so that instructions generated by the processor of the computer or other programmable data processing device may be used to Means for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a specific manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions The device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory, random access memory (RAM), and / or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存 储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes permanent and non-persistent, removable and non-removable media. Information storage can be accomplished by any method or technology. Information may be computer-readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transmitting medium may be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, but not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still Modifications to the technical solutions described in the foregoing embodiments, or equivalent replacements of some of the technical features thereof; and these modifications or replacements do not depart the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (15)

  1. 一种服务提供方法,其特征在于,包括:A service providing method, comprising:
    接收至少两个采集设备的采集数据;Receiving acquisition data from at least two acquisition devices;
    结合所述采集数据各自关联的位置属性,对所述采集数据进行用户位置轨迹识别;Combine the position attributes of the collected data with each other to perform user position trajectory recognition on the collected data;
    根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务。And providing a user with a service corresponding to the user's intention according to the user's intention reflected by the user's position trajectory.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    根据所述用户意图和所述用户的用户特征信息,向所述用户推送服务信息。Pushing service information to the user according to the user intention and the user characteristic information of the user.
  3. 根据权利要求2所述的方法,其特征在于,所述用户特征信息包括如下信息中的至少一种:The method according to claim 2, wherein the user characteristic information comprises at least one of the following information:
    所述用户意图对应的时间信息、所述用户的行为记录信息、所述用户的入住目的。The time information corresponding to the user's intention, the user's behavior record information, and the user's check-in purpose.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述结合所述采集数据各自关联的位置属性,对所述采集数据进行用户位置轨迹识别,包括:The method according to any one of claims 1 to 3, wherein the performing user position trajectory identification on the collected data in combination with position attributes associated with the collected data each comprises:
    对所述采集数据进行用户身份识别,以确定出依次采集到同一用户身份信息的目标采集数据;Performing user identification on the collected data to determine target collection data that sequentially collects the same user identity information;
    根据所述目标采集数据分别对应的位置属性,确定所述同一用户身份信息对应的用户的用户位置轨迹。A user position trajectory of a user corresponding to the same user identity information is determined according to position attributes corresponding to the target collected data respectively.
  5. 根据权利要求4所述的方法,其特征在于,所述至少两个采集设备包括位于楼层行走通道中的N个第一摄像头,所述采集数据包括所述N个第一摄像头采集的视频数据;The method according to claim 4, wherein the at least two acquisition devices include N first cameras located on a floor walking passage, and the acquisition data includes video data collected by the N first cameras;
    所述对所述采集数据进行用户身份识别,以确定出依次采集到同一用户身份信息的目标采集数据,包括:The performing user identification on the collected data to determine target collection data that sequentially collects identity information of the same user includes:
    对所述N个第一摄像头分别采集的视频数据进行人脸识别,以确定出依次采集到同一目标人脸图像的M个目标视频数据,1<M≤N;Performing face recognition on the video data collected by the N first cameras to determine M target video data that sequentially captures the same target face image, 1 <M ≦ N;
    所述根据所述目标采集数据分别对应的位置属性,确定所述同一用户身份信息对应的用户的用户位置轨迹,包括:The determining a user location trajectory of a user corresponding to the same user identity information according to location attributes corresponding to the target collected data includes:
    若所述目标人脸图像存在于预设合法用户数据库中,则根据所述M个目标视频数据对应的M个第一摄像头各自关联的楼层号和位置编号,确定所述目标人脸图像对应的用户的用户位置轨迹。If the target face image exists in a preset legal user database, determine the corresponding target face image corresponding to the floor number and position number of the M first cameras corresponding to the M target video data. User location trajectory of the user.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述M个目标视频数据对 应的M个第一摄像头各自关联的楼层号和位置编号,确定所述目标人脸图像对应的用户的用户位置轨迹,包括:The method according to claim 5, wherein the determining of the user corresponding to the target face image is based on the floor number and location number associated with the respective M first cameras corresponding to the M target video data. User location trajectory, including:
    若所述M个第一摄像头对应于相同的楼层号且所述M个第一摄像头的位置编号反映出所述用户的行走方向对应于电梯方向,则确定所述用户的用户位置轨迹是向电梯方向行走;If the M first cameras correspond to the same floor number and the position numbers of the M first cameras reflect that the walking direction of the user corresponds to the elevator direction, then it is determined that the user's position trajectory of the user is toward the elevator Walking direction
    所述根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务,包括:The step of providing a service corresponding to the user intent to the user according to the user intent reflected in the user location track includes:
    根据所述用户位置轨迹所反映的用户搭乘电梯意图,控制电梯运行至所述楼层号对应的楼层。And controlling the elevator to run to the floor corresponding to the floor number according to the intention of the user to take the elevator reflected by the user position trajectory.
  7. 根据权利要求5所述的方法,其特征在于,所述根据所述M个目标视频数据对应的M个第一摄像头各自关联的楼层号和位置编号,确定所述目标人脸图像对应的用户的用户位置轨迹,包括:The method according to claim 5, wherein the determining of the user corresponding to the target face image is based on the floor number and location number associated with the respective M first cameras corresponding to the M target video data. User location trajectory, including:
    若所述M个第一摄像头对应于相同的楼层号且所述M个第一摄像头的位置编号反映出所述用户行走到所述用户的房间附近,则确定所述用户的用户位置轨迹是向用户房间方向行走;If the M first cameras correspond to the same floor number and the position numbers of the M first cameras reflect that the user walks near the user's room, it is determined that the user position trajectory of the user is toward Walking in the direction of the user's room;
    所述根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务,包括:The step of providing a service corresponding to the user intent to the user according to the user intent reflected in the user location track includes:
    根据所述用户位置轨迹所反映的用户回房间意图,对所述用户对应的房间内的智能设备进行预设控制。Perform preset control on the smart device in the room corresponding to the user according to the user's intention to return to the room reflected by the user's position trajectory.
  8. 根据权利要求5所述的方法,其特征在于,所述至少两个采集设备包括位于房间门处的第二摄像头;The method according to claim 5, wherein the at least two acquisition devices include a second camera located at a door of the room;
    所述对所述采集数据进行用户身份识别,以确定出依次采集到同一用户身份信息的目标采集数据,包括:The performing user identification on the collected data to determine target collection data that sequentially collects identity information of the same user includes:
    对所述N个第一摄像头分别采集的视频数据进行用户轮廓特征识别,以确定出依次采集到同一目标用户轮廓特征的K个目标视频数据,1<K≤N;Performing user profile feature recognition on the video data collected by the N first cameras to determine K target video data that sequentially capture the same target user profile feature, 1 <K≤N;
    所述根据所述目标采集数据分别对应的位置属性,确定所述同一用户身份信息对应的用户的用户位置轨迹,包括:The determining a user location trajectory of a user corresponding to the same user identity information according to location attributes corresponding to the target collected data includes:
    若所述K个目标视频数据对应的K个第一摄像头对应于相同的楼层号且所述K个第一摄像头的位置编号反映出具有所述目标用户轮廓特征的用户行走到目标房间处,则确定所述用户的用户位置轨迹是向所述目标房间行走;If the K first cameras corresponding to the K target video data correspond to the same floor number, and the position numbers of the K first cameras reflect that a user with the target user profile feature walks to the target room, Determining that the user position trajectory of the user is walking toward the target room;
    所述根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务,包括:The step of providing a service corresponding to the user intent to the user according to the user intent reflected in the user location track includes:
    根据所述用户位置轨迹所反映的进入所述目标房间的意图,控制与所述目标房间对应的所述第二摄像头采集视频数据;Controlling the second camera corresponding to the target room to collect video data according to the intention of entering the target room reflected by the user position trajectory;
    识别所述第二摄像头采集的视频数据中的人脸图像;Identifying a face image in video data collected by the second camera;
    若所述人脸图像与所述目标房间对应的参考人脸图像匹配,则对所述目标房间内的智能设备进行预设控制。If the face image matches a reference face image corresponding to the target room, preset control is performed on the smart device in the target room.
  9. 根据权利要求4所述的方法,其特征在于,所述至少两个采集设备包括多个用户终端设备,所述采集数据中包括所述多个用户终端设备在不同时刻采集的定位信号强度向量和用户终端设备标识,所述定位信号强度向量对应于预先部署的多个定位装置;The method according to claim 4, wherein the at least two acquisition devices include a plurality of user terminal devices, and the acquisition data includes positioning signal strength vectors and User terminal equipment identification, the positioning signal strength vector corresponding to a plurality of pre-deployed positioning devices;
    所述对所述采集数据进行用户身份识别,以确定出依次采集到同一用户身份信息的目标采集数据,包括:The performing user identification on the collected data to determine target collection data that sequentially collects identity information of the same user includes:
    确定出对应于同一目标用户终端设备标识的目标定位信号强度向量序列;Determining a target positioning signal strength vector sequence corresponding to the same target user terminal equipment identifier;
    所述根据所述目标采集数据分别对应的位置属性,确定所述同一用户身份信息对应的用户的用户位置轨迹,包括:The determining a user location trajectory of a user corresponding to the same user identity information according to location attributes corresponding to the target collected data includes:
    根据所述目标定位信号强度向量序列确定所述目标用户终端设备标识对应的用户的用户位置轨迹。A user position trajectory of a user corresponding to the target user terminal device identifier is determined according to the target positioning signal strength vector sequence.
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务,包括:The method according to claim 9, wherein the providing the user with a service corresponding to the user intention according to the user intention reflected by the user location track comprises:
    若所述用户位置轨迹反映出用户意图为向目标楼层的电梯方向行走,则控制电梯运行至所述目标楼层。If the user position trajectory reflects that the user intends to walk in the direction of the elevator of the target floor, the elevator is controlled to run to the target floor.
  11. 根据权利要求9所述的方法,其特征在于,所述根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务,包括:The method according to claim 9, wherein the providing the user with a service corresponding to the user intention according to the user intention reflected by the user location track comprises:
    若所述用户位置轨迹反映出用户意图为向所述用户的房间行走,则对所述用户对应的房间内的智能设备进行预设控制。If the user position trajectory reflects that the user intends to walk toward the user's room, preset control is performed on the smart device in the room corresponding to the user.
  12. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, further comprising:
    接收所述目标用户终端设备发送的导航请求,所述导航请求用于将所述用户自当前位置导航至目的位置;Receiving a navigation request sent by the target user terminal device, where the navigation request is used to navigate the user from a current location to a destination location;
    将从所述当前位置到所述目的位置的导航路径发送至所述目标用户终端设备;Sending a navigation path from the current location to the destination location to the target user terminal device;
    所述根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的 服务,包括:The step of providing a service corresponding to the user intent to the user based on the user intent reflected in the user location trajectory includes:
    若所述用户位置轨迹反映出用户意图为继续执行所述导航路径,则更新所述导航路径中的用户位置节点。If the user position trajectory reflects that the user intends to continue executing the navigation path, updating the user position node in the navigation path.
  13. 根据权利要求9至12中任一项所述的方法,其特征在于,所述根据所述目标定位信号强度向量序列确定所述目标用户终端设备标识对应的用户的用户位置轨迹,包括:The method according to any one of claims 9 to 12, wherein the determining a user location trajectory of a user corresponding to the target user terminal device identifier according to the target positioning signal strength vector sequence comprises:
    对于所述目标定位信号强度向量序列中的任一定位信号强度向量,从所述多个定位装置中确定出与所述任一定位信号强度向量中大于或等于预设阈值的信号强度相对应的目标定位装置;For any positioning signal strength vector in the target positioning signal strength vector sequence, a signal corresponding to a signal strength greater than or equal to a preset threshold in the any positioning signal strength vector is determined from the plurality of positioning devices. Target positioning device
    获取与所述目标定位装置对应的测试位置集合,其中,在所述测试位置集合中的各测试位置处预先测得的所述目标定位装置的信号强度大于或等于所述预设阈值;Acquiring a set of test positions corresponding to the target positioning device, wherein the signal strength of the target positioning device measured in advance at each test position in the test position set is greater than or equal to the preset threshold;
    根据所述任一定位信号强度向量分别与所述各测试位置对应的参考定位信号强度向量间的距离,确定所述目标用户终端设备标识对应的用户此时的用户位置,其中,所述参考定位信号强度向量是预先在对应的测试位置处测得的所述多个定位装置的信号强度。Determining the user position of the user corresponding to the target user terminal device identifier at this time according to the distance between the any positioning signal strength vector and the reference positioning signal strength vector corresponding to each test position, wherein the reference positioning The signal strength vector is the signal strength of the plurality of positioning devices measured in advance at the corresponding test positions.
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:The method according to claim 13, further comprising:
    接收用户触发的服务请求,所述服务请求中包括的所述用户的用户位置和所述用户所需的服务内容;Receiving a service request triggered by a user, the user location of the user and the service content required by the user included in the service request;
    根据各服务人员的员工终端设备所上报的定位信号强度向量,从所述各服务人员中确定当前位置与所述服务内容对应的位置和所述用户的位置相匹配的目标服务人员;Determining the target service personnel whose current position matches the location corresponding to the service content and the location of the user from the service personnel according to the positioning signal strength vector reported by the employee terminal device of each service personnel;
    将所述服务请求发送至所述目标服务人员。Sending the service request to the target service person.
  15. 一种服务提供装置,其特征在于,包括:A service providing device, comprising:
    数据接收模块,用于接收至少两个采集设备的采集数据;A data receiving module, configured to receive data collected by at least two acquisition devices;
    数据处理模块,用于结合所述采集数据各自关联的位置属性,对所述采集数据进行用户位置轨迹识别;A data processing module, configured to identify a user's position and trajectory on the collected data by combining position attributes associated with the collected data;
    服务调度模块,用于根据所述用户位置轨迹所反映的用户意图,向用户提供与所述用户意图对应的服务。A service scheduling module is configured to provide a user with a service corresponding to the user's intention according to the user's intention reflected by the user's location trajectory.
PCT/CN2019/087347 2018-05-25 2019-05-17 Service providing method and apparatus WO2019223608A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810517433.2 2018-05-25
CN201810517433.2A CN110533553B (en) 2018-05-25 2018-05-25 Service providing method and device

Publications (1)

Publication Number Publication Date
WO2019223608A1 true WO2019223608A1 (en) 2019-11-28

Family

ID=68615899

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/087347 WO2019223608A1 (en) 2018-05-25 2019-05-17 Service providing method and apparatus

Country Status (2)

Country Link
CN (1) CN110533553B (en)
WO (1) WO2019223608A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111881866A (en) * 2020-08-03 2020-11-03 杭州云栖智慧视通科技有限公司 Real-time face grabbing recommendation method and device and computer equipment
CN113791408A (en) * 2021-08-24 2021-12-14 上海商汤智能科技有限公司 Method, apparatus and storage medium for indoor positioning of target object
CN114863637A (en) * 2022-03-30 2022-08-05 财上门科技(北京)有限公司 Hotel safety management system and method
CN114995166A (en) * 2021-03-02 2022-09-02 青岛海尔多媒体有限公司 Method and device for switching room scenes and electronic equipment
US20230007323A1 (en) * 2020-10-30 2023-01-05 Rovi Guides, Inc. Systems and methods for viewing-session continuity
CN117387629A (en) * 2023-12-12 2024-01-12 广东车卫士信息科技有限公司 Indoor navigation route generation method and system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765984A (en) * 2019-11-08 2020-02-07 北京市商汤科技开发有限公司 Mobile state information display method, device, equipment and storage medium
CN111368194A (en) * 2020-03-03 2020-07-03 北京三快在线科技有限公司 Information pushing method, system and equipment for hotel
CN111444982A (en) * 2020-04-17 2020-07-24 文思海辉智科科技有限公司 Information processing method and device, electronic equipment and readable storage medium
CN113538759B (en) * 2021-07-08 2023-08-04 深圳创维-Rgb电子有限公司 Gate inhibition management method, device and equipment based on display equipment and storage medium
CN113873637A (en) * 2021-10-26 2021-12-31 上海瑾盛通信科技有限公司 Positioning method, positioning device, terminal and storage medium
CN114371632A (en) * 2021-12-29 2022-04-19 达闼机器人有限公司 Intelligent equipment control method, device, server and storage medium
CN114550222B (en) * 2022-04-24 2022-07-08 深圳市赛特标识牌设计制作有限公司 Dynamic hotel mark guidance system based on Internet of things
CN116011705B (en) * 2023-03-27 2023-06-30 合肥坤语智能科技有限公司 Hotel check-in intelligent management platform based on Internet of things

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7480566B2 (en) * 2004-10-22 2009-01-20 Alpine Electronics, Inc. Method and apparatus for navigation system for searching easily accessible POI along route
CN102575940A (en) * 2009-03-30 2012-07-11 哈曼专业股份有限公司 Predictive search with location-based application
CN105704657A (en) * 2014-11-27 2016-06-22 深圳市腾讯计算机系统有限公司 Method and apparatus for monitoring position of mobile terminal
CN107909443A (en) * 2017-11-27 2018-04-13 北京旷视科技有限公司 Information-pushing method, apparatus and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933650A (en) * 2016-04-25 2016-09-07 北京旷视科技有限公司 Video monitoring system and method
CN106096576B (en) * 2016-06-27 2019-05-07 陈包容 A kind of intelligent Service method of robot
US20180053504A1 (en) * 2016-08-19 2018-02-22 Otis Elevator Company Intention recognition for triggering voice recognition system
CN107316254A (en) * 2017-08-01 2017-11-03 深圳市益廷科技有限公司 A kind of hotel service method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7480566B2 (en) * 2004-10-22 2009-01-20 Alpine Electronics, Inc. Method and apparatus for navigation system for searching easily accessible POI along route
CN102575940A (en) * 2009-03-30 2012-07-11 哈曼专业股份有限公司 Predictive search with location-based application
CN105704657A (en) * 2014-11-27 2016-06-22 深圳市腾讯计算机系统有限公司 Method and apparatus for monitoring position of mobile terminal
CN107909443A (en) * 2017-11-27 2018-04-13 北京旷视科技有限公司 Information-pushing method, apparatus and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111881866A (en) * 2020-08-03 2020-11-03 杭州云栖智慧视通科技有限公司 Real-time face grabbing recommendation method and device and computer equipment
CN111881866B (en) * 2020-08-03 2024-01-19 杭州云栖智慧视通科技有限公司 Real-time face grabbing recommendation method and device and computer equipment
US20230007323A1 (en) * 2020-10-30 2023-01-05 Rovi Guides, Inc. Systems and methods for viewing-session continuity
CN114995166A (en) * 2021-03-02 2022-09-02 青岛海尔多媒体有限公司 Method and device for switching room scenes and electronic equipment
CN113791408A (en) * 2021-08-24 2021-12-14 上海商汤智能科技有限公司 Method, apparatus and storage medium for indoor positioning of target object
CN114863637A (en) * 2022-03-30 2022-08-05 财上门科技(北京)有限公司 Hotel safety management system and method
CN114863637B (en) * 2022-03-30 2023-10-17 财上门科技(北京)有限公司 Hotel security management system and method
CN117387629A (en) * 2023-12-12 2024-01-12 广东车卫士信息科技有限公司 Indoor navigation route generation method and system
CN117387629B (en) * 2023-12-12 2024-03-12 广东车卫士信息科技有限公司 Indoor navigation route generation method and system

Also Published As

Publication number Publication date
CN110533553B (en) 2023-04-07
CN110533553A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
WO2019223608A1 (en) Service providing method and apparatus
AU2022201137B2 (en) System and method for monitoring a property using drone beacons
US9728009B2 (en) Augmented reality based management of a representation of a smart environment
CN107765846A (en) System and method for using the sensor network across building to carry out the far distance controlled based on gesture
US10145934B2 (en) Terminal and method for measuring location thereof
CN103049734A (en) Method and system for finding person in public place
CN111383137A (en) Power management method and system for hotel guest room and hotel management system
CN109163731A (en) A kind of semanteme map constructing method and system
CN106097172A (en) The wisdom hotel of a kind of energy real-time exhibition target location guides system and method
US11448508B2 (en) Systems and methods for autonomous generation of maps
US20220377285A1 (en) Enhanced video system
WO2021175068A1 (en) Information pushing method, system and device for hotel
CN112033390B (en) Robot navigation deviation rectifying method, device, equipment and computer readable storage medium
US20170339528A1 (en) Method and system for calculating a position of a mobile communication device within an environment
Bejuri et al. Emergency rescue localization (ERL) using GPS, wireless LAN and camera
US11074471B2 (en) Assisted creation of video rules via scene analysis
KR20160043864A (en) Method and Apparatus for surveillance using location-tracking imaging devices
US20220005236A1 (en) Multi-level premise mapping with security camera drone
Yan et al. Low-cost vision-based positioning system
US20170169312A1 (en) Person detecting device and person detecting method
KR20170040652A (en) Device and method for indoor positioning based on sensor image
Baqaeen et al. Cost Effective Smart Parking System on Campus
Rathinam et al. Electronic Travelling Kit for Navigation of Visually Challenged Individuals
Chang et al. Patrolling Automated Guided Vehicle Enhanced with Object and Face Recognition Functions
JP2020115608A (en) Sensor system, image sensor, and sensing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19808037

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19808037

Country of ref document: EP

Kind code of ref document: A1