Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram 101 of one application scenario of a method for adjusting a driving seat of some embodiments of the present disclosure.
In the application scenario of fig. 1, first, the computing device 101 may obtain initial seat coordinates 102 and height information 103 of the driver. Second, the computing device 101 may perform a seat adjustment on the initial seat coordinates 102 based on the height information 103 to generate first seat coordinates 104. Finally, the computing device 101 may make a second adjustment to the first seat coordinates 104 to generate second seat coordinates 105.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices in FIG. 1 is merely illustrative. There may be any number of computing devices, as implementation needs dictate.
With continued reference to fig. 2, a flow 200 of some embodiments of a method for adjusting a driving seat according to the present disclosure is shown. The method for adjusting the driving seat comprises the following steps:
step 201, obtaining initial seat coordinates and height information of a driver.
In some embodiments, the performing agent (e.g., computing device 101 shown in fig. 1) of the method for adjusting the driving seat may obtain the initial seat coordinates and the height information of the driver via a wired connection or a wireless connection. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future. The initial seat coordinate may be a coordinate in a seat coordinate system. The seat coordinate system may be established by taking the center of a minimum circumscribed rectangle on the upper surface of the brake pedal as a coordinate origin when the degree of stepping on the brake pedal is greater than a preset threshold, with the horizontal axis parallel to the ground and pointing to the front and rear of the vehicle through the coordinate origin, and the vertical axis perpendicular to the ground and pointing to the upper side of the vehicle through the coordinate origin. The initial seat coordinate may be a point on the seat cross section closest to the origin of coordinates. The seat cross section may be a cross section generated by intersecting a seat coordinate plane formed by the seat coordinate system with a driver seat. The height information of the driver can be manually input or voice input.
As an example, the preset threshold value described above, expressed in terms of the angle of rotation of the brake pedal, may be 45 °. The initial seat coordinates may be [40cm, 30cm ]. The height information may be 170 cm.
Step 202, performing seat adjustment on the initial seat coordinates based on the height information to generate first seat coordinates.
In some embodiments, the performing subject may perform a seat adjustment on the initial seat coordinates by various methods based on the height information to generate first seat coordinates.
In some optional implementations of some embodiments, the executing subject may generate the first seat coordinate based on the height information by:
wherein x is0The abscissa representing the initial seat coordinate. y is0The ordinate represents the initial seat coordinate. x is the number of1An abscissa representing the first seat coordinate. y is1An ordinate representing the first seat coordinate. m representsSetting the coordinate slope. a represents a preset first experience coefficient. b represents a preset second empirical coefficient. H represents height information.
As an example, the initial seat coordinates may be [40cm, 30cm ]. The height information may be 170 cm. The first empirical coefficient may be 0.3. The second empirical coefficient may be 0.9. The preset coordinate slope may be 1. The first seat coordinate generated is [37cm, 27cm ].
The above formula and the related contents are regarded as an invention point of the embodiment of the present disclosure, and the technical problem mentioned in the background art, i.e., "time is wasted for the driver, and certain potential safety hazard is caused by improper seat adjustment", is solved. Factors that lead to wasted driver time and improper seat adjustment that create potential safety hazards are often as follows: the same vehicle can have different drivers to drive, because driver's height is different, needs the driver to carry out manual adjustment to driving seat according to self condition, and not only waste time can cause certain deviation to produce certain potential safety hazard moreover. If the above factors are solved, the effects of saving the time for adjusting the driving seat and reducing the potential safety hazard can be achieved. To achieve this effect, the present disclosure introduces height information of the driver to adjust the initial seat coordinates through the above formula. The height of the driver is a key factor for adjusting the seat. Therefore, the height information of the driver is used as an adjusting reference, so that the driver with different heights can automatically adjust the driving seat to the seat position suitable for different drivers when driving the vehicle. Therefore, the problem that due to the fact that different physical characteristics of different drivers are different, the drivers need to manually adjust the vehicle seats according to self conditions, time of the drivers is wasted, and certain potential safety hazards exist due to improper seat adjustment is solved.
And step 203, performing secondary adjustment on the first seat coordinate to generate a second seat coordinate.
In some embodiments, the executive body may add a unit length to an abscissa of the first seat coordinate to generate the second seat coordinate.
In some optional implementations of some embodiments, the performing body performing the second adjustment on the first seat coordinate to generate the second seat coordinate may perform the following steps:
the first step, based on the preset coordinate slope, executing the following generation steps:
a first substep of, in response to detecting that the driver gazes at a preset mark signal for a plurality of times, acquiring a driver steering information set corresponding to a preset coordinate slope, wherein the preset mark signal may include: a left rearview mirror marking signal and a right rearview mirror marking signal. The preset table flag signal may be an indication signal that is lit up after the first seat coordinate is generated. The method for acquiring the driver steering information group corresponding to the preset coordinate slope may be to determine the driver sight line direction angle and the driver head steering angle according to the driver image shot by the vehicle-mounted camera.
As an example, the above-mentioned preset coordinate slope may be 1. The above-mentioned driver steering information group may be [ [28 °, 19 ° ], [34 °, 16 ° ], [22 °, 25 ° ], [16 °, 33 ° ], [25 °, 24 ° ] ].
A second substep of, for each driver steering information in the set of driver steering information, generating a first driver steering information in response to determining that the driver steering information satisfies a set of preset conditions, resulting in a first set of driver steering information. Wherein the first driver steering information comprises: a first driver gaze direction angle and a first driver head steering angle, the set of preset conditions comprising: the driver's gaze direction angle included in the driver steering information is within a preset gaze direction angle range and the driver's head steering angle included in the driver steering information is within a preset head steering angle range.
Wherein the preset condition set may be [ the driver's sight line direction angle is not more than 30 °, and the driver's head steering angle is not more than 25 ° ].
As an example, the first driver steering information set may be [ [28 °, 19 ° ], [22 °, 25 ° ], [25 °, 24 ° ] ].
And a third substep of taking the first seat coordinate corresponding to the preset coordinate slope as the second seat coordinate in response to determining that the first driver steering information meeting the preset convergence condition exists in the first driver steering information set.
Wherein the preset convergence condition may be that the driver's head steering angle is not more than 20 °.
As an example, the second seat coordinate may be [37cm, 27cm ].
And a second step of, in response to determining that there is no first driver steering information satisfying a preset convergence condition in the first set of driver steering information, increasing the preset coordinate slope by a preset step value to generate a first coordinate slope as a preset coordinate slope and executing the generating step again.
Wherein the preset step value may be 0.1.
Alternatively, a face image of the driver corresponding to the second seat coordinates is acquired.
In some embodiments, the execution body may acquire a face image of the driver corresponding to the second seat coordinates. In response to determining the generated second seat coordinates, a facial image of the driver corresponding to the second seat coordinates is acquired by the in-vehicle camera.
Optionally, the face image and the second seat coordinates are stored in a terminal device.
In some embodiments, the execution subject may store the face image and the second seat coordinates to a terminal device.
The above embodiments of the present disclosure have the following advantages: by the method for adjusting the driving seat of some embodiments of the present disclosure, the safety of the vehicle running can be improved. Specifically, the reasons for the reduction in the running safety of the vehicle are: the equipment and the method for assisting the driver to adjust the seat are not perfect, so that a novice driver is difficult to adjust the driver seat to a proper position, the problems of mistaken stepping of a pedal, limited vision of the driver and the like caused by improper adjustment of the seat position in the driving process are caused, and the driving safety of the vehicle is further reduced. Based on this, the method for adjusting the driving seat of some embodiments of the present disclosure first obtains initial seat coordinates by constructing a seat coordinate system. Data support is provided for subsequent generation of the first seat coordinates. Second, based on the height information of the driver, a seat adjustment is performed on the initial seat coordinates to generate first seat coordinates. Data support is provided for subsequent generation of second seat coordinates. Finally, the first seat coordinates are adjusted a second time to generate second seat coordinates. The generated second seat coordinate is the automatically adjusted seat coordinate, and the problem that a driver cannot adjust the driver seat to a proper position easily by a novice driver, so that a pedal is stepped on by mistake due to improper seat position in the driving process, and the safety of the driving process is reduced due to limited vision is solved.
With further reference to fig. 3, as an implementation of the methods illustrated in the above figures, the present disclosure provides some embodiments of an apparatus for adjusting a driving seat, which correspond to those of the method embodiments illustrated in fig. 2, which may be particularly applicable in various electronic devices.
As shown in fig. 3, the apparatus 300 for adjusting a driving seat of some embodiments includes: an acquisition unit 301, a seat adjustment unit 302, and a secondary adjustment unit 303. Wherein the obtaining unit 301 is configured to obtain initial seat coordinates and height information of the driver. A seat adjustment unit 302 configured to perform a seat adjustment on the initial seat coordinates based on the height information to generate first seat coordinates. A secondary adjustment unit 303 configured to perform secondary adjustment on the first seat coordinates to generate second seat coordinates.
It will be understood that the units described in the apparatus 300 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 300 and the units included therein, and are not described herein again.
Referring now to FIG. 4, a block diagram of an electronic device (e.g., computing device 101 of FIG. 1)400 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 4 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 409, or from the storage device 408, or from the ROM 402. The computer program, when executed by the processing apparatus 401, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: initial seat coordinates and height information of the driver are obtained. Based on the height information, a seat adjustment is performed on the initial seat coordinates to generate first seat coordinates. The first seat coordinates are twice adjusted to generate second seat coordinates.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit, a seat adjustment unit, and a secondary adjustment unit. Where the names of the units do not in some cases constitute a limitation of the unit itself, the obtaining unit may also be described as a "unit that obtains initial seat coordinates and height information of the driver", for example.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.