CN115600629B - Vehicle information two-dimensional code generation method, electronic device and computer readable medium - Google Patents
Vehicle information two-dimensional code generation method, electronic device and computer readable medium Download PDFInfo
- Publication number
- CN115600629B CN115600629B CN202211503517.3A CN202211503517A CN115600629B CN 115600629 B CN115600629 B CN 115600629B CN 202211503517 A CN202211503517 A CN 202211503517A CN 115600629 B CN115600629 B CN 115600629B
- Authority
- CN
- China
- Prior art keywords
- information
- vehicle
- vehicle information
- dimensional code
- page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000004044 response Effects 0.000 claims abstract description 20
- 238000001514 detection method Methods 0.000 claims abstract description 7
- 238000004590 computer program Methods 0.000 claims description 11
- 238000011161 development Methods 0.000 abstract description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 208000003028 Stuttering Diseases 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000001627 detrimental effect Effects 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the disclosure discloses a vehicle information two-dimensional code generation method, electronic equipment and a computer readable medium. One embodiment of the method comprises: in response to receiving the vehicle information page website and the target application type information corresponding to the vehicle information page website, displaying at least one piece of vehicle scene information corresponding to the target application type information; in response to the detection of the selection operation of any vehicle scene information in the corresponding at least one piece of vehicle scene information, generating a vehicle information two-dimensional code based on the vehicle information page website and any vehicle scene information; setting an identification code corresponding to the target application type information; adding the identification code into the vehicle information two-dimensional code to update the vehicle information two-dimensional code; and responding to the detected scanning operation acting on the target vehicle information two-dimensional code, and sending the page content corresponding to the target vehicle information two-dimensional code to the user terminal. This embodiment reduces development time.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a vehicle information two-dimensional code generation method, electronic equipment and a computer readable medium.
Background
With the development of information technology, a plurality of different applications can provide various information services to users. The user can install the application as desired to obtain the desired information.
In order to present the vehicle information page, the technician needs to make a corresponding page according to the characteristics of different applications and the characteristics of different applets (for example, a vehicle model presentation scene page, a vehicle information subscription scene page).
However, the following technical problems generally exist in the above manner:
firstly, the frames, editing languages and the like of the pages of the applets of different applications are different, and technicians need to separately manufacture the vehicle information page into a page which can be displayed by the applets of the respective applications, so that development time is wasted;
secondly, the page of the small program is usually made by research personnel, so that the development period of the page is long, and the iteration of the page is not facilitated;
thirdly, the server is required to build the page and then push the page to the client, so that more page browsing requests are required, and the server is easy to jam.
The above information disclosed in this background section is only for enhancement of understanding of the background of the inventive concept and, therefore, it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a vehicle information two-dimensional code generation method, an electronic device, and a computer-readable medium to solve one or more of the technical problems mentioned in the above background section.
In a first aspect, some embodiments of the present disclosure provide a vehicle information two-dimensional code generation method, including: the two-dimensional code server responds to the received vehicle information page website and the target application type information corresponding to the vehicle information page website, and displays at least one piece of vehicle scene information corresponding to the target application type information; the two-dimensional code server responds to the detection of a selection operation corresponding to any piece of vehicle scene information in the at least one piece of vehicle scene information, and generates a vehicle information two-dimensional code based on the vehicle information page address and the any piece of vehicle scene information, wherein the vehicle information two-dimensional code is used for indicating that the page content of the vehicle information page address is displayed in an application corresponding to the target application type information; the two-dimensional code server sets an identification code corresponding to the target application type information, wherein the identification code is used for inquiring the application corresponding to the target application type information on a terminal; the two-dimensional code server adds the identification code to the vehicle information two-dimensional code to update the vehicle information two-dimensional code, and the updated vehicle information two-dimensional code is obtained and serves as a target vehicle information two-dimensional code; and the two-dimension code server responds to the scanning operation of the user terminal on the target vehicle information two-dimension code and sends the page content corresponding to the target vehicle information two-dimension code to the user terminal for displaying.
In a second aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a third aspect, some embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: by the vehicle information two-dimensional code generation method of some embodiments of the present disclosure, development time is reduced. Specifically, the reason why the development time is wasted is that: the frames, editing languages, and the like of the pages of the applets of different applications are different, and technicians need to individually make the vehicle information page into a page that can be displayed by the applets of their respective applications. Based on this, in the vehicle information two-dimensional code generation method according to some embodiments of the present disclosure, first, in response to receiving a vehicle information page website and target application type information corresponding to the vehicle information page website, a two-dimensional code server displays at least one piece of vehicle scene information corresponding to the target application type information. Secondly, the two-dimensional code server responds to the detection of the selection operation corresponding to any piece of vehicle scene information in the at least one piece of vehicle scene information, and generates a vehicle information two-dimensional code based on the vehicle information page website and the any piece of vehicle scene information. The vehicle information two-dimensional code is used for indicating that the page content of the vehicle information page website is displayed in the application corresponding to the target application type information. Therefore, non-technical personnel can manufacture the two-dimensional code corresponding to the vehicle information page according to actual needs, and the efficiency of obtaining the two-dimensional code of the vehicle information page is improved. Thus, there is no need for a technician to configure all of the pages. The development time is reduced. And then, the two-dimension code server sets an identification code corresponding to the target application type information. The identification code is used for inquiring the application corresponding to the target application type information on the terminal. Then, the two-dimensional code server adds the identification code to the vehicle information two-dimensional code to update the vehicle information two-dimensional code, and the updated vehicle information two-dimensional code is obtained and used as a target vehicle information two-dimensional code. Therefore, when the user side scans the target vehicle information two-dimensional code, the client side can be helped to quickly inquire and apply through the identification code. And finally, the two-dimension code server responds to the scanning operation of the user terminal on the target vehicle information two-dimension code, and sends the page content corresponding to the target vehicle information two-dimension code to the user terminal for displaying. Therefore, the user terminal can also quickly acquire the page content so as to be browsed or page construction by the user terminal.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flow diagram of some embodiments of a vehicle information two-dimensional code generation method according to the present disclosure;
FIG. 2 is a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
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 so that this disclosure will be thorough and complete. 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 present 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 flow chart of some embodiments of a vehicle information two-dimensional code generation method according to the present disclosure. A flow 100 of some embodiments of a vehicle information two-dimensional code generation method according to the present disclosure is shown. The vehicle information two-dimensional code generation method comprises the following steps:
In some embodiments, the two-dimensional code server may display at least one piece of vehicle scene information corresponding to the target application type information in response to receiving the vehicle information page website input by the user and the target application type information corresponding to the vehicle information page website. The user may refer to a technician or a non-technician.
When a user needs to generate a two-dimensional code corresponding to a vehicle information page, a vehicle information page website and corresponding target application type information can be input into a two-dimensional code server. The target application type information is used for describing an application for displaying the vehicle information page. In practice, the application generally needs to expose the vehicle information page in a specified scene (for example, an applet or a plug-in), and therefore, the two-dimensional code server may display at least one piece of vehicle scene information of the application corresponding to the target application type information. The vehicle scene information may be a vehicle model display scene, a vehicle information subscription scene, and the like. The two-dimensional code server may refer to a server that generates a two-dimensional code of a vehicle information page. The vehicle model presentation scenario may refer to a scenario in which a vehicle model is presented. The vehicle information subscription scenario may refer to a scenario of subscribing/pushing vehicle information. Vehicle information may include, but is not limited to: vehicle name, vehicle image, vehicle parameters.
It should be noted that the two-dimensional code server may display at least one piece of vehicle scene information corresponding to the target application type information after receiving the vehicle information page website and the target application type information corresponding to the vehicle information page website.
In practice, the two-dimensional code server may display at least one piece of vehicle scene information corresponding to the target application type information by:
in a first step, at least one piece of application type information is displayed in response to detecting the website of the vehicle information page inputted in the website input frame. The application type information is used to describe an application that presents a vehicle information page. The two-dimensional code server may display a page containing the web address input box on an associated display device. After the user inputs the website of the vehicle information page in the website input box, the two-dimensional code server can detect the website of the vehicle information page and further display at least one piece of application type information.
And a second step of determining any application type information as target application type information in response to detecting a selection operation acting on any application type information in the at least one piece of application type information, and displaying at least one piece of vehicle scene information corresponding to the target application type information. Wherein, the vehicle scene information in the at least one piece of vehicle scene information includes: the vehicle model display scene and the vehicle information subscription scene. The selection operation may include, but is not limited to: click, slide, toggle. When the user selects the target application type information from the at least one piece of application type information, the fact that the user wants to display the vehicle information page in the application corresponding to the target application type information is shown. Because the application has various modes of displaying the page, the two-dimensional code server can further display at least one piece of scene information of the application.
And 102, the two-dimensional code server responds to the detected selection operation corresponding to any vehicle scene information in the at least one piece of vehicle scene information and generates a vehicle information two-dimensional code based on the vehicle information page website and the any vehicle scene information.
In some embodiments, the two-dimensional code server may generate a vehicle information two-dimensional code based on the vehicle information page website and any piece of vehicle scene information in response to detecting a selection operation corresponding to any piece of vehicle scene information in the at least one piece of vehicle scene information. The vehicle information two-dimensional code is used for indicating that the page content of the vehicle information page website is displayed in the application corresponding to the target application type information. The page content may include various page elements that generate a vehicle information page. When the two-dimensional code server detects the vehicle scene information selected by the user from the at least one piece of vehicle scene information, it can be considered that the user needs to display the vehicle information page in the scene corresponding to the vehicle scene information. The selection operation may include, but is not limited to: click, toggle, slide. That is, the two-dimensional code server may generate the vehicle information two-dimensional code based on the vehicle information page address and any piece of vehicle scene information in response to detecting a click operation corresponding to any piece of vehicle scene information in the at least one piece of vehicle scene information.
In practice, based on the vehicle information page website and any vehicle scene information, the two-dimensional code server may generate the vehicle information two-dimensional code by:
firstly, inquiring the path information of any vehicle scene information in the application corresponding to the target application type information. Typically, an application contains multiple scenes, with different scenes located at different locations in the application. Therefore, the two-dimensional code server needs to firstly inquire the path information of a scene corresponding to any vehicle scene information in the application corresponding to the target application type information, so that the vehicle information page is displayed in the application scene according to the path information.
In practice, the first step may comprise the following sub-steps:
the first substep is to obtain the first port information of the application and the second port information of the vehicle scene corresponding to the any vehicle scene information in the application. The application needs to transmit information through the corresponding port. The ports that are typically used are pre-set. The application comprises a plurality of scenes, and different scenes are corresponding to ports so as to ensure that information is transmitted to the correct scene. Therefore, the two-dimensional code server can acquire the first port information of the application and acquire the second port information of the vehicle scene corresponding to any vehicle scene information.
A second substep of generating path information based on the first port information and the second port information. After the first port information and the second port information are obtained, the two-dimensional code server can construct path information, so that a terminal scanning the two-dimensional code can find an application scene according to the path information.
And secondly, generating a vehicle information two-dimensional code based on the vehicle information page website and the path information. After the path information is determined, the two-dimensional code server can generate a vehicle information two-dimensional code corresponding to the vehicle information page website and the path information. The terminal equipment for scanning the vehicle information two-dimensional code can open an application appointed scene according to the path information and display the content of the vehicle information page website in the scene. For example, the vehicle information page website is a vehicle model display scene page, the path information corresponds to an applet of the application X, and after the terminal scans the two-dimensional code, the terminal analyzes the path information from the two-dimensional code, then opens the applet of the application X according to the path information, and displays the vehicle model display scene page in the applet.
In practice, the above-mentioned second step may comprise the following sub-steps:
the first substep, inquire the page structure of any above-mentioned vehicle scene information. The contents displayed in different scenes are usually different, and in order to embody the characteristics of the contents, the page structures when different contents are displayed are usually different. Therefore, the two-dimension code server can inquire the page structure corresponding to the vehicle scene information. The page structure may include a language constituting the page, a type of an information presentation frame of the page, and the like.
And a second substep of adding the page content of the vehicle information page website to the page structure to obtain a vehicle information page. The two-dimension code server can locally add the page content of the vehicle page website to the page structure to obtain a vehicle information page. Therefore, the condition that the vehicle information page is loaded in the scene applied to the terminal is simulated, the content of the vehicle information page can be effectively loaded after the terminal scans the two-dimensional code, and the effectiveness of the scene display vehicle information page is improved.
And the third substep, generating the vehicle information page address corresponding to the vehicle information page. When the content of the vehicle information page can be normally displayed, the two-dimensional code server can generate the vehicle information page address of the vehicle information page. Therefore, the terminal for scanning the two-dimensional code can accurately load the content of the vehicle information page according to the address of the vehicle information page.
And a fourth substep of generating a vehicle information two-dimensional code based on the vehicle information page address and the path information. The two-dimensional code server can generate the vehicle information two-dimensional code through the vehicle information page address and the path information, so that the equipment for scanning the vehicle information two-dimensional code finds an application scene through the path information, and the content of the vehicle information page is displayed through the vehicle information page address in the scene.
The related content in the first step to the second step serves as an invention point of the present disclosure, and the technical problem two mentioned in the background art "is not favorable for the iteration of the page. ". The factors that are detrimental to the iteration of the page tend to be as follows: making pages of applets usually requires research and development personnel to complete, resulting in long page development cycles. If the above factors are solved, the effect of facilitating the page iteration can be achieved. In order to achieve the effect, first, the first port information of the application and the second port information of the vehicle scene corresponding to any one of the pieces of vehicle scene information in the application are acquired. Thus, the server can construct path information. Next, path information is generated based on the first port information and the second port information. Therefore, the terminal for scanning the two-dimensional code can find an application scene according to the path information. And then, inquiring the page structure of any vehicle scene information. And adding the page content of the vehicle information page website to the page structure to obtain a vehicle information page. Therefore, the condition that the vehicle information page is loaded in the scene applied to the terminal is simulated, the content of the vehicle information page can be effectively loaded after the terminal scans the two-dimensional code, and the effectiveness of the scene display vehicle information page is improved. And then, generating a vehicle information page address corresponding to the vehicle information page. Therefore, the process of making a scene page by technicians is avoided, and the process of displaying the vehicle information page in the scene is simplified. And finally, generating a vehicle information two-dimensional code based on the vehicle information page address and the path information. Therefore, the device for scanning the two-dimensional code finds the application scene through the path information, and displays the content of the vehicle information page through the vehicle information page address in the scene. Therefore, the page development period is shortened, and page iteration is facilitated.
And 103, setting an identification code corresponding to the target application type information by the two-dimensional code server.
In some embodiments, the two-dimensional code server may set an identification code corresponding to the target application type information. The identification code is used for inquiring the application corresponding to the target application type information on the terminal. The identification code may be an identification, a name, etc. of the application in the terminal system, and may also be a link of the application in an application store or a link of the application in a browser, etc. When the terminal for scanning the vehicle information two-dimensional code has a corresponding application, the application can be found through the identification code; when no corresponding application exists on the terminal for scanning the vehicle information two-dimensional code, the application can be found in an application store or a website through the identification code. Therefore, the efficiency of obtaining the application through the vehicle information two-dimensional code and displaying the vehicle information page in the application scene by the user is improved.
And 104, adding the identification code into the vehicle information two-dimensional code by the two-dimensional code server to update the vehicle information two-dimensional code to obtain an updated vehicle information two-dimensional code as a target vehicle information two-dimensional code.
In some embodiments, the two-dimensional code server may add the identification code to the vehicle information two-dimensional code to update the vehicle information two-dimensional code, so as to obtain an updated vehicle information two-dimensional code as a target vehicle information two-dimensional code. After the two-dimensional code server obtains the identification code, the identification code can be added to the vehicle information two-dimensional code.
And 105, the two-dimensional code server responds to the detected scanning operation of the user terminal on the target vehicle information two-dimensional code, and sends the page content corresponding to the target vehicle information two-dimensional code to the user terminal for displaying.
In some embodiments, the two-dimensional code server may send, in response to detecting that the user terminal performs a scanning operation on the target vehicle information two-dimensional code, page content corresponding to the target vehicle information two-dimensional code to the user terminal for presentation. Here, the scanning operation may mean that the user terminal scans the target vehicle information two-dimensional code.
Optionally, the user terminal sends a vehicle information lookup request to the two-dimensional code server in response to detecting a scanning signal acting on the vehicle information two-dimensional code and not popping up the identification code prompt information corresponding to the vehicle information two-dimensional code.
In some embodiments, the user terminal may send a vehicle information reference request to the two-dimensional code server in response to detecting a scanning signal acting on the vehicle information two-dimensional code and not popping up identification code prompt information corresponding to the vehicle information two-dimensional code.
Here, the fact that the identification code prompt message corresponding to the vehicle information two-dimensional code is not popped up may indicate that the user terminal does not find, through the identification code, that the corresponding application exists in the user terminal after scanning the vehicle information two-dimensional code. The scanning signal may be a signal generated by scanning a two-dimensional code of vehicle information. The vehicle information reference request may refer to a vehicle information page browsing request. The identification code prompt message may indicate a prompt message to discover that the corresponding application is present in the user terminal.
Optionally, the user terminal generates a vehicle information page according to the vehicle information page configuration information in response to receiving the vehicle information page configuration information sent by the two-dimensional code server, and displays the vehicle information page.
In some embodiments, the user terminal may generate a vehicle information page according to the vehicle information page configuration information in response to receiving the vehicle information page configuration information sent by the two-dimensional code server, and display the vehicle information page. Wherein, the vehicle information page configuration information includes: page main view, layer information and text information. The vehicle information page configuration information may refer to page content of the vehicle information page. The page main view may refer to an image (2D view or 3D view) of the vehicle information to be presented. The layer information may refer to image information required to configure a page of the vehicle information. The layer information comprises: image placement coordinates, image width, image height and pattern images. The image placement coordinates may refer to placement coordinates of the set style image in the canvas. The image width may refer to a width of a set pattern image. The image height may refer to a height of a set pattern image. The style image may refer to an image set in advance for storing text information. The text information may refer to introductory information describing the vehicle.
In practice, according to the vehicle information page configuration information, the user terminal may generate a vehicle information page through the following steps:
and step one, according to the page main view, drawing a background picture of the vehicle information page. In practice, first, the user terminal can create a canvas through a canvas tool. And then, adding the page main view into the canvas as a background image of the vehicle information page. Here, the Canvas tool may be a Canvas tool.
And secondly, performing image drawing on the background image of the vehicle information page according to the image placing coordinate, the image width, the image height and the pattern image to generate an original vehicle information page. In practice, the user terminal may draw the pattern image in the Canvas where the background map of the vehicle information page is located according to the image placement coordinate, the image width, and the image height through a Canvas tool (e.g., a Canvas tool) to generate an original vehicle information page.
And thirdly, adding the text information into the original vehicle information page to generate an added original vehicle information page as a vehicle information page. In practice, the client may add the text information to the original vehicle information page according to a preset text style through a Canvas tool (e.g., a Canvas tool) to generate an added original vehicle information page as a vehicle information page.
The related content in the first step to the third step serves as an inventive point of the present disclosure, and solves the technical problem mentioned in the background art "the server is easily stuck. ". The factors that tend to cause server stutter are often as follows: the page is built by the server and then pushed to the client, so that more page browsing requests are required. If the above factors are solved, the effect of reducing the blocking of the server can be achieved. To achieve this, first, a background image of the vehicle information page is drawn according to the page front view described above. Therefore, the user terminal can build a background image of the vehicle information page according to the configuration information of the vehicle information page received in real time. And then, according to the image placing coordinates, the image width, the image height and the pattern image, performing image drawing on the background image of the vehicle information page to generate an original vehicle information page. And finally, adding the text information into the original vehicle information page to generate an added original vehicle information page as a vehicle information page. Therefore, the user terminal can build a vehicle information page in real time according to the vehicle information page configuration information sent by the server in real time. Therefore, timeliness of content displayed by the vehicle image information of the user terminal is improved. Meanwhile, because a page does not need to be built by the server, the blocking of the server is reduced.
Optionally, the two-dimensional code server determines the page content corresponding to the vehicle information reference request in response to receiving the vehicle information reference request sent by the user terminal.
In some embodiments, the two-dimensional code server may determine a page content corresponding to the vehicle information reference request in response to receiving the vehicle information reference request sent by the user terminal. That is, the corresponding page content is determined by the two-dimensional code corresponding to the vehicle information reference request.
Optionally, the two-dimensional code server sends the page content to the user terminal as vehicle information page configuration information.
In some embodiments, the two-dimensional code server may send the page content to the user terminal as vehicle information page configuration information.
The above embodiments of the present disclosure have the following advantages: by the vehicle information two-dimensional code generation method of some embodiments of the present disclosure, development time is reduced. Specifically, the reason why the development time is wasted is that: technical personnel need to separately manufacture the vehicle information page into a page which can be displayed by the applets of the respective applications due to different frames, editing languages and the like of the pages of the applets of the different applications. Based on this, in the vehicle information two-dimensional code generation method according to some embodiments of the present disclosure, first, in response to receiving a vehicle information page website and target application type information corresponding to the vehicle information page website, a two-dimensional code server displays at least one piece of vehicle scene information corresponding to the target application type information. Secondly, the two-dimensional code server responds to the detection of the selection operation corresponding to any piece of vehicle scene information in the at least one piece of vehicle scene information, and generates a vehicle information two-dimensional code based on the vehicle information page website and the any piece of vehicle scene information. The vehicle information two-dimensional code is used for indicating that the page content of the vehicle information page website is displayed in the application corresponding to the target application type information. Therefore, non-technical personnel can manufacture the two-dimensional code corresponding to the vehicle information page according to actual needs, and the efficiency of obtaining the two-dimensional code of the vehicle information page is improved. Thus, a technician is not required to configure all pages. The development time is reduced. And then, the two-dimension code server sets an identification code corresponding to the target application type information. The identification code is used for inquiring the application corresponding to the target application type information on the terminal. Then, the two-dimensional code server adds the identification code to the vehicle information two-dimensional code to update the vehicle information two-dimensional code, so that an updated vehicle information two-dimensional code is obtained as a target vehicle information two-dimensional code. Therefore, when the user side scans the target vehicle information two-dimensional code, the client side can be helped to quickly inquire and apply through the identification code. And finally, the two-dimension code server responds to the scanning operation of the user terminal on the target vehicle information two-dimension code, and sends the page content corresponding to the target vehicle information two-dimension code to the user terminal for displaying. Therefore, the user terminal can also quickly acquire the page content so as to be browsed or page construction by the user terminal.
Referring now to fig. 2, a schematic structural diagram of an electronic device (e.g., a two-dimensional code server or user terminal) 200 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device in some embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 2 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. 2, electronic device 200 may include a processing device (e.g., central processing unit, graphics processor, etc.) 201 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 202 or a program loaded from a storage device 208 into a Random Access Memory (RAM) 203. In the RAM203, various programs and data necessary for the operation of the electronic apparatus 200 are also stored. The processing device 201, the ROM202, and the RAM203 are connected to each other via a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
Generally, the following devices may be connected to the I/O interface 205: input devices 206 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 207 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, or the like; storage 208 including, for example, magnetic tape, hard disk, etc.; and a communication device 209. The communication means 209 may allow the electronic device 200 to communicate wirelessly or by wire with other devices to exchange data. While fig. 2 illustrates an electronic device 200 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 be alternatively implemented or provided. Each block shown in fig. 2 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 by the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network via the communication means 209, or installed from the storage means 208, or installed from the ROM 202. The computer program, when executed by the processing apparatus 201, 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: the two-dimensional code server responds to the received vehicle information page website and the target application type information corresponding to the vehicle information page website, and displays at least one piece of vehicle scene information corresponding to the target application type information; the two-dimensional code server responds to the detection of the selection operation corresponding to any piece of vehicle scene information in the at least one piece of vehicle scene information, and generates a vehicle information two-dimensional code based on the vehicle information page website and the any piece of vehicle scene information, wherein the vehicle information two-dimensional code is used for indicating that the page content of the vehicle information page website is displayed in the application corresponding to the target application type information; the two-dimensional code server sets an identification code corresponding to the target application type information, wherein the identification code is used for inquiring the application corresponding to the target application type information on a terminal; the two-dimensional code server adds the identification code to the vehicle information two-dimensional code to update the vehicle information two-dimensional code to obtain an updated vehicle information two-dimensional code as a target vehicle information two-dimensional code; and the two-dimension code server responds to the scanning operation of the user terminal on the target vehicle information two-dimension code and sends the page content corresponding to the target vehicle information two-dimension code to the user terminal for displaying.
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 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.
Claims (6)
1. A vehicle information two-dimensional code generation method comprises the following steps:
the two-dimensional code server responds to the received vehicle information page website input by a user and target application type information corresponding to the vehicle information page website, and displays at least one piece of vehicle scene information corresponding to the target application type information, wherein the target application type information is used for describing application of a vehicle information page;
the two-dimensional code server responds to the detection of the selection operation corresponding to any vehicle scene information in the at least one piece of vehicle scene information, and generates a vehicle information two-dimensional code based on the vehicle information page website and the any vehicle scene information, wherein the vehicle information two-dimensional code is used for indicating that the page content of the vehicle information page website is displayed in the application corresponding to the target application type information;
the two-dimension code server sets an identification code corresponding to the target application type information, wherein the identification code is used for inquiring the application corresponding to the target application type information on the terminal;
the two-dimensional code server adds the identification code to the vehicle information two-dimensional code to update the vehicle information two-dimensional code, and the updated vehicle information two-dimensional code is obtained and serves as a target vehicle information two-dimensional code;
the two-dimensional code server responds to the scanning operation of the user terminal on the target vehicle information two-dimensional code, and sends the page content corresponding to the target vehicle information two-dimensional code to the user terminal for displaying;
the generating of the vehicle information two-dimensional code based on the vehicle information page website and the any vehicle scene information comprises the following steps:
inquiring path information of the any vehicle scene information in an application corresponding to the target application type information;
generating a vehicle information two-dimensional code based on the vehicle information page website and the path information;
the querying of the path information of any vehicle scene information in the application corresponding to the target application type information includes:
acquiring first port information of the application and second port information of a vehicle scene corresponding to any vehicle scene information in the application;
generating path information based on the first port information and the second port information;
generating a vehicle information two-dimensional code based on the vehicle information page website and the path information, wherein the generating of the vehicle information two-dimensional code comprises the following steps:
inquiring a page structure of the any vehicle scene information;
adding the page content of the vehicle information page website to the page structure to obtain a vehicle information page;
generating a vehicle information page address corresponding to the vehicle information page;
and generating a vehicle information two-dimensional code based on the vehicle information page address and the path information.
2. The method of claim 1, wherein said displaying at least one piece of vehicle context information corresponding to a target application type information in response to receiving a vehicle information page website and the target application type information corresponding to the vehicle information page website comprises:
displaying at least one piece of application type information in response to detecting the website of the vehicle information page input in the website input box;
in response to detecting a selection operation acting on any application type information in the at least one piece of application type information, determining the any application type information as target application type information, and displaying at least one piece of vehicle scene information corresponding to the target application type information, wherein the vehicle scene information in the at least one piece of vehicle scene information comprises: the vehicle model display scene and the vehicle information subscription scene.
3. The method of claim 1, wherein the method further comprises:
the user terminal sends a vehicle information lookup request to the two-dimensional code server in response to the detection of a scanning signal acting on the vehicle information two-dimensional code and the condition that identification code prompt information corresponding to the vehicle information two-dimensional code is not popped up;
the user terminal responds to the received vehicle information page configuration information sent by the two-dimensional code server, generates a vehicle information page according to the vehicle information page configuration information, and displays the vehicle information page, wherein the vehicle information page configuration information comprises: page main view, layer information and text information.
4. The method of claim 3, wherein the method further comprises:
the two-dimensional code server responds to a received vehicle information inquiry request sent by the user terminal, and determines page content corresponding to the vehicle information inquiry request;
and the two-dimensional code server sends the page content as vehicle information page configuration information to the user terminal.
5. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
6. A computer-readable medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, carries out the method according to any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211503517.3A CN115600629B (en) | 2022-11-29 | 2022-11-29 | Vehicle information two-dimensional code generation method, electronic device and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211503517.3A CN115600629B (en) | 2022-11-29 | 2022-11-29 | Vehicle information two-dimensional code generation method, electronic device and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115600629A CN115600629A (en) | 2023-01-13 |
CN115600629B true CN115600629B (en) | 2023-03-17 |
Family
ID=84852425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211503517.3A Active CN115600629B (en) | 2022-11-29 | 2022-11-29 | Vehicle information two-dimensional code generation method, electronic device and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115600629B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115857753B (en) * | 2023-02-16 | 2023-05-12 | 北京北汽鹏龙汽车服务贸易股份有限公司 | Vehicle information display method based on different user paths in public and private domain environment |
CN115981522B (en) * | 2023-03-16 | 2023-05-12 | 北京北汽鹏龙汽车服务贸易股份有限公司 | Method, device and computer medium for processing early warning vehicle circulation information |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005316972A (en) * | 2004-03-30 | 2005-11-10 | Shimomoto Shoji | Method and program for creating image including two-dimensional code |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8985437B2 (en) * | 2013-08-07 | 2015-03-24 | International Business Machines Corporation | Creation and management of dynamic quick response (QR) codes |
CN108647306A (en) * | 2014-11-13 | 2018-10-12 | 阿里巴巴集团控股有限公司 | A kind of Quick Response Code barcode scanning exchange method and device |
CN107133834B (en) * | 2016-02-29 | 2020-06-12 | 阿里巴巴集团控股有限公司 | Information display method and device |
CN108154211B (en) * | 2017-11-22 | 2020-08-28 | 阿里巴巴集团控股有限公司 | Two-dimensional code generation method, two-dimensional code generation device, two-dimensional code service processing equipment and two-dimensional code |
CN114357329A (en) * | 2021-12-28 | 2022-04-15 | 广州品唯软件有限公司 | Method and device for two-dimensional code jump WeChat applet to designate target page |
CN114707088A (en) * | 2022-03-02 | 2022-07-05 | 南京博联智能科技有限公司 | Method and system for generating configurable page by client application |
-
2022
- 2022-11-29 CN CN202211503517.3A patent/CN115600629B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005316972A (en) * | 2004-03-30 | 2005-11-10 | Shimomoto Shoji | Method and program for creating image including two-dimensional code |
Also Published As
Publication number | Publication date |
---|---|
CN115600629A (en) | 2023-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115600629B (en) | Vehicle information two-dimensional code generation method, electronic device and computer readable medium | |
CN113191726B (en) | Task detail interface display method, device, equipment and computer readable medium | |
CN112433654A (en) | Page display method and device, electronic equipment and computer readable medium | |
WO2020151599A1 (en) | Method and apparatus for publishing video synchronously, electronic device, and readable storage medium | |
WO2020207085A1 (en) | Method and device for information sharing, electronic device, and storage medium | |
CN111459364B (en) | Icon updating method and device and electronic equipment | |
CN112307375A (en) | Page display method and device, electronic equipment and computer readable medium | |
CN112367241A (en) | Message generation and message transmission method, device, equipment and computer readable medium | |
CN110619101B (en) | Method and apparatus for processing information | |
WO2024174871A1 (en) | Image processing method and apparatus, device, and medium | |
CN114428925A (en) | Page rendering method and device, electronic equipment and computer readable medium | |
CN111461965B (en) | Picture processing method and device, electronic equipment and computer readable medium | |
CN112445394B (en) | Screenshot method and screenshot device | |
CN112464039A (en) | Data display method and device of tree structure, electronic equipment and medium | |
CN112256221A (en) | Information display method and device and electronic equipment | |
CN111258582A (en) | Window rendering method and device, computer equipment and storage medium | |
CN114125485B (en) | Image processing method, device, equipment and medium | |
CN110427584A (en) | Page generation method, device, electronic equipment and computer readable storage medium | |
CN113220293B (en) | Page display method, page display device, electronic equipment and computer readable medium | |
CN112764629B (en) | Augmented reality interface display method, device, equipment and computer readable medium | |
CN111461969B (en) | Method, device, electronic equipment and computer readable medium for processing picture | |
CN111212296B (en) | Live broadcast room gift list configuration method, device, medium and electronic equipment | |
CN111367592B (en) | Information processing method and device | |
CN114793285A (en) | Information display method, device, equipment and medium | |
CN112417276A (en) | Paging data acquisition method and device, electronic equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |