Page cursor position setting method and device, mobile terminal and server

文档序号:1543584 发布日期:2020-01-17 浏览:4次 中文

阅读说明:本技术 页面光标位置设置方法、装置、移动终端和服务器 (Page cursor position setting method and device, mobile terminal and server ) 是由 黄佳滢 于 2019-09-30 设计创作,主要内容包括:本申请提出一种页面光标位置设置方法、装置、移动终端和服务器,涉及信息处理技术领域,其中,方法包括:从服务器端获取焦点态表单,其中,焦点态表单,用于指示页面的目标区域,以及目标区域内的目标响应控件,目标区域和目标响应控件,是根据页面各区域内响应控件的操作频次确定的,将页面的光标设置于目标区域的目标响应控件,由于焦点态表单中的目标区域和目标区域的目标响应控件,是基于页面各区域内响应控件的操作频次确定的,操作频次的高低反应了用户的操作偏好,从而提高了页面光标位置确定的灵活性和准确性,解决现有技术中根据人工经验预先确定光标位置的方案,准确度较低的技术问题。(The application provides a page cursor position setting method, a page cursor position setting device, a mobile terminal and a server, and relates to the technical field of information processing, wherein the method comprises the following steps: the method comprises the steps of obtaining a focus state form from a server, wherein the focus state form is used for indicating a target area of a page and a target response control, the target area and the target response control in the target area, and the target area and the target response control are determined according to the operation frequency of the response control in each area of the page, and a cursor of the page is arranged on the target response control in the target area.)

1. A page cursor position setting method is characterized by comprising the following steps:

acquiring a focus state form from a server side; the focus state form is used for indicating a target area of a page and a target response control in the target area; the target area and the target response control are determined according to the operation frequency of the response control in each area of the page;

and setting the cursor of the page in a target response control of the target area.

2. The method for setting the page cursor position according to claim 1, wherein the focus state form further records target response controls of each area of the page; after the setting of the cursor position of the page to the target response control of the target area, the method further includes:

sending a page with the determined cursor position to a vehicle machine to display the vehicle machine;

acquiring user operation detected by the vehicle machine;

if the user operation detected by the vehicle-mounted device belongs to a first type for selecting the area, determining the selected area from the areas;

querying the focus state form to determine a target response control in the selected region;

and setting the cursor of the page in the target response control in the selected area.

3. The method for setting the page cursor position according to claim 2, wherein the sending the page with the determined cursor position to a car machine to display the car machine and detect the user operation, further comprises:

if the user operation detected by the vehicle-mounted device belongs to a second type for selecting response controls, determining a selected control from the response controls in the target area;

and setting the cursor of the page in the selected control.

4. The method for setting the cursor position on the page according to claim 2 or 3, wherein the sending the page with the determined cursor position to the car machine to display the car machine and detect the user operation, further comprises:

and informing the server side of the user operation so as to update the focus state form.

5. The page cursor position setting method of any one of claims 1-3, wherein the obtaining the focus state form from the server side comprises:

when the application program is started, a form request is sent to a server side;

receiving the focus state form sent by the server side;

and recording a target area of each page in the application program and a target response control of each area in the corresponding page in the form of the focus state.

6. A page cursor position setting method is characterized by comprising the following steps:

acquiring user operation detected when each vehicle machine displays a page;

according to the user operation, counting the operation frequency of the response control in the corresponding region for each region divided by the page;

generating a focus state form according to the operation frequency; the focus state form is used for indicating a target area with the highest operation frequency in each area and a target response control with the highest operation frequency in the target area;

and setting the position of a page cursor according to the focus state form.

7. The page cursor position setting method according to claim 6, wherein the page displayed by each car machine is acquired from a mobile terminal establishing communication;

setting a page cursor position according to the focus state form, including:

when a form request sent by a mobile terminal is received, the focus state form is sent to the mobile terminal sending the form request, so that the mobile terminal can set a cursor position according to the focus state form.

8. The page cursor position setting method of claim 6 or 7, wherein the generating a focus state form according to the operation frequency comprises:

determining the weight of each region in each page and the weight of each response control in the corresponding region according to the operation frequency; wherein the weight is proportional to the frequency of operation;

generating the focus state form according to the target area with the maximum weight in each page and the target response control with the maximum weight in each area of the corresponding page;

and recording target areas of all pages and target response controls of all areas in corresponding pages in the form in the focus state.

9. A page cursor position setting apparatus, the apparatus comprising:

the acquisition module is used for acquiring the focus state form from the server side; the focus state form is used for indicating a target area of a page and a target response control in the target area; the target area and the target response control are determined according to the operation frequency of the response control in each area of the page;

and the setting module is used for setting the cursor of the page to the target response control of the target area.

10. The page cursor position setting device of claim 9, wherein the focus state form further records target response controls of each region of the page; the device, still include:

the sending module is used for sending the page with the determined cursor position to the vehicle machine so as to display the vehicle machine;

the obtaining module is further configured to obtain the user operation detected by the vehicle machine;

the determining module is used for determining a selected area from all areas if the user operation detected by the vehicle-mounted device belongs to a first type for selecting the areas; querying the focus state form to determine a target response control in the selected region;

and the resetting module is used for setting the cursor of the page in the target response control in the selected area.

11. The page cursor position setting device of claim 10,

the determining module is further configured to determine a selected control from the response controls in the target area if the user operation detected by the vehicle-mounted device belongs to a second type for selecting a response control;

the reset module is further configured to set a cursor of the page in the selected control.

12. The page cursor position setting device of claim 10 or 11, further comprising:

and the updating module is used for informing the server end of the user operation so as to update the focus state form.

13. The device for setting the position of a page cursor according to any one of claims 9 to 11, wherein the obtaining module is specifically configured to:

when the application program is started, a form request is sent to a server side;

receiving the focus state form sent by the server side;

and recording a target area of each page in the application program and a target response control of each area in the corresponding page in the form of the focus state.

14. A page cursor position setting apparatus, the apparatus comprising:

the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring user operation detected when each vehicle machine displays a page;

the counting module is used for counting the operation frequency of the response control in the corresponding region for each region divided by the page according to the user operation;

the generating module is used for generating a focus state form according to the operation frequency; the focus state form is used for indicating a target area with the highest operation frequency in each area and a target response control with the highest operation frequency in the target area;

and the setting module is used for setting the page cursor position according to the focus state form.

15. The page cursor position setting device according to claim 14, wherein the page displayed by each car machine is acquired from a mobile terminal that establishes communication;

the setting module is specifically configured to:

when a form request sent by a mobile terminal is received, the focus state form is sent to the mobile terminal sending the form request, so that the mobile terminal can set a cursor position according to the focus state form.

16. The device for setting a page cursor position according to claim 14 or 15, wherein the generating module is specifically configured to:

determining the weight of each region in each page and the weight of each response control in the corresponding region according to the operation frequency; wherein the weight is proportional to the frequency of operation;

generating the focus state form according to the target area with the maximum weight in each page and the target response control with the maximum weight in each area of the corresponding page;

and recording target areas of all pages and target response controls of all areas in corresponding pages in the form in the focus state.

17. A page cursor position setting method is characterized by comprising the following steps:

acquiring a focus state form; the form in the focus state is generated by counting the operation frequency of a response control in a corresponding region for each region divided by the page according to the operation frequency;

and setting the cursor position of the page according to the focus state form.

18. A page cursor position setting apparatus, the apparatus comprising:

the acquisition module is used for acquiring the focus state form; the form in the focus state is generated by counting the operation frequency of a response control in a corresponding region for each region divided by the page according to the operation frequency;

and the setting module is used for setting the cursor position of the page according to the focus state form.

19. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a page cursor position setting method as claimed in any one of claims 1 to 5 or a page cursor position setting method as claimed in claim 17 when executing the program.

20. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the page cursor position setting method according to any one of claims 6 to 8.

21. A non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor implements the page cursor position setting method of any one of claims 1-5, or implements the page cursor position setting method of any one of claims 6-8, or implements the page cursor position setting method of claim 17.

Technical Field

The application relates to the technical field of computers, in particular to the technical field of information processing, and specifically relates to a page cursor position setting method and device, a mobile terminal and a server.

Background

With the development of science and technology, the car networking technology is more and more popularized, and pages of a mobile phone end can be displayed at a car end through interconnection of the mobile phone and a car machine.

However, some car machines in the current market are non-touch screen car machines, and the car machines of the type realize the control of the car machines through hardware such as rockers and knobs in car controls. In order to respond to user operation, a default position of a cursor is preset in each picture by experience for a certain button in a car machine display picture, when a user enters the corresponding picture, a highlight focus (cursor) operated by a rocker of the car machine picture is automatically adsorbed to the default position, but the accuracy is low by the scheme of determining the position of the cursor displayed on a page by manual experience.

Disclosure of Invention

The present application is directed to solving, at least to some extent, one of the technical problems in the related art.

Therefore, a first objective of the present application is to provide a page cursor position setting method, in which a target region in a form in a focus state and a target response control of the target region are determined based on an operation frequency of a response control in each region of a page, and the operation frequency reflects an operation preference of a user, so that flexibility and accuracy of determining a page cursor position are improved, and a technical problem of low flexibility and accuracy in a scheme of determining a cursor position in advance according to manual experience in the prior art is solved.

A second object of the present application is to propose another page cursor position setting method.

A third objective of the present application is to provide a page cursor position setting device.

A fourth object of the present application is to propose another page cursor position setting device.

A fifth object of the present application is to provide a mobile terminal.

A sixth object of the present application is to provide a server.

A seventh object of the present application is to propose a non-transitory computer-readable storage medium.

An eighth object of the present application is to provide yet another page cursor position setting method.

A ninth object of the application is to propose yet another page cursor position setting device.

In order to achieve the above object, an embodiment of a first aspect of the present application provides a page cursor position setting method, including:

acquiring a focus state form from a server side; the focus state form is used for indicating a target area of a page and a target response control in the target area; the target area and the target response control are determined according to the operation frequency of the response control in each area of the page;

and setting the cursor of the page in a target response control of the target area.

Optionally, as a first possible implementation manner of the first aspect, the focus state form further records a target response control of each area of the page; after the setting of the cursor position of the page to the target response control of the target area, the method further includes:

sending a page with the determined cursor position to a vehicle machine to display the vehicle machine; acquiring user operation detected by the vehicle machine; if the user operation detected by the vehicle-mounted device belongs to a first type for selecting the area, determining the selected area from the areas; querying the focus state form to determine a target response control in the selected region; and setting the cursor of the page in the target response control in the selected area.

Optionally, as a second possible implementation manner of the first aspect, after sending the page with the determined cursor position to the car machine to enable the car machine to display and detect a user operation, the method further includes:

if the user operation detected by the vehicle-mounted device belongs to a second type for selecting response controls, determining a selected control from the response controls in the target area; and setting the cursor of the page in the selected control.

Optionally, as a third possible implementation manner of the first aspect, after sending the page with the determined cursor position to the car machine to enable the car machine to display and detect a user operation, the method further includes:

and informing the server side of the user operation so as to update the focus state form.

Optionally, as a fourth possible implementation manner of the first aspect, the obtaining the focus state form from the server includes:

when the application program is started, a form request is sent to a server side; receiving the focus state form sent by the server side; and recording a target area of each page in the application program and a target response control of each area in the corresponding page in the form of the focus state.

In order to achieve the above object, an embodiment of a second aspect of the present application provides a page cursor position setting method, including:

acquiring user operation detected when each vehicle machine displays a page;

according to the user operation, counting the operation frequency of the response control in the corresponding region for each region divided by the page;

generating a focus state form according to the operation frequency; the focus state form is used for indicating a target area with the highest operation frequency in each area and a target response control with the highest operation frequency in the target area;

and setting the position of a page cursor according to the focus state form.

To achieve the above object, a third aspect of the present application provides a page cursor position setting device, including:

the acquisition module is used for acquiring the focus state form from the server side; the focus state form is used for indicating a target area of a page and a target response control in the target area; the target area and the target response control are determined according to the operation frequency of the response control in each area of the page;

and the setting module is used for setting the cursor of the page to the target response control of the target area.

To achieve the above object, a fourth aspect of the present application provides a page cursor position setting device, including:

the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring user operation detected when each vehicle machine displays a page;

the counting module is used for counting the operation frequency of the response control in the corresponding region for each region divided by the page according to the user operation;

the generating module is used for generating a focus state form according to the operation frequency; the focus state form is used for indicating a target area with the highest operation frequency in each area and a target response control with the highest operation frequency in the target area;

and the setting module is used for setting the page cursor position according to the focus state form.

To achieve the above object, an embodiment of a fifth aspect of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the page cursor position setting method according to the first aspect.

To achieve the above object, a sixth aspect of the present application provides a server, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor executes the computer program to implement the page cursor position setting method according to the first aspect.

To achieve the above object, a seventh embodiment of the present application proposes a non-transitory computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the page cursor position setting method according to the first aspect, or implements the page cursor position setting method according to the second aspect.

In order to achieve the above object, an eighth aspect of the present application provides a method for setting a page cursor position, where the method includes:

acquiring a focus state form; the form in the focus state is generated by counting the operation frequency of a response control in a corresponding region for each region divided by the page according to the operation frequency;

and setting the cursor position of the page according to the focus state form.

To achieve the above object, a ninth aspect of the present application provides a page cursor position setting device, including:

the acquisition module is used for acquiring the focus state form; the form in the focus state is generated by counting the operation frequency of a response control in a corresponding region for each region divided by the page according to the operation frequency;

and the setting module is used for setting the cursor position of the page according to the focus state form.

The technical scheme provided by the embodiment of the application can have the following beneficial effects:

the method comprises the steps of obtaining a focus state form from a server, wherein the focus state form is used for indicating a target area of a page and a target response control, the target area and the target response control in the target area are determined according to the operation frequency of the response control in each area of the page, a cursor of the page is arranged on the target response control in the target area, the target area in the focus state form and the target response control in the target area are determined based on the operation frequency of the response control in each area of the page, and the operation preference of a user is reflected by the operation frequency, so that the flexibility and the accuracy of determining the position of the cursor of the page are improved.

Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.

Drawings

The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

fig. 1 is a schematic flowchart of a method for setting a page cursor position according to an embodiment of the present disclosure;

fig. 2 is a schematic flowchart of another page cursor position setting method according to an embodiment of the present application;

FIG. 3 is a diagram of a focus state form provided by an embodiment of the present application;

fig. 4 is a schematic diagram of the obtained user operation and page cursor position change according to the embodiment of the present application;

fig. 5 is a schematic flowchart of another page cursor position setting method provided in the embodiment of the present application;

fig. 6 is a schematic flowchart of an interaction method for setting a page cursor position according to an embodiment of the present application;

fig. 7 is a schematic flowchart of another page cursor position setting method according to an embodiment of the present application;

fig. 8 is a schematic structural diagram of a page cursor position setting device according to an embodiment of the present application;

fig. 9 is a schematic structural diagram of another page cursor position setting device according to an embodiment of the present application;

fig. 10 is a schematic structural diagram of another page cursor position setting device according to an embodiment of the present application; and

fig. 11 is a schematic structural diagram of an electronic device and a readable storage medium according to an embodiment of the present application.

Detailed Description

Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.

The following describes a page cursor position setting method, device, mobile terminal and server according to an embodiment of the present application with reference to the drawings.

Fig. 1 is a schematic flowchart of a method for setting a page cursor position according to an embodiment of the present disclosure.

As shown in fig. 1, the method comprises the steps of:

step 101, obtaining a focus state form from a server, wherein the focus state form is used for indicating a target area of a page, and a target response control in the target area, the target area and the target response control are determined according to the operation frequency of the response control in each area of the page.

The execution main body in the embodiment of the application is a mobile terminal, and the mobile terminal may be, for example, a smart phone, a palm computer, an ipad, an intelligent wearable device, or the like, which is not limited in this embodiment.

Specifically, when the application program is started, a form request is sent to the server side, and a focus state form sent by the server side is received, wherein a target area of each page in the application program and a target response control of each area in a corresponding page are recorded in the focus state form. That is to say, according to the focus state form, a target area of each page and a response control in the target area can be determined, the target area and the target response control of each page are determined according to the operation frequency of the response control in each area of the page, and the operation frequency of the response control in each area of the page can indicate the operation preference of the user, so that the target area of each page and the target response control in the target area which accord with the user preference are determined based on the big data operated by the user.

It should be noted that each page may include at least one region, each region includes at least one response control, and the frequency of the user operating the corresponding response control in different regions is different, so according to the operation preference of the user, the region with the highest operation frequency is taken as the target region, and the response control with the highest operation frequency in the target region is taken as the target response control.

And 102, setting a cursor of the page in a target response control of the target area.

Specifically, the cursor of the page is set to the target response control of the target area aiming at the displayed page, so that the setting of the cursor position of the page based on the user preference is realized, and the flexibility and the accuracy of cursor setting are improved.

In the page cursor position setting method of the embodiment, a focus state form is obtained from a server, wherein the focus state form is used for indicating a target area of a page, and a target response control in the target area, the target area and the target response control are determined according to the operation frequency of the response control in each area of the page, and a cursor of the page is set in the target response control in the target area.

Based on the previous embodiment, this embodiment provides a scene of interconnection between an intelligent watch and a car machine, and maps a page displayed at an intelligent watch end to a car machine screen without a touch screen for display, and fig. 2 is a schematic flow diagram of another page cursor position setting method provided in this embodiment of the present application.

As shown in fig. 2, the method may include the steps of:

step 201, obtaining a focus state form from a server, where the focus state form is used to indicate a target area of a page, and a target response control in the target area, and the target area and the target response control are determined according to the operation frequency of the response control in each area of the page.

In this embodiment, the smart phone and the car machine are connected in a USB or wireless manner, and the application program of the smart phone end is matched with the application program of the car machine end through a preset protocol, so that the picture displayed by the smart phone end can be displayed on the display screen of the car machine in real time.

Specifically, after the application program is started, the smart phone sends a request to the server to obtain a focus state form stored in the server, so as to determine a target area of each page in the application program and a target response control in the target area according to the focus state form.

Fig. 3 is a schematic diagram of a focus state form, and as shown in fig. 3, an application program of an intelligent terminal includes N pages, where a page a is sequentially divided into 3 regions from top to bottom, the regions are an upper region, a middle region, and a lower region, the region a includes a response control as a list, the middle region is a target region, the middle region includes two response controls, which are a response control 1 and a response control 3, the response control 3 is a target response control of the middle region, and the lower region includes one response control as a response control 2. Therefore, according to the focus state form in fig. 3, it may be determined that the target area of the application program display page a is the middle area, and the target response control in the middle area is the response control 3.

Step 202, setting a cursor of the page in a target response control of the target area.

For example, if a page displayed in an application program of the mobile terminal is a, a cursor of the page a is set in the response control 3 of the middle area, so that the page a is also displayed on a display screen of the vehicle end, and meanwhile, the cursor is set in the response control 3 of the middle area, so that a default target area displayed by the cursor in the page and a target response control in the target area are determined based on the click frequency of a user, the requirements of different users are met, and the flexibility and the accuracy of cursor display are realized.

It should be noted that, after the mobile terminal displays the page a, the cursor may default to the target response control set in the target area of the page a, and after the target operation of the user detected by the in-vehicle device is obtained, the position of the cursor in the page may be changed according to the user operation, which will be described in detail in the following steps.

And step 203, sending the page with the determined cursor position to the car machine so as to enable the car machine to display.

In this embodiment, the page displayed by the mobile terminal is mapped to the car end interacting with the mobile terminal in real time for displaying, so that the mobile terminal sends the page with the determined cursor position to the car machine, for example, the page a with the determined cursor position in the above step, so as to display the car machine.

And step 204, acquiring the user operation detected by the vehicle machine.

The vehicle end is provided with a control device, such as a rocker, the rocker can be pushed or rotated, a user pushes the rocker to select a page region, and the rotating rocker is used for selecting a response control in a corresponding region.

Specifically, user operations detected by the vehicle machine are obtained, the user operations are realized based on an operating device, the user operations in this embodiment are mainly operations for selecting a page area and operations for selecting a response control in a page, since different vehicle machines have different operating devices, in order to distinguish the user operations, the user operations are divided into a first operation for selecting the area and a second operation for selecting the response control, and the following steps will be described in detail with respect to the first operation and the second operation.

Step 205, determining whether the user operation detected by the in-vehicle device belongs to the first type for selecting the area, if so, executing step 207, and if not, executing step 206.

Specifically, it is determined whether the user operation detected by the in-vehicle device belongs to a first type for selecting the area, if so, step 206 is executed, and if not, step 207 is executed, if so, the user operation is of a second type.

In step 206, a selected region is determined from the regions.

Specifically, if the user operation detected by the in-vehicle device belongs to the first type for selecting the area, the selected area is determined from the areas based on the user operation.

For example, the control device is a rocker, a user pushes the rocker to select a region, for example, push up or push down, as shown in fig. 4, a schematic diagram of a user operating a page C through the rocker in fig. 4 is shown, in fig. 4, a cursor position of the page C is a response control list in a middle region of the page, and the user pushes up the rocker to switch the selected region to an upper region, so that switching of the response control in the page is realized based on the user operation detected by the car end, the car end can control the page of the mobile terminal, and interaction between the mobile terminal and the car machine is realized.

And step 208, inquiring the focus state form to determine the target response control in the selected area, and setting the cursor of the page in the target response control in the selected area.

For example, in the previous step, it is determined that the area reselected by the user is the upper area, so as to query the form in the focus state to determine the target response control in the selected area, that is, the target response control in the upper area of the page C is queried to be the control 1, and the cursor of the page is set to the response control 1 in the selected upper area.

Similarly, as shown in fig. 4, the lower area of the page C may also be selected based on the push-down operation of the user, and the principle is the same, which is not described herein again.

And step 207, determining that the detected user operation belongs to a second type for selecting the response control, determining a selected control from the response controls in the target area, and setting a cursor of the page in the selected control.

Specifically, if it is determined that the detected user operation is of the second type for selecting the responsive control, the selected control is determined from the corresponding region based on the user operation.

As shown in fig. 4, when it is detected that the operation of the user is right-handed rotation or left-handed rotation, for example, right-handed rotation, the control in the upper region is determined as the selected control 2, and the cursor position of the page is set from the control 1 to the selected control 2, so that switching of the response control in the page is realized based on the user operation detected by the vehicle end, the page of the mobile terminal can be controlled at the vehicle end, interaction between the mobile terminal and the vehicle machine is realized, and the flexibility of control is improved.

Step 209, notify the server end user's operation to update the focus state form.

Specifically, the user operation detected by the vehicle machine reflects the current operation preference of the user, and the user operation realizes the selection of the corresponding page area and the selection of the response control in the area, so that the selected area indicated by the user operation and the corresponding response control are uploaded to the server side, and the server updates the focus state form according to the selected area indicated by the user operation and the corresponding response control, so that the focus state form is updated in real time based on the user operation, the preference of the user operation can be better embodied, and the accuracy of displaying the page cursor position is improved.

In the page cursor position setting method of the embodiment, a focus state form is obtained from a server, wherein the focus state form is used for indicating a target area of a page, and a target response control in the target area, the target area and the target response control are determined according to the operation frequency of the response control in each area of the page, and a cursor of the page is set in the target response control in the target area.

In order to implement the foregoing embodiments, this embodiment provides a possible implementation manner of a page cursor position setting method, and fig. 5 is a schematic flow chart of another page cursor position setting method provided in this embodiment, as shown in fig. 5, the method includes the following steps:

step 501, user operation detected when each car machine displays a page is obtained.

The execution main part of this application embodiment is the server, and the server can be the server in high in the clouds, also can be local server or discharge excrement server cluster, does not restrict in this application.

Each car machine is provided with an operation device, a user can operate the operation device to perform corresponding operation, for example, the operation device is a rocker which can be pushed or rotated, the user pushes the rocker to be used for selecting a region of a page, and the rotating rocker is used for selecting a response control in the corresponding region. Therefore, the server can obtain the user operation detected when the display page of each vehicle machine is displayed.

Optionally, each car machine may establish communication connection with the mobile terminal in advance, so that a page displayed by the car machine may be acquired from the mobile terminal establishing communication, and control over a cursor display position of the mobile terminal display page in the car machine may be realized according to user operation detected in the car machine display page, so that interaction between the car machine and the mobile terminal is realized, requirements of users in different scenes are met, and flexibility is improved.

Step 502, according to the user operation, for each region divided by the page, counting the operation frequency of the response control in the corresponding region.

Specifically, the page displayed by the car machine is divided into different regions, for example, an upper region, a middle region, and a lower region of the page C in fig. 4, and the operation frequency of each region and the operation frequency of the response control in the corresponding region are counted for each region of the page.

Step 503, generating a focus state form according to the operation frequency, wherein the focus state form is used for indicating a target area with the highest operation frequency in each area and a target response control with the highest operation frequency in the target area.

Specifically, according to the operation frequency, the weight of each region in each page and the weight of each response control in the corresponding region are determined, wherein the weights are in direct proportion to the operation frequency. And generating a focus state form according to the target area with the maximum weight in each page and the target response control with the maximum weight in each area of the corresponding page, wherein the target area of each page and the target response control of each area in the corresponding page are recorded in the focus state form.

Step 504, setting the page cursor position according to the focus state form.

Specifically, when a form request sent by the mobile terminal is received, a focus state form is sent to the mobile terminal sending the form request, so that the mobile terminal can set a cursor position according to the focus state form.

According to the page cursor position setting method in the embodiment of the application, user operation detected when each vehicle-mounted display page is displayed is obtained, operation frequency of response controls in corresponding areas is counted for each area divided by the page according to the user operation, a focus state form is generated according to the operation frequency, and the page cursor position is set according to the focus state form.

In order to implement the foregoing embodiments, this embodiment provides an interaction method for setting a page cursor position, and fig. 6 is a schematic flow chart of the interaction method for setting a page cursor position provided in this embodiment.

As shown in fig. 6, the method comprises the following steps:

step 601, when the application program of the mobile terminal is started, a form request is sent to the server to request to obtain the focus state form.

At step 602, the server sends a focus state form to the server that sent the form request.

Step 603, the mobile terminal enters a display page of the application program.

In this embodiment, the display page a of the application is taken as an example, and the principle of other display pages is the same, and the display page of the mobile terminal is not limited here.

Step 604, setting the cursor of the page in the target response control of the target area of the page.

Specifically, in fig. 6, the default focus of the page a is the target response control of the target area of the page set by the cursor, because the user operation is not obtained after the page a is entered, the mobile terminal sets the cursor in the target response control of the target area of the page according to the target area of the page a and the target response control in the target area stored in the focus state form, so as to set the position of the cursor in the page according to the user preference.

Step 605, the mobile terminal sends the page with the determined cursor position to the car machine, so that the car machine performs displaying.

In this embodiment, the car machine and the mobile terminal have already been bound, and the display page of the application program end of the mobile terminal can be projected to the car machine end in real time for display, that is to say, the page displayed at the car machine end is a mirror image of the display page of the mobile terminal.

Step 606, the mobile terminal obtains the user operation detected by the car machine, and judges whether the type of the user operation belongs to a first type for selecting the area.

Step 607, determining that the user operation belongs to the first type, inquiring the form of the focus state, and changing the area of the cursor in the page.

Step 608, the mobile terminal obtains the user operation detected by the car machine, and determines whether the type of the user operation belongs to a second type for selecting the response control.

And step 609, determining that the operation belongs to the second type, inquiring the form in the focus state, and changing a response control corresponding to the area of the cursor in the page.

It should be noted that, according to the detected push-up or push-down operation performed by the user through the control device at the vehicle end, for example, the joystick, or the left-handed operation or the right-handed operation, the position of the default cursor in step 604 may be changed, and the description about the user operation and the change of the cursor position in the embodiment corresponding to fig. 2 may be specifically used, which is not described herein again.

And step 610, the mobile terminal informs the server of the user operation detected by the vehicle machine to update the focus state form.

It should be noted that, in the foregoing embodiment, all the descriptions related to the interaction between the mobile terminal and the server may be applied to this embodiment, and the principle is the same, and no further description is given in this embodiment.

In the interaction method for setting the page cursor position of the embodiment of the application, the mobile terminal obtains the focus state form from the server after starting the application program, according to the target area of the page indicated in the focus state form and the target response control in the target area, the default setting of the cursor display position is carried out on the page displayed in the mobile terminal, namely the target response control with the cursor arranged in the target area of the page realizes that the display of the cursor is flexibly arranged based on the preference of the user, improves the flexibility and the accuracy of the setting of the page cursor, further obtains the user operation detected by the vehicle machine, the position of the cursor in the page is changed according to the type of the user operation, the user can control the page cursor at the vehicle end without a touch screen, meanwhile, the position of the cursor can be set based on user preference, and the flexibility and the accuracy of page cursor setting are improved.

In order to implement the foregoing embodiment, this embodiment provides a possible implementation manner of another page cursor position setting method, and fig. 7 is a schematic flow chart of another page cursor position setting method provided in the embodiment of the present invention, as shown in fig. 7, the method includes the following steps:

step 701, acquiring a focus state form, wherein the focus state form is generated by counting the operation frequency of the response control in the corresponding region according to the operation frequency of each region divided by the page.

The execution main body in the embodiment of the application is a mobile terminal, and the mobile terminal may be, for example, a smart phone, a palm computer, an ipad, an intelligent wearable device, or the like, which is not limited in this embodiment.

Specifically, when the application program is started, a form request is sent to the server side, and a focus state form sent by the server side is received, wherein the focus state form is generated by counting the operation frequency of response controls in corresponding areas according to the operation frequency of each area divided by the page.

As a possible implementation manner, in the focus state form, a target area of each page in the application program and a target response control of each area in the corresponding page are recorded. That is to say, according to the focus state form, a target area of each page and a response control in the target area can be determined, the target area and the target response control of each page are determined according to the operation frequency of the response control in each area of the page, and the operation frequency of the response control in each area of the page can indicate the operation preference of the user, so that the target area of each page and the target response control in the target area which accord with the user preference are determined based on the big data operated by the user.

It should be noted that each page may include at least one region, each region includes at least one response control, and the frequency of the user operating the corresponding response control in different regions is different, so according to the operation preference of the user, the region with the highest operation frequency is taken as the target region, and the response control with the highest operation frequency in the target region is taken as the target response control.

Step 702, setting the cursor position of the page according to the focus state form.

Specifically, the cursor of the page is set to the target response control of the target area aiming at the displayed page, so that the setting of the cursor position of the page based on the user preference is realized, and the flexibility and the accuracy of cursor setting are improved.

In the method for setting the page cursor position, the focus state form is obtained from the server, wherein the focus state form is generated by counting the operation frequency of the response control in the corresponding region for each region divided by the page and setting the cursor position of the page according to the focus state form.

In order to implement the above embodiments, the present application further provides a device for setting a page cursor position, where the device is disposed in a mobile terminal.

Fig. 8 is a schematic structural diagram of a page cursor position setting device according to an embodiment of the present application.

As shown in fig. 8, the apparatus includes: an acquisition module 71 and a setting module 72.

The obtaining module 71 is configured to obtain a focus state form from the server, where the focus state form is used to indicate a target area of the page, and a target response control, a target area, and a target response control in the target area, and are determined according to operation frequency of the response control in each area of the page.

And a setting module 72, configured to set a cursor of the page to the target response control of the target area.

Further, in a possible implementation manner of the embodiment of the present application, the apparatus further includes: the device comprises a sending module, a determining module, a resetting module and an updating module.

And the focus state form is also recorded with target response controls of all areas of the page.

And the sending module is used for sending the page with the determined cursor position to the vehicle machine so as to display the vehicle machine.

The obtaining module 72 obtains the user operation detected by the car machine.

As a possible implementation manner, the determining module is further configured to determine a selected region from the regions and query the focus state form to determine a target response control in the selected region if the user operation detected by the vehicle-mounted device belongs to the first type for selecting the region.

And the resetting module is used for setting the cursor of the page in the target response control in the selected area.

As another possible implementation manner, the determining module is further configured to determine, if the user operation detected by the vehicle-mounted device belongs to the second type for selecting a response control, a selected control from among response controls in the target area.

And the resetting module is used for setting the cursor of the page in the selected control.

And the updating module is used for informing the server end of the user operation so as to update the focus state form.

As a possible implementation manner, the obtaining module 71 is specifically further configured to

When an application program is started, a form request is sent to a server side, and a focus state form sent by the server side is received; the target area of each page in the application program and the target response control of each area in the corresponding page are recorded in the focus state form.

It should be noted that the foregoing explanation of the embodiment of the cursor position setting method is also applicable to the cursor position setting device of this embodiment, and the principle is the same, and is not repeated here.

In the page cursor position setting device of the embodiment, a focus state form is obtained from a server, wherein the focus state form is used for indicating a target area of a page, and a target response control in the target area, the target area and the target response control are determined according to the operation frequency of the response control in each area of the page, and a cursor of the page is set in the target response control in the target area.

In order to implement the above embodiments, the present application further provides a page cursor position setting device, where the page cursor position setting device is disposed in a server.

Fig. 9 is a schematic structural diagram of another page cursor position setting device according to an embodiment of the present application.

As shown in fig. 9, the apparatus includes: an acquisition module 81, a statistics module 82, a generation module 83, and a setup module 84.

And the obtaining module 81 is configured to obtain the user operation detected when the display page of each car machine is displayed.

And the counting module 82 is configured to count, according to the user operation, the operation frequency of the response control in the corresponding region for each region divided by the page.

The generating module 83 is configured to generate a focus state form according to the operation frequency; the focus state form is used for indicating a target area with the highest operation frequency in each area and a target response control with the highest operation frequency in the target area.

And a setting module 84, configured to set a page cursor position according to the focus state form.

Further, in a possible implementation manner of the embodiment of the present application, the page displayed by each car machine is acquired from a mobile terminal that establishes communication, and the setting module 84 is specifically configured to:

and when a form request sent by the mobile terminal is received, sending a focus state form to the mobile terminal sending the form request so that the mobile terminal sets a cursor position according to the focus state form.

As a possible implementation manner, the generating module 83 is specifically configured to

Determining the weight of each region in each page and the weight of each response control in the corresponding region according to the operation frequency, wherein the weights are in direct proportion to the operation frequency, and generating a focus state form according to the target region with the maximum weight in each page and the target response control with the maximum weight in each region of the corresponding page, wherein the target region of each page and the target response control of each region in the corresponding page are recorded in the focus state form.

It should be noted that the foregoing explanation of the embodiment of the cursor position setting method is also applicable to the cursor position setting device of this embodiment, and the principle is the same, and is not repeated here.

In the page cursor position setting device in the embodiment of the application, user operations detected when each vehicle-mounted display page is displayed are obtained, operation frequency of response controls in corresponding regions is counted for each region divided by the page according to the user operations, a focus state form is generated according to the operation frequency, and a page cursor position is set according to the focus state form.

In order to implement the above embodiments, the present application further provides another page cursor position setting device, which is disposed in a mobile terminal.

Fig. 10 is a schematic structural diagram of another page cursor position setting device according to an embodiment of the present application.

As shown in fig. 10, the apparatus includes: an acquisition module 91 and a setting module 92.

An obtaining module 91, configured to obtain a focus state form; the focus state form is generated according to the operation frequency of the response control in each region divided by the page.

And the setting module 92 is used for setting the cursor position of the page according to the focus state form.

In the page cursor position setting device of the embodiment, a focus state form is obtained from a server, wherein the focus state form counts the operation frequency of response controls in corresponding regions for each region divided by a page, and is generated according to the operation frequency, and the cursor position of the page is set according to the focus state form.

In order to implement the foregoing embodiments, an embodiment of the present application provides a mobile terminal, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, where when the processor executes the computer program, the page cursor position setting method according to the foregoing method embodiments is implemented.

In order to implement the foregoing embodiments, an embodiment of the present application provides a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the server implements the page cursor position setting method according to the foregoing method embodiments.

In order to implement the foregoing embodiments, the present application provides a non-transitory computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the page cursor position setting method according to the foregoing method embodiments.

According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.

As shown in fig. 11, it is a block diagram of an electronic device according to the method of the page cursor position setting method of the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.

As shown in fig. 11, the electronic apparatus includes: one or more processors 901, memory 902, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 11 illustrates an example of a processor 901.

Memory 902 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the method for page cursor position setting provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method of page cursor position setting provided herein.

The memory 902, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method for setting page cursor position in the embodiments of the present application (for example, the obtaining module 71 and the setting module 72 shown in fig. 8, or the obtaining module 81, the counting module 82, the generating module 83, and the setting module 84 shown in fig. 9). The processor 901 executes various functional applications of the server and data processing, i.e., a method of implementing the page cursor position setting in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 902.

The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the electronic device set for the page cursor position, and the like. Further, the memory 902 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 902 may optionally include memory remotely located from processor 901, which may be connected over a network to an electronic device located at the page cursor position. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The electronic device for page cursor position setting may further include: an input device 903 and an output device 904. The processor 901, the memory 902, the input device 903 and the output device 904 may be connected by a bus or other means, and fig. 11 illustrates the connection by a bus as an example.

The input device 903 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic device for page cursor position settings, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 904 may include a display device, auxiliary lighting devices (e.g., LEDs), tactile feedback devices (e.g., vibrating motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.

Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.

These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.

To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.

The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.

The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

According to the technical scheme of the embodiment of the application, the focus state form is obtained from the server side, wherein the focus state form is used for indicating the target area of the page, the target response control in the target area, the target area and the target response control are determined according to the operation frequency of the response control in each area of the page, the cursor of the page is arranged on the target response control in the target area, the target area in the focus state form and the target response control in the target area are determined based on the operation frequency of the response control in each area of the page, and the operation preference of a user is reflected by the operation frequency, so that the flexibility and the accuracy of determining the position of the cursor of the page are improved.

It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.

The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种中医健康状态智能辨识软件及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类